ISD Insights · Security

Protect AI platform API keys like production credentials

By ISD Insights Team
← Back to Security

In a Darktrace lab test, a stolen API key taken from an already-compromised developer machine was enough to steer a coding agent remotely. Darktrace says this is not a flaw in Claude and it has not seen the technique used in the wild.

ISD view: why it matters

Protect and rotate AI platform keys, prefer scoped or federated sign-in, and limit what coding agents may do without confirmation.

What happened

Darktrace researchers reported on 12 Nov 2026 that, in a simulated corporate network, they used a stolen Anthropic API key to send instructions to Claude Code through a storage feature of the platform (memory stores) and to move data out through the provider’s normal API endpoint. The scenario started from a developer machine that was already compromised, and the agent had been launched with tool-use confirmation prompts switched off. Darktrace says the technique does not rely on a vulnerability in the Claude platform.

The credential-hygiene lesson applies to any AI platform:

  • Use OAuth or identity federation where the platform supports it; otherwise keep API keys short-lived and narrowly scoped.
  • Keep keys out of shell history, dotfiles and environment variables, and rotate any key that may have been exposed.
  • Leave agent confirmation prompts on, and limit the tools and permissions coding agents are given.
  • Monitor agent process launches and unusual API activity.

Why it matters: Protect and rotate AI platform keys, prefer scoped or federated sign-in, and limit what coding agents may do without confirmation.

Sources: Help Net Security, “Stolen Claude API keys can turn Claude Code into a remote-controlled implant”, 12 Nov 2026; Darktrace, “Living off the AI: How Claude Memory Stores Enable Covert C2 Channels”, Nov 2026

Contact

Questions about what this means for you?

Talk to us about where AI fits in your business.