token-diet
Warn
Audited by Socket on Jul 4, 2026
1 alert found:
AnomalyAnomalyinstall.sh
LOWAnomalyLOW
install.sh
No clear evidence of classic malware (exfiltration, credential theft, reverse shells, cryptomining, heavy obfuscation) in this fragment. However, the installer performs a supply-chain-sensitive remote fetch of rule content (TOKEN_DIET_RAW) without integrity verification and installs a persistent always-on execution mechanism for Claude via a SessionStart hook that runs an executable script. This makes the package potentially dangerous if the remote content or RAW host is compromised. Overall: medium supply-chain risk due to trust on first use + persistence mechanism, with low confidence of overt malicious intent in the shown code.
Confidence: 62%Severity: 55%
Audit Metadata