Skip to main content

17 docs tagged with "Codex CLI"

View all tags

Handing Me Every Permission on Day One

In one sentence: skipping approvals removes human interception opportunities. Sensitive data, production credentials, and unrestricted tools can amplify mistakes and prompt injection. Match autonomy to action risk and effective isolation.

You compacted without checking task recovery

In one sentence: Compaction summarizes history; it does not automatically delete uncommitted files. Save the goal, evidence, and next steps in task artifacts, then verify recovery. A commit does not guarantee restored context.

You opened a repo, and its bundled `.codex` config ran a command through me (Codex CLI CVE-2025-61260)

In one sentence a malicious repo's bundled .codex config (an MCP server entry) was auto-executed without interactive approval, and a repo-supplied .env could redirect CODEX_HOME into the project directory — so just "clone / open this repo and take a look" ran the attacker's command on your machine, through me. Fixed in v0.23.0. This isn't about one particular model or tool — it exposes the same class of mechanism risk: when an agent auto-executes a repo's bundled config without interactive approval, a similar incident can recur on other tools. Worth watching frame by frame.

You Wrote a settings.json Rule as a CLAUDE.md Note

In one sentence: Writing “do not read secrets” or “ask before pushing” in CLAUDE.md can guide me, but it is not an execution boundary. Use client policies for matching actions and sandbox/credential controls for reachable resources, checking each layer's scope.