mlsanityData to 24 Nov 2026

Scan Before You Install: Detecting and Mitigating Local and Composite Vulnerabilities in Skills

arXiv 2610.37901 ↗Submitted 27 Oct 2026cs.CR cs.AIcited by 0

On the map: LLM agents and tool use → Agent skill learning and evolution also fits: Agent threats, guardrails and governance

Abstract (arXiv)

An agent skill packages natural-language instructions, scripts, and reference files that an LLM-based agent loads for a task. Skills may access the file system, shell, and network under user-authorized permissions; weaknesses can lead to unsafe execution. Existing scanners primarily target malicious skills, not unintended vulnerabilities in public repositories, and analyze skills in isolation, overlooking multi-skill interactions. To address these gaps, we developed a six-module scanner: Content Extraction, Local Analysis, Composite Analysis, Validation, Reporting, and Mitigation. Local Analysis detects unintended vulnerabilities in benign skills. On a 556-case leaderboard subset of SkillTrustBench, it achieved 95.90% recall with a 4.22% false positive rate; on a balanced sample of 1,000 MalSkillBench skills, its F1 was 0.947, outperforming Cisco's Skill Scanner, NVIDIA's SkillSpector, AgentSkillsScanner, and SkillSieve. In 1,587 skills from the 75 most-starred GitHub repositories, three analysts confirmed 53 of 59 findings (89.8% precision) across 23 repositories. We developed proof-of-concept (PoC) attacks for each vulnerability, disclosed 10 medium- and high-severity cases to maintainers, and tested mitigations on the remaining cases. Composite Analysis models dependencies among skills through shared resources, invocations, and instruction-mediated interactions. On SCR-Bench, its F1 score was 0.991 (98.7% precision, 99.6% recall), versus 0.816-0.858 for three SkillsGuard configurations released with CompoSkill. It identified two composite findings on GitHub, validated by PoC attacks. The Mitigation module recommends skill substitution, patches, and configuration changes. For 47 of 55 GitHub findings, mitigations prevented PoC attacks in all trials while preserving tested legitimate functionality.

Key facts. No citing papers in the map yet (data through 24 Nov 2026). Placed in Agent skill learning and evolution, one of 16 directions in LLM agents and tool use. Builds on 13 of its 27 references that are in the map. Submitted 27 Oct 2026.

Builds on

13 of 27 references.

References · 13

  1. 2023Not what you've signed up for: Compromising Real-World LLM-Integrated Applications with Indirect Prompt Injectioncited by 1,638
  2. 2024InjecAgent: Benchmarking Indirect Prompt Injections in Tool-Integrated Large Language Model Agentscited by 634
  3. 2024Optimization-based Prompt Injection Attack to LLM-as-a-Judgecited by 154
  4. 2026Agent Skills in the Wild: An Empirical Study of Security Vulnerabilities at Scalecited by 112
  5. 2026"Do Not Mention This to the User": Detecting and Understanding Malicious Agent Skills in the Wildcited by 58
  6. 2019Small World with High Risks: A Study of Security Threats in the npm Ecosystemcited by 40
  7. 2026How Your Credentials Are Leaked by LLM Agent Skills: An Empirical Studycited by 24
  8. 2026MalSkillBench: A Runtime-Verified Benchmark of Malicious Agent Skillscited by 24
  9. 2026SkillSieve: A Hierarchical Triage Framework for Detecting Malicious AI Agent Skillscited by 23
  10. 2026SkillProbe: Security Auditing for Emerging Agent Skill Marketplaces via Multi-Agent Collaborationcited by 22
  11. 2026Benign in Isolation, Harmful in Composition: Security Risks in Agent Skill Ecosystemscited by 16
  12. 2026ColluSkill: Adversarial Cross-Skill Composition for Evading Agent Skill Scannerscited by 6
1 more
  1. 2026CompoSkill: Compositional Skill Chain Attacks from Individually Scanner-Passing LLM Agent Skillscited by 5

Built on by

Not cited yet.

Similar, not cited

Close in wording, no citation either way

  1. 2026SkillSecurer: Detecting and Patching Prompt-Injection Vulnerabilities in AI Agent Skills
  2. 2026Seeing Is Not Screening: Multimodal Hidden Instruction Attacks on Agent Skill Scanners
  3. 2026Skill-Inject: Measuring Agent Vulnerability to Skill File Attacks
  4. 2026MMSkillRisk: Can Agents Stay Safe When Multimodal Skills Become Traps?
  5. 2026SkillScreen: High-Recall Screening of Malicious Agent Skills with Decision Models
  6. 2026SkillGate: Cost Efficient Runtime Malicious Skill File Detection in Coding Agents
  7. 2026SkillsMetric: Mapping the Detection Boundary of Static Analysis for Malicious Agent Skills
  8. 2026Towards a Risk Assessment of Malicious Skill Files in Coding Agents