DEV Community

Cover image for Attackers stopped shipping malware to AI agents. They ship instructions.
Sofia_ Humanbound for Humanbound

Posted on

Attackers stopped shipping malware to AI agents. They ship instructions.

Humanbound's engine and CLI are open source: github.com/humanbound/humanbound

OX Security's "Plug and Pray" report (published 23 November) found prompt injection and tool poisoning in 22% of flagged MCP servers, more than install-time code execution, and 44% of flagged Agent Skills told agents to send data out without running a line of malware. The same day, AIR's WebSec benchmark showed all eight search APIs it tested served known-malicious content to coding agents. Add UK AISI research showing agent monitors look 100x stronger or weaker depending on how you attack them, and the lesson is clear: you have to test what your agent does, not just what code it runs.

The payload is now a sentence

For years, supply chain security has meant one thing: find the malicious code. Scan the package, check the signature, trust the publisher.

OX Security's Plug and Pray report, published on 23 November, suggests that model is breaking for agent components. OX analyzed 542,207 components across npm, PyPI, MCP servers and Agent Skills, collected between July and October 2026. Among flagged components:

  • 22% of flagged MCP servers contained prompt injection or tool poisoning, versus 16% with install- or import-time code execution. In npm, execution techniques were six times more common.
  • 0 of 179 flagged Agent Skills ran code at install. But 44% instructed the agent to send data out.
  • 83% of 834 flagged MCP servers had code that could not be independently verified, and 16% served files that differed from what the publisher declared.
  • 82% of confirmed malicious components were malicious from their very first version, so reviewing update diffs would never catch them.

OX's research lead Moshe Siman Tov Bustan put it plainly: "The agent already has the permissions it needs. Attackers just have to convince it to use them."

That is the shift. A poisoned tool description contains no malware for a scanner to find. It is a paragraph of text that redirects an agent already holding your credentials, your file system and your tool access. (OX is careful to note that "flagged" does not mean "malicious", and the skills sample is small. The direction is still hard to ignore.)

The search results are poisoned too

Instructions don't only arrive through tools you install. They arrive through everything the agent reads.

AIR Research Lab's WebSec benchmark, also released on 23 November, sent 4,719 searches drawn from real coding-agent tasks to eight search APIs and checked more than 282,000 results (The Hacker News coverage):

  • Every one of the eight APIs (Firecrawl, Tavily, Perplexity, Parallel, Exa, Nimble, Brave, You.com) served known-malicious content at least once.
  • Agents were handed malicious or risky results 1,026 times.
  • Per-API rates ran from 0.8% to 2.2%, worst on install and package searches, exactly where a coding agent is about to run a command.

AIR's own back-of-envelope: at 1%, an organization running 5,000 agent searches a day exposes its agents to known-malicious content roughly 50 times a day. It is a vendor-run benchmark, so treat the rankings with care, but the base rate is the point. Your agent will read hostile content. The question is what it does next.

Your safety net may be weaker than its test score

A common answer is "we have a second model watching the agent." The UK AI Security Institute tested that idea, as summarized in the Cloud Security Alliance's 25 November CISO briefing.

AISI took an ex-production GPT-5.4 monitor and held the deployment scenario constant. Its false-negative rate ranged from 0.2% to 23.0% depending only on how the test attacks were generated. Simple prompted attacks slipped past 0.5% of the time or less. Reinforcement-learning-optimized attacks got through 20.8% of the time, and transcript editing 23.0%.

Same monitor, same task, two orders of magnitude difference. If your evaluation only uses easy attacks, your monitor looks great right up until someone optimizes against it.

The protocol is adding guardrails. You still have to wire them.

On 24 November, MCP's second anniversary release made Elicitation and Tasks generally available and put Skills over MCP into public beta. Elicitation lets a server pause and ask the user for confirmation, and the spec forbids it from requesting passwords, API keys or tokens. That is a useful primitive.

It also means skills, the component class where OX found 44% telling agents to exfiltrate, now travel over the same channel as tools. Confirmation steps help only if they sit in front of the actions that matter.

And the classic supply chain hasn't gone away. Microsoft's agent-framework PyPI package (around 190,000 monthly downloads) shipped two malicious versions on 17 November that harvested Azure, CI and Hugging Face credentials on every Python start (The Hacker News). Agent builders are a target from both directions: the code they install and the instructions their agents ingest.

What to actually do about it

  1. Treat every agent input as untrusted. Tool descriptions, skill files, search results and retrieved documents are all instruction channels.
  2. Test behavior, not just code. Run poisoned-tool and indirect-injection scenarios against your agent and check whether it calls tools it shouldn't, leaks data, or follows instructions from content.
  3. Use optimized attacks, not polite ones. AISI's results show weak test attacks produce flattering numbers. Adaptive, multi-turn attacks are the honest baseline.
  4. Put confirmation in front of irreversible actions. Elicitation and approval steps belong on deletes, payments, outbound data and credential use.
  5. Re-test on every change. New skills, new MCP servers and new search providers each change your attack surface.

Test your agent before someone else does. Humanbound's hosted attack models run adaptive prompt injection, tool poisoning and data exfiltration tests against your agent, and you can start with our FinAssist demo agent if you don't want to connect your own yet. Sign up for the free Community plan: app.humanbound.ai

References

Top comments (0)