chinese-novelist
Audited by Socket on Aug 24, 2026
2 alerts found:
Anomalyx2This fragment does not itself show explicit malware, exfiltration, or obfuscated payload code; it is a hook configuration that triggers host execution of three repository-local Python scripts from a hidden `.codex/hooks/` directory. The security concern is the created execution pathway: if those hook scripts are malicious or replaced, they would run with the privileges of the host automation, enabling tampering, data theft, or other harmful behavior. Treat this as a potentially high-risk capability injection point until the referenced `.codex/hooks/*.py` files are reviewed and verified.
No explicit malicious code, credentials, or network destinations are present in this configuration fragment. However, it enables automatic execution of local Python hooks from .claude/hooks/ on sensitive lifecycle events (prompt submission, post-tool edits, and stop) and grants broad operational capability (especially python3:* and git:*). If those hook scripts are compromised or malicious, the impact could include context manipulation and unintended side effects; verifying the referenced Python hook contents and integrity is essential. Overall, this is a meaningful supply-chain/sandbox-escape risk based on orchestration and permissions rather than confirmed payload behavior.