threat-modeling
Audited by Socket on Apr 26, 2026
2 alerts found:
Anomalyx2The JSON itself is not overtly malicious and contains no embedded payloads or exfiltration logic. However, it establishes an automated command-execution pathway that will run a local shell script after "Write" actions. Security depends entirely on the integrity and trustworthiness of ~/.claude/skills/threat-modeling/hooks/phase_end_hook.sh and the execution context/privileges used by the tooling framework.
This is a hook configuration that will execute an external shell script after 'Write' tool-use events. The fragment itself shows no explicit malicious payload, secrets, obfuscation, or network indicators, but it creates a high-impact execution sink (arbitrary shell script execution) whose safety depends entirely on the integrity of phase_end_hook.sh and the trustworthiness/control of ${CLAUDE_PLUGIN_ROOT}. Review and harden the referenced script and ensure the path cannot be influenced by untrusted inputs.