By NHI Mgmt Group Editorial TeamBased on Arnica: “Arnica Named in Gartner First Take on Claude Code's Shift to Automated Permissions” (August 19, 2026)

TL;DR: Claude Code’s move to auto mode shifts new sessions on Pro, Max, and Team plans away from per-action approval prompts, while Anthropic says humans approved 97% of prompts and classifier-based blocking caught 89% of dangerous commands in a controlled study, according to Arnica’s analysis. The governance problem is no longer just code review, but how to control AI coding agents that can act through tool calls faster than people can approve them.


At a glance

What this is: Claude Code auto mode weakens the assumption that individual approval prompts are a reliable control for AI coding agents, because Anthropic’s own data shows those prompts are routinely bypassed or approved.

Why it matters: IAM and AppSec teams need controls that govern agent identity, tool use, and policy enforcement before execution, not just human review at the point of action.

By the numbers:

  • Anthropic reports that users approve 97% of permission prompts.
  • In a controlled study of 1,053 paid testers, human reviewers caught 13.6% of dangerous commands.
  • Anthropic says the classifier caught 89% of dangerous commands in the same controlled study.
  • Anthropic says 62% of users have bypassed permission prompts or clicked "don't ask again" on Bash.

Context

Approval prompts were designed for human-paced decision-making, but agentic coding tools operate at a speed and volume that makes point-in-time review fragile. When a coding agent can chain tool calls, switch context, and keep working after a prompt is denied, the control becomes a friction point rather than a governance boundary. That is why AI coding agents now need policy enforcement at execution time, not just human acknowledgement.

This article sits at the intersection of AppSec and agentic AI governance, where the real question is not whether code is reviewed but who controls the actions taken to produce it. The governance gap is typical of early agent adoption: teams extend human approval patterns into machine-paced workflows and discover that the model no longer fits.

Claude Code’s auto mode is the trigger, but the underlying issue is broader. Any environment that lets AI agents use shells, repositories, secrets, or deployment tools needs identity, privilege, and action controls that survive beyond a single prompt.


Key questions

Q: What breaks when approval prompts are not enough for AI coding agents?

A: The failure is that approval prompts assume a person can judge each risky action before it executes. AI coding agents can issue tool calls too quickly for that model to hold, and users often approve or bypass prompts by habit. Effective governance has to move to delegated authority, scoped tools, and centrally enforced policy before execution.

Q: Why do AI coding agents increase risk even when dangerous commands are blocked?

A: Blocked commands reduce obvious abuse, but they do not solve the underlying access problem if the agent still has shells, repositories, secrets, or broad runtime permissions. The real risk comes from the authority the agent already possesses. Security teams should treat command blocking as one layer, not the control model itself.

Q: What do security teams get wrong about governing AI agents?

A: They often treat agents like another automation layer instead of governed non-human actors with their own access paths. Once an agent can connect to tools and data at runtime, the programme needs attribution, scoped privileges, and lifecycle oversight. Otherwise, the agent becomes an unreviewed extension of the enterprise access model.

Q: How should organisations control Claude Code and similar tools in production environments?

A: They should enforce approved operating modes through managed settings, constrain which tools and repositories an agent can reach, and monitor repeated prompt bypasses as a sign of governance drift. Production use should be tied to explicit authorisation rules, not left to user preference or default vendor behaviour.


Technical breakdown

Why per-action approval breaks down for AI coding agents

Per-action approval assumes a human can assess each risky action before it executes. That model breaks when an AI coding agent can generate, retry, and route tool calls faster than a person can review them. Once prompts become routine, developers habituate, bypass, or suppress them, and the control loses discriminative value. The result is governance theatre: a visible checkpoint that does not reliably separate safe from unsafe behaviour. In agentic workflows, the control point has to move earlier, to policy and authorisation before the tool call is allowed.

Practical implication: move policy enforcement to agent authorisation and tool-level constraints, not prompt-by-prompt human review.

Classifier-based blocking is a safety layer, not a governance model

Anthropic’s classifier can block commands it judges destructive, irreversible, or out of environment, but that is a content judgment layered over execution, not a complete identity or privilege model. Classifiers reduce obvious misuse, yet they do not establish who the agent is, what it may access, or how far its delegated authority extends. In identity terms, the problem is not only command safety but authority scope. If the agent can still reach repositories, shells, and secrets, a partial block is only one control in a wider chain.

