Amazon MWS Token

ID

amazon_mws_token

Severity

high

Vendor

Amazon

Family

API Token

Description

Amazon Marketplace Web Services API allows developers to create applications for Amazon sellers.

Security

Any hardcoded Amazon Marketplace Web Services Token is a potential secret reported by this detector.

Accidentally checking-in the key to source control repositories could compromise your Amazon Marketplace Web Services account.

Examples

amzn.mws.33arc321-bc43-as23-3b5d-82fe23080eb5

Mitigation / Fix

  1. Remove the Token from the source code or committed configuration file.

  2. Follow your policy for handling leaked secrets, which typically require revoking the secret in the target system(s). Tokens can be revoked from the console.

  3. If under a git repository, you may remove unwanted files from the repository history using tools like git filter-repo or BFG Repo-Cleaner. You may follow the procedure listed here for GitHub.

You should consider any sensitive data in commits with secrets as compromised.

Remember that secrets may be removed from history in your projects, but not in other users' cloned or forked repositories.