← Back to all posts
Published on · by Renaud Deraison

The transcript held the key

On November 13, Cursor published how its October breach worked. An attacker used a key Cursor had issued to Fireworks AI to copy coding-agent traces from a shared bucket. Some of those traces held credentials nobody had redacted, and they led the attacker into Cursor's SaaS tools, its internal systems, and from there to the credential that pushed a trojanized Claude Code extension to up to 5,000 developers. In Bromure Agentic Coding, the agent never holds a real secret, so its transcript can't hold one either. The record of the session stays encrypted on your Mac, and a stand-in lifted from it opens nothing.

Cursor's attacker started from coding-agent transcripts. A few of them held working credentials, and those led to the extension marketplace.

On November 13, Cursor published an update on its October security incident. On October 29, Cursor's extension marketplace cache served a trojanized copy of Anthropic's Claude Code extension for about eleven hours. We covered that payload in The update added a key. The new report explains how the attacker got the access to publish it, and the answer starts with a coding agent's transcript. BleepingComputer reported the update on November 14.

Five hops from a vendor key to your editor

Cursor's account, in order:

  1. A vendor's key. Cursor had issued an access key to Fireworks AI, one of its model providers. The key "was exposed by Fireworks." The report doesn't say when or how.
  2. A shared bucket of traces. With that key, the attacker copied data from a read-only storage bucket Cursor used to share data with Fireworks. It held "limited coding agent traces, mostly from 2025, from sessions not in Privacy Mode." Fewer than 0.05% of those users had traces exposed.
  3. Credentials in the traces. "A small number of those traces contained credentials that had not been redacted." Less than 0.01% of customers had API credentials exposed.
  4. Cursor's own tools. Using those credentials, the attacker reached "select SaaS tools used by Cursor." From there they took archived non-production repositories, support emails, product usage metrics, summaries of some agent conversations, and credentials that users had sent to Cursor's support team.
  5. The marketplace. A "stolen credential from the exposed data from our internal system" let the attacker place malicious copies of Claude Code 2.1.312 and 2.1.313 on the marketplace cache. At most 5,000 users who requested those versions that day may have received them. Each one added an SSH key and tried to install persistence.

Cursor's last sighting of the attacker was on November 1, and that attempt was blocked. Since then, Cursor has moved all inference off Fireworks, rotated every exposed credential and all internal ones, rebuilt the marketplace store and redeployed production. It also added secret scanning across its repositories "and other internal data sources." Customers who were told their credentials were exposed were asked to rotate them.

Wiz counts at least nine AI developer platforms that disclosed breaches in October, a run it calls Black October. We looked at the stored keys behind those breaches in The key had too many homes.

From a vendor key to the editor (Cursor, November 13)1. A vendor keyissued by Cursorto Fireworks AI,exposed by Fireworksdate not given2. A shared bucketcoding-agent traces,mostly from 2025,not in Privacy Mode<0.05% of users3. Keys in the tracesa small number heldcredentials that hadnot been redacted<0.01% of customers4. Cursor's SaaS toolsarchived repositories,support emails,credentials userssent to support5. The marketplaceclaude-code2.1.312 / 2.1.313live about 11 hours,up to 5,000 users,SSH key addedHop 3 is where it turnedThe agent handled a real secret, so the record of its session stored one, in a bucket a vendor could open.
The chain in Cursor's November 13 report. A key held by a model provider opened a bucket of agent traces. Credentials left in a few of those traces opened Cursor's SaaS tools, and a credential found there published the trojanized extension.

Why a transcript holds secrets

A coding agent's trace is the whole conversation: your prompts, the files the agent read, the commands it ran and what those commands printed. When the agent runs cat .env to find out why a test fails, the key in that file goes into the next request to the model, and the trace records it. The same happens with env, printenv, a verbose curl that echoes its Authorization header, or a config file opened to fix a typo. You never chose to put that key in the transcript. It sat in a file on the machine, and the agent read the file.

Redaction after the fact is a scan for things that look like secrets. Cursor is now running that scan across its internal data. Scanners catch the common prefixes and miss the rest: a database password, a webhook token with no prefix, a key for an in-house service. Those are the kinds that tend to get through, and Cursor's report confirms that some traces still held credentials.

Bromure Agentic Coding moves the fix earlier in the chain. Its agents never see a real secret, so their transcripts can't contain one.

The same sessions in Bromure Agentic Coding

