Skip to main content

Postleaks

Project description

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>)

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.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

postleaks-1.1.8.tar.gz (18.6 kB view details)

Uploaded Source

File details

Details for the file postleaks-1.1.8.tar.gz.

File metadata

  • Download URL: postleaks-1.1.8.tar.gz
  • Upload date:
  • Size: 18.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.6

File hashes

Hashes for postleaks-1.1.8.tar.gz
Algorithm Hash digest
SHA256 2617d9e6e6327524008b2e71de3ee89d252f3e6d04de5c825d4255ebf8f3f9b5
MD5 f1ee6760e039933a06acb9a3cbbf5b34
BLAKE2b-256 e4d9a3efd56389baf71be4df122b06a0fbde3bc4a033a2122bf236b4f94eb02f

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page