mlsanityData to 13 Oct 2026

Prompt Injection Attacks on Agentic Coding Assistants: A Systematic Analysis of Vulnerabilities in Skills, Tools, and Protocol Ecosystems

arXiv 2601.17548 ↗First posted 24 Jan 2026cs.CRcited by 31

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

also in 1 more
Abstract (arXiv)

The proliferation of agentic AI coding assistants, including Claude Code, GitHub Copilot, Cursor, and emerging skill-based architectures, has fundamentally transformed software development workflows. These systems leverage Large Language Models (LLMs) integrated with external tools, file systems, and shell access through protocols like the Model Context Protocol (MCP). However, this expanded capability surface introduces critical security vulnerabilities. In this Systematization of Knowledge (SoK) paper, we present a comprehensive analysis of prompt injection attacks targeting agentic coding assistants. We propose a novel three-dimensional taxonomy categorizing attacks across textitdelivery vectors, textitattack modalities, and textitpropagation behaviors. Our meta-analysis synthesizes findings from 78 recent studies (2021--2026), consolidating evidence that attack success rates against state-of-the-art defenses exceed 85% when adaptive attack strategies are employed. We systematically catalog 42 distinct attack techniques spanning input manipulation, tool poisoning, protocol exploitation, multimodal injection, and cross-origin context poisoning. Through critical analysis of 18 defense mechanisms reported in prior work, we identify that most achieve less than 50% mitigation against sophisticated adaptive attacks. We contribute: (1) a unified taxonomy bridging disparate attack classifications, (2) the first systematic analysis of skill-based architecture vulnerabilities with concrete exploit chains, and (3) a defense-in-depth framework grounded in the limitations we identify. Our findings indicate that the security community must treat prompt injection as a first-class vulnerability class requiring architectural-level mitigations rather than ad-hoc filtering approaches.

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

Builds on

58 of 86 references.

Closest ancestors · 18

Same direction, newest first

  1. 2025Systematization of Knowledge: Security and Safety in the Model Context Protocol Ecosystem9 Dec
  2. 2025Semantic Attacks on Tool-Augmented LLMs: Securing the Model Context Protocol Against Descriptor-Level Manipulation6 Dec
  3. 2025Agentic AI Security: Threats, Defenses, Evaluation, and Open Challenges27 Oct
  4. 2025"Your AI, My Shell": Demystifying Prompt Injection Attacks on Agentic AI Coding Editors26 Sep
  5. 2025A Multi-Agent LLM Defense Pipeline Against Prompt Injection Attacks16 Sep
  6. 2025MCPSecBench: A Systematic Security Benchmark and Playground for Testing Model Context Protocols17 Aug
  7. 2025PromptArmor: Simple yet Effective Prompt Injection Defenses21 Jul
  8. 2025From Prompt Injections to Protocol Exploits: Threats in LLM-Powered AI Agents Workflows29 Jun
  9. 2025Progent: Securing AI Agents with Privilege Control16 Apr
  10. 2025Defeating Prompt Injections by Design24 Mar
  11. 2025MELON: Provable Defense Against Indirect Prompt Injection Attacks in AI Agents7 Feb
  12. 2024AgentHarm: A Benchmark for Measuring Harmfulness of LLM Agents11 Oct
6 more
  1. 2024Agent Security Bench (ASB): Formalizing and Benchmarking Attacks and Defenses in LLM-based Agents3 Oct
  2. 2024BadAgent: Inserting and Activating Backdoor Attacks in LLM Agents5 Jun
  3. 2024IsolateGPT: An Execution Isolation Architecture for LLM-Based Agentic Systems8 Mar
  4. 2024R-Judge: Benchmarking Safety Risk Awareness for LLM Agents18 Jan
  5. 2024Sleeper Agents: Training Deceptive LLMs that Persist Through Safety Training10 Jan
  6. 2023Identifying the Risks of LM Agents with an LM-Emulated Sandbox25 Sep

