mlsanityData to 7 Oct 2026

"Do Not Mention This to the User": Detecting and Understanding Malicious Agent Skills in the Wild

arXiv 2602.06547 ↗First posted 6 Feb 2026cs.CR cs.AI cs.CLcited by 46

On the map: LLM agents and tool use → Agent threats, guardrails and governance

Abstract (arXiv)

LLM-based coding agents increasingly rely on third-party extensions called skills, which bundle natural language instructions and helper scripts that execute with full user privileges. Community registries have emerged to distribute these skills, but the security implications remain unstudied due to the absence of labeled threat data. This paper presents a systematic security analysis of 98,380 skills collected from two major registries. Through a combination of static pattern matching and dynamic behavioral verification, we identify 157 skills exhibiting confirmed malicious behavior, encompassing 632 distinct vulnerabilities across 13 attack techniques. Our analysis reveals that these threats are deliberate rather than accidental: each malicious skill contains an average of 4.03 vulnerabilities spanning multiple attack phases. We identify two dominant attack strategies with statistically significant negative correlation -- credential theft via remote code execution, and agent manipulation through adversarial instructions embedded in documentation. Over half of all confirmed cases originate from a single threat actor employing templated brand impersonation at scale. We further observe that attack sophistication correlates with concealment investment, with advanced skills universally employing undocumented capabilities while also exploiting platform-native trust mechanisms. Following responsible disclosure, registry maintainers removed all 157 (100%) of the reported skills. Our dataset and detection pipeline are publicly available to facilitate future research on securing LLM agent ecosystems.

Key facts. Cited by 46 papers in the map (data through 7 Oct 2026). Placed in Agent threats, guardrails and governance, one of 16 directions in LLM agents and tool use. Builds on 11 of its 36 references that are in the map. First posted on arXiv 6 Feb 2026.

Builds on

11 of 36 references.

Closest ancestors · 2

Same direction, newest first

  1. 2026Agent Skills in the Wild: An Empirical Study of Security Vulnerabilities at Scale15 Jan
  2. 2025Agent Skills Enable a New Class of Realistic and Trivially Simple Prompt Injections30 Oct

Other references · 9

  1. 2023A Survey on Large Language Model based Autonomous Agentscited by 2,203
  2. 2023The Rise and Potential of Large Language Model Based Agents: A Surveycited by 1,422
  3. 2023Not what you've signed up for: Compromising Real-World LLM-Integrated Applications with Indirect Prompt Injectioncited by 1,339
  4. 2022Ignore Previous Prompt: Attack Techniques For Language Modelscited by 760
  5. 2023"Do Anything Now": Characterizing and Evaluating In-The-Wild Jailbreak Prompts on Large Language Modelscited by 457
  6. 2023Formalizing and Benchmarking Prompt Injection Attacks and Defensescited by 328
  7. 2019Small World with High Risks: A Study of Security Threats in the npm Ecosystemcited by 36
  8. 2023An Empirical Study of Malicious Code In PyPI Ecosystemcited by 18
  9. 2025A Study on Malicious Browser Extensions in 2025cited by 3

Built on by

Cited by year (2026 to 7 Oct)

Citing papers per year: 2026: 46.

46 papers.

Sort:

By area:

  1. 2026Organizing, Orchestrating, and Benchmarking Agent Skills at Ecosystem Scalecited by 65
  2. 2026SkillAttack: Automated Red Teaming of Agent Skills through Attack Path Refinementcited by 24
  3. 2026SkillProbe: Security Auditing for Emerging Agent Skill Marketplaces via Multi-Agent Collaborationcited by 21
  4. 2026MalTool: Malicious Tool Attacks on LLM Agentscited by 17
  5. 2026When Safe Skills Collide: Measuring Compositional Risk in Agent Skill Ecosystemscited by 14
  6. 2026Towards Secure Agent Skills: Architecture, Threat Taxonomy, and Security Analysiscited by 11
  7. 2026Context Matters: Repository-Aware Security Analysis of the Agent Skill Ecosystemcited by 10
  8. 2026Under the Hood of SKILL.md: Semantic Supply-chain Attacks on AI Agent Skill Registrycited by 10
  9. 2026HarmfulSkillBench: How Do Harmful Skills Weaponize Your Agents?cited by 9
  10. 2026A Systematic Survey of Security Threats and Defenses in LLM-Based AI Agents: A Layered Attack Surface Frameworkcited by 9
  11. 2026AgentTrap: Measuring Runtime Trust Failures in Third-Party Agent Skillscited by 9
  12. 2026Benign in Isolation, Harmful in Composition: Security Risks in Agent Skill Ecosystemscited by 9
