scimeatlas

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

The Task Shield: Enforcing Task Alignment to Defend Against Indirect Prompt Injection in LLM Agents

Feiran Jia, Tong Wu, Xin Qin, Anna Squicciarini

ACL 2025Multi-agent systems and games › LLM agentsapproach: Agent safety and attack benchmarksopen problems in this approach227 citations (OpenAlex)

Pennsylvania State University · Princeton University · California State University

Read the paperPlace an idea next to itCheck your own paper ↗

12measured effects
7improved
1no clear effect
4hurt

AI-extracted. The measured effects below were read by AI from the paper's full text (no summary yet). Numbers and claims can be wrong or missing context, so check the paper before you cite or build on it.

Measured effects reported in the paper

What was changedWhereMeasuredEffect
add Task ShieldGPT-4o · AgentDojo overall, Important InstructionsASR: 47.69 -> 2.07Improved
add Task ShieldGPT-4o · AgentDojo overall, Important Instructionsutility under attack: 50.08 -> 69.79Improved
add Task ShieldGPT-4o-mini · AgentDojo overall, Important InstructionsASR: 27.19 -> 2.23Improved
add Task ShieldGPT-4o-mini · AgentDojo overall, Important Instructionsclean utility: 68.04 -> 68.04No clear effect
add Task ShieldGPT-4o · AgentDojo overall, Injecagent attackASR: 5.72 -> 1.11Improved
add Task ShieldGPT-4o · AgentDojo overall, Ignore Previous attackASR: 5.41 -> 0.48Improved
add Task ShieldGPT-4o · AgentDojo Travel, Injecagent and Ignore Previousutility under attack: Injecagent 72.14 -> 67.86; Ignore Previous 77.14 -> 70.71Hurt
use PI Detector instead of no defenseGPT-4o · AgentDojo overall, Important Instructionsutility under attack: 50.08 -> 21.14Hurt
use Repeat Prompt instead of Task ShieldGPT-4o · AgentDojo overall, Important InstructionsASR: 27.82 vs 2.07 for Task ShieldHurt
add Task ShieldGPT-3.5-turbo · AgentDojo overall, Important Instructionsutility under attack: 34.66 -> 30.05Hurt
add Task ShieldGPT-3.5-turbo · AgentDojo overall, Important InstructionsASR: 8.43 -> 0.95Improved
add Task ShieldGPT-4o · AgentDojo Workspace, Important Instructionsutility under attack: 24.17 -> 62.50Improved

Open problems in agent safety and attack benchmarks

Do agent attacks and defenses still hold against adaptive attackers, on deployed systems and at low cost?

All 5 open problems and what was already tried →

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