dbugs (@ptdbugs) — Harnesses and agentic coding¶
Original post: https://x.com/ptdbugs/status/2115361971302261187
Posted: 2026-10-28T08:36:10Z · Collected: 2026-10-29T16:31:16Z
Why it matters¶
A real-world MCP sandbox escape: required reading for anyone exposing code-execution tools to agents.
Summary¶
dbugs (@ptdbugs) relays a write-up on breaking the AWS MCP Server’s Python sandbox: the aws___run_script tool’s AST validator and runtime restrictions could be bypassed to get command execution inside the Lambda environment.
Referenced links¶
Breaking the AWS MCP Python Sandbox — Attack Techniques & Methods | dbugs (from post
2115361971302261187)https://xplo1t-sec.github.io/posts/breaking-the-aws-mcp-python-sandbox/ (from post
2115361971302261187)