mlsanityData to 14 Oct 2026

Towards Action Hijacking of Large Language Model-based Agent

arXiv 2412.10807 ↗First posted 14 Dec 2024cs.CRcited by 4

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

also in 1 more
Abstract (arXiv)

Recently, applications powered by Large Language Models (LLMs) have made significant strides in tackling complex tasks. By harnessing the advanced reasoning capabilities and extensive knowledge embedded in LLMs, these applications can generate detailed action plans that are subsequently executed by external tools. Furthermore, the integration of retrieval-augmented generation (RAG) enhances performance by incorporating up-to-date, domain-specific knowledge into the planning and execution processes. This approach has seen widespread adoption across various sectors, including healthcare, finance, and software development. Meanwhile, there are also growing concerns regarding the security of LLM-based applications. Researchers have disclosed various attacks, represented by jailbreak and prompt injection, to hijack the output actions of these applications. Existing attacks mainly focus on crafting semantically harmful prompts, and their validity could diminish when security filters are employed. In this paper, we introduce AI2, a novel attack to manipulate the action plans of LLM-based applications. Different from existing solutions, the innovation of AI2 lies in leveraging the knowledge from the application's database to facilitate the construction of malicious but semantically-harmless prompts. To this end, it first collects action-aware knowledge from the victim application. Based on such knowledge, the attacker can generate misleading input, which can mislead the LLM to generate harmful action plans, while bypassing possible detection mechanisms easily. Our evaluations on three real-world applications demonstrate the effectiveness of AI2: it achieves an average attack success rate of 84.30% with the best of 99.70%. Besides, it gets an average bypass rate of 92.7% against common safety filters and 59.45% against dedicated defense.

Key facts. Cited by 4 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 94 of its 132 references that are in the map. First posted on arXiv 14 Dec 2024.

Builds on

94 of 132 references.

Closest ancestors · 7

Same direction, newest first

  1. 2024Agent Security Bench (ASB): Formalizing and Benchmarking Attacks and Defenses in LLM-based Agents3 Oct
  2. 2024RedAgent: Red Teaming Large Language Models with Context-aware Autonomous Language Agent23 Jul
  3. 2024AgentPoison: Red-teaming LLM Agents via Poisoning Memory or Knowledge Bases17 Jul
  4. 2024InjecAgent: Benchmarking Indirect Prompt Injections in Tool-Integrated Large Language Model Agents5 Mar
  5. 2024WIPI: A New Web Threat for LLM-Driven Web Agents26 Feb
  6. 2024Watch Out for Your Agents! Investigating Backdoor Threats to LLM-Based Agents17 Feb
  7. 2024Agent Smith: A Single Image Can Jailbreak One Million Multimodal LLM Agents Exponentially Fast13 Feb

Other references · 87

  1. 2018BERT: Pre-training of Deep Bidirectional Transformers for Language Understandingcited by 40,399
  2. 2023GPT-4 Technical Reportcited by 18,396
  3. 2022Training language models to follow instructions with human feedbackcited by 15,971
  4. 2023Llama 2: Open Foundation and Fine-Tuned Chat Modelscited by 13,028
  5. 2022Chain-of-Thought Prompting Elicits Reasoning in Large Language Modelscited by 12,459
  6. 2022ReAct: Synergizing Reasoning and Acting in Language Modelscited by 8,695
  7. 2023Mamba: Linear-Time Sequence Modeling with Selective State Spacescited by 4,718
  8. 2022Large Language Models are Zero-Shot Reasonerscited by 4,374
  9. 2023Toolformer: Language Models Can Teach Themselves to Use Toolscited by 4,182
  10. 2023Generative Agents: Interactive Simulacra of Human Behaviorcited by 3,568
  11. 2023Qwen Technical Reportcited by 3,344
  12. 2023Tree of Thoughts: Deliberate Problem Solving with Large Language Modelscited by 3,211
