mlsanityData to 14 Oct 2026

LLM Agents Should Employ Security Principles

arXiv 2505.24019 ↗First posted 29 May 2025cs.CR cs.AIcited by 29

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

also in 1 more
Abstract (arXiv)

Large Language Model (LLM) agents show considerable promise for automating complex tasks using contextual reasoning; however, interactions involving multiple agents and the system's susceptibility to prompt injection and other forms of context manipulation introduce new vulnerabilities related to privacy leakage and system exploitation. This position paper argues that the well-established design principles in information security, which are commonly referred to as security principles, should be employed when deploying LLM agents at scale. Design principles such as defense-in-depth, least privilege, complete mediation, and psychological acceptability have helped guide the design of mechanisms for securing information systems over the last five decades, and we argue that their explicit and conscientious adoption will help secure agentic systems. To illustrate this approach, we introduce AgentSandbox, a conceptual framework embedding these security principles to provide safeguards throughout an agent's life-cycle. We evaluate with state-of-the-art LLMs along three dimensions: benign utility, attack utility, and attack success rate. AgentSandbox maintains high utility for its intended functions under both benign and adversarial evaluations while substantially mitigating privacy risks. By embedding secure design principles as foundational elements within emerging LLM agent protocols, we aim to promote trustworthy agent ecosystems aligned with user privacy expectations and evolving regulatory requirements.

Key facts. Cited by 29 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 55 of its 77 references that are in the map. First posted on arXiv 29 May 2025.

Builds on

55 of 77 references.

Closest ancestors · 21

Same direction, newest first

  1. 2025BountyBench: Dollar Impact of AI Agent Attackers and Defenders on Real-World Cybersecurity Systems21 May
  2. 2025LlamaFirewall: An open source guardrail system for building secure AI agents6 May
  3. 2025Progent: Securing AI Agents with Privilege Control16 Apr
  4. 2025AgentDAM: Privacy Leakage Evaluation for Autonomous Web Agents12 Mar
  5. 2025Memory Injection Attacks on LLM Agents via Query-Only Interaction5 Mar
  6. 2025Unveiling Privacy Risks in LLM Agent Memory17 Feb
  7. 2025RTBAS: Defending LLM Agents Against Prompt Injection and Privacy Leakage13 Feb
  8. 2025Firewalls to Secure Dynamic LLM Agentic Networks3 Feb
  9. 2024Agent-SafetyBench: Evaluating the Safety of LLM Agents19 Dec
  10. 2024RedCode: Risky Code Execution and Generation Benchmark for Code Agents12 Nov
  11. 2024AgentHarm: A Benchmark for Measuring Harmfulness of LLM Agents11 Oct
  12. 2024Prompt Infection: LLM-to-LLM Prompt Injection within Multi-Agent Systems9 Oct
9 more
  1. 2024Agent Security Bench (ASB): Formalizing and Benchmarking Attacks and Defenses in LLM-based Agents3 Oct
  2. 2024AgentPoison: Red-teaming LLM Agents via Poisoning Memory or Knowledge Bases17 Jul
  3. 2024AirGapAgent: Protecting Privacy-Conscious Conversational Agents8 May
  4. 2024IsolateGPT: An Execution Isolation Architecture for LLM-Based Agentic Systems8 Mar
  5. 2024InjecAgent: Benchmarking Indirect Prompt Injections in Tool-Integrated Large Language Model Agents5 Mar
  6. 2024LLM Agents can Autonomously Hack Websites6 Feb
  7. 2024TrustAgent: Towards Safe and Trustworthy LLM-based Agents2 Feb
  8. 2024R-Judge: Benchmarking Safety Risk Awareness for LLM Agents18 Jan
  9. 2023Identifying the Risks of LM Agents with an LM-Emulated Sandbox25 Sep

Other references · 34

  1. 2020Language Models are Few-Shot Learnerscited by 32,419
  2. 2023LLaMA: Open and Efficient Foundation Language Modelscited by 14,132
  3. 2023Universal and Transferable Adversarial Attacks on Aligned Language Modelscited by 3,104
  4. 2023WebArena: A Realistic Web Environment for Building Autonomous Agentscited by 2,006
  5. 2023Jailbroken: How Does LLM Safety Training Fail?cited by 1,651
  6. 2023Jailbreaking Black Box Large Language Models in Twenty Queriescited by 1,420
  7. 2022Ignore Previous Prompt: Attack Techniques For Language Modelscited by 832
  8. 2023DSPy: Compiling Declarative Language Model Calls into Self-Improving Pipelinescited by 832
  9. 2023AutoDAN: Generating Stealthy Jailbreak Prompts on Aligned Large Language Modelscited by 785
  10. 2023Tree of Attacks: Jailbreaking Black-Box LLMs Automaticallycited by 672
  11. 2023Baseline Defenses for Adversarial Attacks Against Aligned Language Modelscited by 651
  12. 2023Prompt Injection attack against LLM-integrated Applicationscited by 605
