THREAT ADVISORY  AI Agent Supply Chain CLASS: SUPPLY-CHAIN · STATUS: ACTIVE · UPDATED 2026-07-16

The Agent Security Series

What Is Skill Poisoning?
The Supply-Chain Attack of the Agent Era

AI agents now install "skills" the way developers install packages — from open marketplaces, uploaded by strangers. When one of those skills is booby-trapped, it runs with your agent's full access. Here is how the attack works, what it has already done, and how to shut it down.

Definition

Skill poisoning is a supply-chain attack against AI agents in which malicious instructions or code are hidden inside an agent skill — a reusable package of natural-language instructions plus scripts. When the agent loads the skill, the hidden logic executes with the agent's own privileges: its files, terminal, saved credentials, and connected tools.

Key takeaways

  • A "skill" is a trusted, privileged instruction source — unlike a web page, agents are built to follow it. That trust is the vulnerability.
  • One poisoned skill persists across every future session until it is found and removed, so a single install can compromise an entire workflow.
  • It is already happening: the ClawHavoc campaign planted hundreds of malicious skills on a public marketplace in early 2026, and OWASP named it a critical risk category in April.
  • Scanners help but every public scanner tested was bypassed in under an hour; real defense needs a vetted supply chain, least-privilege isolation, and runtime monitoring.
  • On-premise agents with a curated internal skill registry remove the public-marketplace attack surface entirely.

01Why skills exist — and why they're dangerous

Agent skills solved a real problem. Instead of stuffing every possible instruction into a system prompt, teams package procedural knowledge into small folders — a SKILL.md file describing what the skill does and when to use it, plus optional scripts. The agent discovers the skill by its name and description, then loads the full instructions only when a task needs them.

This is efficient and composable. It also created a new trust boundary that most security teams have never had to defend. A skill is not passive data the agent reads with suspicion — it is guidance the agent is designed to obey, and it runs with the agent's own permissions over files, shell commands, credentials, and tools.

Then came the marketplaces. Public registries let anyone publish a skill and anyone else install it in one step, with the social proof of a shared registry doing the rest. Most listings are uploaded by strangers with little vetting. That is the same setup that produced dependency-confusion and typosquatting attacks in the npm and PyPI ecosystems — now pointed at an execution layer with far more reach.


02Skill poisoning vs. prompt injection

The two are cousins, and the difference is exactly why skill poisoning is harder to stop.

Prompt injection is untrusted input

In prompt injection, an attacker hides instructions inside content the agent reads at runtime — a web page, an email, a PDF. Agents are increasingly trained to treat that content as untrusted, and defenses run at the front of the loop, screening what comes in.

A poisoned skill is trusted, privileged, and persistent

A skill sits on the other side of the trust boundary. The agent is built to follow it, it is invoked across many future tasks, and it survives context resets because it lives on disk. Researchers describe skill poisoning as malicious-instruction competition inside an instruction-like carrier: the poison is not obviously foreign text, it is dressed as legitimate workflow guidance. That is why surface-level filtering fails on precisely the cases that matter most.


03How a skill-poisoning attack works

Most documented attacks follow the same shape. The payload is often a persuasive document, not a single obvious binary — which is what makes it slip past both humans and scanners.

Publish a plausible skill

The attacker uploads a skill with a legitimate name, description, icon, and often real working behavior. It may typosquat a popular skill's name to catch installs.

Hide the payload

Malicious logic is embedded in the skill's instructions or scripts — frequently split across multiple files, or staged as an innocuous-looking "setup" or "prerequisites" step, sometimes behind an obfuscated blob.

Get invoked

Poisoned metadata can inflate the skill's ranking so the agent selects it over a legitimate tool. The user's benign request quietly routes through the attacker's skill instead.

Execute with the agent's privileges

The skill runs with full access to local files, credentials, API keys, and connected tools — enabling credential theft, data exfiltration, or a persistent backdoor.

Persist and spread

Because the skill stays installed, it re-activates across sessions. In multi-agent setups, a poisoned skill ingested as a template can propagate through the system's own generation loop.


04This already happened: ClawHavoc

Skill poisoning is not theoretical, and it is not new. In early 2026, Koi Security audited 2,857 skills on the ClawHub marketplace and found 341 malicious entries — 335 of them traced to a single coordinated operation, nicknamed ClawHavoc. The campaign used social engineering and obfuscated setup instructions to install credential-stealing malware. Antiy CERT's later analysis of historical uploads put the total at 1,184; Bitdefender's deep scans estimated 800–900. The numbers differ because the lenses differ — the trend does not.

341
malicious skills in Koi's audit of 2,857 — 335 from a single campaign
36.8%
of 3,984 skills carried a security flaw in Snyk's ToxicSkills audit; 13.4% critical
6.7M
installs sitting on flagged skills — 17,822 of 142,836 scanned, June 2026

The concentration is the signal. This was not a random trickle of junk — it was a playbook executed at scale. And the picture has not improved since. In June 2026, Air Security scanned 142,836 live skills and flagged 17,822 of them across 6.7 million installs; a researcher-built malicious skill reached over 26,000 agents while every scanner cleared it. Trail of Bits bypassed every public skill scanner it tested in under an hour.

