Patronus

Cross-Session Prompt Injection Through Files

The TeamOct 13, 20265 minagent-security
Cross-Session Prompt Injection Through Files

FAQ

Frequently asked questions

What is cross-session prompt injection?

An attack in which poisoned files or other persistent artifacts influence a later agent session. The original conversation history does not have to survive.

Is cross-chat injection the same thing?

Cross-chat injection is an intuitive description of an attack crossing between chats. The research discussed here uses cross-session attacks for manipulation carried by persistent skill artifacts.

Does starting a new chat stop prompt injection?

A new chat removes the previous conversation context. If the agent then reads a poisoned file, the malicious instruction can enter its context again.

Are saved agent files inherently unsafe?

No. Persistent files support legitimate work. The important distinction is whether their contents provide information or improperly establish new instructions, permissions and approvals.

Does Wolf Defender protect against cross-session attacks?

No. Wolf Defender is intended for text screening of single-turn prompt injections. It does not track an attack chain across chats. We currently do not provide protection against the cross-session attacks described here through Wolf Defender.

Try Patronus on your own computer.

Pick a case in the live demo and see straight away what reaches the provider.

Reports and newsletter →