
What happened
In a test on macOS with Claude Code v2.1.280, a deny rule on Read(./.env) stopped the read tool and cat, but python3 and filename-less grep still read the file; git -C work push origin main slipped past Bash(git push *).
Why it matters
The rules are enforced by Claude Code itself, not the AI model, and are checked deny → ask → allow—so a broad deny cannot be carved out with an allow, and only recognized command forms are reliably blocked.
Summaries like this, every morning.
The line is drawn between CLAUDE.md, which it calls a request to Claude, and permissions, which Claude Code enforces on its own before an action runs. That distinction matters because the default has shifted: from v2.1.283, terminal and VS Code sessions start in Auto mode, where a separate classifier approves actions instead of the user, so the confirmation dialog most users used to see rarely appears. Choosing "don't ask again" in that dialog quietly adds allow rules—for Bash commands and web fetches they persist in .claude/settings.local.json for the repository, while file-edit approvals last only until the session ends. Opening the permissions list shows how many such rules have accumulated. The test results themselves set the limits: the .env deny held against the read tool and cat but not against a Python one-liner or a filename-less grep, and denial was verified in deny mode because the ask dialog could not be reproduced automatically. For git push, commands joined with && and prefixed with timeout were still caught, but git -C, git -c push.default=current, and git 'push' were not. What happens to a command that slips through then depends on the mode—Manual shows its normal confirmation, Auto leaves it to the classifier—and hooks' PreToolUse can inspect commands with a custom script. The sandbox, off by default, is offered as the OS-level backstop for script-based reads.
Pick your industry and the AI tools you use, and get news related to your work every day.
Free · 30 seconds with Google · unsubscribe anytimeWhat is AIToday? →
Ask AI anything about this article. The AI reads this article, earlier AIToday articles, and Wikipedia, and cites its sources. Q&As are published on this page for other readers too.
The Agentic AI Foundation said the official MCP Ruby SDK now reaches 'MCP SDK Tier 1,' fully conforming to the…

Testing GPT-5, GPT-6 Astra, Opus 4.8 and Gemini 3.8 Flash on METR's MALT logs, Anthropic Institute's Andy Hall…

Palantir Technologies was chosen by AmeriLife Group for an enterprise AI partnership covering insurance and re…

Public First, funded by Anthropic co-founder Dario Amodei and other AI safety advocates, spent more than $63 m…

Userlink is promoting its AI chatbot for ecommerce, pointing to Statista's 2024 data that nearly half of consu…

Richard Sutton, who wrote 'The Bitter Lesson,' says raw compute alone isn't enough for intelligence and AI sci…
