Skip to content
Leaked secrets Write-up Beginner

Publicly Exposed Postman Collections

A public Postman collection contained a hardcoded private token, allowing anyone to access the API. The attacker forked the collection and confirmed the credentials were valid, with multiple POST and DELETE requests also possible.

Tutorgeeks Follow

Published on tutorgeeks.blogspot.com

The original lives on tutorgeeks.blogspot.com

We do not hold its text, so we link to it rather than copy it. The other two tabs are our own rewrites, checked against it.

Not written yet. The AI write-up for this write-up has not been written yet. The Original tab links to the source.

How it worked

Root cause

Likely the employee hardcoded a sensitive credential directly into a public Postman collection instead of using environment variables.

Impact

The exposed token could allow an attacker to make valid API requests, including POST and DELETE operations, potentially modifying or deleting data.

What the attacker needed

Public Postman collection; hardcoded valid credentials; no authentication beyond the token

The fix

The public workspace was deleted and the exposed secret key was rotated; additionally, credentials should not be hardcoded and environment variables should be used instead.

How it was found

  1. Search Postman for the organisation's name using a public search URL.
  2. Find a public collection containing API requests and a private token.
  3. Fork the collection to a personal workspace.
  4. Run a GET request to confirm the credentials are valid.
  5. Observe a valid response and note that POST and DELETE requests are also possible.

Explained by bugbounty.wiki with AI from the original and checked against quotes from it; it can still be wrong. Read the original before relying on a detail.

Not written yet. The AI write-up for this write-up has not been written yet. The Original tab links to the source.

A company left a secret key inside a public Postman collection, which is like a shared folder of API requests. Anyone who found that collection could use the key to access the company's API, potentially reading or changing data.

What is Leaked secrets?

Keys, tokens or passwords left in public code, apps, logs or responses, that grant real access.

More by Tutorgeeks

View all

8 more disclosed reports, best first.

Similar reports

View all

Same bug class and techniques, clearest first.

Leaked secrets and credentials

The lesson behind this report.

Keys, tokens or passwords left in public code, apps, logs or responses, that grant real access.