mlsanityData to 7 Oct 2026

Defenses & Enablers For Skill Injection Attacks on Terminal Based Agents

arXiv 2606.01567 ↗First posted 1 Jun 2026cs.CR cs.AI cs.CLcited by 1

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

Abstract (arXiv)

Large language model (LLM) agents increasingly rely on reusable skills i.e. documents describing task-specific procedures. However, this introduces a new attack surface for agents to manage. We study two complementary directions for this threat. First, we evaluate guardian-based defenses: an intermediary LLM agent that acts as a mediator for skill file access (dynamic guardian) or pre-rewrites these files at build time (static guardian). Across three LLM agent families, our guardians cut attack success rate (ASR) by well over half while preserving task utility. Second, we stress test them through attack reframing using four attacks that preserve the malicious instruction but change the phrasing. For non-guardian setup, the reframing pushes the ASR up to 81.4%, but the dynamic guardian brings it down to 18.6%, showing that real-time mediation is a robust defense.

Key facts. Cited by 1 paper 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 10 of its 32 references that are in the map. First posted on arXiv 1 Jun 2026.

Builds on

10 of 32 references.

Closest ancestors · 2

Same direction, newest first

  1. 2026Skill-Inject: Measuring Agent Vulnerability to Skill File Attacks23 Feb
  2. 2026Agent Skills in the Wild: An Empirical Study of Security Vulnerabilities at Scale15 Jan

Other references · 8

  1. 2023SWE-bench: Can Language Models Resolve Real-World GitHub Issues?cited by 3,193
  2. 2024SWE-agent: Agent-Computer Interfaces Enable Automated Software Engineeringcited by 1,628
  3. 2022Ignore Previous Prompt: Attack Techniques For Language Modelscited by 760
  4. 2024The Instruction Hierarchy: Training LLMs to Prioritize Privileged Instructionscited by 441
  5. 2024StruQ: Defending Against Prompt Injection with Structured Queriescited by 325
  6. 2023Low-Resource Languages Jailbreak GPT-4cited by 290
  7. 2020When Being Unseen from mBERT is just the Beginning: Handling New Languages With Multilingual Language Modelscited by 131
  8. 2022Match the Script, Adapt if Multilingual: Analyzing the Effect of Multilingual Pretraining on Cross-lingual Transferabilitycited by 26

Built on by

Cited by year (2026 to 7 Oct)

Citing papers per year: 2026: 1.

1 paper.

Similar, not cited

Close in wording, no citation either way

  1. 2026Universal Defenses for Tool-Integrated LLM Agents Against Adversarial Attacks
  2. 2025Your Agent Can Defend Itself against Backdoor Attacks
  3. 2025Agent Skills Enable a New Class of Realistic and Trivially Simple Prompt Injections
  4. 2026Chaining Skills to Hijack LLM Agents
  5. 2026Agent Skill Security: Threat Models, Attacks, Defenses, and Evaluation
  6. 2026Toward Secure LLM Agents: Threat Surfaces, Attacks, Defenses, and Evaluation
  7. 2026RAISED: Self-Distillation for Robustness to Prompt Injection in LLM Agents
  8. 2026Skill-Use: Can LLMs Actually Use Skills in Agentic Harnesses?