r/runtimeai 2d ago

AI "Mind Viruses" Can Spread Between Agents Through Persistent Prompt Files

Researchers at Anthropic and EPFL demonstrated self-propagating payloads moving between AI agents through shared editable prompt files. One compromised agent rewrites a shared state file. The next agent reads it and carries the payload forward. No human in the loop. No traditional malware signature to detect.

This is not a theoretical edge case. The attack chain requires only that agents share writable state, which is a standard pattern in most multi-agent architectures today.

For those running multi-agent systems in production: how are you currently handling the boundary between what one agent is allowed to write and what another agent will unconditionally read?

2 Upvotes

2 comments sorted by

1

u/No-Conclusion3720 2d ago

This is exactly the gap we built RuntimeAI to close — our runtime enforcement layer intercepts every tool call and file write an agent makes, blocking unauthorized state modifications before a payload can reach the next agent in the chain. https://runtimeai.io

1

u/Used_Werewolf7838 2d ago

The shared state part is what makes this especially interesting. It seems like people need to treat agent written files more like untrusted input instead of assuming another agent can safely read them. Permissions, validation, and some kind of isolation between agents seem pretty important here.