OpenAI
aidefend-sf0115
Codex's Command-Safety Check Misread PowerShell: A 'Read-Only' Git Command Could Change Codex's Configuration
- Autonomous Agents
- Tool Integrations & MCP
- System Compromise & RCE
- Model Evasion & Bypass
Codex can run certain commands without asking the developer. OpenAI confirmed that some affected versions could mistake a Git command run through PowerShell for a read-only operation. If the operating system permitted the write, the command could change which tools Codex starts on its next launch. OpenAI fixed the issue in Codex CLI 0.131.0 and corresponding Desktop releases.
Mapped threat techniques
AML.T0079Stage CapabilitiesAML.T0051.001IndirectAML.T0107Exploitation for Defense EvasionAML.T0081Modify AI Agent ConfigurationAML.T0142Event Triggered ExecutionAML.T0112.000Local AI Agent