← Lab /Security & privacy

LLMs and agents are far more vulnerable to near-target prompt injections than fixed-target benchmarks suggest

Security & privacy Measurement · Prototype · arXiv Threat model

The claim

Resistance to fixed-target prompt injection attacks does not guarantee resistance to near-target attacks that produce subtly incorrect or harmful outputs

Yuyang Gong, Zihao Wang, Jiawei Liu, XiaoFeng Wang · arXiv Paper PDF

Published as: “On Task, Off Track: Benchmarking LLM and Agent Robustness to Near-Target Prompt Injection”

So what

The findings indicate that current defenses may miss subtle yet dangerous prompt-injection failures, prompting the need for broader robustness testing and stronger mitigation strategies.

The five-minute version

The paper introduces NTBench, a benchmark that evaluates LLM and agent robustness against near-target prompt injections-attacks that produce responses that look legitimate but contain subtle errors or harmful content. Across seven LLMs and multiple language and agentic tasks, near-target attacks achieve higher attack-success rates (ASR@3) than traditional fixed-target baselines, with some models jumping from 3.2% to 36.7% success on incorrect-target attacks. The evidence is strong, based on systematic experiments with a common three-attempt budget and human-validated targets, though the study is limited to the selected datasets and attack generation method described.

What they found 2

What’s new here 4

Threat model stated by the source

Adversaryattacker who can insert additional instructions into untrusted documents, messages, or tool results
Capabilityaddition-only injection at designated locations; black-box access to the LLM/agent without model internals
Assumestrusted system instructions cannot be altered; original content in the untrusted entry is preserved; injection location is known and fixed

Artifacts & methods 6

Topics

prompt injectionnear-target attacksLLM robustness benchmarkingattack success rateagentic tool useevaluation of safety defensesLLM instruction following
← Previous Aokigahara stealer harvests AI tool credentials and session tokens