Other references · 40

  1. 2023Universal and Transferable Adversarial Attacks on Aligned Language Modelscited by 3,064
  2. 2020Extracting Training Data from Large Language Modelscited by 2,181
  3. 2023Jailbroken: How Does LLM Safety Training Fail?cited by 1,637
  4. 2023Not what you've signed up for: Compromising Real-World LLM-Integrated Applications with Indirect Prompt Injectioncited by 1,417
  5. 2024HarmBench: A Standardized Evaluation Framework for Automated Red Teaming and Robust Refusalcited by 1,405
  6. 2023Jailbreaking Black Box Large Language Models in Twenty Queriescited by 1,404
  7. 2023Llama Guard: LLM-based Input-Output Safeguard for Human-AI Conversationscited by 1,181
  8. 2023AutoDAN: Generating Stealthy Jailbreak Prompts on Aligned Large Language Modelscited by 777
  9. 2022Quantifying Memorization Across Neural Language Modelscited by 763
  10. 2023Tree of Attacks: Jailbreaking Black-Box LLMs Automaticallycited by 664
  11. 2023Prompt Injection attack against LLM-integrated Applicationscited by 600
  12. 2020On Adaptive Attacks to Adversarial Example Defensescited by 554
28 more
  1. 2024JailbreakBench: An Open Robustness Benchmark for Jailbreaking Large Language Modelscited by 531
  2. 2024The Instruction Hierarchy: Training LLMs to Prioritize Privileged Instructionscited by 477
  3. 2021Asleep at the Keyboard? Assessing the Security of GitHub Copilot's Code Contributionscited by 427
  4. 2023FigStep: Jailbreaking Large Vision-Language Models via Typographic Visual Promptscited by 394
  5. 2023A Survey on Large Language Model (LLM) Security and Privacy: The Good, the Bad, and the Uglycited by 387
  6. 2024StruQ: Defending Against Prompt Injection with Structured Queriescited by 366
  7. 2023Formalizing and Benchmarking Prompt Injection Attacks and Defensescited by 362
  8. 2023NeMo Guardrails: A Toolkit for Controllable and Safe LLM Applications with Programmable Railscited by 357
  9. 2022A Holistic Approach to Undesired Content Detection in the Real Worldcited by 354
  10. 2024PoisonedRAG: Knowledge Corruption Attacks to Retrieval-Augmented Generation of Large Language Modelscited by 265
  11. 2025Model Context Protocol (MCP): Landscape, Security Threats, and Future Research Directionscited by 263
  12. 2023Benchmarking and Defending Against Indirect Prompt Injection Attacks on Large Language Modelscited by 261
  13. 2024Defending Against Indirect Prompt Injection Attacks With Spotlightingcited by 258
  14. 2024SecAlign: Defending Against Prompt Injection with Preference Optimizationcited by 205
  15. 2024AutoDAN-Turbo: A Lifelong Agent for Strategy Self-Exploration to Jailbreak LLMscited by 196
  16. 2023Tensor Trust: Interpretable Prompt Injection Attacks from an Online Gamecited by 143
  17. 2023Purple Llama CyberSecEval: A Secure Coding Benchmark for Language Modelscited by 134
  18. 2020You Autocomplete Me: Poisoning Vulnerabilities in Neural Code Completioncited by 130
  19. 2023Abusing Images and Sounds for Indirect Instruction Injection in Multi-Modal LLMscited by 123
  20. 2025The Attacker Moves Second: Stronger Adaptive Attacks Bypass Defenses Against Llm Jailbreaks and Prompt Injectionscited by 123
  21. 2024TrojanRAG: Retrieval-Augmented Generation Can Be Backdoor Driver in Large Language Modelscited by 67
  22. 2024We Have a Package for You! A Comprehensive Analysis of Package Hallucinations by Code Generating LLMscited by 63
  23. 2020Backstabber's Knife Collection: A Review of Open Source Software Supply Chain Attackscited by 60
  24. 2022Taxonomy of Attacks on Open-Source Software Supply Chainscited by 57
  25. 2024An LLM-Assisted Easy-to-Trigger Backdoor Attack on Code Completion Models: Injecting Disguised Vulnerabilities against Strong Detectioncited by 39
  26. 2024Exposing Privacy Gaps: Membership Inference Attack on Preference Data for LLM Alignmentcited by 25
  27. 2024Backdoored Retrievers for Prompt Injection Attacks on Retrieval Augmented Generation of Large Language Modelscited by 22
  28. 2025XOXO: Stealthy Cross-Origin Context Poisoning Attacks against AI Coding Assistantscited by 4

Built on by

Cited by year (2026 to 13 Oct)

Citing papers per year: 2026: 31.

31 papers.

Sort:

