# We scanned 9,529 Claude Code and Codex skills for security red flags. Here's what we found

> A study of 9,529 public skills, subagents and slash commands: 79.5% clean, 1.1% tell your agent to download and run code, and none of the severe flags attacked users.

Published by Calyban (https://calyban.com/blog/agent-skills-security-study-9529), 2026-12-02.

**Short answer:** most popular agent add-ons are fine. We scanned every skill, subagent and slash command in Calyban's catalog, 9,529 items from 172 GitHub repositories, and 79.5% had no red flag at all. The risk that does show up is quieter than malware: 107 items (1.1%) tell your agent to download code and run it on the spot, before you've seen it. We reviewed all 27 of the most severe flags by hand, and none were attacks on users.

Calyban runs this same check on everything before it reaches your agent, free, with no account. [Get it here](/#download).

The full write-up is published as a citable report on Zenodo, CERN's open research repository: [Security Red Flags in 9,529 AI Coding Agent Skills, Subagents and Slash Commands](https://doi.org/10.5281/zenodo.24736659) (DOI `10.5281/zenodo.24736659`, CC BY 4.0). This post is the short version.

## What did we scan?

Every item in the Calyban catalog that an agent reads as instructions, on 28 November 2026:

| Kind | Items |
|---|---|
| Skills (`SKILL.md` folders) | 7,044 |
| Subagents | 1,409 |
| Slash commands | 1,076 |
| **Total**, from 172 repositories by 158 owners | **9,529** |

Each one was downloaded at the exact commit you'd get if you installed it, read as text, and never run. The verdicts come from the safety check built into Calyban 1.3.1: plain rules, no AI model judging another AI model. Every rule is [published here](/blog/what-calyban-safety-check-looks-for).

## How many skills are safe?

| Result | Items | Share |
|---|---|---|
| No finding at all | 7,573 | 79.5% |
| Notes only (for example, ships scripts) | 1,588 | 16.7% |
| Worth a look (medium) | 170 | 1.8% |
| High risk pattern | 198 | 2.1% |

Subagents and slash commands are nearly spotless: 98.9% and 98.5% clean. They're usually a single Markdown file. Skills carry the rest, because a skill can bundle scripts and reference files.

## What did the red flags turn out to be?

| Pattern | Items |
|---|---|
| Ships script files the agent may run | 1,615 |
| Tells the agent to download and run code | 107 |
| Prompt-injection phrasing | 67 |
| Mentions switching off the agent's permission prompts | 44 |
| Hidden Unicode text | 20 |
| Reverse shell | 7 |

The download-and-run group is the one worth knowing about. It includes official skills from Google, Microsoft, OpenAI and Trail of Bits, where the line installs the vendor's own tool. Nothing wrong with the intent. But the shape is identical to an attack (`curl … | sh`), and your agent runs it before you've read what came down the pipe.

## Were any of them actually malicious?

We read all 27 items flagged by the four most severe rules (credential theft, secret exfiltration, reverse shells, obfuscated execution) at the exact file and line:

- **20** were hacking tutorials: penetration-testing skills with example payloads like `ATTACKER_IP` and Base64-encoded `alert(1)`.
- **3** were ordinary ops scripts that encode a command to run on a server they manage.
- **3** named a credential file to configure it or redact it, including a skill reading its own API key from `.env`.
- **1** was a deliberately malicious sample from a security scanner's own test suite. Flagged, correctly.

**Zero** targeted the person installing them. That's also why we don't publish per-item results: a flag on a pentest tutorial isn't an accusation, and nobody's work should be presented as malware because it teaches how malware works.

## What should you do before installing a skill?

1. **Read `SKILL.md`.** It's plain text. Look for instructions to run downloaded code, read credential files, or send data somewhere.
2. **Open the scripts.** About one item in six ships them, and your agent can run them.
3. **Pin it.** Install from a specific commit, so the version you read is the version you run.
4. **Keep permission prompts on** for anything that ships scripts or downloads code.

Or let Calyban do steps 1 to 3 on every install: it downloads each item at a pinned commit, runs this check on every file, weighs each finding by where it appears, and tells you why in plain words, with the file and line. Mark something reviewed and the flag stays quiet until a single byte changes.

## Cite this study

> Calyban (2026). *Security Red Flags in 9,529 AI Coding Agent Skills, Subagents and Slash Commands: A Static Analysis of Public Add-ons for Claude Code and Codex* (Report, version 1.0). Zenodo. https://doi.org/10.5281/zenodo.24736659

The catalog, with the pinned repository and commit of every item, is public at [github.com/nemesisLLC/calyban-catalog](https://github.com/nemesisLLC/calyban-catalog). Our earlier report on Calyban's design is [also on Zenodo](https://doi.org/10.5281/zenodo.24354546).

Calyban is free for Windows (Microsoft Store) and Linux at [/#download](/#download). Found a pattern the check should catch? Tell us on [Discord](https://discord.gg/pHDNtgYvWn).