Practical implication: pair command filtering with least-privilege authorisation, scoped credentials, and explicit tool boundaries.

Managed defaults matter more than individual user choice

The shift from opt-in approval to default auto mode changes the governance surface from user preference to platform policy. That matters because defaults define the actual control environment for most users, especially in enterprise deployments where teams inherit vendor behaviour unless admins pin settings. For AI coding agents, the important question is no longer whether a developer clicked yes or no, but whether the organisation has a durable policy for agent mode, session scope, and fallback behaviour when a command is blocked. Governance lives in the configuration layer.

Practical implication: inventory managed defaults for every coding agent and enforce enterprise-approved operating modes centrally.


Threat narrative

Attacker objective: The objective is to use AI-assisted development access to reach code, secrets, or execution paths that a human reviewer would otherwise stop.

  1. Entry occurs when an AI coding agent receives access to code repositories, shells, and other tool integrations inside a developer workflow.
  2. Credential access and action abuse follow when the agent can invoke commands or reach secrets under delegated human authority.
  3. Impact emerges if a blocked or approved tool call still enables code tampering, secret exposure, or unsafe changes to production-bound artifacts.
  • Anthropic GTG-1002 AI espionage campaign: A state-sponsored group ran Claude Code agents to attack about 30 organisations, harvesting and reusing credentials at machine speed.
  • Sentry MCP Agentjacking 2026: Researchers showed a fake Sentry error, posted with a public DSN, could make AI coding agents run attacker code with developers' credentials.

Read and download The State of NHI & AI Agent Breach Report 2026, covering 200+ breaches impacting Non-Human Identities including AI Agents.


NHI Mgmt Group analysis

Approval prompt governance has already reached its limit: the control assumes a human can inspect each action before execution, but AI coding agents now operate at machine speed. When 97% of prompts are approved and many users bypass prompts altogether, the prompt ceases to be an effective boundary. The field needs governance that survives beyond individual human attention, and practitioners should treat prompt approval as a weak signal rather than a primary control.

Agentic development creates an identity problem, not just a code quality problem: once a coding agent can call tools, its authority path matters as much as the code it produces. That puts delegated access, session scope, and environment boundaries into the centre of AppSec and IAM discussions. The named concept here is approval-gap governance, where human review exists but no longer matches the speed or autonomy of the action stream. Practitioners should govern agent authority directly.

Classifier-based blocking does not replace privilege design: blocking destructive commands is useful, but it does not solve overbroad access or unsafe delegation. If the agent still has shells, repositories, tokens, and reusable credentials, a good block list only narrows the blast radius. In practice, this is a zero standing privilege problem for agents, and organisations should design for session-scoped authority and narrow tool reach.

The market is moving from code scanning to behaviour control: AppSec for agentic development is shifting from inspecting outputs to governing the way AI systems act inside delivery pipelines. That reordering will change how teams buy, configure, and measure security tooling because code review alone cannot keep pace with autonomous tool use. Practitioners should expect policy, inventory, and runtime control to become the differentiators, not just static analysis coverage.

Managed defaults are the real control plane for enterprise adoption: most organisations will inherit the vendor’s mode settings unless they actively pin and monitor them. That means the practical governance question is configuration drift, not feature availability. Teams should assume that any default shift in a coding agent can change risk overnight and should control those defaults as part of their access governance programme.

From our research library:

What this signals

Approval-gap governance: teams now need to govern the space between a developer’s intent and an agent’s execution, because prompt-based checkpoints cannot reliably absorb machine-speed tool use. That changes agent security from a review problem into an authorisation problem, and the practical control point becomes managed mode settings, scoped tool reach, and revocation at the session boundary.

Claude Code’s default move to auto mode is a useful stress test for agentic development programmes. It shows that the weakest part of many controls is not detection but delegated authority, and that finding should push IAM and AppSec teams to treat AI coding agents as governed identities rather than clever interfaces.


