SI Agent News
← All news

Study: AI agents with more autonomy are easier to hijack with hidden instructions

A new preprint tested prompt injection on chatbots, search-backed systems and autonomous agents, and found that system design protects better than clever prompts.

1 min readMade with AI

The short version

  • Prompt injection mixes trusted instructions with untrusted text inside the model's working context.
  • The tests covered 3 system types and 3 model families, 2,100 trials in total.
  • Attack success rose steadily as systems gained more autonomy.
  • Memory poisoning reached 94% in autonomous setups.
  • Three architectural controls cut memory poisoning from 94% to 11%.

What the researchers set out to show

As arxiv.org reported, a new preprint (2612.04847) treats prompt injection as a flaw in how whole systems are built, not just a trick played on a single model. Prompt injection is when hidden text in a web page, email or document tells an AI to do something its user never asked.

The authors say the root problem is a blurred line: the model's context window (the text it reads at one time) holds both trusted instructions and untrusted data, and the model can't reliably tell them apart.

94%memory poisoning success in autonomous agent setups

Why it matters

If you use or build AI assistants that read email, browse or remember things, the main safety lever is what the system is allowed to do, not how carefully the prompt is worded. The finding gives builders a concrete order of priorities. It is a preprint, so treat the numbers as strong evidence to test rather than settled fact.

How the tests were run

The team mapped where attacks can enter: user input, retrieval pipelines (systems that fetch documents for the AI to read), tool outputs and persistent memory. They also built a taxonomy, an organized list of attack types.

They then ran 2,100 trials across three setups: a chatbot, a retrieval-augmented system and an autonomous agent. Each setup used GPT-4, Claude 3.5 Sonnet and Gemini 1.5 Pro, with 50 trials per configuration.

More autonomy, more exposure

Attack success went up at each step as the system gained autonomy. The worst case was memory poisoning, where a malicious instruction is planted in an agent's long-term memory so it keeps acting on it. In autonomous configurations it succeeded 94% of the time.

What actually helped

The authors compared six defenses. Prompt-level defenses, such as adding warnings or rules to the instructions, gave limited protection, at most 3.2 percentage points.

Three architectural controls worked far better: tool permission gating (limiting which tools the AI may use), memory write filtering (checking what gets saved) and provenance tracking (recording where each piece of information came from). Together they reduced memory poisoning from 94% to 11%.

The authors conclude that enforcement must sit outside the model, as policy the AI cannot talk its way around.

What to watch

  • Whether peer review and other teams' tests confirm these results, since this is a preprint.
  • Whether newer models and agent products build permission gating and memory filtering in by default.

Try it

If you run an AI agent, list every tool it can use and every place it can save memory. Remove what it doesn't need, and require your approval for sending, buying or deleting.

Up nextSalesforce unveils Agent Identity and Agent Memory for its AI agents

More stories

Say why

Liked it? Say why

Add a line for other readers.

No account needed. We never show your email. Comments with links, ads or abuse are held and not shown. Your comment shows after a quick check.

Sources

The reporting and documents this story is built from. Each link opens the original.

Written with AI by the SI Agent News Desk from the reporting above. Every number is checked against it.Spot a mistake or a concern? Contact us · Corrections.

More AI news