continuous-learning-v2
Warn
Audited by Socket on Aug 25, 2026
1 alert found:
AnomalyAnomalyhooks/observe.sh
LOWAnomalyLOW
hooks/observe.sh
No clear evidence of overt malware (no network exfiltration, reverse shells, command execution from untrusted strings, or cryptomining) is present in this fragment. The most significant supply-chain/security risk is that the hook persistently logs tool inputs/outputs to project-scoped files and relies on regex-based secret scrubbing; this can unintentionally capture credentials or sensitive data. Additionally, it derives project context from cwd included in stdin JSON and then writes based on detect-project.sh outputs, which could increase impact if project path handling is unsafe in the referenced helper script.
Confidence: 62%Severity: 55%
Audit Metadata