world-model-ledger
Audited by Socket on Sep 10, 2026
2 alerts found:
SecurityAnomalyThe provided code is a partially broken grading script. It contains no clear malware indicators, but its intended task3 behavior executes untrusted Python source with the host process's privileges and without sandboxing, creating a significant security risk in an untrusted-input deployment. The current syntax error prevents execution as written.
This file is a declarative hook dispatcher that will execute local shell scripts from ${CLAUDE_PROJECT_DIR}/hooks/ at multiple lifecycle events, including a broad PostToolUse trigger. The snippet itself shows no explicit malicious payloads or indicators (no secrets, network calls, or obfuscation), but it creates high-impact command execution entry points whose security depends entirely on the contents and integrity of the referenced .sh scripts. Review and tightly control those scripts (and the ${CLAUDE_PROJECT_DIR} contents) to mitigate supply-chain and execution-risk.