Skip to main content

Local secret & privacy leak scanner with optional AI verification

Project description

🔒 SecuLint — Secret & Privacy Leak Scanner

Version 0.3.0 — New filters, debugging tools, JSON reporting & pattern configs!


📦 Installation

pip install seculint

Run a quick scan:

seculint --path .

Enable AI mode:

seculint --path . --enable-ai

📝 What is SecuLint?

SecuLint is a fast, offline-first secret & privacy leak scanner detecting:

  • Hard-coded credentials
  • API keys & OAuth tokens
  • JWTs, bearer tokens
  • Database passwords & URIs
  • Private keys (RSA/PEM)
  • Personal data

Outputs include: terminal, JSON reports, HTML reports, and optional AI verification.


🚀 Key Features

  • Recursive scanning
  • JSON/HTML outputs
  • AI-based verification
  • Custom pattern configs
  • Changed-only scanning
  • Debug ignore mode
  • Extension filtering
  • Fast & offline

🛠️ CLI Arguments

Includes:

  • --path
  • --enable-ai
  • --changed-only
  • --debug-ignore
  • --include-ext
  • --exclude-ext
  • --max-size
  • --config
  • --json-report

🧩 Pattern Config Example

{
  "patterns": {
    "AWS_SECRET_KEY": { "enabled": true, "severity": "HIGH" },
    "PRIVATE_KEY": { "enabled": true, "severity": "CRITICAL" }
  }
}

📊 JSON Report Example

seculint --path . --json-report reports/findings.json

🧪 Example Full Command

seculint --path .   --include-ext .py .json   --exclude-ext .log   --changed-only   --debug-ignore   --config config/patterns.json   --json-report reports/findings.json   --enable-ai

🗂️ Recommended .seculintignore

venv/
dist/
build/
__pycache__/
*.log
*.cache/
node_modules/

📚 Version History

  • v0.3.0 — Added filters, JSON reports, config engine, debug-ignore
  • v0.2.0 — Added AI mode
  • v0.1.0 — Initial release

License

MIT License.

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

seculint-0.3.1.tar.gz (13.3 kB view details)

Uploaded Source

Built Distribution

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

seculint-0.3.1-py3-none-any.whl (15.9 kB view details)

Uploaded Python 3

File details

Details for the file seculint-0.3.1.tar.gz.

File metadata

  • Download URL: seculint-0.3.1.tar.gz
  • Upload date:
  • Size: 13.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/2.2.1 CPython/3.11.9 Windows/10

File hashes

Hashes for seculint-0.3.1.tar.gz
Algorithm Hash digest
SHA256 73f9caa262419d2eaec77045eb6665b68f0ab8b411c943e92a28b9da6ec575e1
MD5 12d1828d0769d222bef4fa84e8a2aa8a
BLAKE2b-256 f4b3d6b0f133bfb2476eecb98e99de728fb4b559c9e78ea1aae752ea51165ec3

See more details on using hashes here.

File details

Details for the file seculint-0.3.1-py3-none-any.whl.

File metadata

  • Download URL: seculint-0.3.1-py3-none-any.whl
  • Upload date:
  • Size: 15.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/2.2.1 CPython/3.11.9 Windows/10

File hashes

Hashes for seculint-0.3.1-py3-none-any.whl
Algorithm Hash digest
SHA256 bec8ee24b56f973ea9a96a0554e2775733d2f4d590ef78580096e4a6d316529c
MD5 263d3f350f82453ec4654fd45a2d9638
BLAKE2b-256 dd8828390b351636eb496ae7b894e033276a9c01277c5997b6e9ac5bed8e8a0f

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