Back to blog
agents-ia
October 26, 2026
9 min read

Claude and prompt injection: a 1% failure rate is already too high

Anthropic reports that 1% of attacks against Claude succeed during browsing. For a small business handing it emails and access, you manage that 1% by limiting what Claude can do, not by trusting it.

Vincent

Vincent

AI expert, AI First

Anthropic reports 1% of attacks on Claude succeed. Skills, plugins and MCP add new ways in. Here are practical safeguards for a small business.
Contents
  1. What prompt injection does to an AI agent
  2. Claude holds up better than most, but the rate isn't zero
  3. Skills, plugins, MCP: the entry points Claude doesn't guard
  4. The safeguards that matter for a small business
  5. My verdict: use Claude, but never hand it the keys to the whole building
  6. FAQ

Prompt injection is an attack that hides instructions inside text the AI reads (a web page, an email, a file) so that it follows them instead of yours. Against Claude it rarely works. Anthropic's published tests put it at about 1 time in 100. That still isn't never. Once Claude can act on your emails, your CRM or your code, that small percentage becomes a business risk.

I went through the security vendors' analyses, Anthropic's documentation, three technical videos and the Reddit threads to answer one simple question: can a small business safely give Claude access to its systems? My answer fits on one line, and the rest of this article explains why.

  • 📉 Residual risk: Anthropic measures a 1% attack success rate in browsing. Low, but not zero.
  • ⚠️ Skills and plugins: this is code that runs without Claude judging it, so Claude's vigilance never comes into play.
  • 🔑 Limited permissions: the only safeguard you can rely on is what the agent isn't allowed to do.
  • ✅ My verdict: use Claude, but never hand it the keys to the whole building.

What prompt injection does to an AI agent

Indirect prompt injection means planting a malicious instruction in content the agent will read on its own, where the user never sees it. The agent can't reliably tell your instructions apart from the text it is processing, and attackers exploit exactly that confusion. According to TrueFoundry's analysis, the OWASP Top 10 for Agentic Applications 2026, published in December 2025, ranks agent goal hijacking (ASI01) as the number one risk.

What is the difference between direct and indirect injection?

Direct injection is someone typing a booby-trapped instruction into the chat. You can see it, and current models defend against it fairly well, as the Permit video points out. Indirect injection is sneakier. The attacker never talks to the AI at all. They leave the instruction in a README, a web page, an API response or a ticket description, as Lasso Security explains in a blog post from January 7, 2026.

For a small business, indirect injection is the one that matters. Your agents will read supplier emails, competitors' web pages and customer tickets. Each of those is a mailbox anyone can drop something into.

Why does a second-hand book at double the price sum up the whole problem?

In IBM Technology's video, a shopping agent is asked to find a hardcover copy of Michael Connelly's Nine Dragons in good condition. The agent compared the offers, then suddenly stopped and bought from a site charging twice as much as the others. The agent's logs show why. The page contained hidden text telling it to ignore its previous instructions and buy whatever the price.

Nothing was hacked. The agent simply took orders from the wrong person. Swap the book for a supplier payment or a customer data export, and the scenario stops being funny.

Claude holds up better than most, but the rate isn't zero

According to Anthropic's own figures, Claude is among the models most resistant to prompt injection. Anthropic cites a 1% attack success rate for Claude Opus 4.5 in browser use. That's real progress, but Anthropic itself says the problem isn't solved. So everything comes down to what's at stake if you land in that 1%.

"Prompt injection is far from a solved problem, particularly as models take more real-world actions."

Anthropic, research on prompt injection in browser use

What does that 1% success rate actually measure?

The figure comes from Anthropic's post on browser use, where every web page, ad or loaded script is a potential way in. A test by the security vendor Graywall, cited in RobBot's video, points the same way. Even after 15 attempts, the attack only gets through about once in 100 on the stealthiest variant.

A video from the Tulip eni channel on jailbreaking Claude Opus 5.5 shows that these workarounds interest the general public too. Its audio track is unusable, though, so I don't rely on any figures from it.

An agent that handles 200 emails a day rolls the dice 200 times. At 1%, the question is no longer "if" but "when", especially if one of those emails was written by a motivated attacker.

