On November 13, Cursor published its investigation into an October incident. It is worth reading for anyone who sends data to an AI inference vendor, because nothing in the chain was exotic.

The chain, step by step

  • A shared bucket. Cursor gave its inference vendor, Fireworks AI, a key to a read-only storage bucket the two companies used to exchange data. That key was exposed on the vendor side.
  • Agent traces. The attacker copied the bucket. It held coding-agent traces from sessions outside Privacy Mode, and some of those traces still contained working credentials.
  • Internal tools. Those credentials opened several SaaS tools: archived non-production code, some support data and emails, usage metrics, and credentials users had sent to support.
  • The developer's machine. On October 29, modified builds of a popular coding-agent extension were placed in the cache behind Cursor's extension marketplace for about 11 hours. Cursor estimates at most 5,000 users could have received them. The payload added an SSH key, tried to open a reverse tunnel and set itself to survive reboots.

Cursor rotated credentials, rebuilt the marketplace, added secret scanning and moved inference to another provider. Production systems, customer repositories and Privacy Mode data were not affected.

Why this one is instructive

Sharing traces with an inference vendor for training and evaluation is routine, and a bucket plus an access key is the usual way to do it. In this setup the key was the whole defense: read-only access was enough to copy everything, from anywhere, with no check on who was asking. And coding agents see config files, environment variables and terminal output, so their logs end up holding secrets.

Each theft opened the next system. The people who got the backdoored extension had no idea the bucket existed.

Where confidential computing fits, and where it doesn't

Here is the setup we would argue for. Traces are stored encrypted. The data key is released only to an approved job running in a hardware TEE, after its attestation evidence checks out. Then:

  • a leaked storage key yields ciphertext;
  • vendor engineers and the cloud provider never see plaintext;
  • a modified job has a different measurement and gets no key;
  • the network policy is part of the verified configuration, so only agreed outputs (weights, eval scores) leave;
  • redaction and secret scanning can run inside the boundary as attested steps.

That stops the first step, the copying of readable traces. It does not replace the rest: credentials shouldn't be in logs at all, one leaked credential shouldn't reach internal tools or a software cache, and packages should be checked against the publisher's signature before install.

Five questions for your AI vendors

  1. Does the vendor hold a standing key to our data, and where is it stored?
  2. If that key leaks, does the holder get readable data or ciphertext?
  3. Who at the vendor can read our prompts, traces and datasets in clear text?
  4. Do our agent logs contain credentials, and how long are they kept?
  5. Can the vendor prove which code runs on our data, or only promise it?

Full write-up by our CEO Nukri Basharuli: superprotocol.com/resources/blog/cursor-fireworks-vendor-key

How does your team share traces with model vendors today?