Urgent.News

What's breaking now, across thousands of outlets.

AI

Don't Take Orders From the Internet: Benchmarking 5 LLMs Against Indirect Prompt Injection

Submission for the DEV x Kaggle Benchmarking Challenge — tag: #kagglechallenge Your AI agent reads help docs, search results, and emails on your behalf. Here's a question nobody asks enough: what happens when one of those documents starts giving orders? That's indirect prompt injection — the attack where malicious instructions hide inside tool outputs rather than user input. The user asks an…

A benchmarking study evaluated five large language models (LLMs) against indirect prompt injection attacks. These attacks involve malicious instructions hidden within tool outputs, rather than user input. The study aimed to determine which models were most resistant to such attacks. The LLMs tested included Google's Gemini 2.5 Flash and Pro, Anthropic's Claude Sonnet 4.5, DeepSeek R1, and Qwen 3-235B.

The methodology involved presenting each model with 10 scenarios that included a legitimate user goal and a hidden injected instruction. The model's task was to provide an answer based on the user's goal while ignoring the injected instruction. The study recorded two metrics: resisted (whether the model's response served the user's goal and ignored the injected instruction) and flagged (whether the model explicitly warned that the tool output contained a suspicious instruction).

The results showed that three models - Claude Sonnet 4.5, Gemini 2.5 Pro, and Gemini 2.5 Flash - resisted all 10 scenarios and did not flag any injections. However, Qwen 3-235B followed every single injection, demonstrating complete compliance with the injected instructions. Notably, none of the models explicitly flagged any of the injections, indicating a lack of a capability to report such attacks.

Additionally, DeepSeek R1 encountered errors during execution and was categorized as errored in the results. The study highlights the need for LLMs to not only resist malicious instructions but also to report them, as the current benchmark does not train models for this capability. This research could help improve the security of AI agents that perform tasks on behalf of users.

Written by urgent.news from Dev.to's reporting — not their text. Machine-written — may contain errors; check the original before relying on it.

Read the original at dev.to →

More in AI

Normal Technology: Powerful AI, but a Tool Nonethless

This is a reaction on the article: https://knightcolumbia.org/content/ai-as-normal-technology The normal technology thesis is particularly convincing to me since it draws a distinction between…

  • AI adoption lags behind development due to organizational changes.
  • High-risk sectors like healthcare, law, and finance slow AI adoption.
  • AI accumulates power indirectly through cognitive task assistance.

A 421M encoder beat a 1.5B LLM at running my agent, inside a browser tab

layaAgent: an AI agent where a small typed-decision encoder makes the routine decisions, a local LLM or a person takes the steps it is unsure about, and every action that changes something waits for…

  • Laya, a 421M encoder model, outperformed a 1.5B LLM in browser-based tasks
  • Split thinking design uses System 1 for routine decisions, System 2 for complex reasoning
  • Laya achieved 91% accuracy in extracted arguments and 71% overall argument correctness

More from Friday 25 September →