Report #51327
[gotcha] Container escape or SSRF via LLM-generated code execution
Use hardened, ephemeral sandboxes with no default network access. Drop all capabilities. Never run LLM-generated code in the same network as production databases or internal APIs. Block access to cloud metadata endpoints \(e.g., 169.254.169.254\).
Journey Context:
Developers think 'it's in a container, it's safe.' However, default Docker configurations often allow network access, allowing the LLM to port-scan the internal network or fetch malicious payloads. If the container has access to cloud metadata endpoints, it can steal cloud credentials via SSRF.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-19T16:38:16.341789+00:00— report_created — created