38 more
  1. 2023A Survey on Large Language Model based Autonomous Agentscited by 2,242
  2. 2022BLOOM: A 176B-Parameter Open-Access Multilingual Language Modelcited by 1,984
  3. 2023Jailbroken: How Does LLM Safety Training Fail?cited by 1,651
  4. 2020MiniLM: Deep Self-Attention Distillation for Task-Agnostic Compression of Pre-Trained Transformerscited by 1,463
  5. 2023Not what you've signed up for: Compromising Real-World LLM-Integrated Applications with Indirect Prompt Injectioncited by 1,443
  6. 2023The Rise and Potential of Large Language Model Based Agents: A Surveycited by 1,439
  7. 2023Jailbreaking Black Box Large Language Models in Twenty Queriescited by 1,420
  8. 2023Mind2Web: Towards a Generalist Agent for the Webcited by 1,242
  9. 2022Language Models as Zero-Shot Planners: Extracting Actionable Knowledge for Embodied Agentscited by 1,035
  10. 2023Large Language Models Can Be Easily Distracted by Irrelevant Contextcited by 841
  11. 2023The RefinedWeb Dataset for Falcon LLM: Outperforming Curated Corpora with Web Data, and Web Data Onlycited by 763
  12. 2022Automatic Chain of Thought Prompting in Large Language Modelscited by 688
  13. 2019Is BERT Really Robust? A Strong Baseline for Natural Language Attack on Text Classification and Entailmentcited by 671
  14. 2022PAL: Program-aided Language Modelscited by 652
  15. 2023Baseline Defenses for Adversarial Attacks Against Aligned Language Modelscited by 651
  16. 2024A Survey on the Memory Mechanism of Large Language Model based Agentscited by 634
  17. 2023Prompt Injection attack against LLM-integrated Applicationscited by 605
  18. 2024A Survey on RAG Meeting LLMs: Towards Retrieval-Augmented Large Language Modelscited by 452
  19. 2023GPT-4 Is Too Smart To Be Safe: Stealthy Chat with LLMs via Ciphercited by 423
  20. 2024StruQ: Defending Against Prompt Injection with Structured Queriescited by 375
  21. 2023Formalizing and Benchmarking Prompt Injection Attacks and Defensescited by 364
  22. 2018Black-box Generation of Adversarial Text Sequences to Evade Deep Learning Classifierscited by 345
  23. 2023Multi-step Jailbreaking Privacy Attacks on ChatGPTcited by 333
  24. 2023PandaLM: An Automatic Evaluation Benchmark for LLM Instruction Tuning Optimizationcited by 316
  25. 2023MedAgents: Large Language Models as Collaborators for Zero-shot Medical Reasoningcited by 316
  26. 2018Adversarial Example Generation with Syntactically Controlled Paraphrase Networkscited by 286
  27. 2023Exploiting Programmatic Behavior of LLMs: Dual-Use Through Standard Security Attackscited by 278
  28. 2023Benchmarking and Defending Against Indirect Prompt Injection Attacks on Large Language Modelscited by 264
  29. 2023Self-collaboration Code Generation via ChatGPTcited by 258
  30. 2023Multilingual Jailbreak Challenges in Large Language Modelscited by 240
  31. 2024Jailbreak Attacks and Defenses Against Large Language Models: A Surveycited by 230
  32. 2023Large Language Models in Finance: A Surveycited by 226
  33. 2023MMA-Diffusion: MultiModal Attack on Diffusion Modelscited by 194
  34. 2023SneakyPrompt: Jailbreaking Text-to-image Generative Modelscited by 189
  35. 2024Security and Privacy Challenges of Large Language Models: A Surveycited by 186
  36. 2017Generating Natural Adversarial Examplescited by 183
  37. 2023LLM Lies: Hallucinations are not Bugs, but Features as Adversarial Examplescited by 177
  38. 2024The Good and The Bad: Exploring Privacy Issues in Retrieval-Augmented Generation (RAG)cited by 159

50 most cited of 87 All 87 (JSON)

Built on by

Cited by year (2026 to 14 Oct)

Citing papers per year: 2025: 2; 2026: 2.

4 papers.

Similar, not cited

Close in wording, no citation either way

  1. 2025Exploiting Web Search Tools of AI Agents for Data Exfiltration
  2. 2024HijackRAG: Hijacking Attacks against Retrieval-Augmented Large Language Models
  3. 2025Securing AI Agents Against Prompt Injection Attacks
  4. 2026Inference Cost Attacks for Retrieval-Augmented Large Language Models
  5. 2025Token-Level Precise Attack on RAG: Searching for the Best Alternatives to Mislead Generation
  6. 2024Data Extraction Attacks in Retrieval-Augmented Generation via Backdoors
  7. 2024Threat Modelling and Risk Analysis for Large Language Model (LLM)-Powered Applications
  8. 2026Universal Defenses for Tool-Integrated LLM Agents Against Adversarial Attacks