What happened
Submitted 2026-11-23, this is the first registry-scale empirical study of the supply-chain attack surface from unintentional vulnerabilities in agent skills, covering all 48,682 skills in ClawHub. It finds 49.6% of skills with resolvable dependencies depend on a version with a known CVE — and, unlike npm packages, 78.3% of those are born vulnerable (already exposed at publication). Only 3.0% of the CVEs are reachable from agent input, but 21 of 22 sampled first-party flaws were exploited end-to-end in a sandbox. A live agent executed the injected payload in 48.5% of sampled flagged skills, though in most cases this happened in its own shell before the skill ran, with only 5.0% reaching a flaw inside the skill itself.
Why it matters
This quantifies a new and growing agentic supply-chain surface: reusable 'skills' package scripts, dependencies and instructions, and a benign author's flaw can escalate an ordinary prompt injection into code execution. It gives defenders concrete triage guidance — inspect first-party code and skill argument handling rather than relying on dependency advisories alone.
Attack vector
A benign skill author leaves an unintentional flaw (a vulnerable dependency, an unsanitized install instruction, or credential printed to stdout). Because an agent builds the skill's arguments from user requests and untrusted external content, an indirect prompt injection can escalate to shell/code execution when the skill runs — especially since agent runtimes commonly pass skill arguments through a shell.
Affected systems
LLM agent skills / reusable agent packages (ClawHub, and analogous registries)
Mitigation
Prioritize first-party flaws over dependency alerts; scan skills before install; do not pass skill arguments through a shell in the agent runtime. Preprint: https://arxiv.org/abs/2611.30932