RouteGuard: Internal-Signal Detection of Skill Poisoning in LLM Agents
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
- 2026How Your Credentials Are Leaked by LLM Agent Skills: An Empirical Study3 Apr
- 2026Skill-Inject: Measuring Agent Vulnerability to Skill File Attacks23 Feb
- 2026"Do Not Mention This to the User": Detecting and Understanding Malicious Agent Skills in the Wild6 Feb
- 2026Agent Skills in the Wild: An Empirical Study of Security Vulnerabilities at Scale15 Jan
- 2025Attention is All You Need to Defend Against Indirect Prompt Injection Attacks in LLMs9 Dec
- 2025PromptArmor: Simple yet Effective Prompt Injection Defenses21 Jul
Other references · 3
Built on by
Citing papers per year: 2026: 7.
7 papers.
- 2026When Self-Evolution Backfires: Pre-Commit Gating against Skill Contamination in LLM Agentscited by 5
- 2026When Experience Becomes Instruction: Trajectory Poisoning in Self-Evolving Agent Skill Systemscited by 2
- 2026Convergent Detour Hijacking: Task-Preserving Resource Amplification in Skill-Based LLM Agentscited by 2
- 2026MaliciousSkillBench: A Comprehensive Benchmark for Malicious Agent Skill Detectioncited by 1
- 2026Towards a Systems Foundation for Agentic Skills: Architecture, Lifecycle, and Securitycited by 0
- 2026Toward Secure AI-Powered Penetration Testing Agents: Security Threats, Guardrails, and Architectural Perspectivescited by 0
- 2026CoRedSkill: Stealthy Skill Composition Attacks via AST-Guided Injectioncited by 0
- 2026CoRedSkill: Stealthy Skill Composition Attacks via AST-Guided Injection14 Oct 2026
- 2026Toward Secure AI-Powered Penetration Testing Agents: Security Threats, Guardrails, and Architectural Perspectives15 Sep 2026
- 2026Towards a Systems Foundation for Agentic Skills: Architecture, Lifecycle, and Security30 Aug 2026
- 2026MaliciousSkillBench: A Comprehensive Benchmark for Malicious Agent Skill Detection20 Aug 2026
- 2026Convergent Detour Hijacking: Task-Preserving Resource Amplification in Skill-Based LLM Agents12 Aug 2026
- 2026When Self-Evolution Backfires: Pre-Commit Gating against Skill Contamination in LLM Agents6 Aug 2026
- 2026When Experience Becomes Instruction: Trajectory Poisoning in Self-Evolving Agent Skill Systems6 Aug 2026
Similar, not cited
Close in wording, no citation either way
- 2026Detecting Malicious Agent Skills in the Wild using Attention
- 2026SkillPoison: Progressive Skill Poisoning via Successful Experiences
- 2026Seeing Is Not Screening: Multimodal Hidden Instruction Attacks on Agent Skill Scanners
- 2026Pretext: Defeating Malicious Skill Detection Frameworks for AI Agents
- 2026Hiding in Plain Sight: Decoupling Pretext from Actuation for Skill Poisoning in LLM Agents
- 2026SkillBloat: Token Amplification Attacks via Skill Injection in LLM Coding Agents
- 2026DriftNet: A Dual-Head Trajectory Transformer for Detecting and Localizing Prompt Injection in LLM Agents
- 2026SkillSecurer: Detecting and Patching Prompt-Injection Vulnerabilities in AI Agent Skills