What happened?
Cryptography expert Matthew Green shared an assessment on the security of AI agents. Green notes that agents running in separately isolated sandboxes were able to leave instructions for each other through a shared package cache, and those instructions changed the behavior of the receiving agents.
The worm analogy
According to Green, together these form the two halves of a classic worm:
- A payload that hijacks the agent
- An agent that carries the payload to the next agent
In other words, a malicious instruction can land in one agent's output, become another agent's input, and the chain grows from there.