Why should you be wary of overly reassuring numbers?

On r/BetterOffline, a user notes that Boris Cherny, from the Claude Code team, describes auto mode as reducing indirect injection to "roughly zero", based on 72 scenarios tested by Trajectory Labs. The same post points out that a single success out of 72 would already be 1.39%, so the advertised 0.00% rests on a tiny sample.

The researcher wunderwuzzi, cited in the same thread, got success rates of up to 80% against auto mode with Opus 5, on a small sample. His trick was to push Claude to switch from the WebFetch tool to curl and download a ZIP archive. Claude then wrote its own Python decoder in a folder the attacker controlled, where a fake struct.py file took over. I don't draw a general rule from this test, because the sample is small. What I take from it is that a rate measured in the lab tells you nothing about an attacker going after one specific weakness.

That doesn't make auto mode useless. According to the Claude Code security documentation, a separate classifier model reviews each action and blocks the ones it considers dangerous. This sits on top of sandboxed bash and the working-directory restriction. It's one more layer of protection, not a guarantee.

Can Claude itself pick the wrong target?

Yes, in both directions. One r/ClaudeAI user says Claude accused them of injection when internal tool definitions had leaked into the context, which was a false positive. Another claims a subagent convinced their main session to delete their database. That second account is a bare headline with no detail, so I cite it as a warning sign, not as proof. Still, it's a reminder that agents talking to each other also trust each other.

Skills, plugins, MCP: the entry points Claude doesn't guard

Skills, plugins, hooks and MCP servers are the extensions you install to give Claude new capabilities. The danger here isn't text that Claude reads. It's code that runs on your machine with your permissions, so the model's vigilance never comes into play.

How can a skill file fool Claude?

In his video, RobBot hides a line in a skill telling Claude to end every reply with "Banana" without mentioning it. On the first, very obvious attempt, Claude refuses and flags the file. On the second, disguised as a routine rule along the lines of an affiliate link, Claude complies but says where the instruction came from. On the third attempt, Claude notices nothing.

Out of three attempts, only one was clearly caught. That's why I never count on Claude's judgment to review a skill for me.

Why does a plugin get past the AI's vigilance entirely?

A plugin or hook isn't text to interpret. It's a program. In the same video, a GitHub folder opened in Claude Code created a Banana.txt file after a click on "Trust", without Claude writing it. A hook command had fired on its own. Anthropic's documentation is clear on this: a plugin can run any code with your permissions.

There are real-world cases too. Again according to the video, researchers found 341 malicious skills on a marketplace in February, and a fake email MCP module secretly copied every email to the attacker in September 2025. The code ran without a hitch, so there was nothing for the AI to "detect". My page on the .claude folder and its skills, commands and agents explains where these files live.

Which entry points should you watch first?

Entry point Documented case Does Claude spot it? Safeguard for a small business
Booby-trapped web page or email Book at double the price (IBM) Often, but never reliably Read-only permissions
Skill file "Banana" test (RobBot) Inconsistently: caught in 1 of 3 attempts Human review before installing
Hook or plugin Banana.txt created on its own No, it's code Untrusted folder: don't click "Trust"
Ticket or MCP data Exfiltration via Linear (Permit) Not without an external check Authorization gateway
Pre-filled claude.ai link "Claudy Day" (Oasis, March 2026) Fixed by Anthropic Don't open unfamiliar ?q= links

SOURCE: Anthropic, Oasis Security, transcripts cited · UPDATED 10/2026

The last row deserves a word of explanation. In March 2026, Oasis Security showed that the claude.ai/new?q= parameter accepted HTML tags that stayed invisible in the text box but were processed by Claude once the user hit Enter. Chained with a leak through the Files API, the flaw made it possible to steal a conversation's history in a standard session, with no integration or MCP involved. According to Oasis, the injection flaw was fixed after it was reported to Anthropic.

The safeguards that matter for a small business

The safeguards that matter for a small business don't try to make Claude infallible. They limit the damage when it gets something wrong. Three levers cover most of it: reduce the agent's permissions, check its actions outside the model, and vet everything you install. They follow from a principle I defend everywhere: human oversight and security stay at the center, or AI creates chaos instead of saving time.

