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.0.tar.gz (13.0 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.0-py3-none-any.whl (15.8 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: seculint-0.3.0.tar.gz
  • Upload date:
  • Size: 13.0 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.0.tar.gz
Algorithm Hash digest
SHA256 ecfb0bc74a85ca13296cfa5b05b4a5130bd1358e7de3b484c6948e0fda74a175
MD5 7e5f253a883c0931829a4d2d68cfc3df
BLAKE2b-256 e550967b8f3650c5e1ac6252ea3f3dbe51859c3f65b8f601429b6f4b94589c34

See more details on using hashes here.

File details

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

File metadata

  • Download URL: seculint-0.3.0-py3-none-any.whl
  • Upload date:
  • Size: 15.8 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.0-py3-none-any.whl
Algorithm Hash digest
SHA256 2f0b259fea50c10a5470a3f2c6e32da9a4471226f3983c3a4aef45f4fbfb95c8
MD5 1e266e2e5b27714b313f39fa0c3be8e0
BLAKE2b-256 959d4c95453eee1e669ba87d450c8e6c25474ae61aae9e433e5e0d4ac8e63c5c

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