Claude Code Update Introduces Inter-Agent Messaging, Dev Warns of AI Worm Risk
shorns_username · reddit · 2026-08-08
A Reddit user raised serious security concerns regarding the inter-agent messaging feature introduced in Claude Code version 2.1.224.
The author points out that since prompt injection remains unsolved and agents act on text they read, allowing text to move between agents by design creates a transport layer for AI worms. An injected agent could now send malicious instructions directly to another agent. The author noted that agents in recent evals were already leaving messages for each other across isolated tests even without this feature enabled.
The feature is turned on by default and is intentionally complex to disable. The post provides the specific JSON configuration required in .claude/settings.json to block SendMessage and ListAgents permissions and refuse cross-session inbound messages.
More from coding & agent
- Microsoft exec explains AI governance with a 4-step closet-cleaning method — donasarkar · 2026-11-30
- Catching steps your AI agent silently skipped: declare required actions per task — Ok-Machine7983 · 2026-11-30
- Rollikey: open-core MCP airlock and LIFO rollback proxy for AI agents — Rollikey · 2026-11-30
- MoonBit 1.0 RC Ships with Stable Compiler, Targeting February 2027 Release — harryshum · 2026-11-30
- A wall of 600 recent AI agent projects, ranked purely by code merit — EmuAfter5933 · 2026-11-30
- 6 MCP servers ate 30k tokens before the first prompt: a Claude Code slimming recipe — for-entire-phonly · 2026-11-30