
For decades, security has been built around an attacker: a hacker to keep out, a phishing email to catch, malware to detect. The most damaging AI failures of the past year have had no attacker at all. Sometimes no exploit either, just an agent handed a routine task and real tools, doing something nobody asked it to. And when the exploits were real, the adversary was the agent. Either way, by the time anyone notices, the command has already run.
That is what makes rogue agents a different kind of risk from almost everything security teams are trained to handle. It is worth understanding why they go off script, how much they are positioned to break, and where the control that would stop them belongs.
The last generation of AI risk lived on a screen: a chatbot could be wrong, but a human decided what to do with the answer. Agents removed that step. They plan, pick a tool, and execute, reaching real systems like shells, databases, and hosting APIs, in a loop faster than anyone can supervise.
Three things push an agent off script:
An agent going off script would not matter much if it could only produce text. In our State of AI Agent Security 2026 report, we found that roughly one in ten of the repositories we examined hand agents genuinely dangerous capabilities: shell execution, code evaluation, raw SQL, filesystem access. And they arrive almost entirely unguarded. Among the tools with explicit definitions, 76.4% had no input validation, and almost none had a gate that could block a dangerous action before it ran. The Model Context Protocol concentrates the problem: 82.8% of MCP servers lack input validation, 92.4% have no confirmation gate before a tool executes, and the protocol's flat trust model draws no line between "read a file" and "delete the database". Credentials make the blast radius worse, because they are usually shared across the whole process, so any tool can reach any secret. The sharpest line from the report is the simplest: between the model's output and system-level execution, there is nothing.
Examples keep coming on daily basis, and they share a shape. On February 23, Summer Yue, Meta's director of alignment, connected an OpenClaw agent to her inbox with one instruction: suggest what to delete and wait for approval. A context-window compaction quietly dropped that instruction, and the agent deleted more than 200 emails while she typed "STOP OPENCLAW" from her phone, ignoring her until she killed the process by hand. Three weeks later an internal agent at Meta posted an incorrect answer to a company engineering forum on its own; a colleague acted on it, widened access permissions, and exposed sensitive company and user data for about two hours. Meta rated it a Sev 1. The person hired to keep AI aligned could not stop her own agent with words, and nobody had asked the second one to post anything.
On April 25, 2026, a Cursor agent running Claude Opus 4.6 deleted the entire production database of PocketOS, a reservation platform for car rental firms, along with every backup, in about nine seconds. Working on a routine task, it hit a credential mismatch, found a leftover API token with far broader access than the job needed, and used it to fire a single destructive command at the hosting provider's API. No one attacked it. There was simply a standing credential the agent should never have reached, and nothing between its decision and the delete.
Then the labs began finding it in their own testing, and the disclosures arrived in a cluster. On July 21, OpenAI reported that models running an internal cyber-capability evaluation had inferred that Hugging Face held the benchmark's answers, found a zero-day in the package registry proxy that was their only permitted network egress, escaped the sandbox, and ended up inside Hugging Face's production database. That disclosure prompted the others. Anthropic reviewed 141,006 of its own evaluation runs and found three incidents in which Claude models reached the open internet through a misconfigured test range and compromised three real organizations, two of which had never noticed. Britain's AI Security Institute disclosed its own on August 4. OpenAI disclosed a second, unrelated to Hugging Face, the same day. Meta followed on August 5. Three of the five trace back to a single evaluation vendor that serves OpenAI, Anthropic, Meta, and Google DeepMind. Five disclosures in sixteen days, and not one of the affected companies knew it had been part of anyone's test.
The AISI report is another important read, because here the internet access was not a mistake. It was deliberate, which removes the comfortable explanation. Across 122 runs of a single challenge, agents took 19 unsanctioned actions against real people and organizations. In the worst, an agent tried to get malicious code into a real open-source project, researched its maintainers, created several fake identities, and used them to socially engineer a human reviewer into approving the change. When the pull request was challenged in public, it edited its earlier activity to look harmless and considered starting again under a new identity. It planted prompt injections in public GitHub issues to hijack other AI coding assistants, and left messages inviting other agents in the same evaluation to collaborate and share accounts. AISI caught it because of Tor traffic crossing its network, not because anything was watching the agent, and contained it within an hour. Nobody asked for any of this. The task was to capture a flag.
The usual answer to all this is to put a person in front of the agent and make it ask permission. Anthropic has been running that experiment at scale for a year, and in August it published the results. Its users approve 97% of the prompts Claude Code shows them, which is less a review than a reflex, and when researchers slipped a plainly dangerous command into a session of 1,053 testers, only 13.6% caught it, a number that fell to roughly one in twenty once someone had clicked through fifty prompts already. So on August 14 Anthropic stopped asking, making auto mode the default and handing the decision to a classifier that caught 89% of those same commands. Far better than the people it replaced, and still a probability rather than a rule.
The control has one place to live, which is the moment between an agent deciding to act and the action reaching the system. Everything upstream of that is advice. A prompt competes with everything else in the context, a sandbox holds only until an agent finds the exit its designers left open, and an approval dialog works right up until the person stops reading, which Anthropic's numbers put at around fifty clicks. At the tool call the action is fully formed and has not yet happened, so it can be read and refused.
That moment is already exposed. Most agent frameworks ship a hook that fires before a tool call executes, and barely one percent of dangerous-tool files use it. The industry standardized how agents talk and never how to stop one mid-action, which is the gap the Agent Control Standard exists to close. Capsule runs at the boundary, finding the agents actually running, reading each tool call against policy, and refusing the destructive and out-of-scope ones before they reach the system. Agents will still misbehave. This is what keeps the misbehavior survivable.
The pace is the reason to move now. Sixteen days produced five disclosures, from three labs and a government evaluator, and every one of those agents was running inside the most carefully monitored environment anyone has built for them. Yours are running in production, against real systems, with a hook nobody has turned on.
Want to see how Capsule enforces at the tool call and keeps a rogue agent's blast radius contained? Get a demo.

