mlsanityData to 14 Oct 2026

RouteGuard: Internal-Signal Detection of Skill Poisoning in LLM Agents

arXiv 2604.22888 ↗First posted 24 Apr 2026cs.CR cs.AIcited by 7

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

also in 1 more
Abstract (arXiv)

Agent skills introduce a new and more severe form of indirect injection for LLM agents: unlike traditional indirect prompt injection, attackers can hide malicious instructions inside a dense, action-oriented skill that already functions as a legitimate instruction source. We study pre-execution skill-poison detection and show that successful skill poisoning induces a structured internal effect, attention hijacking, in which response-time attention shifts from trusted context to malicious skill spans and drives harmful behavior. Motivated by this mechanism, we propose RouteGuard, a frozen-backbone detector that combines response-conditioned attention and hidden-state alignment through reliability-gated late fusion. Across both real and synthetic open-source skill benchmarks, RouteGuard is consistently the strongest or most robust detector; on the critical Skill-Inject channel slice, it reaches 0.8834 F1 and recovers 90.51% of description attacks missed by lexical screening, showing that defending against skill poisoning requires internal-signal detection rather than text-only filtering

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

Builds on

9 of 11 references.

Closest ancestors · 6

Same direction, newest first

  1. 2026How Your Credentials Are Leaked by LLM Agent Skills: An Empirical Study3 Apr
  2. 2026Skill-Inject: Measuring Agent Vulnerability to Skill File Attacks23 Feb
  3. 2026"Do Not Mention This to the User": Detecting and Understanding Malicious Agent Skills in the Wild6 Feb
  4. 2026Agent Skills in the Wild: An Empirical Study of Security Vulnerabilities at Scale15 Jan
  5. 2025Attention is All You Need to Defend Against Indirect Prompt Injection Attacks in LLMs9 Dec
  6. 2025PromptArmor: Simple yet Effective Prompt Injection Defenses21 Jul

Other references · 3

  1. 2023Not what you've signed up for: Compromising Real-World LLM-Integrated Applications with Indirect Prompt Injectioncited by 1,443
  2. 2023Prompt Injection attack against LLM-integrated Applicationscited by 605
  3. 2024Attention Tracker: Detecting Prompt Injection Attacks in LLMscited by 95

Built on by

Cited by year (2026 to 14 Oct)

Citing papers per year: 2026: 7.

7 papers.

Similar, not cited

Close in wording, no citation either way

  1. 2026Detecting Malicious Agent Skills in the Wild using Attention
  2. 2026SkillPoison: Progressive Skill Poisoning via Successful Experiences
  3. 2026Seeing Is Not Screening: Multimodal Hidden Instruction Attacks on Agent Skill Scanners
  4. 2026Pretext: Defeating Malicious Skill Detection Frameworks for AI Agents
  5. 2026Hiding in Plain Sight: Decoupling Pretext from Actuation for Skill Poisoning in LLM Agents
  6. 2026SkillBloat: Token Amplification Attacks via Skill Injection in LLM Coding Agents
  7. 2026DriftNet: A Dual-Head Trajectory Transformer for Detecting and Localizing Prompt Injection in LLM Agents
  8. 2026SkillSecurer: Detecting and Patching Prompt-Injection Vulnerabilities in AI Agent Skills