# Leaked Shippo API Token? Regenerate It Now

> Shippo API token exposed on GitHub? Regenerate it, review purchased labels and addresses, and clean up the code. Step-by-step guide.

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

---

[LeakWatch](/)

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

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

Payments · Secret guide

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

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

A Shippo API token lets whoever holds it call the Shippo shipping API as your account. A live token can create shipments, buy postage labels that are charged to the payment method on the account, request refunds, and read the addresses, parcels and tracking data you stored, which means customer names and street addresses. A test token is far less dangerous, because it does not buy real labels. The main danger of a live token is spending money and exposing customer data. Revoke it first, then investigate.

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

Provider

Shippo

Severity

High

Impact

SaaS account access and billing

Checked live by LeakWatch

No

## What a Shippo API token looks like

A Shippo token starts with `shippo_`, then the word `live` or `test`, then an underscore and 40 hexadecimal characters:

```text
shippo_live_XXXX…XXXX   live token (masked, 40 hex characters after the second underscore)
shippo_test_XXXX…XXXX   test token (masked, same length)
```

The live and test variants have the same shape, so look at the word in the middle: `test` tokens work against Shippo’s sandbox data, `live` tokens work against your real account. Shippo sends the token in the `Authorization` header with the `ShippoToken` scheme, so that word is a useful thing to search for in code and logs. The usual variable names are `SHIPPO_API_TOKEN` or `SHIPPO_TOKEN`. A string with a different prefix, non-hexadecimal characters or a body shorter than 40 characters is not a Shippo token.

## How Shippo API tokens get leaked

-   **Hardcoded in checkout code.** A shipping-rate or label call written during an integration, with the token typed into the client and committed.
-   **Environment files.** `SHIPPO_API_TOKEN` in a `.env`, Docker compose or deployment file that reaches a repository.
-   **E-commerce plugins and themes.** Store extensions that keep the token in a settings export or a sample configuration shared on a forum.
-   **Frontend bundles.** A token placed in browser code to fetch rates directly, where anyone can read it from the shipped JavaScript.
-   **Logs and support tickets.** The `Authorization` header printed by a debug option, or pasted into a request for help.

## What to do in the first hour

1.  **Sign in to Shippo** and open the page where API tokens are listed (see the link below). Identify the exposed token, live or test, by its last characters.
2.  **Regenerate the token.** Do this before cleaning anything else. If the token is clearly being abused, accept a short interruption of your shipping flow.
3.  **Deploy the new token** to the application or secret store, then request a test rate to confirm it works.
4.  **Check purchased labels.** Review the list of labels and transactions since the exposure. Look for labels you did not create, unknown destinations, large batches or refund requests.
5.  **Check the billing side.** Look at the charges on the payment method linked to the account, and contact Shippo support for any label bought by someone else.
6.  **Review stored data.** Check the addresses, orders and any webhooks configured on the account for entries you do not recognize, and remove them.
7.  **Clean up the code** and look for other secrets next to the token. 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 Shippo

Shippo API tokens are managed from the API section of the settings in your Shippo account, after you sign in as a user allowed to manage them. Find the exposed token and generate a new one, or delete the old one if the page offers it. A regenerated token should replace the old value, so confirm that the old one is rejected. 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 shown, and follow Shippo’s documentation.

## How LeakWatch detects it

The rule is called Shippo API Token. It looks for `shippo_` followed by `live` or `test`, an underscore, and exactly 40 hexadecimal characters in either case. The match must be followed by a closing character: a quote, backtick, whitespace, a semicolon, an escaped line break or the end of the text. A body shorter than 40 characters, a different word instead of `live` or `test`, or a longer run of characters that continues after the 40th is not reported. The rule needs no variable name next to the token, because the prefix is distinctive. The severity is **high**. This type is not checked live: LeakWatch does not send any request to Shippo with the token it found, so it cannot tell a live token from a revoked one.

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 buy shipping labels with a leaked live token?

Yes. A live token acts on your account, and labels are charged to its payment method. Regenerate it, then review the labels and charges since the exposure.

Is a leaked test token a problem?

A smaller one. It works only against sandbox data, so it cannot buy real postage. Still replace it, because test tokens often sit next to live ones in the same file.

Will regenerating the token break my store?

Until you deploy the new value, shipping rates and label creation will fail. Prepare the deployment first, then regenerate, unless the token is being abused right now.

## Related

-   [Stripe secret key](/secrets/stripe-secret-key)
-   [Square Access Token](/secrets/square-access-token)
-   [Shopify Access Token](/secrets/shopify-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 Shippo.

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