# Leaked Cartesia API Key? Revoke It and Check Usage

> Cartesia API key exposed in a repo or front-end app? Revoke it in the dashboard, review voice generation usage and rotate. Step-by-step guide.

Source: https://leakwatch.net/secrets/cartesia-api-key

---

[LeakWatch](/)

[Product](/product)[Live feed](/leaks)[Guides](/secrets)[Blog](/blog)[Free scan](/)

1.  [Home](/)
2.  [Secrets](/secrets)
3.  Cartesia API Key

AI · Secret guide

# Leaked Cartesia API Key: what to do in the first hour

High severityDetected onlyLast verified November 5, 2026 · 5 min read

A Cartesia API key lets whoever holds it call Cartesia’s speech services under your account: generating synthetic voice, and using whatever models and credits your plan allows. Usage is billed to you, so the first cost of a leak is usually money. A key can also be used to produce audio that carries your account’s name in the usage logs, which matters if the output is used for scams or impersonation. Revoke the key first, then review what it generated.

[Check your GitHub account for leaked secrets — free](/)

Provider

Cartesia

Severity

High

Impact

SaaS account access and billing

Checked live by LeakWatch

No

## What a Cartesia API Key looks like

Cartesia server-side keys start with `sk_car_`, followed by a short mix of letters, digits, underscores and dashes:

```text
sk_car_…XXXX   Cartesia API key (masked)
```

The `sk_car_` prefix is specific enough that a match is worth taking seriously. Cartesia also issues a separate admin key type that uses a longer prefix, which belongs to organization administrators and is needed for some management routes, such as reviewing credit usage and key metadata. An admin key is the more serious find, because it can do more than generate audio. Treat any Cartesia key that appears in a file as a secret, and check its prefix so you know which kind you are dealing with.

The key is meant to be sent from a server or from a trusted backend, in an Authorization header. It should never be placed in a browser or mobile app, because anyone who downloads the app can read it. A key in a front-end bundle is effectively public from the moment the page loads.

## How Cartesia API Keys get leaked

-   **Client-side code.** A key placed in JavaScript or in a mobile app to call the voice API directly, which exposes it to every visitor.
-   **Committed environment files.** A `.env` file with a `CARTESIA_API_KEY` variable, pushed to a repository that was public at some point.
-   **Sample projects.** A key pasted into an example app, a demo notebook or a tutorial to show how the voice call works.
-   **CI logs.** A pipeline that prints its environment, or a debug step that echoes the request headers.
-   **Shared audio tools.** A script or plugin that stores the key in a plain configuration file on a shared machine.

## What to do in the first hour

1.  **Revoke the key.** Open the API keys page in your Cartesia account, find the key and delete it or revoke it. If the key is an admin key, revoke it with the same care and check who in your organization has admin rights.
2.  **Create a replacement** and store it in your secret manager or in a server-side environment variable. Give each service its own key, so one revocation does not stop everything.
3.  **Check usage.** Review the credit and request usage for the period since the key may have been exposed. Look for a spike in generated audio, requests at unusual hours, or voices and models you do not use.
4.  **Review the generated audio** if you can. Check whether any output was published or sent to a customer, especially if your product lets end users request voices.
5.  **Check the other secrets** in the same file or client. Rotate any other API keys that were stored with it, such as the speech-to-text or telephony keys.
6.  **Clean the code** only once the key is revoked. Move the value out of the front end and out of the repository, then remove it from the current files. See [I accidentally pushed an API key to GitHub](/blog/i-accidentally-pushed-an-api-key-to-github).

Not sure what else leaked from the same project? [Run a free scan](/).

[Not sure what else leaked? Run a free scan.](/)

## Revoke it at Cartesia

Cartesia’s API keys are created and managed in the dashboard. Open the API keys page, find the key in the list and delete it or revoke it. Cartesia’s documentation covers authentication and API conventions at [docs.cartesia.ai](https://docs.cartesia.ai), where the key is sent as a Bearer token. The documentation consulted for this guide did not describe the revocation steps in detail, so this section could not be confirmed against the live interface. Check the current API keys section of the dashboard for the exact actions available to your account.

## How LeakWatch detects it

The rule is called “Cartesia API Key”. It looks for the prefix `sk_car_`, followed by a run of letters, digits, underscores and dashes of at least twenty characters, and the match must end at a quote, a space, a semicolon, a line break or the end of the line. A key cut short, or a value with a different prefix, is not reported by this rule. The severity is **high**, with the impact class for SaaS services. **This type is not checked live**: LeakWatch does not send the key to Cartesia to see whether it still works.

LeakWatch detects this format but does **not** check it live: it can tell you the key is exposed, not whether it still works. Assume it does until you have revoked it.

## FAQ

Can a leaked Cartesia key be used to clone a voice?

This guide cannot confirm the voice features of your plan, so do not assume either way. What matters is that the key can generate audio under your account. Review the generated output and the voices you have access to, and treat any voice you do not recognize as a sign of misuse.

Is a Cartesia key the same as an admin key?

No. Server-side keys handle generation requests, and admin keys have a different prefix and can read usage and key metadata. Check which kind leaked, because an admin key deserves a wider review of the organization.

Can I just keep the old key for a day?

No. The point of rotation is to stop the leaked value from working. Create the replacement, deploy it and revoke the old key right away, so that nothing still accepts the exposed value.

## Related

-   [ElevenLabs API Key](/secrets/elevenlabs-api-key)
-   [Deepgram API Key](/secrets/deepgram-api-key)
-   [AssemblyAI API Key](/secrets/assemblyai-api-key)
-   [I accidentally pushed an API key to GitHub](/blog/i-accidentally-pushed-an-api-key-to-github)
-   [Which vendors leak most this week](/leaks/trends)
-   [All secret guides](/secrets)

[Get alerted next time a secret leaks — create a free account](/)

LeakWatch is not affiliated with Cartesia.

![Gabriel Diyan, founder of LeakWatch](/brand/Photo-Gabriel-Diyan.webp)

Gabriel Diyan (0xCr0c0)

Cybersecurity student, founder of LeakWatch. I built and run the scanner described here — the detection patterns, the false-positive classifier and the provider validators are mine. [More about who I am](/about).

[GitHub](https://github.com/Leakwatch-Scan) · [X](https://x.com/LeakwatchScan) · [LinkedIn](https://www.linkedin.com/in/gabriel-diyan-80a378375) · [GitHub (personal)](https://github.com/crocogab)

LeakWatch

Secrets leak into public commits every minute. This watches the forges for yours. Built and run by [Gabriel Diyan](/about), a cybersecurity student — [why LeakWatch exists](/about).

Scan

-   [Product](/product)
-   [Live feed](/leaks)
-   [Trends](/leaks/trends)
-   [API docs](/docs)
-   [CI/CD](/docs?tab=ci)

Read

-   [Blog](/blog)
-   [Secret guides](/secrets)
-   [Changelog](/changelog)
-   [About](/about)

Verify

-   [Security](/security)
-   [Privacy](/privacy)
-   [Terms](/terms)
-   [Legal](/legal)
-   [Contact](/contact)
-   [Status](https://status.leakwatch.net)

© 2026 LeakWatch

[GitHub](https://github.com/Leakwatch-Scan)[X](https://x.com/LeakwatchScan)
