story-setup

Warn

Audited by Socket on Aug 20, 2026

1 alert found:

Anomaly
AnomalyLOW
references/codex/hooks/hooks.json

This module is a hook runner that automatically executes repository-local scripts (run-story-hook.sh/.cmd) for multiple workflow phases. While the snippet contains no explicit credential theft or network exfiltration, it creates a direct arbitrary code execution pathway sourced from repository filesystem content and uses PowerShell with -ExecutionPolicy Bypass on Windows, increasing the impact of a compromised or malicious hook script. Risk is primarily driven by the integrity and trustworthiness of the .codex/hooks/run-story-hook.* files and the correctness of ROOT resolution/traversal behavior.

Confidence: 58%Severity: 66%
Audit Metadata
Analyzed At
Aug 20, 2026, 02:21 AM
Package URL
pkg:socket/skills-sh/heriki%2Foh-story-codex%2Fstory-setup%2F@91e2cfb201997d76fe7675e23dd4794a76f5c34645e69978a6be0e47931d4678