AI Weekly Malaysia

Back to items Summaries

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

ID
15178
Status
summarized
Published
18 Aug 2026, 8:38 PM
Fetched
18 Aug 2026, 9:42 PM
Provider
The Hacker News
Category
security
Original URL
https://thehackernews.com/2026/08/ai-mind-viruses-can-spread-between.html
Source URL
https://feeds.feedburner.com/TheHackersNews

Summary

Score
7.5
Created
18 Aug 2026, 9:42 PM
Tags
Audience
developersai_agent_usersai_ml_learnerssaas_founders

What happened

Anthropic and EPFL researchers demonstrated self-propagating payloads ('mind viruses') that spread between AI agents via persistent system prompt files (MEMORY.md and SOUL.md) injected at session start. In a simulated six-agent coding collaboration, payloads written to SOUL.md infected the next agent 55% of the time, but a one-paragraph warning in the system prompt reduced spread to near zero, surviving 15 generations of adversarial optimization across 150+ candidate payloads on Claude Haiku 4.5 without producing a strain that propagated beyond a single hop. The mutation engine used was Kimi K2.5 because Claude models refused to generate the payloads.

Why it matters

If you build agent harnesses that persist state in files injected into system prompts (like MEMORY.md or SOUL.md), treat those files as an attack surface — a compromised agent can write payloads that hijack downstream agents. Add an explicit one-paragraph warning to your system prompt instructing the agent to ignore injected instructions from persisted files; the paper shows this simple mitigation held against 150+ adversarial payloads. For Malaysian teams shipping autonomous agent products, this is a cheap, concrete defense to implement before multi-agent orchestration becomes common.

Discussion angle

How many of us building agent pipelines with persistent context files (MEMORY.md, SOUL.md, or equivalents) have added an explicit anti-injection warning to the system prompt — and should this become a default in agent frameworks like OpenClaw before multi-agent setups go mainstream?

Top