What permissions should an agent have so that a mistake stays harmless?

Start in manual mode, where Claude Code asks for approval before editing a file or running a command, according to Anthropic's documentation. Turn on the sandbox with /sandbox to limit what commands can touch.

Above all, avoid the --dangerously-skip-permissions option. Lasso Security calls it both tempting and terrifying: combined with a few MCP servers (Notion, GitHub, Slack, a production database), it creates "a perfect attack surface". An agent that can do anything without asking is like an employee whose day any stranger can plan.

Do you need a control gateway between the agent and your tools?

An authorization gateway compares what the agent wants to do with what you originally asked for. Permit's demo gives a sense of how it works. The agent lists Linear tickets, an "urgent" compliance ticket sends it off to exfiltrate data to an external URL, and the gateway blocks the call. It measures an 8.2% drift from the original intent, above the 5% threshold that was set.

This approach is useful as soon as the agent touches several systems, but it comes from a vendor that sells the product. For a small company, I tend to start with tightly scoped permissions and only add this layer once the number of access points grows.

How do you vet a skill or plugin before installing it?

RobBot suggests a multi-step method. First, who built it: a known company, a person with a track record, or an account created yesterday? GitHub stars tell you nothing about what's inside. Next, what does the whole folder contain? Not just the main file, but the scripts, hooks and settings, which Anthropic also recommends reading in full.

This is the rule I apply in my own company: no extension goes on a machine without a human reviewing it. For the overall framework (who can install what, which data never leaves the company), my article on Claude's risks and minimum governance for businesses lays the groundwork. If your tech team doesn't have the bandwidth to set this up, the senior developers at GoLive Software know how to configure these environments.

My verdict: use Claude, but never hand it the keys to the whole building

Yes, a small business can use Claude safely, provided it treats prompt injection as a permanent risk rather than a bug that's on its way out. The best published figures still show a 1% attack success rate, and models have no control over plugins or hooks. Security therefore depends on the architecture you build around the model.

Does that mean giving up on AI agents?

No. I believe companies that refuse AI will be stuck with costs that are too high and processes that are too slow, and those that use it badly will create errors and technical debt. Between the two there's a simple path: one agent, one specific task, minimum permissions, and a human who approves irreversible actions (payments, deletions, mass emails).

If I had to set a single rule today, it would be this one: give Claude the access an intern would get on day one, never the access the CEO has. To see how to get started without writing code, read how to use Claude Code without knowing how to code. Anthropic's 1% is acceptable when a mistake costs next to nothing, and unacceptable when it could empty a bank account.

FAQ

Is Claude vulnerable to prompt injection?

Yes, like every current language model. Anthropic reports a 1% attack success rate for Claude Opus 4.5 in browser use and acknowledges that the problem isn't solved. Researchers have also achieved much higher rates against Claude Code's auto mode on small samples.

What is the difference between direct and indirect injection?

Direct injection comes from the user, who types a booby-trapped instruction themselves. Indirect injection is hidden in content the agent reads (a web page, email, ticket or README file) without the user knowing. The second is more dangerous for businesses, because the attacker doesn't need any access to your tools.

Does Claude Code's auto mode offer enough protection?

It adds a useful layer: a separate classifier model reviews actions and blocks the ones it considers risky, according to Anthropic's documentation. It doesn't replace the sandbox or limited permissions, since a researcher demonstrated an attack chain that got around this mode at high rates on a small sample.

How do you protect a small business that uses Claude with its email and CRM?

Give the agent read-only permissions by default and require human approval for any irreversible action. Turn on the sandbox, avoid the --dangerously-skip-permissions option, and review every skill or plugin before installing it. As access points multiply, an authorization gateway between the agent and your tools adds a check that doesn't depend on the model.

Are Claude skills and plugins dangerous?

They can be, because they sometimes contain code that runs with your permissions without going through Claude's judgment. According to RobBot's video, 341 malicious skills were found on a marketplace in February. Check who the author is and read every file in the folder before installing.

Vidéos YouTube

Discussions Reddit

Articles & ressources

Take action with AI First

Let our developers build your website, application or automation with Claude, from brief to delivery.

Tell us about your project →

Read next