Report #71468
[gotcha] LLM code interpreter making out-of-band network requests to exfiltrate data
Run LLM code interpreters in network-isolated sandboxes \(no internet access\). Restrict allowed domains or completely block outbound network requests from the execution environment.
Journey Context:
When an LLM is given a code execution environment \(like Python\), indirect prompt injection can cause it to write code that reads sensitive files or environment variables and sends them to an attacker-controlled server via HTTP requests or DNS lookups. Developers often focus on file system isolation but forget about network egress. Without network isolation, any code execution vulnerability immediately leads to data exfiltration.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-21T02:32:23.598825+00:00— report_created — created