{"resourceId":"arxiv-2611-30932-agent-skills-supply-chain-48682-clawhub-shell-injection-20261123","versions":[{"version":"external-db34eb1f321eec401294e364813427ed6ee6d13552e35aae03cdcad69b5f8414","resource":{"id":"arxiv-2611-30932-agent-skills-supply-chain-48682-clawhub-shell-injection-20261123","title":"Registry-scale study of 48,682 agent skills: 49.6% with resolvable dependencies carry a known CVE, and injected payloads mostly run in the agent's own shell","organization":"Kaixuan Li, Wenbo Guo, Sen Chen, Yang Liu (academic authors; arXiv cs.CR)","sector":"Cross-sector AI agent supply-chain security","geography":"Global (ClawHub public skill registry)","publishedAt":"arXiv v1 submitted 23 Nov 2026","publicationDate":"2026-11-23","eventDate":null,"sourceName":"arXiv (Preprint, not peer reviewed)","sourceLabel":"Academic preprint, not peer reviewed; independent of Red Hat","sourceUrl":"https://arxiv.org/abs/2611.30932","evidenceClass":"academic-research","outcomeClass":"cautionary","topics":["data-security","developers-agents","governance-procurement"],"finding":"Preprint, not peer reviewed. The authors screened all 48,682 skills in the ClawHub registry (March 2026 snapshot) by static analysis and manually reviewed 3,428 flagged cases. They tested reachability in a sandbox and with a live LLM agent under indirect prompt injection. 49.6% of skills with resolvable dependencies depend on a version with a known CVE, and 78.3% of those were vulnerable at publication. Agent input reached the vulnerable function in only 3.0% of affected skills, whereas 21 of 22 sampled first-party flaws were exploited end to end. A live agent executed the injected payload in 48.5% of sampled flagged skills, almost always in its own shell before the skill ran; the payload reached a flaw in the skill itself in only 5.0%. The authors recommend that registries prioritise first-party flaws and that agent runtimes not pass skill arguments through a shell.","sledRelevance":"Why now: Red Hat began distributing Lightspeed skills through a Lola marketplace on 4 Dec, and Red Hat OpenShift AI's MLflow now has skill-registration APIs. SLED IT and research teams adopting skills need to know where the risk sits. This study suggests that the agent's shell access and first-party skill code matter more than dependency CVE counts. It studies a public community registry, not Red Hat's curated skills, so the rates transfer only as a reason to review, not as an estimate.","evidence":"arXiv abstract page and HTML full text were opened, including the method, the corpus description and the threats-to-validity section. Labeling agreement was κ 0.62–1.0. The live-agent run used gpt-4o-mini with three unseeded trials per variant. The authors state that counts are lower bounds.","architectureImplications":"Run agents that load skills in sandboxes without an unrestricted shell tool; treat skill scripts and install instructions as executable supply-chain input.","governanceImplications":"Skill registries and internal catalogues need review of first-party code and install steps, not just dependency scanning.","securityPrivacyImplications":"Indirect prompt injection can trigger code execution through the agent shell. Skills that print credentials to stdout expose secrets to the model context.","caveats":"Preprint, not peer reviewed. One registry at one point in time. SAST covered only Python and JavaScript. Live tests used GPT-4o-class models, not production agent hosts. Counts are lower bounds. Red Hat skills were not studied.","streamIds":["red-hat"],"roles":{"sales":"Sales framing: skills are the next supply-chain question customers will ask about agentic AI, and this preprint gives evidence-based talking points. The main risk is the agent's own shell and first-party skill code, not dependency CVE counts. That supports conversations about curated skill catalogues, sandboxed runtimes and review gates on OpenShift AI or developer workstations. Do not imply that Red Hat's skills were assessed or are free of these issues; the study covers a public community registry only and is not peer reviewed.","engineering":"Engineering framing: design agent runtimes so that skill arguments never pass through an unrestricted shell, and sandbox any skill that executes code. Prioritise review of first-party scripts and install instructions over dependency alerts, since only 3.0% of dependency CVEs were reachable but 21 of 22 first-party flaws were exploited end to end. Check skills for credentials printed to stdout. For proof of value, run indirect-injection tests against the customer's chosen agent host, because the paper's rates came from GPT-4o-class models.","delivery":"Delivery framing: put a skills intake process in place before teams install from marketplaces. Maintain a curated internal catalogue with pinned versions, code review of scripts and install steps, and a sandboxed execution profile. Record who approved each skill and re-review on update. Train developers and administrators to inspect skills before installation. Track exceptions, and run periodic injection tests on the approved agent configuration, because rates in the study are lower bounds from one registry."},"roleDetails":{"sales":{"customerProblem":"Teams are installing agent skills from public registries without a supply-chain review process.","stakeholders":["CISO","Developer platform owner","Research computing lead","AI governance lead"],"discoveryQuestions":["Which agents and skills are installed today?","Do agents have unrestricted shell access?","Who reviews skills before use?","Are skills pinned to versions?"],"valueHypothesis":"A curated, sandboxed skill catalogue reduces exposure to injection-driven code execution; this is risk reduction, not savings.","potentialEngagement":"A skills supply-chain review and curated-catalogue design for one developer or research group.","unsupportedClaims":["That Red Hat skills share these flaws","Exact exploitation rates in production agents","That dependency scanning alone is sufficient"]},"engineering":{"fit":"Relevant to any deployment of skill-based agents, including assistants using Lightspeed skills or OpenShift AI MLflow skills.","architectureIntegration":"Sandboxed agent runtime, no unrestricted shell tool, curated skill catalogue, secrets kept out of stdout.","prerequisites":["Inventory of agents and skills","Sandboxing capability (containers or VMs)","Code review capacity"],"constraints":["Results from one public registry","Live tests used GPT-4o-class models","SAST limited to Python and JavaScript"],"security":"Remove or restrict shell tools, review first-party skill code and install steps, and prevent credential output to the model context.","proofOfValue":["Indirect prompt-injection test against the chosen agent host","Review of top-used skills' scripts","Verify skill arguments are not shell-interpreted"]},"delivery":{"work":"Inventory skills, define review criteria, build a curated catalogue and sandbox profile, and train users.","dependencies":["Developer platform team","Security review capacity","Agent host configuration control"],"ownership":"Developer platform or research computing team, with security sign-off.","skillsAdoption":"Short training on reading skill scripts and install instructions; checklist in the catalogue workflow.","governanceCheckpoints":["Approval before a skill enters the catalogue","Re-review on version change","Periodic injection testing"],"acceptanceCriteria":["Proposed: all in-use skills listed in the catalogue with an approver","Proposed: no approved agent profile with unrestricted shell","Proposed: injection test run at an agreed interval"],"risks":["Shadow installs bypass catalogue","Review backlog slows adoption","Overreliance on dependency scanners"]}},"retrievedAt":"2026-12-04T22:33:59-06:00","enrichedAt":"2026-12-04T22:39:18-06:00","enrichmentBasis":"retrieved source","accessibilityWorkforceImplications":"Developers and administrators installing skills need guidance on reviewing install instructions and scripts before use.","procurementImplications":"Ask vendors distributing skills how they are reviewed, signed and versioned, and whether runtimes restrict shell execution.","operatingModelImplications":"An internal, curated skill catalogue with review gates is a more defensible model than direct installs from public registries.","peerReview":"preprint","sourceVerification":{"openedUrl":"https://arxiv.org/abs/2611.30932","referenceExcerpt":"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","promptVersion":"sled-research-v4.0","model":null,"basis":"agent-reported inspection"}}}]}