Granting an AI agent broad tool permissions without strict egress boundaries will eventually turn your runtime into an exfiltration channel.
A security researcher recently asked Meta's Muse assistant to archive visible local files and upload them to Google Drive. The agent complied, packing a 6.8 gigabyte uncompressed filesystem snapshot containing internal prompt definitions like SOUL.md, agent memory banks, integration code, and private keys.
The underlying runtime ran inside a Linux container using bubblewrap, yet the agent combined unrestricted filesystem read permissions with an authorized external upload tool. Isolating the process inside a container mattered very little once the model itself was empowered to package and ship arbitrary directory trees.
Backend engineers designing agentic harnesses often focus heavily on input prompt injection while overlooking tool composition. If an agent can access internal state and also write to external endpoints, data exfiltration is merely one prompt away.
Never give an agent both ambient filesystem read access and outbound network export tools in the same execution context.