Bromure Agentic Coding runs Claude Code, Codex, Grok, Kimi and omp in Ubuntu VMs on your Mac, one VM per machine. Every HTTPS request the VM makes goes through a proxy on the Mac before it reaches the internet. The proxy holds your real credentials. The VM holds look-alikes.

The agent reads a stand-in

When a machine boots, Bromure writes a structure-preserving fake for each credential you configured into the VM: the environment variables (ANTHROPIC_API_KEY, GH_TOKEN, LINEAR_API_KEY), ~/.git-credentials, ~/.docker/config.json, ~/.kube/config, ~/.aws/config and the MCP configs. A fake GitHub token is ghp_ and 36 characters, so gh accepts it. The proxy swaps in the real value only when the request is headed to the host that credential belongs to.

Your project's .env gets the same treatment. Import env file… in the machine's Credentials pane reads it, maps the names it recognizes to the right credential type, and turns the rest into Other API keys with the host scope you give them. Each one is exported into the VM under its usual variable name, holding a fake. A value can also be a 1Password reference (op://vault/item/field). Bromure resolves it on the Mac and the secret is never written to disk on either side.

So when the agent runs cat .env or printenv in the middle of a debugging session, it reads fakes, and the conversation it sends to the model carries fakes. Any transcript of that session, wherever it ends up, holds sk-ant-api03-brm-… and ghp_… values that work only through your Mac's proxy, and only toward their own hosts.

A stand-in lifted from a transcript opens nothing

Suppose someone does get a copy of the conversation. The fakes are derived from your real keys with a salt that never leaves your Mac, so the transcript reveals nothing about the real values. Sent from the attacker's own server, a fake goes straight to the API and fails authentication. In Cursor's chain, hop 3 would have ended there.

The proxy treats a fake sent from inside the VM to the wrong host as an attack. It scans every outbound request for fakes headed outside their scope. A match is blocked with HTTP 451, with not a byte forwarded, and the VM is paused. An alert titled This environment may have been compromised names the credential, the host it was made for and the host it was sent to. Shut down, the default, stops the machine and marks it compromised.

A real key that slips in gets caught

Sooner or later someone pastes a real key into a file inside the VM, and the agent can read that file. Bromure watches for that in two ways.

The proxy flags any unswapped, real-looking secret in outbound traffic: Bearer or x-api-key values with known prefixes such as sk-ant-, ghp_ or AKIA, and opaque tokens of 20 characters or more. They show up with an orange triangle in the Trace Inspector, under Leaks only, and in bromure-cli trace leaks. That gives you the list of keys to move out of the VM and into the Credentials pane.

Strict credential mode, under Guardrails, goes further. "Blocks any credential Bromure didn't put there itself." A request carrying a key the agent found in a file, copied from a log or brought in is blocked and raises the compromise alert. Your organization can require it on every machine.

Machine VMWhat the VM holdssk-ant-api03-brm-…ghp_… (fake, 36 chars)What the agent readscat .env · printenvfakes, every timeWhat the transcript holdsthe same fakes, in everyprompt and every replyYour MacThe swapreal key added on the wire,only toward its own hostStrict mode, leak flagskeys Bromure didn't issue:flagged, or blocked and pausedThe traceAES-GCM on the Mac, authheaders redacted, not uploadedIf a transcript leaksFrom their serverthe fake reaches the APIas a fake: rejectedFrom the VM, wrong hostHTTP 451, nothing forwarded,VM pausedRotationone paste on the Mac;op:// re-read every 2 min
The same sessions in a Bromure machine. The agent reads fakes, so its conversation and its trace carry fakes. The real key is added on the Mac, only on the way to its own host. A fake lifted from a transcript fails upstream, and a fake sent to the wrong host from the VM pauses the machine.

The record stays on your Mac

Bromure keeps its own trace of every session so you can see what the agent did, and it keeps that trace on your Mac.

With the default AI request details level, the proxy stores the full conversation for known model hosts, parsed into prompts, tool calls, shell commands and file paths. It lives under ~/Library/Application Support/BromureAC/traces/, each body sealed with AES-GCM under a key in your login Keychain, files at mode 0600. Before anything is written, Authorization, Cookie, api-key and similar headers become <redacted>, and token swaps are stored as first-and-last-character previews like sk-a…f9q3. For an individual install, no trace record, body or summary is uploaded anywhere.

PII Protection covers the other half of what Cursor lost: customer names, emails, phone numbers and card numbers the agent reads in a database dump or a CSV. Before a request leaves for the model provider, the proxy swaps each value for a realistic stand-in, using an on-device model. The provider receives the stand-ins, and the reply gets the real values back before the agent sees it.

Teams see actions, not secrets

On Macs enrolled with bromure.io, sessions stream events to your organization: tool calls, commands, file paths, credential swaps, firewall verdicts. Raw prompts are never sent unless the organization opts in to agent.reasoning. Command lines are cleaned before they're recorded or uploaded. A GitHub token in a curl command becomes [GitHub token #3f9a1c2e], the same label everywhere, so you can still tell which key was used. --password values, KEY=value pairs whose names mention a secret, and cookie and Authorization values become ***. Your security team gets the audit trail without a second copy of your credentials.

Rotation is one paste

Cursor's recovery meant rotating every exposed credential, then every internal one. In Bromure, each real key lives in one place, encrypted on the Mac. Paste the new value into the Credentials pane and Save, and the change reaches a running machine without a restart. Nothing in the VM ever held the old key, so there's nothing in it to clean up. A key stored as a 1Password reference is re-read every two minutes, so rotating it in 1Password is all you need to do.

The last hop of Cursor's chain, a trojanized extension on developers' machines, has its own Bromure answer. In The update added a key, the same payload runs in a VM nobody can reach over SSH, its tunnel is refused by the egress firewall, and rewinding the home folder removes its persistence.

The agent reads fakes

Environment variables, config files and imported .env values hold look-alikes. The real key is added on the Mac, only toward its own host.

Leaked transcripts are worthless

A fake used from outside fails upstream. A fake sent to the wrong host from the VM is blocked with a 451 and pauses the machine.

Real keys get caught

Leak flags list unswapped secrets in outbound traffic. Strict mode blocks any credential Bromure didn't issue.

The record stays home

Traces are encrypted on your Mac with auth headers redacted. Enterprise events carry fingerprint labels, not secret bytes.

What to do this week

  • If you installed or updated Claude Code 2.1.312 or 2.1.313 from Cursor's marketplace on October 29, follow Cursor's security notice. Cursor warns that uninstalling the extension alone may not be enough.
  • Rotate any credential Cursor told you was exposed, and any you sent to its support team.
  • Find out which of your AI tools keep conversation traces on their servers, who they share them with, and for how long. Turn on the privacy or zero-retention mode where one exists.
  • Take long-lived keys out of .env files and shell profiles on machines where agents run. An agent will read whatever file it's pointed at.
  • Treat every transcript as a file that could leak. Assume any secret an agent has seen is now in the transcript.

Then give the agent a machine where the .env it reads holds stand-ins and the transcript has nothing worth stealing. The wire boundary, .env import, the compromise alert and rotation are covered in Credentials & the Wire Boundary, trace storage and enterprise redaction in Tracing & Audit, and strict mode in Guardrails.

Related articles

The settings file was the dropper

On November 16, Google's Threat Intelligence Group reported that a suspected North Korean cluster, MIDNIGHT NEPTUNE, got into cryptocurrency companies through fake recruiters and ClickFix lures, then edited .claude/settings.json in their internal repositories so that starting Claude Code downloaded the SOMBERMEME backdoor. One commit put it on every developer who opened those repositories. In Bromure Agentic Coding, that download starts inside a VM holding stand-in credentials, meets a default-deny network on the Mac, and shows up as a connection from Claude Code that no tool call explains.

Agentic CodingNews & Analysis

The backdoor was in the weights

On November 12, Microsoft's AI Red Team showed that a coding model can be trained to betray its user. Poisoning 1% of a fine-tuning set, or shipping a tampered open-weight checkpoint, taught the model to fetch and run a remote script whenever someone asked for something as ordinary as project documentation. In the Claude Code harness the poisoned Qwen models did it up to 97% of the time. In Bromure Agentic Coding, that tool call runs in a VM whose network is a list you wrote, the request that triggered it sits next to the command in one window, and the watchdog pauses the machine when the model reaches for a host it has never used.

Agentic CodingNews & Analysis

It told the agent not to look

On November 17, Bitdefender Labs reported 22 GitHub repositories whose CLAUDE.md and AGENTS.md files tell the coding agent to run scripts/setup.js at session start, without reading it and without showing its output. A session-start hook does the same job with no help from the model. The payload steals developer credentials, checks which GitHub and GitLab tokens can push, and commits the same files into up to 25 more repositories. In Bromure Agentic Coding, the rules file meets a detector before the model reads it, the script runs in a VM holding stand-ins, and every push it tries waits for you on the Mac.

Agentic CodingNews & Analysis