# Leaked Amazon MWS Auth Token? Revoke Access Now

> Amazon MWS auth token exposed on GitHub? Revoke the app authorization in Seller Central and audit orders and reports. Step-by-step guide.

Source: https://leakwatch.net/secrets/amazon-mws-key

---

[LeakWatch](/)

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

1.  [Home](/)
2.  [Secrets](/secrets)
3.  Amazon MWS Auth Token

Payments · Secret guide

# Leaked Amazon MWS Auth Token: what to do in the first hour

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

An Amazon MWS auth token is a credential a seller gives to a developer or an application so that it can act on the seller’s account through Amazon Marketplace Web Service. Depending on what the seller authorized, the holder can read orders and customer shipping data, download reports, manage listings and inventory, and read settlement and payment information. The main dangers are exposure of buyer data and of sales and payment figures. Amazon has been retiring MWS in favor of the Selling Partner API, but old tokens and old authorizations can linger in code and in seller accounts. Revoke the authorization first, then investigate.

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

Provider

AWS

Severity

High

Impact

Payments and customer data

Checked live by LeakWatch

No

## What an Amazon MWS Auth Token looks like

An MWS auth token starts with `amzn.mws.` followed by a UUID: 36 hexadecimal characters in groups of 8, 4, 4, 4 and 12, separated by dashes:

```text
amzn.mws.XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX   Amazon MWS auth token (masked)
```

The prefix is distinctive, which makes the token easy to recognize. It is not the only MWS credential. A working MWS integration also involves the seller ID (also called merchant ID), the marketplace ID, and an AWS access key ID and secret key that belong to the developer account and sign the requests. Those values look like ordinary Amazon identifiers and do not carry the `amzn.mws.` prefix. If the leaked file contains them, treat them as part of the same incident. Typical variable names are `MWS_AUTH_TOKEN`, `AMAZON_MWS_AUTH_TOKEN` and `MWSAuthToken`, and the token is sent with requests in a parameter named `MWSAuthToken`.

## How Amazon MWS Auth Tokens get leaked

-   **Integration code.** A script or plugin that syncs orders, inventory or prices, written years ago with the token and the signing keys typed into a configuration array.
-   **Environment files.** `MWS_AUTH_TOKEN` in a `.env` or compose file that lands in a repository.
-   **E-commerce plugins and agency projects.** A store connector or an agency’s repository shared with a client or published, with the seller’s credentials inside.
-   **Shared documentation and tickets.** A setup guide, a support ticket or a forum post pasting a working configuration to explain an error.
-   **Forgotten legacy code.** Old repositories kept after the move to the Selling Partner API, still holding working values.

## What to do in the first hour

1.  **Revoke the authorization.** Sign in to Seller Central with the account that granted the token and open the page where third-party developers and apps are managed (see the link below). Remove the developer or app authorization that matches the leak. This is the step that ends the token’s access.
2.  **Replace the integration.** Because MWS is being retired, move to the Selling Partner API with its own authorization flow rather than issuing a new MWS token if you can. If you must keep MWS for now, authorize the app again to get a new token.
3.  **Rotate the signing keys.** If the leaked file held an AWS access key and secret for the developer account, rotate them as well. They are separate from the auth token.
4.  **Audit what was accessed.** Review recent orders, reports, listing and price changes, inventory changes and any new report requests since the exposure. Look for exports of customer data and for changes you did not make.
5.  **Check the account.** Look at users and permissions on the seller account, the bank and payment settings, and any messages from Amazon about suspicious activity. Turn on two-step verification if it is not already active.
6.  **Tell the right people.** If buyer data may have been read, check your obligations under data-protection rules and your agreement with Amazon.
7.  **Clean up the code.** Remove the value from current files and check the commit history. 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 Amazon

MWS authorizations are managed by the seller, from Seller Central, in the area where apps and developers with access to the account are listed. Open your Seller Central account, find the developer or app that received the token, and remove its authorization. A person has not confirmed the exact menu wording for this guide, Amazon has been phasing MWS out, and the interface can change, so if the page differs from this description, look for the section where third-party developers are listed, and follow the Selling Partner API migration documentation published by Amazon. Check the result by confirming that the developer no longer appears in the list.

## How LeakWatch detects it

The rule is called AWS MWS Key. It recognizes the literal text `amzn.mws.` followed by a UUID in lowercase hexadecimal, with the groups of 8, 4, 4, 4 and 12 characters separated by dashes. The text `amzn.mws.` must be present as a keyword, and no variable name is needed. A UUID without that prefix, a prefix followed by uppercase hex or by a different grouping, is not reported. The severity is **high**, with the impact class for payment data. This type is not checked live: LeakWatch does not send any request to Amazon with the token it found, and the rule does not look for the seller ID or signing keys that go with it.

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

MWS is deprecated. Is a leaked token still dangerous?

It can be. Amazon announced the removal of MWS, but a stale authorization on a seller account may remain, and treating it as live costs little. Remove the authorization and confirm that the developer no longer appears in the account.

Can the token alone be used to call the API?

Usually not. Requests are also signed with the developer’s AWS credentials, and they need the seller ID. That is why you should look for those values in the same file and rotate them too.

Does this expose my Amazon customer password?

No. The token authorizes an application to act on the seller account within the permissions granted. It does not reveal your login password, but it can expose buyer and sales data.

## Related

-   [Stripe secret key](/secrets/stripe-secret-key)
-   [Square Access Token](/secrets/square-access-token)
-   [PayPal Braintree Access Token](/secrets/paypal-braintree-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 AWS.

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