Sandbox Security Fix Blocks Cloud Credential Theft via Metadata Endpoint Reads
A security vulnerability in write-target sandboxing allowed malicious commands to silently read cloud instance credentials from AWS, ECS, and GCP metadata endpoints without triggering any write-based protections. Because the credential fetch is technically a read operation, existing sandbox scans passed such commands without flagging them, enabling potential exfiltration via reverse tunnels or backdoor tools like netcat and socat. A patch merged as pull request #1103 (commit fa63a32) introduces a destination-based containment-escape guard that runs across both read-only and workspace-write tiers to close this gap. The guard specifically detects cloud metadata endpoint access, SSH reverse and dynamic tunnels, netcat exec backdoors, socat shell execution, and IMDSv2 token request headers. The fix was modeled after a similar containment-escape guard introduced in Claude Code v2.1.257, with adaptations made for the platform's own threat model.
This is an AI-generated summary. ShortSingh links to the original source for the complete article.

Discussion (0)
Log in to join the discussion and vote.
Log in