multi-agent-orchestration
Audited by Socket on Oct 11, 2026
2 alerts found:
SecurityAnomalyThe fragment is a command-builder for AI worker processes, not apparent malware. It contains a significant security concern because it enables highly privileged or approval-skipping execution by default and supports direct arbitrary custom commands. The risk is primarily command-execution impact and unsafe operational defaults, not observed data theft or sabotage. Review callers, access controls, and the implementations of quote_words and shell_wrap before use with untrusted inputs.
No clear evidence of supply-chain malware (no exfiltration, persistence, credential theft, or concealed payload behavior) is present in this fragment. However, this module is a high-impact automation primitive: it can execute arbitrary, caller-provided COMMAND inside other terminal/editor applications via clipboard and UI/keystroke injection, and it interpolates COMMAND into AppleScript strings without visible escaping. Treat COMMAND as highly sensitive input and only use trusted callers; review/patch for AppleScript string escaping/quoting robustness if distributing broadly.