Skip to content
← Insights

Your Developers' AI Tools Are Holding the Keys

November 25, 2026 · 5 min read

AI Summary
Generating summary…

Developers paste API keys into AI coding agents every day. Somebody just proved those conversations get stored, and stolen.

In early November, Cursor confirmed a breach that started with a key held by one of its AI providers and ended with malicious copies of a popular coding extension landing on developer machines.

If you think this is a developer problem, keep reading. It's a vendor problem. And your vendor list just got longer without anybody telling you.

How it unfolded

Attackers got hold of an access key stored at Fireworks AI, a third-party model provider Cursor used. That key opened a read-only storage bucket Cursor shared with Fireworks.

Inside the bucket: historical AI coding-agent traces, mostly from 2025, from users who didn't have Privacy Mode turned on. Some of those traces contained unredacted API credentials. Those credentials let the attackers go deeper into Cursor's systems.

On October 29 they used a stolen credential to push modified copies of Anthropic's Claude Code extension, versions 2.1.312 and 2.1.313, into the cache behind Cursor's extension marketplace. Cursor calls them malicious, unauthorized copies. They were live for about 11 hours. The code tried to add an attacker's SSH key, turn on SSH and dig in for persistence.

Cursor estimates up to 5,000 users may have pulled the bad builds.

Read that chain again. A key at a vendor's vendor. A bucket of old logs. Secrets inside the logs. Then a backdoor shipped through a trusted update channel.

Nobody broke encryption. Nobody needed to.

Agent traces are the new log files

Every security team I've worked with has a story about passwords in log files. Debug logging left on in production, a stack trace that dumped a connection string, a ticket where somebody pasted the admin password "just for a minute."

AI coding agents are that problem with the volume turned way up.

When a developer asks an agent to fix a broken deployment, the agent sees the config. The env file. The error with the token in it. That whole conversation gets recorded as a trace, and traces get stored, shared with model providers and kept around for training, debugging or billing. The developer's thinking about the bug. Nobody's thinking about where that transcript ends up.

This one stung because the traces were mostly from 2025. Old conversations. Keys some people had probably forgotten they ever pasted.

It wasn't one company

Cursor's incident is part of a bigger pattern Wiz is calling "Black October". At least nine AI developer platforms disclosed incidents in a single month, from Fireworks on October 6 to Northflank on October 30. Root causes varied, but several, including Fireworks, pointed to credential access.

The attackers are going where the keys are. Right now, the keys are piling up inside AI developer platforms that grew fast and bolted security on afterwards.

Same old movie. New cast.

The honest caveat

The numbers here are small. Cursor says fewer than 0.05% of users had traces exposed and fewer than 0.01% had API credentials compromised. Researchers also found bugs in the backdoor that likely stopped it working on many Windows and macOS machines where SSH wasn't already on. Anthropic's real extension and the Open VSX registry weren't touched, and Cursor moved fast once it knew.

So no, the sky isn't falling. A small slice of users got hit by a sloppy payload.

Next time the payload won't be sloppy.

What I'd do this week

  • Assume anything pasted into an AI tool is stored. Train your developers on that. Secrets go in a vault, not a chat window.
  • Rotate keys that ever touched an agent. If you can't say for sure a credential was never pasted into an AI tool, treat it as exposed.
  • Turn on the privacy settings. Most AI coding tools offer a privacy or zero-retention mode. Make it the default for your org, not an individual choice.
  • Use short-lived, scoped credentials. A token that expires in an hour and can only touch one service is a much smaller prize in a leaked trace.
  • Inventory your AI dev tools and their extensions. Which tools, which vendors, which model providers behind them. That last one is the part most companies can't answer.
  • Treat extension marketplaces like package registries. Pin versions, watch for unexpected updates and give your developers a way to report "this extension updated and started acting weird."

For boards and owners

You don't need to understand coding agents to ask the right question: where do our secrets end up when our developers use AI tools?

If your CTO or MSP can't answer that, you've got a vendor you didn't vet holding credentials you didn't know were shared. That's a third-party risk problem, and it belongs in the same conversation as every other vendor that holds your data.

Bottom line

Your developers' AI assistant remembers everything they told it. So does the company running it. So does the company running that company's models.

Every link in that chain is holding your keys. Make sure you know who they are.

Next Step

Ready to strengthen your organization's resilience?

A 30-minute discovery call to discuss your cybersecurity posture, incident readiness, and whether advisory support is the right fit.