mlsanityData to 7 Oct 2026

PhantomSkill: Malicious Code Injection in Agent Skill Ecosystems

arXiv 2606.19191 ↗First posted 17 Jun 2026cs.CRcited by 4

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

Abstract (arXiv)

Agent skills allow LLM-based coding agents to acquire domain-specific capabilities from third-party packages, but they also introduce a new supply-chain attack surface. We present PhantomSkill, an attack framework that hides malicious behavior in a skill's auxiliary resources rather than in its textual description. Its core technique, VulMask, rewrites overt malicious scripts into vulnerability-shaped implementations whose malicious behavior is activated only under attacker-controlled trigger conditions. This design shifts the visible signal from explicit malicious intent to ordinary-looking insecure code. Across representative host skills, attack goals, coding agents, generation models, and automated reviewers, VulMask preserves benign utility while reducing warning and malware-level detection compared with overt malicious scripts. Our results show that skill ecosystems require resource-level vetting, execution-time containment, and security policies that treat exploitable vulnerabilities in agent skills as potential malicious payloads.

Key facts. Cited by 4 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 3 of its 9 references that are in the map. First posted on arXiv 17 Jun 2026.

Builds on

3 of 9 references.

Closest ancestors · 2

Same direction, newest first

  1. 2026Supply-Chain Poisoning Attacks Against LLM Coding Agent Skill Ecosystems3 Apr
  2. 2026Skill-Inject: Measuring Agent Vulnerability to Skill File Attacks23 Feb

Other references · 1

  1. 2023Not what you've signed up for: Compromising Real-World LLM-Integrated Applications with Indirect Prompt Injectioncited by 1,339

Built on by

Cited by year (2026 to 7 Oct)

Citing papers per year: 2026: 4.

4 papers.

Similar, not cited

Close in wording, no citation either way

  1. 2026Towards a Risk Assessment of Malicious Skill Files in Coding Agents
  2. 2026"Do Not Mention This to the User": Detecting and Understanding Malicious Agent Skills in the Wild
  3. 2026Trust Me, Import This: Dependency Steering Attacks via Malicious Agent Skills
  4. 2026MalSkillBench: A Runtime-Verified Benchmark of Malicious Agent Skills
  5. 2026SkillBloat: Token Amplification Attacks via Skill Injection in LLM Coding Agents
  6. 2026SkillShield: Prompt-Space Security Skills for LLM Coding Agents
  7. 2026Agent Skills in the Wild: An Empirical Study of Security Vulnerabilities at Scale
  8. 2026EVOMAL: Self-Poisoning in Self-Evolving Coding Agents