{
"$type": "site.standard.document",
"bskyPostRef": {
"cid": "bafyreiacohokd4hubmxbtxm7u5ucliv6dvcpf6fnjr2wpomxqbupgicidu",
"uri": "at://did:plc:lk3jfj3zq4k4wxnk474axylu/app.bsky.feed.post/3mjo6nr7mkdv2"
},
"path": "/t/codex-auto-editing-files-without-permission-in-vs-code/1379156#post_1",
"publishedAt": "2026-04-17T04:34:30.000Z",
"site": "https://community.openai.com",
"textContent": "Issue: Codex Auto-Editing Files Without Permission in VS Code\n\nI am experiencing an issue with OpenAI Codex CLI (or its extension) in Visual Studio Code where it automatically edits project files without asking for my approval.\n\nPreviously, the tool used to request confirmation before applying any changes. However, it now directly modifies files, which is unsafe and not the expected behavior.\n\nDetails:\nCodex applies changes automatically without user confirmation\nNo prompt or approval step before editing files\nBehavior seems related to agent mode or auto-apply settings\nThis happens even when working in restricted or controlled environments\nExpected Behavior:\n\nCodex should always ask for user approval before making any file changes.\n\nCodex edits files directly without any confirmation on macos",
"title": "Codex Auto-Editing Files Without Permission in VS Code"
}