The governance response has already arrived. On 27 April 2026, OWASP published a dedicated Agentic Skills Top 10, naming AST01 Malicious Skills and AST02 Supply Chain Compromise as critical categories, and citing ClawHavoc and Snyk's ToxicSkills audit as the defining incidents. Its prescribed mitigations are Merkle root signing and registry scanning — treating every skill publication as a cryptographically verifiable event. The framework exists. The question is no longer whether this is real; it is whether your organisation has acted on it.


05The research surge

The clearest early-warning signal is academic. Preprints on agent-skill attacks and defenses went from a trickle in January 2026 to a steady stream by mid-year, with new papers still landing in late June — SkillFortify, SkillSieve, RouteGuard, SkillHarm, PhantomSkill, and more.

Agent-skill security preprints, 2026

Approximate count of arXiv preprints on agent-skill attacks & defenses, by month

1JAN
6FEB
5MAR
8APR
10MAY
7+JUN

// Counts are an approximate reading of arXiv cs.CR / cs.AI preprints on agent-skill
// attacks and defenses. Trend, not a precise index. Momentum is the point.

When research volume climbs like this while mainstream coverage stays near zero, the vocabulary is still forming. By the time the term reaches a security-vendor headline or an analyst report, the defensive posture that matters will already have been decided by the teams paying attention now.


06How to defend against skill poisoning

No single control is sufficient. Layer these, in roughly this priority order.


07Score your exposure

The checklist above is only useful if you know where you actually stand. Answer six questions about how your agents are deployed today. Nothing is sent anywhere — this runs entirely in your browser.

Skill Poisoning Exposure Index

Six dimensions, scored 0–10. Higher means more exposed.

Hexagonal chart of skill-poisoning exposure across six dimensions

Exposure index

/ 10
AWAITING INPUT

Answer all six questions to generate your exposure profile.

0 / 6 answered

// Method: each answer maps to a 0–10 exposure score. The index is the mean of six
// dimensions. This is a directional self-assessment for planning conversations —
// not a substitute for a security audit. Nothing you enter leaves this page.

The architectural answer

Every one of these controls gets easier when the agent, its skills, and its data never leave your perimeter. The entire attack class exists because agents pull skills from public marketplaces run by strangers. Remove that dependency and you remove the primary vector.

That is the design principle behind the modelcam AI engine — Modelcam's on-premise AI appliance. A curated, vetted skill supply chain, running inside your own infrastructure, with provenance and least-privilege built in rather than bolted on. Your agent's capabilities should come from a registry you govern, not from ClawHub.


08Frequently asked questions

What is skill poisoning, in one sentence?
A supply-chain attack where an attacker hides malicious instructions or code inside an AI agent skill, so that loading the skill runs the hidden logic with the agent's full access to files, credentials, and tools.
Is skill poisoning the same as prompt injection?
No. Prompt injection hides instructions in untrusted content the agent reads at runtime, which agents are trained to distrust. A skill is trusted by design — the agent is built to follow it — and it persists across sessions, so a poisoned skill is a privileged, recurring threat rather than a one-shot one.
Has a real attack occurred?
Yes, repeatedly. In early 2026 Koi Security found ClawHavoc, a coordinated campaign: 341 malicious skills in an audit of 2,857, with 335 from one operation. Snyk’s ToxicSkills audit flagged 36.8% of 3,984 skills for a security flaw. By June 2026, Air Security flagged 17,822 of 142,836 live skills, spanning 6.7 million installs.
Can't a scanner just catch poisoned skills?
Only partially. Because a skill mixes natural-language instructions with code and can split payloads across files, Trail of Bits bypassed every public skill scanner it tested in under an hour (June 2026). A researcher-built malicious skill reached over 26,000 agents while every scanner cleared it. Scanning is a first pass; least-privilege isolation and runtime monitoring are still required.
How do on-premise agents help?
The attack depends on installing skills from open, public marketplaces. An on-premise agent that draws skills from a curated, governed internal registry removes that dependency — and with it, the primary attack surface.

09Sources & further reading

This briefing draws on primary security research and marketplace audits from 2026. Key references:

  1. OWASP — Agentic Skills Top 10 (published 27 Apr 2026); AST01 Malicious Skills, AST02 Supply Chain Compromise
  2. Snyk — "ToxicSkills" audit of 3,984 skills, ClawHub + skills.sh (5 Feb 2026)
  3. Koi Security — ClawHavoc campaign audit: 341 malicious of 2,857 skills (early 2026)
  4. Antiy CERT — ClawHavoc Campaign Analysis: 1,184 malicious skills (Feb 2026)
  5. Trend Micro — Malicious OpenClaw skills distributing Atomic macOS Stealer (Feb 2026)
  6. Trail of Bits — "The Sorry State of Skill Distribution" (3 Jun 2026)
  7. Air Security — "The Story of Skills" / "The Circus of Skills" (22–24 Jun 2026)
  8. Cloud Security Alliance — SKILL.md and Agent Context Poisoning research note (May 2026)
  9. arXiv 2606.18198 — "Seeing Is Not Screening: Attacks on Agent Skill Scanners"
  10. arXiv 2604.06550 — "SkillSieve: Hierarchical Triage for Malicious Agent Skills"