# Docker Sandboxes bug could leak AI API keys via malicious updates

DevFeed: [Docker Sandboxes bug could leak AI API keys via malicious updates](<https://devfeed.tech/articles/docker-sandboxes-bug-could-leak-ai-api-keys-via-malicious-updates-164216.md>)

Original publisher: [Read original article](<https://www.bleepingcomputer.com/news/security/docker-sandboxes-bug-could-leak-ai-api-keys-via-malicious-updates/>)

Author: Bill Toulas

Published: 2026-12-01T21:59:05Z

Content type: news

Language: en

Sources: [BleepingComputer](<https://devfeed.tech/sources/bleepingcomputer.md>)

Topics: [Docker Sandboxes](<https://devfeed.tech/topics/docker-sandboxes.md>), [API keys](<https://devfeed.tech/topics/api-keys.md>), [token jacking](<https://devfeed.tech/topics/token-jacking.md>), [secret rotation](<https://devfeed.tech/topics/secret-rotation.md>)

Tags: [ai](<https://devfeed.tech/tags/ai.md>), [ai-coding-agents](<https://devfeed.tech/tags/ai-coding-agents.md>), [api-key](<https://devfeed.tech/tags/api-key.md>), [api-keys](<https://devfeed.tech/tags/api-keys.md>), [artificial-intelligence](<https://devfeed.tech/tags/artificial-intelligence.md>), [computer-help](<https://devfeed.tech/tags/computer-help.md>), [computer-security](<https://devfeed.tech/tags/computer-security.md>), [computers](<https://devfeed.tech/tags/computers.md>), [docker](<https://devfeed.tech/tags/docker.md>), [docker-sandboxes](<https://devfeed.tech/tags/docker-sandboxes.md>), [infosec](<https://devfeed.tech/tags/infosec.md>), [infosec-computer-security](<https://devfeed.tech/tags/infosec-computer-security.md>), [key](<https://devfeed.tech/tags/key.md>), [leak](<https://devfeed.tech/tags/leak.md>), [linux](<https://devfeed.tech/tags/linux.md>), [mac](<https://devfeed.tech/tags/mac.md>), [malicious](<https://devfeed.tech/tags/malicious.md>), [malware](<https://devfeed.tech/tags/malware.md>), [malware-removal](<https://devfeed.tech/tags/malware-removal.md>), [security](<https://devfeed.tech/tags/security.md>), [spyware](<https://devfeed.tech/tags/spyware.md>), [support](<https://devfeed.tech/tags/support.md>), [tech-support](<https://devfeed.tech/tags/tech-support.md>), [technical-support](<https://devfeed.tech/tags/technical-support.md>), [virus](<https://devfeed.tech/tags/virus.md>), [virus-removal](<https://devfeed.tech/tags/virus-removal.md>), [vulnerability](<https://devfeed.tech/tags/vulnerability.md>), [windows](<https://devfeed.tech/tags/windows.md>)

## AI overview

Docker Sandboxes versions 0.43.0 through the release fixed in 0.55.0 had a credential-handling flaw: after a user approved an AI service, an updated third-party kit could redirect a key to an attacker-controlled server without another prompt. Policy logs could show an allowed connection without indicating that a credential was injected. The flaw affected 13 built-in services sharing the vulnerable code, including Anthropic, GitHub, and OpenAI. A stolen provider key could incur charges; a GitHub token could expose repositories within its scope. Docker 0.55.0 fixes destination checks for API-key and OAuth credential bindings. Users are advised to upgrade, review prior kit approvals and destination changes, and rotate potentially exposed keys if suspicious changes are found. The researcher demonstrated the issue with a dummy Anthropic key.

## Source excerpt

A vulnerability in Docker Sandboxes, a tool for running AI coding agents in isolated environments, could leak developers' API keys to an attacker distributing malicious updates to third-party agent kits. [...]