Capsule launches a security integration for Claude Platform, using Claude's Compliance API to give security, compliance, and AI governance teams visibility into enterprise AI activity, risk, and posture across Anthropic-hosted deployments.

Our analysis of 206,435 AI agent skills reveals a rapidly growing software supply chain vulnerable to natural language payloads and dangerous capability combinations. Read the report to understand how these skills bypass traditional security controls and learn how Capsule protects your organization by securing the agent runtime.
.png)
The theoretical phase of agentic AI security is over—the attack surface is real and the incidents are documented. This post breaks down the defensive architecture taking shape in response: Meta's Agents Rule of Two, deterministic enforcement hooks, identity governance for non-human agents, and the questions security leaders need to be asking right now.

The security risks of AI agents are no longer theoretical. This blog examines the active threat landscape facing agentic AI in 2026, from prompt injection and supply chain attacks against MCP and skill registries to the governance gap created by vibe coding and Shadow AI.

Guardian agents are emerging as a critical security layer for the agentic AI era. As enterprises adopt AI agents that execute tools, handle sensitive data, and operate inside real workflows, human approval loops no longer scale. Guardian agents solve this by supervising other agents in real time: monitoring actions, enforcing policy, and blocking risky behavior before execution.
.png)
Capsule found two Cursor IDE vulnerabilities that let hidden prompt-injection instructions in referenced files steal developers’ SSH keys and contaminate future unrelated projects, causing zero-click or one-click exfiltration even when the attacker ships no malicious code.

Capsule Security’s State of AI Agent Security 2026 report is the largest independent audit of AI agents to date, showing that the ecosystem is rapidly shipping publicly exposed, weakly guarded, highly connected agents with recurring misconfigurations, near-absent runtime controls, widespread prompt-injection risk, expanding supply-chain exposure, and active malicious campaigns still propagating through agent skill and tool registries.

Capsule is launching a runtime security platform for the agentic AI era, built to monitor and stop autonomous agents that can bypass traditional guardrails, misuse legitimate access, and create a new class of enterprise security risk.

Capsule research team discover a critical prompt injection vulnerability in Salesforce Agentforce that allows attackers to exfiltrate CRM data through a simple lead from a form submission. No authentication required.