AI Safe Mode logo
AI Safe Mode

A Flaw in an AI Coding Sandbox Let an Update Quietly Send Your Keys to Attackers

A padlock and chain on a green metal gate in a wire fence; illustrative
Illustrative photograph only, not an event image. Photo by Jason Blackeye via Wikimedia Commons; CC0 1.0. See LICENSES.md.

A flaw in a popular tool for running AI coding agents in isolated sandboxes let a third-party add-on update redirect developers' real AI and code-hosting keys to an attacker, with no prompt and nothing in the logs. Fixed on Nov 30.

A flaw in a popular tool for running AI coding agents inside isolated sandboxes could let an update to a third-party add-on send a developer’s real keys to an attacker, without any prompt.[1] [2]

What happened

The tool promises that developers’ secret keys never enter the sandbox where the AI agent runs. Instead, it adds the key to approved requests on the way out.[1]

When a developer approved a third-party agent “kit” once, the tool remembered the approval by service name, not by the exact server the kit was allowed to send the key to.[1] [2]

An updated kit could change that destination to a server the attacker controls. The tool would then send the real key with no prompt, and its log showed only an ordinary allowed connection.[1] [2]

The issue affects 13 built-in services, including major AI providers and code-hosting. It was introduced in version 0.43.0 and fixed in version 0.55.0, released on November 30.[1] [2]

The researcher rated it high severity and reported it on September 21.[1]

Why it matters

An approval is only as safe as what it is tied to. If a tool trusts an add-on by name, the next update inherits that trust.

Related: A Hijacked AI Agent Toolkit Stole Developers’ Cloud Keys.

The short version

An add-on update could quietly redirect developers’ keys to attackers. Updating closes the hole; rotating keys cleans up.

How to stay safe

  • Update the sandbox tool to the fixed version or later.
  • Review approvals you have given to third-party agent kits and remove ones you do not use.
  • Scope keys to one sandbox instead of storing them globally where possible.
  • Rotate keys used with any kit that changed since you approved it.
  • Set spending limits on AI service accounts so a stolen key costs less.

Follow AI Safe Mode

FAQ

What could an attacker do with a stolen key?

A stolen AI service key can run up charges on the victim's account. A stolen code-hosting token can give access to the victim's code repositories, depending on its permissions.

See the post on YouTube Watch and follow AI Safe Mode on YouTube @AISafeMode and Instagram @aisafemode.

References

  1. Endor Labs, Nov 30, 2026. Researcher's technical write-up of the flaw. Read the report ↗
  2. BleepingComputer, Dec 1, 2026. Report on the flaw and the fix. Read the report ↗
Facts come only from the published reports above and are attributed to them. AI Safe Mode doesn't name companies, products or people involved in incidents. Spotted an error? Email [email protected] and it will be reviewed and corrected. See the corrections policy.