Skip to main content

Scan SaaS sources for leaked secrets. Backend-agnostic (trufflehog, gitleaks, native regex), source-agnostic (every connector saas-scraper provides — incl. GitHub issues + PRs from saas-scraper 0.5).

Project description

pleno-secret-scanner (Python)

Python CLI that scans SaaS content for leaked secrets, backed by saas-scraper for source collection and a pluggable detection backend (trufflehog, gitleaks, or a tiny built-in regex set).

The Go binary in this repo (cmd/pleno-secret-scanner) remains for filesystem-only scans; the Python package is the path forward for any SaaS source.

Install

uv tool install pleno-secret-scanner
# or
pipx install pleno-secret-scanner
playwright install chromium

Usage

# Scan a Slack workspace using the trufflehog backend (requires trufflehog on PATH)
pleno-secret-scanner scan slack --workspace acme --backend trufflehog

# Scan a GitHub repo (code only, default)
pleno-secret-scanner scan github --owner plenoai --repo saas-scraper

# Also scan issues + PR conversations and diffs
pleno-secret-scanner scan github --owner plenoai --repo saas-scraper \
    --resource code --resource issues --resource prs

# Output formats
pleno-secret-scanner scan slack --workspace acme --format sarif > findings.sarif

Backends

Backend Verifies System dep
trufflehog yes (per-detector) trufflehog CLI on PATH
gitleaks no gitleaks CLI on PATH
native no none — bundled regex set (AWS, GitHub PAT, Slack bot, OpenAI, Anthropic)

Connectors

Anything saas-scraper provides: filesystem, slack, github, gitlab, bitbucket, jira, confluence, notion. New connectors land in saas-scraper and become immediately available here.

Release

Tag py-vX.Y.Z triggers PyPI trusted publishing via GitHub Actions.

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

pleno_secret_scanner-0.3.0.tar.gz (10.4 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

pleno_secret_scanner-0.3.0-py3-none-any.whl (15.6 kB view details)

Uploaded Python 3

File details

Details for the file pleno_secret_scanner-0.3.0.tar.gz.

File metadata

  • Download URL: pleno_secret_scanner-0.3.0.tar.gz
  • Upload date:
  • Size: 10.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.12.8

File hashes

Hashes for pleno_secret_scanner-0.3.0.tar.gz
Algorithm Hash digest
SHA256 2dd596bf61edda763d5b377cdc9f45d8bd373628c2a7749fe51310f7c579ac13
MD5 7ad67bb930df886b8df0382d5fff938d
BLAKE2b-256 250712e3835a5062df597360283b2cbd3bf4b679597a8c7778ded8140cc3565e

See more details on using hashes here.

Provenance

The following attestation bundles were made for pleno_secret_scanner-0.3.0.tar.gz:

Publisher: release-py.yml on plenoai/pleno-secret-scanner

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file pleno_secret_scanner-0.3.0-py3-none-any.whl.

File metadata

File hashes

Hashes for pleno_secret_scanner-0.3.0-py3-none-any.whl
Algorithm Hash digest
SHA256 4ac931d82be1e814a0082758ac98db26cd67bf9c16c7d8bf77e6f019476d57db
MD5 5f46152aecba514ccd7934c11f0ab8de
BLAKE2b-256 8602889d68f64beecb1f44a37afe512524547cf5db94c793d3289a604bd08e7a

See more details on using hashes here.

Provenance

The following attestation bundles were made for pleno_secret_scanner-0.3.0-py3-none-any.whl:

Publisher: release-py.yml on plenoai/pleno-secret-scanner

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

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