Postman API Key

ID

postman_api_key

Severity

low

Vendor

Postman

Family

API Token

Description

Postman is an API platform for developers to design, build, test and iterate their APIs.

They provide an API to access to online resources.

Security

Any hardcoded Postman Key is a potential secret reported by this detector.

Accidentally checking-in the keys to source control repositories could compromise your Postman account.

Suspicious activity could be detected by checking the API Key latest accessed data from the API Keys Dashboard.

Examples

key = PMAK-635fa14a10f84b129a420755-9345990c544d4739c7713545fa87364207

Mitigation / Fix

  1. Remove the Key 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). API Key revocation can be handled from the API Keys Dashboard.

  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.