
Key facts
A Docker Sandbox flaw could let a malicious third-party AI agent kit steal a developer’s Anthropic API key for Claude, OpenAI API key, or GitHub token.1 2
The flaw, tracked as CVE-2026-136998, was disclosed on November 30, 2026, and fixed in Docker Sandboxes v0.55.0, according to Frost Rank.3 2
Endor Labs researcher Peyton Kennedy found that after one approval from the developer, a later update to that kit could send the real Anthropic, OpenAI, or GitHub key to a server the attacker controls, with no new prompt.1
The product’s promise is that raw keys never enter the sandbox.1
How the Trust Model Was Supposed to Work
A developer stores a key on the host with sbx secret set, the agent inside the virtual machine sends requests with a placeholder header, and a proxy on the host swaps in the real key on the way out.1
Which destinations receive the real key is decided by the kit, a packaged agent configuration fetched from a registry, a Git reference, or a local folder.1
Since version 0.43.0, released September 15, approving a kit’s credential request writes a binding that records the service and the domains the developer agreed to.1
That recorded list was never read back, the researcher found.1
At request time, the check only asked whether a binding existed for the service name, and the proxy then sent the real key to whatever domains the current version of the kit named.1
The next sandbox creation showed no prompt, and the proxy delivered the dummy key to that server in cleartext.1
The approval even survived the sandbox’s deletion.1
Nothing warned the developer afterward either: the policy log recorded the connection as allowed and said nothing about a key being injected into it.1
A malicious kit version could also add its own server to the sandbox’s network allowlist without a prompt, he found.1
What an Attacker Could Do With a Stolen Key
A stolen GitHub token grants whatever its scopes allow, which for a typical developer token includes write access to their repositories, according to the researcher.1
Cloud sandboxes maintain a separate secret store, and it has not been established whether they ever shared the affected authorization logic.1
The researcher identified 12 other built-in services, including OpenAI and GitHub, that use the same credential handling process, but did not test them separately.2
The disclosure did not document theft of real credentials.2
How the Fix Works
The version’s release notes say kit credential injection now enforces the destinations approved for API keys and for OAuth separately, and treats a binding with no approved destinations as missing.1
Upgrading to 0.55.0 removes the flaw.1
No attacks using it have been reported so far.1
Sources
Every number in the story points here. Each links to the original reporting.
CenterThe Hacker News, Cybersecurity News
CompanyFrost Rank
-
1
The Hacker News (center)Docker Sandboxes Flaw Lets Malicious AI Agent Kit Updates Steal Developers' API KeysDec 1, 10:40am ET
Back to the story -
2
Cybersecurity News (center)Docker Sandboxes Flaw Could Let Malicious AI Agents Steal OpenAI, Claude, and GitHub KeysDec 1, 7:09am ET
Back to the story -
3
Frost Rank (company)Docker Sandboxes Flaw Could Steal Your AI API Keys | Frost RankDec 1, 7:30am ET
Back to the story
See a sentence its source doesn’t back up?
Tell us the source number and what’s wrong. We check every report. If we change the story, the fix goes on the corrections page with the old wording.