34 more
  1. 2026Poise: Position-Aware One-Instruction Skill Injection for Silent Execution on LLM Agentscited by 7
  2. 2026RouteGuard: Internal-Signal Detection of Skill Poisoning in LLM Agentscited by 6
  3. 2026Structured Security Auditing and Robustness Enhancement for Untrusted Agent Skillscited by 6
  4. 2026Behavioral Integrity Verification for AI Agent Skillscited by 6
  5. 2026Cloak and Detonate: Scanner Evasion and Dynamic Detection of Agent Skill Malwarecited by 6
  6. 2026Dynamic Agent Skills: A Lifecycle Survey and Taxonomy of Evolving Skill Librariescited by 6
  7. 2026MalSkills: Detecting Malicious Skills in the Agentic Supply Chain via Neuro-symbolic Reasoningcited by 5
  8. 2026SafeClaw-R: Towards Safe and Secure Multi-Agent Personal Assistantscited by 5
  9. 2026No Attack Required: Semantic Fuzzing for Specification Violations in Agent Skillscited by 5
  10. 2026Exploiting LLM Agent Supply Chains via Payload-less Skillscited by 5
  11. 2026Your Agent is More Brittle Than You Think: Uncovering Indirect Injection Vulnerabilities in Agentic LLMscited by 4
  12. 2026Trust Me, Import This: Dependency Steering Attacks via Malicious Agent Skillscited by 4
  13. 2026SkillGuard: A Permission-Centric Framework for Agent Skill Securitycited by 4
  14. 2026Skills Are Not Islands: Measuring Dependency and Risk in Agent Skill Supply Chainscited by 3
  15. 2026Synergy: A Next-Generation General-Purpose Agent for Open Agentic Webcited by 2
  16. 2026Proteus: A Self-Evolving Red Team for Agent Skill Ecosystemscited by 2
  17. 2026Behind EvoMap: Characterizing a Self-Evolving Agent-to-Agent Collaboration Networkcited by 1
  18. 2026EVOMAL: Self-Poisoning in Self-Evolving Coding Agentscited by 1
  19. 2026Pomona: Continuous Code Quality Improvement via Small, Agentic Pull Requests at Bloombergcited by 0
  20. 2026The Decomposition Is the Fingerprint: Per-Component Identity for Agent Skillscited by 0
  21. 2026ALIBI: Adaptive Agentic Attacks on LLM-Based Vulnerability Detectors via Adversarial Code Commentscited by 0
  22. 2026Skillsets on the Chain: A Blockchain-based Zero-Trust Framework for Agentic AI Networkingcited by 0
  23. 2026SkillSentry: Adaptive Honey Worlds for Dynamic Safety Testing of Agent Skillscited by 0
  24. 2026SkillTrace: Multi-Trace Provenance Auditing for LLM-Agent Skill Reusecited by 0
  25. 2026Compositional Threat Analysis of Latent Compromise in LLM Agent Systems: The Order 66 Scenariocited by 0
  26. 2026TRUSS: Towards Task-Reliable and User-Safe Automated Agent Skill Generationcited by 0
  27. 2026SkillSecurer: Detecting and Patching Prompt-Injection Vulnerabilities in AI Agent Skillscited by 0
  28. 2026Progressive Skill Discovery as Access Control for Tool-Using LLM Agents: Structural Governance through Role-Scoped Capability Deliverycited by 0
  29. 2026SKILLLITE: Evidence-Guided Malicious Skill Auditing with Compact LLMscited by 0
  30. 2026Can Agents Trust Their Skills? Uncovering Unsafe Chains of Trust in Skill-Based LLM Agentscited by 0
  31. 2026ActionGuard: Tool Call Authorization under Poisoned Skillscited by 0
  32. 2026Pretext: Defeating Malicious Skill Detection Frameworks for AI Agentscited by 0
  33. 2026K-Dense BYOK: An Open-Source AI Research Assistant That Runs Locally and Keeps a Hash-Chained Lab Notebookcited by 0
  34. 2026Chaining Skills to Hijack LLM Agentscited by 0

Similar, not cited

Close in wording, no citation either way

  1. 2026Towards a Risk Assessment of Malicious Skill Files in Coding Agents
  2. 2026Skill-Inject: Measuring Agent Vulnerability to Skill File Attacks
  3. 2026SkillBloat: Token Amplification Attacks via Skill Injection in LLM Coding Agents
  4. 2026SkillsMetric: Mapping the Detection Boundary of Static Analysis for Malicious Agent Skills
  5. 2026Black-Box Skill Stealing Attack from Proprietary LLM Agents: An Empirical Study
  6. 2026PhantomSkill: Malicious Code Injection in Agent Skill Ecosystems
  7. 2026MaliciousSkillBench: A Comprehensive Benchmark for Malicious Agent Skill Detection
  8. 2026MalSkillBench: A Runtime-Verified Benchmark of Malicious Agent Skills