By area:

  1. 2026SkillAttack: Automated Red Teaming of Agent Skills through Attack Path Refinementcited by 28
  2. 2026ClawSafety: "Safe" LLMs, Unsafe Agentscited by 16
  3. 2026How Your Credentials Are Leaked by LLM Agent Skills: An Empirical Studycited by 15
  4. 2026When Safe Skills Collide: Measuring Compositional Risk in Agent Skill Ecosystemscited by 15
  5. 2026A Systematic Survey of Security Threats and Defenses in LLM-Based AI Agents: A Layered Attack Surface Frameworkcited by 11
  6. 2026Security Considerations for Artificial Intelligence Agentscited by 8
  7. 2026Toward Secure LLM Agents: Threat Surfaces, Attacks, Defenses, and Evaluationcited by 5
  8. 2026Understanding and Evaluating Claw-like Agent Security Through a Computer-Systems Lenscited by 5
  9. 2026Latent Reuse in Agent Skills: Multi-modal Clone Detection at Ecosystem Scalecited by 4
  10. 2026PlanTwin: Privacy-Preserving Planning Abstractions for Cloud-Assisted LLM Agentscited by 2
  11. 2026MCP-DPT: A Defense-Placement Taxonomy and Coverage Analysis for Model Context Protocol Securitycited by 2
  12. 2026EVOMAL: Self-Poisoning in Self-Evolving Coding Agentscited by 2
19 more
  1. 2026Constraining Host-Level Abuse in Self-Hosted Computer-Use Agents via TEE-Backed Isolationcited by 1
  2. 2026IssueTrojanBench: Benchmarking AI Coding Agents Against Malicious Issue Requestscited by 1
  3. 2026Prompt Injection Detection is Regime-Dependent: A Deployment-Aware Evaluation with Interpretable Structural Signalscited by 0
  4. 2026Same Payload, Different Channel: Measuring Trust Asymmetry in Tool-Using Language Modelscited by 0
  5. 2026Steerability via constraints: a substrate for scalable oversight of coding agentscited by 0
  6. 2026The Balkanization of Execution-Security Research for AI Coding Agents: Isolation, Access Control, and Time-of-Check-to-Time-of-Use Vulnerabilitiescited by 0
  7. 2026TrustX Agent Risk Classification Framework (ARC): Risk-Tiering Internally Created Agentic AI Systemscited by 0
  8. 2026ALIBI: Adaptive Agentic Attacks on LLM-Based Vulnerability Detectors via Adversarial Code Commentscited by 0
  9. 2026Workspace Topology as an Attack Vector in Agentic Coding Assistantscited by 0
  10. 2026Towards a Systems Foundation for Agentic Skills: Architecture, Lifecycle, and Securitycited by 0
  11. 2026Beyond the Payload: How User Invocation Shapes Coding Agent Vulnerability to Repository Poisoningcited by 0
  12. 2026Reflections on Trusting Trust, Revisited: Contaminating Self-Modifying AI Coding Agents with Poisoned Benchmarkscited by 0
  13. 2026Measuring and Exploiting Implicit Trust in LLM Tool-Calling Pipelinescited by 0
  14. 2026Beyond Single-Model Injection: A Threat Model and Defense Architecture for Prompt Injection in Multi-Agent Systemscited by 0
  15. 2026Connecting the Dots in Agentic AI Security: A Cross-Dimensional Threat Taxonomy, Evaluation Maturity, and Open Challengescited by 0
  16. 2026Attack Success Rate Is Not a Number: On Measurement Validity in Agentic AI Security Evaluationcited by 0
  17. 2026Stealth Apart, Harm Together: Skill Cascading Attacks on Skill-Based Agent Systemscited by 0
  18. 2026Speculative Safety Honeypot: Toward Proactive Defense Against Multi-turn Agent Attackscited by 0
  19. 2026Pincer: Resource Authorization for Agents using a Digital Twincited 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. 2025Red-Teaming Coding Agents from a Tool-Invocation Perspective: An Empirical Security Assessment
  3. 2026"Do Not Mention This to the User": Detecting and Understanding Malicious Agent Skills in the Wild
  4. 2026Skill-Inject: Measuring Agent Vulnerability to Skill File Attacks
  5. 2026SoK: The Attack Surface of Agentic AI - Tools and Autonomy
  6. 2026SkillBloat: Token Amplification Attacks via Skill Injection in LLM Coding Agents
  7. 2026The Landscape of Prompt Injection Threats in LLM Agents: From Taxonomy to Analysis
  8. 2026On Understanding, Identifying, and Mitigating Vulnerabilities in Agentic Large Language Models