← Lab /Security & privacy

SEAL cuts indirect prompt injection success to 0.1% and boosts task completion to 77.5%

Security & privacy Defense · Prototype · arXiv

The claim

SEAL suppresses indirect prompt injection attacks while improving task performance of local LLM agents

Doohyun Kim, Donghwa Kang, Mingyu Jun, Brent ByungHoon Kang · arXiv Paper PDF

Published as: “SEAL: Sealed Queries for Local Sanitization against Indirect Prompt Injection”

So what

SEAL enables resource-constrained local LLM agents to block indirect prompt injection with minimal extra token overhead, making on-device deployment safer.

The five-minute version

SEAL cuts indirect prompt injection attack success on AgentDojo from 34.6% to 0.1% and lifts joint task completion from 51.4% to 77.5% while using about 127× fewer defense tokens than the prior best attention-based method. The paper evaluates on two public benchmarks (AgentDojo and AgentDyn) with frozen Qwen3.5-9B and Gemma 4-12B models, comparing against seven baselines; the evidence is strong but some settings show lower joint success than other defenses.

What they found 2

What undercuts it the paper’s own results

Stated limits 3

What’s new here 4

Artifacts & methods 8

Topics

indirect prompt injectionsoft prompt learningattention-based sanitizationtoken budgetfrozen language modelpreservation regularizationpre-softmax scoringlocal LLM agents
← Previous InferD can emulate AI inference services without executing any model inference