call-agent
Audited by Socket on Oct 22, 2026
2 alerts found:
SecurityAnomalyThis script is an image-generation wrapper that passes caller-controlled instructions to Codex and requests a PNG at a caller-specified absolute path. Its use of --dangerously-bypass-approvals-and-sandbox is a significant security risk because it may remove the protections expected from the workspace-write sandbox, especially when processing untrusted prompts. No direct credential theft, exfiltration, or other malware behavior is evident in the script. Severity: high for unsafe execution configuration, but low evidence of malicious intent.
The provided file is an automation wrapper, not apparent malware. It intentionally delegates implementation to Claude with broad workspace access and Bash, Edit, and Write capabilities. This creates a meaningful operational security risk if inputs, helper scripts, the Claude binary, or the working directory are untrusted, but the fragment contains no direct exfiltration, credential theft, persistence, obfuscation, or destructive behavior. Review the helper scripts and enforce trusted working directories and task inputs before use.