ShipShape

Guide

Don’t paste live keys into AI chats

Anything you paste into an AI chat, an agent session, or a support ticket is stored somewhere. A live key in that text is a key you should rotate. ShipShape does not read editors, chats, or tickets.

The paste is a copy

Checked on 24 November 2026. A chat box feels temporary. The product on the other side of it keeps the text: the vendor, a model provider, a support tool, or a trace stored for training or debugging. You do not get a list of those copies when you close the tab. Deleting the message in the window does not, by itself, delete every copy.

That includes a key you paste so the agent can “just try the API”, a connection string you paste so it can debug a login, and a token you paste into a support ticket so someone can reproduce a bug. The value is the secret. The name of the variable is not.

What Cursor reported on 13 November 2026

Cursor’s 13 November 2026 incident update says an access key Cursor had given to Fireworks was exposed on Fireworks’ side. SecurityWeek reported the same origin. The attacker used that key to copy data from a read-only storage bucket Cursor used to share data with Fireworks. Cursor says the bucket held limited coding-agent traces, mostly from 2025, from sessions that were not in Privacy Mode.

Some of those traces still held credentials that had not been redacted. Cursor says less than 0.01% of customers had API credentials exposed. From there, Cursor says, the attacker also reached some credentials users had sent to the Cursor support team. Cursor says it contacted each affected customer, that the last attacker activity it saw was on 1 November and was blocked, and that it believes the incident is contained.

Cursor also says prompts and code for customers using Privacy Mode were not in those exposed traces. That is a statement about this incident. It is not a reason to paste a live key into a chat. The update is narrower than “every Cursor chat leaked”. It is also enough to show that a credential which entered an agent session, or a message to support, was still sitting in storage later.

Give the agent the name, not the value

Keep the key in an environment variable. On your machine that is a shell variable or an env file the project does not commit. On the host that serves the app, it is the host’s environment, and the name is not prefixed for the browser. The env variable guide explains NEXT_PUBLIC_ and VITE_.

When the agent needs the credential, tell it the variable name. Let the command read OPENAI_API_KEY, or whichever name you actually use. Do not paste the value into the prompt so the model can copy it into a file. A value that lands in a source file is one commit away from the repository, and one build away from the bundle.

If “don’t ask again” saved an approved command that already contained the secret, the value is also in a project file. The agent settings guide is that file. Rotate first in either case.

If a live key was ever pasted, rotate it

Rotate the key at the provider that issued it. Then use the new value only through the environment variable. Treat the old value as copied. You will not be able to confirm that every stored transcript is gone.

Do this even when the chat was a local tool, a support form, or a session you have since deleted. The shutdown checklist lists the same kind of rotation for a key that shipped in a bundle or a git commit. A pasted key is the same class of leak, with a different place the copy sits.

What the free check cannot see

ShipShape does not read editors, chats, or tickets. The free check fetches the public URL you give it: the HTML, the same-origin scripts, seven fixed paths, and source maps those scripts name. It can show a secret that is in that material. It cannot show a secret that exists only in a chat log.

Run the free check for what the deploy sends a visitor. It does not query tables and it does not test row level security. A grade of A does not mean a live key was never pasted. Monitor, €9 per month, repeats that same passive check each week and when a deploy hook fires. It does not read the editor either.

Questions

Is a pasted key gone if I delete the chat message?

Do not assume that. Anything pasted into an AI chat, an agent session, or a support ticket is stored somewhere. Deleting the bubble in the window does not prove every copy is gone. If the key was live, rotate it at the provider.

What did Cursor say about credentials in the November 2026 incident?

Cursor’s 13 November 2026 update says an access key it had given to Fireworks was exposed on Fireworks’ side. Some coding-agent traces in a bucket Cursor used to share data still held credentials. Cursor says less than 0.01% of customers had API credentials exposed, that affected customers were contacted, and that the incident is contained.

What should I give the agent instead of the key?

Put the live value in an environment variable. Give the agent the variable name, not the value, and let the command read the variable. The value does not need to be in the chat for the tool to use it.

Does ShipShape read Cursor chats or support tickets?

No. ShipShape does not read editors, chats, or tickets. It fetches the public URL you submit. A key that never reached that URL is invisible to the check. Rotate a pasted key whether or not the grade mentions it.

Run a free check