Turn on Privacy Mode in Cursor, never paste live keys into agent chats, and rotate any key you shared with an AI tool or its support team

Cursor: a key Fireworks exposed opened coding-agent traces holding unredacted customer credentials · Security incident · Cursor · cursor_ai · Nov 13, 2026

What happened

Cursor's 13 Nov 2026 update on its October incident says an attacker obtained an access key Cursor had issued to Fireworks, which Fireworks exposed, and used it to copy a read-only bucket of coding-agent traces, mostly from 2025 and only from sessions not in Privacy Mode. A small number of traces held credentials that had not been redacted (under 0.01% of customers). With those, the attacker reached SaaS tools Cursor uses and took archived non-production source repos, some support emails, usage metrics and contacts, summaries of some agent conversations, and credentials users had sent to Cursor support. A stolen credential then let them place tampered Claude Code extension builds 2.1.312 and 2.1.313 in Cursor's marketplace cache on 29 Oct, which up to 5,000 users may have received over about 11 hours. Cursor says Privacy Mode code and prompts were not affected and the last attacker activity was on 1 Nov.

How to prevent it

Keep secrets out of prompts and agent sessions (use env vars the agent can't echo), enable Privacy Mode or equivalent no-training settings, never send credentials to vendor support, and use short-lived scoped keys so a leaked trace goes stale fast.

Fix prompt for your own AI tool

Copy this into your own AI tool (Cursor, Lovable, Claude Code, Bolt…). It's general guidance written by us. Review what the AI suggests before applying it.

I'm a beginner and want to make sure my API keys are safe in my Cursor project. 1) Search the code for hardcoded keys or tokens and for secrets in variables that ship to the browser (NEXT_PUBLIC_, VITE_, REACT_APP_). List the file and line, but don't print the values. 2) For each one, tell me whether it's meant to be public (like a Supabase anon key) or secret. 3) For secret ones, show me how to move them to server-side env vars and call the provider through a server route. 4) Give me the steps to rotate each exposed key in the provider's dashboard and set a spending limit. 5) Make sure .env is in .gitignore and in my AI tool's ignore file. Don't change anything until I've approved your plan. Never ask me to paste API keys, passwords or .env contents; tell me where to check them myself.

Why this keeps happening: leaked secrets & api keys

Secret keys placed in front-end code, mobile bundles or public repositories can be found by automated scanners and abused, often running up large bills on AI or cloud accounts before anyone notices.

A quick checklist before you ship

More on this: every leaked secrets & api keys story and our related guide.

Tools involved

Cursor stories, Claude Code stories, Fireworks AI stories

Related stories

Source: original post on Cursor ↗. Summarised in our own words; numbers are as stated by the source. Browse all stories.

The Honest Build. Real stories, not hype.

Every week: real stories of what building with AI actually took, the one lesson worth keeping, and the security slip-ups to avoid. Free, unsubscribe anytime. Weekly, every Friday.