AI hack · Security research · 30 Nov 2026Fixed in 0.55.0No attacks reported (The Hacker News)Found by Endor Labs (BleepingComputer)

Docker Sandboxes flaw let updated AI agent kits send developers' API keys to an attacker's server

A flaw in Docker Sandboxes let an updated agent kit send a developer's 2 sourcesBleepingComputerDocker Sandboxes bug could leak AI API keys via malicious updates1 Dec 2026The Hacker NewsDocker Sandboxes Flaw Lets Malicious AI Agent Kit Updates Steal Developers' API Keys1 Dec 2026 to an attacker's server without asking. Docker released the fix in 2 sourcesBleepingComputerDocker Sandboxes bug could leak AI API keys via malicious updates1 Dec 2026The Hacker NewsDocker Sandboxes Flaw Lets Malicious AI Agent Kit Updates Steal Developers' API Keys1 Dec 2026 on 30 November 2026, according to BleepingComputer. The Hacker News reports no attacks so far.

By Chris Hoskins, Founder, Boogey ·

Tap underlined words to see who reported them.

13

2 sourcesBleepingComputerDocker Sandboxes bug could leak AI API keys via malicious updates1 Dec 2026The Hacker NewsDocker Sandboxes Flaw Lets Malicious AI Agent Kit Updates Steal Developers' API Keys1 Dec 2026

0

2 sourcesBleepingComputerDocker Sandboxes bug could leak AI API keys via malicious updates1 Dec 2026The Hacker NewsDocker Sandboxes Flaw Lets Malicious AI Agent Kit Updates Steal Developers' API Keys1 Dec 2026

0.55.0

2 sourcesBleepingComputerDocker Sandboxes bug could leak AI API keys via malicious updates1 Dec 2026The Hacker NewsDocker Sandboxes Flaw Lets Malicious AI Agent Kit Updates Steal Developers' API Keys1 Dec 2026

None

SourceThe Hacker NewsDocker Sandboxes Flaw Lets Malicious AI Agent Kit Updates Steal Developers' API Keys1 Dec 2026

How Kennedy's test sent the key away

  1. Step 1

    Approve once

    Kennedy approved a kit to use a dummy key with SourceThe Hacker NewsDocker Sandboxes Flaw Lets Malicious AI Agent Kit Updates Steal Developers' API Keys1 Dec 2026.

  2. Step 2

    Swap the kit

    He then put a new version at the SourceThe Hacker NewsDocker Sandboxes Flaw Lets Malicious AI Agent Kit Updates Steal Developers' API Keys1 Dec 2026, pointing at a test server.

  3. Step 3

    No prompt

    The next sandbox creation 2 sourcesBleepingComputerDocker Sandboxes bug could leak AI API keys via malicious updates1 Dec 2026The Hacker NewsDocker Sandboxes Flaw Lets Malicious AI Agent Kit Updates Steal Developers' API Keys1 Dec 2026.

  4. Step 4

    Key goes out

    Docker's proxy sent the dummy key to the test server 2 sourcesBleepingComputerDocker Sandboxes bug could leak AI API keys via malicious updates1 Dec 2026The Hacker NewsDocker Sandboxes Flaw Lets Malicious AI Agent Kit Updates Steal Developers' API Keys1 Dec 2026.

The demonstration stayed on SourceThe Hacker NewsDocker Sandboxes Flaw Lets Malicious AI Agent Kit Updates Steal Developers' API Keys1 Dec 2026, with a dummy key and a test server, The Hacker News notes.

Every Docker Sandboxes release 2 sourcesBleepingComputerDocker Sandboxes bug could leak AI API keys via malicious updates1 Dec 2026The Hacker NewsDocker Sandboxes Flaw Lets Malicious AI Agent Kit Updates Steal Developers' API Keys1 Dec 2026 carried the flaw, on macOS, Windows and Linux, Kennedy says.

Why one approval covered the new server

  • Approval by name

    Docker Sandboxes reused earlier approvals. Later runs checked only whether the AI service was approved, 2 sourcesBleepingComputerDocker Sandboxes bug could leak AI API keys via malicious updates1 Dec 2026The Hacker NewsDocker Sandboxes Flaw Lets Malicious AI Agent Kit Updates Steal Developers' API Keys1 Dec 2026.

  • A quiet allowlist

    A new kit version could also SourceThe Hacker NewsDocker Sandboxes Flaw Lets Malicious AI Agent Kit Updates Steal Developers' API Keys1 Dec 2026 to the sandbox network allowlist without a prompt, The Hacker News reports.

  • A silent log

    The policy log called the connection allowed and 2 sourcesBleepingComputerDocker Sandboxes bug could leak AI API keys via malicious updates1 Dec 2026The Hacker NewsDocker Sandboxes Flaw Lets Malicious AI Agent Kit Updates Steal Developers' API Keys1 Dec 2026 riding along.

  • Global secrets

    Secrets are SourceThe Hacker NewsDocker Sandboxes Flaw Lets Malicious AI Agent Kit Updates Steal Developers' API Keys1 Dec 2026, so a redirected key serves every sandbox on the machine, according to The Hacker News.

SourceThe Hacker NewsDocker Sandboxes Flaw Lets Malicious AI Agent Kit Updates Steal Developers' API Keys1 Dec 2026, The Hacker News reports. A kit could not pose as a built-in agent, and the consent prompt defaults to decline.

What a redirected key opens

