A deliberately vulnerable, fully offline lab suite built around the unit an AI agent actually trusts without reading line-by-line: the Skill. Every lab ships a real, installable capability that lets an agent read files, run commands, call external services, or consume external content — booby-trapped on purpose, so you can watch an agent decide to run it, then see exactly where that trust breaks. 56 hands-on labs across every category of the OWASP Agentic Skills Top 10, each one fully reproducible and demo-safe on a conference table.
A skill's manifest is just text.
PwnSkill proves what happens when you trust it.
No API keys, no cloud account, no Docker. Once you have repository access, this is the whole setup.
Every Tier 1 replay runs with zero network access and zero API keys. The attack already happened — you're investigating it, not waiting on a model call.
pwnskill live <lab> --port 9001 opens a genuine MCP server over SSE — point Claude Desktop, Cursor, Cline, or the MCP Inspector at it directly.
There is exactly one package named pwnskill and it only comes from this repository — no PyPI placeholder to accidentally install instead.
OWASP's Agentic Skills Top 10 names ten real, distinct ways an AI agent gets compromised by a third-party skill — but until now there has been no standardized, hands-on environment to study them. PwnSkill is that environment, and it is built to run live, unattended, in front of an audience, all day.
53 of 56 labs expose a real verify_remediation() MCP tool that re-checks the actual attack path against the current policy — not an exploit-only CTF, a closed loop.
Tier 1 of every lab is a scripted replay with no LLM and no probabilistic output — the same demo, byte-identical, on every machine, every time, with 70 automated tests behind it.
Every "network call" and "shell command" in every lab is intercepted and logged. No lab has ever opened a real socket or touched a real filesystem outside its own sandbox.
verify_remediation() and receive a second flag.
NovaCorp is a fictional company with five agents — Squire,
Herald, Warden, Steward, Chamberlain. Here's
clawhavoc-lite, a malicious "google-workspace"
skill with 4,200 installs and a 4.6 rating.
The scenario runs with malicious events hidden — the point is to go find out afterward what the skill actually did, not to watch an attack happen.

A structured, color-coded timeline with a Declared vs Observed table underneath — the skill promised *.googleapis.com only, then read an SSH key and sent it to a bare IP address.

Connect an actual agent over the Model Context Protocol, re-run the exact attack live, then tighten the enforced policy until verify_remediation() confirms the path is closed.

Ten chapters, one per category, plus a multi-category capstone and two benign controls that prove the suite doesn't just flag everything.
| Chapter | OWASP Category | Labs |
|---|---|---|
I — The False Knight | AST01 — Malicious Skills | 9 |
II — The Poisoned Forge | AST02 — Supply Chain Compromise | 7 |
III — The Hungry Crown | AST03 — Over-Privileged Skills | 4 |
IV — The Forged Seal | AST04 — Insecure Metadata | 7 |
V — The Whispering Scroll | AST05 — Untrusted External Instructions | 6 |
VI — The Broken Wall | AST06 — Weak Isolation | 4 |
VII — The Falling Oath | AST07 — Update Drift | 4 |
VIII — The Blind Oracle | AST08 — Poor Scanning | 5 |
IX — The Shadow Council | AST09 — No Governance | 3 |
X — The Fractured Realms | AST10 — Cross-Platform Reuse | 4 |
The Support Team (capstone) | AST01+03+04+05 | 1 |
Benign controls | — no false positives — | 2 |
Every lab — Tier 1 or Tier 2 — moves through the same pipeline. Nothing about a lab's story changes the mechanics underneath it.
A generator yields the same Think/ToolCall/Observe/Alert sequence every run — no LLM, no API keys, no probabilistic output.
Every lab also runs as a genuine FastMCP server. Point Claude Desktop, Cursor, or the MCP Inspector at it and it gets compromised over the real protocol — not a recording of one.
Tools only ever touch a sandboxed workspace. No lab makes a real outbound network call, in either tier, no matter what the lab's agent appears to do.
PwnSkill isn't competing with static manifest linters or prompt-injection fuzzers — it's the hands-on environment for studying what they'd be checking for.
| Approach | Tests a real agent's decision | Real MCP protocol | Scored remediation | Fully offline |
|---|---|---|---|---|
Manual SKILL.md review | No | No | No | Yes |
Static manifest linter | No | No | No | Yes |
Generic prompt-injection fuzzer | Partial | Rarely | No | Depends |
PwnSkill | Yes | Yes | Yes | Yes |
Guided defense presets show exactly where a partial fix still leaves a gap open, before the learner reaches the policy that actually closes it.
Repository access includes the full written trail — not just 56 folders of Python.
Install, run, and the full ten-chapter lab ledger — the same structure shown on this page, with exact commands.
A scene-by-scene walkthrough for a live 15- or 30-minute Arsenal demo, timed, with a troubleshooting section.
Unit, safety-boundary, evidence-model, and API tests, plus a live-lab verifier that builds and calls every one of the 56 MCP servers.
Every lab is grounded in an implemented, testable behavior, never an invented mechanic — the contribution guide explains the pattern.
The full test suite and live-lab verification run on Python 3.11 and 3.12 automatically — green CI, not a claim.
Permissively licensed from day one — nothing about access is a gate to the terms, only to the private repository itself.
"Every lab names an organization, an agent, and a skill — not just a manifest. The story is how you remember which attack is which."