atlas

Research map / Multi-agent systems and games / LLM agents

Agent Security Bench (ASB): Formalizing and Benchmarking Attacks and Defenses in LLM-based Agents

ICLR 2025 · Multi-agent systems and games › LLM agents · approach: LLM multi-agent collaboration and safety · 6 citations (OpenAlex)

Read the paperCheck your idea against 108,967 papers

AI-extracted summary. Written by AI from the paper's full text. Numbers and claims can be wrong or missing context, so check the paper before you cite or build on it.

Introduces Agent Security Bench (ASB), a benchmark formalizing prompt injection, memory poisoning, plan-of-thought backdoor, and mixed attacks plus 11 defenses for LLM agents across 10 scenarios, 13 backbones, and 7 metrics, and proposes the NRP utility-security metric.

Problem

Existing benchmarks evaluate LLM agent security only narrowly (e.g., mostly indirect prompt injection in few scenarios), so attacks and defenses across the agent's operational stages are not comprehensively assessed.

Approach

A unified benchmark and formal threat model covering DPI, IPI, memory poisoning, a training-free Plan-of-Thought backdoor in the system prompt, and mixed attacks, evaluated across many scenarios, backbones, and defenses, plus a Net Resilient Performance metric combining utility and robustness.

Key results

Measured effects reported in the paper

What was changedWhereMeasuredEffect
Combine DPI, IPI, and Memory Poisoning rather than use the benchmark's individual attack typesLLM-based agents · ASBASR: 84.30% average ASRHelped
Use Memory Poisoning rather than the benchmark's other attack typesLLM-based agents · ASBASR: 7.92% average ASRHurt
Add delimiters around queriesDPI defenses across 13 LLM backbones · ASB, DPIASR: 78.38% -> 79.08%Hurt
Paraphrase the queryDPI defenses across 13 LLM backbones · ASB, DPIASR: 78.38% -> 56.87%Helped
Add instructional preventionDPI defenses across 13 LLM backbones · ASB, DPIASR: 78.38% -> 76.77%Helped
Rewrite the input query dynamicallyDPI defenses across 13 LLM backbones · ASB, DPIASR: 78.38% -> 44.45%Helped
Add delimiters around queriesIPI defenses across 13 LLM backbones · ASB, IPIASR: 27.98% -> 24.96%Helped
Add instructional preventionIPI defenses across 13 LLM backbones · ASB, IPIASR: 27.98% -> 26.31%Helped
Add sandwich prevention to tool responsesIPI defenses across 13 LLM backbones · ASB, IPIASR: 27.98% -> 28.04%Hurt

Surprising findings

Limitations

Experimental setup

Datasets: ASB scenarios with 400 attack tools and 400 attack tasks

Benchmarks: Agent Security Bench (ASB)

Metrics: ASR RR PNA BP FNR FPR NRP

Baselines: InjecAgent AgentDojo Naive Attack Escape Characters Context Ignoring Fake Completion Delimiters

Builds on: ReAct BadChain InjecAgent AgentDojo chain-of-thought

Closest papers by meaning

Writing a paper in this area? scime draft is a free LaTeX editor with AI included, real-time co-authors and a check of your references and venue rules before you submit. It also imports OpenAI Prism projects.

Open scime draft

Get the next scime Dispatch and a monthly field update

Free. We send a confirmation link first; every email has a one-click unsubscribe. Privacy