
A study using a browser game that simulated AI coding agent permission requests found that human reviewers approved roughly one in three malicious commands, with scope violations like credential exposure missed about 35 percent of the time.
The high rate of missed attacks reflects approval fatigue: Anthropic's own data shows users approve around 93 percent of Claude Code permission prompts, meaning repeated requests lead developers to pay less attention to each one.
While automated safeguards like Claude Code auto mode catch roughly 83 percent of problematic behaviors, security experts recommend defense-in-depth measures including sandboxes and developer awareness of the risks.
What happened
A browser-based game testing human approval of AI coding agent requests found that players approved roughly one in three malicious commands on average, with scope violations like exposing AWS credentials or Kubernetes config files missed about 35 percent of the time. The most-missed command was npm run analyze, approved nearly 65 percent of the time despite the ability to run any payload defined in a project's package.json file.
Why it matters
Anthropic's telemetry shows users approve around 93 percent of permission prompts from Claude Code, meaning repeated approval requests lead to fatigue and inattention. As developers transition from reviewing single-line suggestions to approving complex multi-step agent workflows, the risk of malicious commands slipping through grows — a problem compounded when context for assessing risk is limited or requires time-consuming investigation.
What to watch
Anthropic built Claude Code auto mode to delegate some command-approval decisions to a model-based classifier, which catches roughly 83 percent of what it calls "overeager behaviors" before execution, leaving about 17 percent still getting through. Developers are advised to run AI coding agents in sandboxes, use devcontainers in the cloud, and implement hooks to contextualize and catch potentially malicious actions before automatic approval.
Alex Wauters, a Belgian software developer, built a browser-based game in late May to test how well humans can spot dangerous commands in AI coding agent permission requests. The game presents simulated permission prompts like those from Claude Code, gives players 60 seconds to approve or deny as many requests as they can, and deducts points for approving malicious commands or denying safe ones. Wauters created the game after observing that existing coding agents expected users to approve every single command in a default workflow, yet no good solution existed to manage approval fatigue. Some developers, he found, had resorted to flags like '--dangerously-skip-permissions' to avoid stopping multi-hour agent flows.
The game's data proved sobering. Across more than 40,000 runs and 409,000 approved and denied commands, roughly one in three malicious requests were approved by human players. The most commonly missed attacks were scope violations — requests to cat or expose AWS credentials or Kubernetes config files — which slipped through about 35 percent of the time. The single most frequently missed command was npm run analyze, approved nearly 65 percent of the time despite being able to execute whatever code is defined in a project's package.json file. Wauters noted that the game displayed what the script actually contained in the agent's history log, yet two thirds of players approved it anyway, suggesting the history log was not read closely or trusted. Crontab injections and git config hijacks were caught more often, but curl requests to unknown APIs and typosquatted packages were missed almost as often as scope violations.
Wauters told The Register that the core problem is that developers lack sufficient context to make safe approval decisions quickly. Commands that appear benign, like npm run analyze, can be modified by an agent to run any payload. If a human reviewer wants to be sure a command is safe, they must investigate all the files the agent intends to call — a time sink that defeats the purpose of using an agent to save time. This challenge is amplified by a real-world phenomenon: Anthropic's telemetry from Claude Code shows users approve around 93 percent of permission prompts. As Anthropic noted in a May post, "the more approvals a user sees, the less attention they pay to each, becoming over time much less diligent in their supervision."
In response, Anthropic built Claude Code auto mode to delegate some command-approval decisions to a model-based classifier. The system catches roughly 83 percent of what Anthropic calls "overeager behaviors" before execution, leaving about 17 percent still able to proceed. Anthropic emphasized that auto mode is "one layer of defense-in-depth inside a sandbox, not a substitute for one." Wauters' recommendation echoes this defense-in-depth philosophy: ensure AI coding agents run in sandboxes, use devcontainers in the cloud, employ auto mode or similar safeguards, and write hooks to contextualize and block potentially malicious actions before automatic approval. He summarized the challenge as a "whole new world with a new set of attack vectors," requiring developers to remain aware of risks and know how to reduce them.
The game designed by Belgian software developer Alex Wauters highlights a fundamental tension in the design of AI coding agents: either users approve every command manually, or they delegate approval entirely to the model. Wauters observed that many developers resort to flags like '--dangerously-skip-permissions' to avoid interrupting multi-hour agent workflows, but the manual-approval path introduces a different failure mode. Repeated approval requests cause fatigue, which the game's data — drawn from over 40,000 runs and 409,000 approved and denied commands — quantifies starkly: roughly one in three malicious requests slip past human gatekeepers.
AnthropicConfirms this is a real-world problem. The company's telemetry from Claude Code shows users approve around 93 percent of permission prompts, corroborating the game's finding that attention degrades with volume. The specific commands that slip through reveal the nature of the oversight challenge: scope violations (requests to access credentials or configuration files) are missed about 35 percent of the time, and npm run analyze — a command that can execute arbitrary code defined in package.json — passes approval nearly 65 percent of the time. The latter suggests that even when context is provided (the history log showing what the script contains), developers often do not invest the time to review it thoroughly.
Wauters argues that the solution is not to improve human judgment under fatigue but to reduce the burden through defense-in-depth: sandboxed execution, cloud-based devcontainers, and automated safeguards like Anthropic's Claude Code auto mode. However, auto mode itself is imperfect; it catches roughly 83 percent of problematic behaviors, leaving roughly 17 percent to escape initial detection. The implication is that as developers hand off more complex tasks to AI agents and rely on them to iterate until completion, security must be enforced at the infrastructure level rather than at the approval prompt.
AI-summarized, only the topics you pick — one digest a day via Email, Slack, or Discord.
Free · takes 30 seconds · unsubscribe anytime
Ask AI anything about this article. Q&As are published on this page for other readers too.
Security researchers led by Alexander Panfilov discovered a vulnerability in the APIs of all major AI provider…

Apple is developing an iOS feature called Apple Reference Image that embeds provenance metadata into iPhone ph…

Researchers at A Security discovered a major vulnerability in Zoom's annotation feature that allowed attackers…

AWS and Anthropic have released Claude apps gateway, a self-hosted governance layer that runs on AWS Fargate (…

HireRoad, an HR software company, scrapped its 18-month legacy product rewrite plan and instead reorganized it…

Researchers at A Security disclosed vulnerabilities in Zoom's screen-sharing annotation protocol on Tuesday th…

The AI news that matters, in one minute each morning.
Sign up free