AI Aulis

AI NEWS IN ENGLISH · 2 December 2026

The most important AI news every morning. AI writes and checks the stories against the original sources – check important facts in the sources.

← Issue 2 December 2026Paper

Docker Sandboxes flaw could let an agent kit update send an API key to an attacker

AI-generated contentWritten by AI

docs.docker.com, bleepingcomputer.com, thehackernews.com · 3 sources · Sources published: 1–2 December 2026

Sandboxes checked only whether a service had an approval, so a kit update could send the key to any destination it named, an Endor Labs researcher said. Version 0.55.0 fixes the flaw. No attacks have been reported.

Docker Sandboxes runs coding agents in isolated virtual machines and is meant to keep real API keys out of the agent’s reach. The user stores the key on the host, the agent sends requests with a placeholder, and a proxy on the host swaps in the real key.

An agent kit, a ready-made agent configuration, sets where the key goes. Since version 0.43.0, Sandboxes has recorded the service and the approved domains when a user approves a kit’s key request, The Hacker News reported. Endor Labs researcher Peyton Kennedy (Payton in BleepingComputer) found that the recorded domain list was never read. At request time, the program checked only whether the service had an approval. The key went to whatever destinations the current version of the kit named.

In Kennedy’s test, the kit was approved for api.anthropic.com only. It was then replaced at the same reference with a version pointing to a test server. Sandboxes asked for no new approval. The proxy delivered a dummy key to the server in cleartext, and the policy log showed an ordinary allowed connection. Kennedy tested only an Anthropic key, on a personal machine. But 13 built-in services, including OpenAI and GitHub, use the same credential-handling code. No attacks have been reported so far. The research covered local Sandboxes. Cloud sandboxes have their own secret store, and it has not been established whether they ever used the same check.

The virtual machine isolation held, Kennedy said; the fault lay in what the approval was tied to. A prompt is only as strong as whatever its answer is bound to, Kennedy said.

On macOS, Windows and Linux, the flaw affects all versions from 0.43.0 up to, but not including, 0.55.0, which was released on 30 November. Docker’s changelog says keys are now injected only for approved destinations, and an approval with no destinations is treated as missing. Kennedy also asked for approvals to be tied to the kit’s content and for every key injection to be logged. The changelog mentions neither, The Hacker News reported.

Users who approved keys for third-party kits on a vulnerable version should remove those kits’ approvals from ~/.config/sbx/credentials.yaml (on Windows, %APPDATA%\sbx\credentials.yaml), Kennedy advises. The file holds approvals, not keys; if an approved kit has changed since, Kennedy advises rotating the keys. Keys are shared by all sandboxes by default, so Kennedy recommends storing them per sandbox with the --sandbox flag, and pinning kits to a specific commit where the kit’s source allows it, or keeping a reviewed copy in a local folder.

Before upgrading, note that 0.55 no longer reads some environment variables for settings, such as DOCKER_SANDBOXES_KIT_REQUIRE_SIGNATURE. Users who required signatures with this variable should first save the setting with sbx settings set kit.requireSignature true, Docker advises. Without a saved setting or administrator policy, signatures are not required.

Local sandboxes now inject host keys into requests to external services only over HTTPS. Custom secrets are added only to headers bound to them or to default headers such as Authorization and X-Api-Key. If a service reads the secret from another header, the secret must be bound to it with sbx secret set-custom --placeholder <PLACEHOLDER> --header <HEADER>. Custom secrets must be at least eight characters long, so shorter ones must be replaced.

Report an error in this story