Skip to main content

Postleaks

Description

Postman is an awesome platform to build and use APIs, used by millions developers.
It proposes also public API assets built by them which can contains custom endpoints and data. Unfortunately, these items can leak sensitive data about private websites and companies.
This script is aimed to search for these pieces of information in Postman public library.

Installation

pip3 install postleaks

or

pip3 install .

Usage

❯ postleaks -h
usage: postleaks [-h] [-k KEYWORD] [-kf KEYWORD_FILE] [--extend-workspaces] [--strict] [--include INCLUDE] [--exclude EXCLUDE] [--raw] [--output OUTPUT]

Postleaks 🚀💧 Search for sensitive data in Postman public library.

options:
  -h, --help           show this help message and exit
  -k KEYWORD           Keyword (Domain, company, etc.)
  -kf KEYWORD_FILE     File containing keywords (one per line)
  --extend-workspaces  Extend search to Postman workspaces linked to found requests (warning: request consuming and risk of false positive)
  --strict             Only include results where keywords are in the URL (warning: could miss some results where the final URL is a variable)
  --include INCLUDE    URL should match this string
  --exclude EXCLUDE    URL should not match this string
  --raw                Display raw filtered results as JSON
  --output OUTPUT      Store JSON in specific output folder (Default: results_<TIMESTAMP>)
  --debug              Display HTTP debug info (sent/received headers, request body/params, full responses

The results are available in results_<TIMESTAMP> subfolder. The filename is the request identifier in Postman.com

Example

Limitations

02/2024: Postman.com is limiting the results to 300 items (page size of 100 / offset of 200).
12/2024: Postman.com is limiting the results to 225 items (page size of 25 / offset of 200).

Notes

Secret detection is done with whispers. Rules are stored in config.yml file.

Metadata

Release files for postleaks 1.1.9

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for postleaks 1.1.9
File Size Uploaded
postleaks-1.1.9.tar.gz 19.1 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for postleaks 1.1.9
File Interpreter ABI Platform
postleaks-1.1.9-py3-none-any.whl Python 3 none any Details

Total release size: 38.9 kB

Release files / postleaks-1.1.9.tar.gz

Download URL postleaks-1.1.9.tar.gz
Size 19.1 kB
Tags Source
SHA-256 checksum
How to use checksums
26ebf41e45a2897cdc256daafa5053e63da40f7ce340a4d32e716dda323e8442
BLAKE2b-256 checksum
How to use checksums
8621fbe507a8b564ad31720e8185ae551809a3a6efaafda57c69ba26dafc9f48
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.13.14

Release files / postleaks-1.1.9-py3-none-any.whl

Download URL postleaks-1.1.9-py3-none-any.whl
Size 19.8 kB
Tags Python 3
SHA-256 checksum
How to use checksums
fc5105ee6fa28eac0a3c0210e32d12e2b8a849c41723f8f22172ec7eb376db0d
BLAKE2b-256 checksum
How to use checksums
2aafd29fba9be9e1232721c189f37f877feddea570a350ba0d187b522b5a0b35
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.13.14

Release history Release notifications | RSS feed

This release

1.1.9 This release

2 release files

1.1.8

1 release file

1.1.7

1 release file

1.1.6

2 release files

1.1.5

2 release files

1.1.4

2 release files

1.1.3

2 release files

1.1.2

2 release files

1.1.1

2 release files

1.1.0

2 release files

1.0.1

2 release files

1.0.0

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page