codex-cto
Warn
Audited by Socket on Oct 26, 2026
1 alert found:
SecuritySecurityscripts/cto-invoke.sh
MEDIUMSecurityMEDIUM
scripts/cto-invoke.sh
This script is intended to invoke Codex for planning or review, but its use of eval with user-controlled prompt and model values permits shell command injection and arbitrary execution under the script’s user account. It also temporarily alters AGENTS.md and invokes an optional auto-update script; no explicit credential theft or suspicious network destination is present. Severity is high if inputs can be attacker-controlled; avoid eval and pass arguments directly to the CLI.
Confidence: 99%Severity: 85%
Audit Metadata