feishu
Audited by Socket on Apr 1, 2026
1 alert found:
AnomalyThe code is a cross-platform Python wrapper that discovers and executes a local Claude Code CLI by generating temporary .sh/.ps1 scripts (and on Windows explicitly bypassing PowerShell execution policy). There is no clear evidence in the provided snippet of overt malware behaviors such as data theft, exfiltration, persistence, or network activity. The main risks are (1) high-privilege command execution patterns (temp script execution + `-ExecutionPolicy Bypass`), and (2) caller-controlled prompt/parameter injection surface due to inconsistent escaping/quoting. Treat as medium security risk: likely intended functionality, but it should be reviewed and hardened if used with untrusted inputs or in sensitive environments.