# Leaked Scalingo API Token? Revoke It Now

> Scalingo API token exposed on GitHub? Revoke it, audit apps and addons, rotate database credentials. Step-by-step guide.

Source: https://leakwatch.net/secrets/scalingo-api-token

---

[LeakWatch](/)

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

1.  [Home](/)
2.  [Secrets](/secrets)
3.  Scalingo API Token

Cloud · Secret guide

# Leaked Scalingo API Token: what to do in the first hour

High severityDetected onlyLast verified October 30, 2026 · 4 min read

A Scalingo API token authenticates calls to the Scalingo platform as the account that created it. With it, someone can list your applications, read their environment variables (which hold database URLs and third-party keys), restart or scale them, deploy code, and manage addons such as databases. The token is tied to a user rather than to one app, so the reach is the whole account. Revoke it first, then rotate whatever the applications held.

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

Provider

Scalingo

Severity

High

Impact

Cloud infrastructure access

Checked live by LeakWatch

No

## What a Scalingo API token looks like

```text
tk-us-XXXXXXXX…   Scalingo API token
```

The token starts with `tk-us-` followed by 48 characters made of letters, digits, `_` and `-`. It is shown once, when you create it in your account settings, and is exchanged by the Scalingo CLI and the API for a short-lived bearer token. You find it in `SCALINGO_API_TOKEN` variables, in CI configuration used to deploy, in scripts that call the Scalingo API, and in the CLI’s local configuration after a login with a token.

It is not an application’s own credential, nor a database password. Those appear in the environment variables of the app and are separate secrets, which are exposed in the same incident if an attacker used the token to read them.

## How Scalingo API tokens get leaked

-   **Deployment scripts.** A token inline in a script that runs the CLI to deploy or scale from a CI job.
-   **Pipeline definitions.** A token stored in a public workflow file rather than a masked secret.
-   **Committed environment files.** `SCALINGO_API_TOKEN` in a `.env` file or a Docker compose file.
-   **Automation code.** Tools that call the API to manage apps, with the token written in the source.
-   **Shared terminal output.** Logs, screenshots or pasted commands where the token appears after a login.

## What to do in the first hour

1.  **Revoke the token.** Open the API tokens section of your account settings (see the link below) and remove the exposed token. If several tokens exist, match it by name or creation date.
2.  **Create a replacement** if automation still needs one, store it in your secret manager, and update the pipelines.
3.  **Audit the applications.** For every app the account can access, look at the activity and deployment history since the exposure. Check for deployments you did not trigger, restarts, scaling changes and changed environment variables.
4.  **Rotate secrets held by the apps.** The environment variables are readable with the token, so assume the database URLs and third-party keys were seen. Rotate them and redeploy.
5.  **Check addons and databases.** Look for new users, unexpected connections and backups downloaded. Change database passwords.
6.  **Check the collaborators and the account.** Remove collaborators you do not recognize, and review the SSH keys and other tokens in the account.
7.  **Clean up the code.** 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 repository? [Run a free scan](/).

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

## Revoke it at Scalingo

Scalingo documents API token management in the user settings of the dashboard: from the account menu, open the user settings and choose the API Tokens tab, where tokens can be created, renewed and revoked. Sign in from the Scalingo dashboard. The Scalingo documentation page “Navigating the Scalingo Account Dashboard” describes this. A person has not confirmed the exact menu wording for this guide, and the interface can change, so if the page differs from this description, look for the section where API tokens are listed.

## How LeakWatch detects it

The rule is called Scalingo API Token. It accepts the literal prefix `tk-us-`, case-sensitive, followed by exactly 48 letters, digits, `_` or `-`, starting at a word boundary. The value must be followed by a quote, backtick, whitespace, `;`, an escaped line break or the end of the text. A token of another length, or with another prefix, is not reported. No variable name is required, since the prefix is distinctive. The severity is **high**. This type is not checked live: LeakWatch does not send any request to Scalingo with the token it found.

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 someone read my database with this token?

Not directly, but they can read the environment variables of your apps, which contain the database connection string. That is why you must rotate those too.

Does revoking the token stop running apps?

No. Your applications keep running; only automation that used the token fails until you give it a new one.

How do I tell which token leaked if I have several?

Match it by name and creation date in the token list. If you cannot tell, revoke all of them and recreate the ones you need.

## Related

-   [Heroku API Key](/secrets/heroku-api-key)
-   [Scaleway API Key](/secrets/scaleway-api-key)
-   [Netlify Access Token](/secrets/netlify-access-token)
-   [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 Scalingo.

![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)
