pensieve
Audited by Socket on May 19, 2026
2 alerts found:
Anomalyx2The code is a configuration/hook installer, not a direct malware payload in the shown fragment. Its primary security concern is persistence and deferred code execution: it writes host-executed shell command hooks into ~/.claude/settings.json that will later run local scripts under SKILL_ROOT. Because lib.sh and the referenced local scripts (run-hook.sh and modes) are not included here, the true impact depends on their contents. With the provided fragment alone, malware indicators are weak, but supply-chain risk via persistent hook-based execution is moderate.
SUSPICIOUS. The visible footprint is mostly coherent with a local project-memory skill and shows no direct exfiltration or credential harvesting, but the upgrade path is under-specified and provenance is not cleanly verifiable from the evidence. Risk is driven mainly by opaque update behavior and hidden delegated tool specs, not by confirmed malicious activity.