Agent skills are packages. Review them like dependencies.

A study of 31,132 AI agent skills found 26.1% with at least one vulnerability and 5.2% with patterns that suggest malice, and one marketplace audit found 341 malicious skills. Why skills are a supply chain and how to vet them before they reach your AWS keys.

Antivenom5 min read

An agent skill is a folder: a SKILL.md file with instructions, and often a few scripts. You drop it into Claude Code, Codex or another agent, and the agent follows it. In February, Koi Security audited all 2,857 skills on ClawHub, the marketplace for the OpenClaw agent, and flagged 341 as malicious. A January study that looked at 31,132 skills from two marketplaces found that 26.1% had at least one vulnerability.

Skills look like documentation. They behave like packages. Most teams do not review them like packages yet.

What the research found

Diagram: a skill moves from a marketplace into an agent that runs with the developer's shell, files and AWS profile. The study's numbers sit along the path, and green gates show where review, pinning, scanning and isolation stop it.

The study is Agent Skills in the Wild, posted to arXiv on January 15, 2026. The authors collected 42,447 skills from two major marketplaces and analyzed 31,132 unique ones with a tool that combines static analysis with an LLM classifier. Their findings:

  • 26.1% of skills had at least one vulnerability, across 14 patterns in four groups: prompt injection, data exfiltration, privilege escalation and supply chain risk.
  • Data exfiltration showed up in 13.3% of skills and privilege escalation in 11.8%.
  • 5.2% showed high-severity patterns that the authors say strongly suggest malicious intent. That is a signal, not a confirmed count of malware.
  • Skills that bundle executable scripts were 2.12 times more likely to be vulnerable than skills that are only instructions.

The authors report 86.7% precision and 82.5% recall for their detector against a hand-labeled set, so some findings are wrong and some issues are missed. The overall picture still holds: a large share of skills in the wild do things you would not approve if you read them.

What a malicious skill looks like

The ClawHub audit shows the attacker's side. According to The Hacker News, 335 of the 341 malicious skills Koi found belonged to one campaign, which Koi named ClawHavoc. The skills posed as useful tools, such as crypto wallet trackers, YouTube utilities and typosquats of popular skills. They told the user to complete a "prerequisite" install step, and that step delivered an information stealer aimed at API keys, wallet keys, SSH credentials and browser passwords. A smaller set hid reverse shells in working code or sent the bot's credentials to an outside webhook.

The marketplace was open by default. The only bar to publishing was a GitHub account at least one week old. After the report, OpenClaw added a way for users to flag skills, and skills with enough reports are hidden.

None of this needs a new kind of attack. It is the npm and PyPI playbook: a useful name, a working feature and one extra step that runs the attacker's code. The difference is that the instructions are read by an agent that can run commands, and the agent usually runs with your access.

Why it works

Three things make skills easy to abuse.

They are trusted by default. A skill is loaded because someone put it in a folder. In most setups there is no signature check, no permission prompt per capability and no review.

They mix text and code. A scanner for code will not read a sentence in SKILL.md that tells the agent to send a file somewhere. A person skimming the instructions will not read the bundled script. The study's 2.12 figure suggests the scripts are where most of the risk sits, but prompt injection lives in the text.

They run where the credentials are. A coding agent runs in a developer's shell. That shell has ~/.aws, SSO tokens, SSH keys, .env files and often a Git credential that can push to production repositories.

What tools exist

Defenders are starting to treat skills as a supply chain. NVIDIA open-sourced SkillSpector, a scanner that checks a skill before you install it. It accepts a Git URL, a zip file, a directory or a single SKILL.md. It uses pattern rules, Python AST analysis, taint tracking and YARA signatures, checks dependencies against OSV.dev, and can add an optional LLM review. Its README lists 71 patterns across 17 categories; when Help Net Security covered it in August, the count was 64, so the rule set is still growing. The README is honest about limits: it does static analysis only, does not run the skill, and calls itself defense in depth, not a sandbox.

NVIDIA also describes how it publishes its own skills: each one is scanned, signed and shipped with a skill card that records who built it, its dependencies and its known risks. That is the same discipline mature teams already apply to container images and packages.

A scanner is one gate. It is not the whole review.

What it means on AWS

If a developer runs an agent with a malicious skill, the attacker gets what that shell has. On many teams, that includes AWS credentials that reach production.

  • Long-lived access keys in ~/.aws/credentials are the worst case. They work from anywhere until someone revokes them.
  • SSO sessions are better, because they expire, but a stealer that runs during the session can still use them.
  • A Git token with write access to infrastructure-as-code repositories can be as valuable as an AWS key, because the pipeline deploys what is merged.

What to do this week

  • Inventory skills. List the skills installed on developer machines and in shared agent configs. Note the source and the version for each one.
  • Pin by commit. Install skills from a specific commit hash, not a branch or a marketplace "latest". Treat an update as a new install.
  • Read the scripts, then the text. Review bundled scripts like any third-party code. Then read SKILL.md for instructions that send data out, change files outside the project or ask for an extra install step.
  • Scan before install. Run a skill scanner in CI on the folder where approved skills live, and fail the build on high-risk findings.
  • Keep an allow-list. Approved skills live in one repository that the team reviews. Anything else is blocked by policy.
  • Remove standing keys from developer machines. Use IAM Identity Center with short sessions. Do not keep production access keys on laptops.
  • Run agents with less. Give the agent a container or VM with only the project folder and a scoped, read-only role. Production credentials stay outside.
  • Watch for the follow-on. Alert on CloudTrail events such as CreateAccessKey, CreateUser or AssumeRole into production roles from developer identities at odd hours.

Closing

Every new extension format becomes a supply chain. Browser extensions did, package registries did, and agent skills are on the same road. The fix is not new either: know what you installed, pin it, review it and limit what it can reach.

That last step is where Antivenom works. Our AI red team runs only against your own systems, with your permission, and tests what an agent's identity can reach if a skill turns hostile. The AI blue team narrows that access, and the red team runs the same path again to prove it is closed.

For the identity side of this, read AI agents are insiders now.

← All posts
  • AI agents
  • agent skills
  • supply chain attack
  • AI security
  • SkillSpector
  • ClawHub
  • Claude Code
  • AWS security

The arms race has started

Evolve as fast as the attacker.

Antivenom is opening to a small group of security and platform teams first. Join the waitlist to get early access.