22 more
  1. 2023GPTFUZZER: Red Teaming Large Language Models with Auto-Generated Jailbreak Promptscited by 560
  2. 2023Detecting Language Model Attacks with Perplexitycited by 431
  3. 2023GPT-4 Is Too Smart To Be Safe: Stealthy Chat with LLMs via Ciphercited by 423
  4. 2023DeepInception: Hypnotize Large Language Model to Be Jailbreakercited by 367
  5. 2023Formalizing and Benchmarking Prompt Injection Attacks and Defensescited by 364
  6. 2024Optimizing Instructions and Demonstrations for Multi-Stage Language Model Programscited by 291
  7. 2024Defending Against Indirect Prompt Injection Attacks With Spotlightingcited by 267
  8. 2023Benchmarking and Defending Against Indirect Prompt Injection Attacks on Large Language Modelscited by 264
  9. 2023Red-Teaming Large Language Models using Chain of Utterances for Safety-Alignmentcited by 223
  10. 2023Scalable and Transferable Black-Box Jailbreaks for Language Models via Persona Modulationcited by 214
  11. 2024PrivacyLens: Evaluating Privacy Norm Awareness of Language Models in Actioncited by 171
  12. 2023RAIN: Your Language Models Can Align Themselves without Finetuningcited by 157
  13. 2024Automatic and Universal Prompt Injection Attacks against Large Language Modelscited by 119
  14. 2024FinCon: A Synthesized LLM Multi-Agent System with Conceptual Verbal Reinforcement for Enhanced Financial Decision Makingcited by 113
  15. 2025International AI Safety Reportcited by 67
  16. 2024Collaborative Gym: A Framework for Enabling and Evaluating Human-Agent Collaborationcited by 65
  17. 2024Here Comes The AI Worm: Unleashing Zero-click Worms that Target GenAI-Powered Applicationscited by 59
  18. 2024Multi-Turn Context Jailbreak Attack on Large Language Models From First Principlescited by 56
  19. 2024Holistic Automated Red Teaming for Large Language Models through Top-Down Test Case Generation and Multi-turn Interactioncited by 25
  20. 2024Goal-guided Generative Prompt Injection Attack on Large Language Modelscited by 24
  21. 2025SOPBench: Evaluating Language Agents at Following Standard Operating Procedures and Constraintscited by 23
  22. 2024PAPILLON: Efficient and Stealthy Fuzz Testing-Powered Jailbreaks for LLMscited by 21

Built on by

Cited by year (2026 to 14 Oct)

Citing papers per year: 2025: 12; 2026: 17.

29 papers.

Sort:

By area:

  1. 2025A Survey of LLM-Driven AI Agent Communication: Protocols, Security Risks, and Defense Countermeasurescited by 57
  2. 2025MAGPIE: A benchmark for Multi-AGent contextual PrIvacy Evaluationcited by 29
  3. 2026The Attack and Defense Landscape of Agentic AI: A Comprehensive Surveycited by 28
  4. 2025BrowseSafe: Understanding and Preventing Prompt Injection Within AI Browser Agentscited by 24
  5. 2025Systems Security Foundations for Agentic Computingcited by 13
  6. 2025SoK: Trust-Authorization Mismatch in LLM Agent Interactionscited by 11
  7. 2025SOFT: Selective Data Obfuscation for Protecting LLM Fine-tuning against Membership Inference Attackscited by 10
  8. 2025MindGuard: Intrinsic Decision Inspection for Securing LLM Agents Against Metadata Poisoningcited by 10
  9. 2026Security Considerations for Artificial Intelligence Agentscited by 8
  10. 2026Toward Secure LLM Agents: Threat Surfaces, Attacks, Defenses, and Evaluationcited by 7
  11. 2025Beyond Data Privacy: New Privacy Risks for Large Language Modelscited by 6
  12. 2026Overlaying Governance: A Compositional Authorization Framework for Delegation and Scope in Agentic AIcited by 5
17 more
  1. 2025Past, Present, and Future of Bug Tracking in the Generative AI Eracited by 4
  2. 2025LLMs are Capable of Misaligned Behavior Under Explicit Prohibition and Surveillancecited by 3
  3. 2026Parallax: Why AI Agents That Think Must Never Actcited by 2
  4. 2026When Child Inherits: Modeling and Exploiting Subagent Spawn in Multi-Agent Networkscited by 2
  5. 2026NEXUS: Structured Runtime Safety for Tool-Using LLM Agentscited by 1
  6. 2026Task-Aware Harness Provisioning for LLM Agents in Mission-Critical Infrastructure Operationscited by 1
  7. 2025Measuring the Security of Mobile LLM Agents under Adversarial Prompts from Untrusted Third-Party Channelscited by 0
  8. 2025Natural Language Interface for Firewall Configurationcited by 0
  9. 2026When Agents Handle Secrets: A Survey of Confidential Computing for Agentic AIcited by 0
  10. 2026Ghost in the Context: Policy-Carriage Integrity in LLM Agentscited by 0
  11. 2026AutoSpec: Safety Rule Evolution for LLM Agents via Inductive Logic Programmingcited by 0
  12. 2026On Understanding, Identifying, and Mitigating Vulnerabilities in Agentic Large Language Modelscited by 0
  13. 2026An Investigation of the NeurIPS and ICML 2025 Position Trackscited by 0
  14. 2026AgentHijack: Visual Patch Attacks on Multimodal Computer-Use Agentscited by 0
  15. 2026Trust propagation and structural containment in Multi-agent LLM pipelinescited by 0
  16. 2026Reflections on Trusting Trust, Revisited: Contaminating Self-Modifying AI Coding Agents with Poisoned Benchmarkscited by 0
  17. 2026BrowseSafe++: Benchmarking Prompt Injection Detection Across Web Contexts, Languages, and Browser Viewscited by 0

Similar, not cited

Close in wording, no citation either way

  1. 2026A Framework for Formalizing LLM Agent Security
  2. 2024The Emerged Security and Privacy of LLM Agent: A Survey with Case Studies
  3. 2024Whispers in the Machine: Confidentiality in Agentic Systems
  4. 2025Commercial LLM Agents Are Already Vulnerable to Simple Yet Dangerous Attacks
  5. 2025The Dark Side of LLMs: Agent-based Attack Vectors for System-level Compromise
  6. 2026LLM agents security duality: a comprehensive survey of self-security and empowered cybersecurity
  7. 2026Securing LLM Agents Need Intent-to-Execution Integrity
  8. 2026LLM-Based Agents for Software and Systems Security: Approaches, Applications, and Assessment