The affected services include 2 sourcesBleepingComputerDocker Sandboxes bug could leak AI API keys via malicious updates1 Dec 2026The Hacker NewsDocker Sandboxes Flaw Lets Malicious AI Agent Kit Updates Steal Developers' API Keys1 Dec 2026, Copilot, Cursor, Google and Mistral, Kennedy says. A stolen provider key could SourceBleepingComputerDocker Sandboxes bug could leak AI API keys via malicious updates1 Dec 2026 on the victim's account, BleepingComputer says. A stolen GitHub token grants whatever it is scoped for, typically SourceThe Hacker NewsDocker Sandboxes Flaw Lets Malicious AI Agent Kit Updates Steal Developers' API Keys1 Dec 2026, according to The Hacker News. The way in would be an update to a kit the developer already trusted.

From report to fix

  1. 21 Sep 2026

    Kennedy SourceThe Hacker NewsDocker Sandboxes Flaw Lets Malicious AI Agent Kit Updates Steal Developers' API Keys1 Dec 2026 and an earlier file-copy bug to Docker, The Hacker News reports.

  2. 3 Nov 2026

    Docker fixed the SourceThe Hacker NewsDocker Sandboxes Flaw Lets Malicious AI Agent Kit Updates Steal Developers' API Keys1 Dec 2026, according to The Hacker News.

  3. 30 Nov 2026

    Docker SourceBleepingComputerDocker Sandboxes bug could leak AI API keys via malicious updates1 Dec 2026 with the fix, BleepingComputer says.

Docker says the fix makes key injection 2 sourcesBleepingComputerDocker Sandboxes bug could leak AI API keys via malicious updates1 Dec 2026The Hacker NewsDocker Sandboxes Flaw Lets Malicious AI Agent Kit Updates Steal Developers' API Keys1 Dec 2026 for API keys and OAuth, and treats a binding with no approved destination as missing.

What remains open, per The Hacker News

Kennedy asked Docker to tie each approval to a kit's SourceThe Hacker NewsDocker Sandboxes Flaw Lets Malicious AI Agent Kit Updates Steal Developers' API Keys1 Dec 2026 and to log every key injection. Docker's published notes SourceThe Hacker NewsDocker Sandboxes Flaw Lets Malicious AI Agent Kit Updates Steal Developers' API Keys1 Dec 2026. It is not yet known whether SourceThe Hacker NewsDocker Sandboxes Flaw Lets Malicious AI Agent Kit Updates Steal Developers' API Keys1 Dec 2026, which keep a separate secret store, share the faulty logic.

The Boogey fix

Is your coding agent's key exposed to this?

You’re exposed if

  • Your developers run AI coding agents in Docker Sandboxes on a version below 0.55.0.
  • They load third-party agent kits that use a provider key or a GitHub token.
  • Your sandbox secrets are shared, so one key serves every sandbox on a developer's machine.
  • Your team approved a kit once and has not looked at its updates since.

Fix it

  1. 01Set a version floor

    Make your build and developer setup checks fail if they find 2 sourcesBleepingComputerDocker Sandboxes bug could leak AI API keys via malicious updates1 Dec 2026The Hacker NewsDocker Sandboxes Flaw Lets Malicious AI Agent Kit Updates Steal Developers' API Keys1 Dec 2026.

  2. 02Pin kits by content

    Reference each third-party kit by its content digest where you can, rather than a name that can point at new code. Then an update can't slip in under the same name.

  3. 03Review old approvals

    List the credential approvals your developers gave third-party kits. Remove any for a kit whose destination changed, and approve it again only after a look.

  4. 04Rotate and shrink keys

    Rotate any provider key or GitHub token a changed kit could have reached. Give each project its own key with a spend limit, and keep GitHub tokens read-only where the agent allows.

  5. 05Log where keys go

    Send sandbox traffic through a proxy you control that records every request carrying a key and the host it reached. Alert on any host nobody approved.

On your platform

Settings you already have that help against this hack. Last checked 1 Dec 2026.

  • Allow only approved MCP servers

    In managed settings, set allowManagedMcpServersOnly to true and list allowedMcpServers by URL or command.

    How

Every setting for every platform

How we test it

  1. 1We read the AI coding tools' settings files for secrets and the public repositories your team shares for AI keys, and flag any we find for you to rotate.
  2. 2From the version list you share, we check Docker Sandboxes against the advisory, and we flag tools or kits whose definitions changed since our last audit.Being built
  3. 3In staging, under a signed scope, a benign test kit we plant changes its destination to our canary host, and we watch whether the sandbox sends our fake key without asking.Being built
Built
BT-07 · Poisoned or malicious MCP servers, tools and skillsBT-10 · Leaked AI keys and secrets, and the abuse that followsBT-22 · Model and AI supply chainBT-06 · Over-scoped tokens and agent identity

It fails if

  • Our fake key reaches the canary host and nobody was asked to approve it.
  • A developer machine runs Docker Sandboxes below 0.55.0.
  • A kit changes its destination and keeps its old approval.
  • A real key sits in an AI coding tool's settings file or a public repository.
Get started

Send us your sandbox versions and the list of kits your team loads. It takes a minute, and it is most of what we need. We'll run this test on yours. Part of it is still being built.

The lesson that outlasts the patch

Consent that names a service, rather than the exact code and destination, lasts only until the next update. As coding agents load more third-party kits, every approval should bind to content and every key sent should leave a record.