story-setup

Warn

Audited by Socket on Jul 26, 2026

2 alerts found:

Anomalyx2
AnomalyLOW
references/codex/hooks/hooks.json

This module is a lifecycle hook runner that resolves a project root (from env/CWD), locates `.codex/hooks/run-story-hook.sh` (Unix) or `.codex/hooks/run-story-hook.cmd` (Windows), and executes it with the specified event. The snippet shows no explicit data theft or network activity, but it contains a high-impact arbitrary-code-execution pathway driven by repository-local hook content and uses `powershell -ExecutionPolicy Bypass` on Windows, increasing risk if the `.codex/hooks` files can be tampered with.

Confidence: 67%Severity: 62%
AnomalyLOW
references/templates/settings-hooks.json

This file defines a local-bash hook execution framework that will run multiple scripts from a hidden project directory based on workflow events. The snippet itself shows no malicious payloads, credentials, or obfuscation, but it creates an explicit arbitrary command execution sink whose safety depends entirely on the integrity of "$CLAUDE_PROJECT_DIR" and the contents of "$CLAUDE_PROJECT_DIR/.claude/hooks/*.sh". Treat as potentially high workstation/supply-chain risk until those scripts are reviewed and integrity-verified.

Confidence: 70%Severity: 60%
Audit Metadata
Analyzed At
Jul 26, 2026, 10:44 PM
Package URL
pkg:socket/skills-sh/worldwonderer%2Foh-story%2Fstory-setup%2F@61887616926c14d2d5eda5892dcf6f9032ef0aaf2b1a62ad52c6479a85539cec
Security Audit — socket — story-setup