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)
| File | Size | Uploaded | |
|---|---|---|---|
| postleaks-1.1.9.tar.gz | 19.1 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| 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
|