review-it
Audited by Socket on Sep 8, 2026
1 alert found:
AnomalyNo direct indicators of JavaScript-level malware (obfuscation, eval/dynamic execution, or explicit credential theft/network exfiltration) are present in this snippet. The primary security concern is that, in '--writable true' mode, it runs the external 'claude' tool with '--permission-mode bypassPermissions' and passes the user-provided slash-command directly into the external CLI invocation. It also performs forceful filesystem deletions during restore based on git-derived paths. Actual exfiltration/tracking risk depends on the external 'claude' binary, supervise/headless-run implementation, and receiptEmitter transport, which are not visible here. Overall: moderate-to-elevated operational risk, not confirmed malware from this fragment alone.