For practitioners

  • Govern agent permissions centrally Pin approved modes for Claude Code, Cursor, Copilot, and similar tools in managed settings so individual users cannot silently drift into weaker control states.
  • Inventory agentic assets and tool reach Maintain a live inventory of every coding agent, MCP connection, skill, and shell or repository permission so delegated authority is visible before a change reaches production.
  • Replace prompt-level trust with scoped authorisation Limit each agent to the minimum repository, command, and secret scope needed for the task, then revoke or reset credentials at session end.
  • Review blocked-command telemetry for drift Track repeated blocks, bypasses, and don't-ask-again behaviour as evidence that the prompt layer is losing value and policy needs tightening.

Key takeaways

  • Claude Code auto mode exposes a basic control gap in AI coding workflows: approval prompts are too slow and too easily bypassed to serve as the primary governance boundary.
  • Anthropic’s own data suggests the control is weak in practice, with 97% prompt approval and 89% classifier catch rates in the controlled study.
  • The practical answer is to govern agent authority directly through managed defaults, scoped access, and telemetry that shows when prompt-based review is losing effect.

Standards & Framework Alignment

This section maps relevant standards and security frameworks to the operational risks and controls described in this guidance.

OWASP Agentic AI Top 10 and MITRE ATT&CK address the attack and risk surface, while NIST AI RMF and NIST CSF 2.0 set the governance and control requirements practitioners need to meet.

FrameworkControl / ReferenceRelevance
OWASP Agentic AI Top 10ASI03 — Identity & Privilege AbuseThe article is about AI coding agents acting through delegated tool access and approval bypass.
ASI02 — Tool MisuseAuto mode changes how agents use tools, making misuse and unsafe execution central concerns.
ASI10 — Rogue AgentsThe article highlights unmanaged or default-enabled agent behaviour that escapes intended governance.
Recommendation — Constrain agent identity and delegated privileges so tool calls cannot exceed approved scope. Apply tool allowlists and execution guards to prevent unsafe agent tool use. Detect and disable agent behaviours that operate outside approved organisational policy.
NIST AI RMFGOVERN — AI Governance and AccountabilityDefault mode changes and permission controls are a governance problem, not just a technical issue.
Recommendation — Assign governance ownership for AI coding agent defaults, approvals, and enforcement.
NIST CSF 2.0PR.AA-05 — Access Permissions, Entitlements and AuthorizationsThe core issue is whether AI agents have the right level of tool and environment access.
Recommendation — Review and restrict AI agent entitlements so permissions match each task's minimum need.
MITRE ATT&CKTA0006;TA0008 — Credential Access; Lateral MovementThe article and referenced incidents centre on tool-driven credential abuse and movement through developer environments.
Recommendation — Map agent-driven credential abuse paths to ATT&CK and prioritise containment of tool-enabled movement.

Key terms

  • Agentic Development Lifecycle: The Agentic Development Lifecycle is the control pattern for building, approving, deploying, and reviewing AI agents before they reach production. It extends software change discipline into identity governance by requiring traceability for creation, access grants, business purpose, and ongoing oversight.
  • Approval Prompt Integrity: The assurance that a user approval screen accurately reflects the command, data scope, and destination the system is about to execute. In agent workflows, this must be generated and protected independently of model output, otherwise the review step becomes another manipulated artefact instead of a control.
  • Delegated Authority Model: A delegated authority model defines who is allowed to approve, review, or execute control-related decisions across the enterprise. It helps ensure requests reach the correct responsible party, especially when control owners, managers, and process owners sit in different teams, regions, or systems.
  • Managed Default: A managed default is an organisation-controlled configuration state that overrides a vendor's general product default for enterprise users. In security terms, it is often the difference between a setting that reflects policy and one that reflects convenience or consumer behaviour.

Deepen your knowledge

The NHI Foundation Level course, the industry's only accredited NHI security programme, covers NHI governance, agentic AI identity, machine identity security, and secrets management. It helps security and identity teams apply durable controls to agent-driven workflows and the broader identity programmes they support.
NHIMG Editorial Note
Published by the NHIMG editorial team on September 6, 2026.
Updated on October 11, 2026.
NHI Mgmt Group, the independent authority on Non-Human Identity, IAM, and Agentic AI security. nhimg.org