Carried-Over and Agent-Native Threats in the Supply Chain of LLM Agent Skills
Kaixuan Li, Wenbo Guo, Sen Chen, Yang Liu
Key points
From the paper's conclusion- We present the first registry-scale empirical study of the supply chain attack surface arising from unintentional vulnerabilities in agent skills, over all 48,682 skills in ClawHub.
Abstract
Agent skills are reusable packages that extend a large language model (LLM) agent with scripts, third-party dependencies, and natural-language instructions. An agent builds a skill's arguments from user requests and untrusted external content, so a flaw left by a benign author can escalate a prompt injection to code execution. Existing studies target malicious skills or a single attack vector, and none tests whether an agent can reach such flaws. We present the first registry-scale empirical study of the supply chain attack surface arising from unintentional vulnerabilities in agent skills, over all 48,682 skills in ClawHub. The study covers two carried-over risks, dependencies and first-party code, and two agent-native ones, install instructions and credentials printed to stdout. We screen all skills by static analysis, manually review all 3,428 cases flagged by the four main detectors, and test reachability by running sampled flagged skills in a sandbox and with a live LLM agent under indirect prompt injection. First, dependency risk carries over in a different form: 49.6% of the skills with resolvable dependencies depend on a version with a known CVE, and unlike npm packages, which mostly become vulnerable after release, 78.3% of them are born vulnerable, already exposed at publication. Second, few of these CVEs are reachable: agent input reaches the vulnerable function in only 3.0% of the affected skills, whereas 21 of 22 sampled first-party flaws are exploited end to end in the sandbox. Third, a live agent executes the injected payload in 48.5% of the sampled flagged skills, but almost always in its own shell before the skill runs, and the payload reaches a flaw in the skill itself in only 5.0%. Hence, registries should prioritize first-party flaws over dependency alerts, and agent runtimes should not pass skill arguments through a shell.
Read the paper
Discussion
Science Skim's AI key points, plus readers' public thoughts
Readers' thoughts
No reader thoughts yet.
Related papers
- Can Agents Trust Their Skills? Uncovering Unsafe Chains of Trust in Skill-Based LLM AgentsarXiv · 2026
- From Instructions to Exploits: Applying Program Analysis to Malicious Agent Skills Across Natural Language and CodearXiv · 2026
- Detecting Insecure Compositions of Clean Agent Skills via Capability-Flow Graph AnalysisarXiv · 2026
- SoK: Agentic Skills -- Beyond Tool Use in LLM AgentsOpen MIND · 2026
- Beyond Prompt Injection: The Tool Update Gap in LLM Agent SecurityarXiv · 2026
- Hiding in Plain Sight: Decoupling Pretext from Actuation for Skill Poisoning in LLM AgentsarXiv · 2026