Skip to main content

A CLI tool to detect secrets in repositories for maintaining best security practices.

Project description

PyPI version
Python versions
Build Status
License: MIT

secchecker

secchecker is a Python package + CLI tool to detect hidden or untracked hardcoded secrets in repositories, helping developers keep their projects secure and audit-ready.

✨ Features

  • Detects common secret types:
    • Database credentials (Postgres, MySQL, Mongo)
    • Cloud keys (AWS, GCP, Azure)
    • Authentication tokens (JWTs, Private Keys)
    • Generic API keys & passwords in configs
  • Generates JSON and Markdown reports
  • Easy CLI usage for DevSecOps pipelines

🚀 Installation

Clone the repository and install in editable mode:

git clone https://github.com/yourusername/secchecker.git
cd secchecker
pip install -e .

🛠 Usage

Scan a repository or project folder:

secchecker path/to/scan --format md

Options:

  • --format json → generate JSON report
  • --format md → generate Markdown report

Example:

secchecker . --format json

⚠️ Disclaimer

secchecker is intended only for security auditing of repositories you own or have explicit permission to test.

  • Misuse of this tool to access, scan, or extract information from systems you do not own is strictly prohibited and may violate the law.
  • The author(s) assume no liability for misuse or damages caused by this software.

📜 Terms & Conditions

By using secchecker, you agree to the following:

  1. You will only use this tool on codebases you own or have explicit authorization to audit.
  2. You will not use this software for malicious purposes, including but not limited to unauthorized access, exploitation, or data theft.
  3. The software is provided “as is,” without warranty of any kind, express or implied.
  4. The author(s) are not responsible for any damages, losses, or legal consequences arising from the use or misuse of this software.
  5. You accept full responsibility for ensuring that your use of this tool complies with applicable laws and regulations in your jurisdiction.

🤝 Contributing

Contributions are welcome!

  • Fork the repo
  • Create a feature branch
  • Submit a pull request 🚀

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

secchecker-0.1.2.tar.gz (5.9 kB view details)

Uploaded Source

Built Distribution

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

secchecker-0.1.2-py3-none-any.whl (6.9 kB view details)

Uploaded Python 3

File details

Details for the file secchecker-0.1.2.tar.gz.

File metadata

  • Download URL: secchecker-0.1.2.tar.gz
  • Upload date:
  • Size: 5.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.13.2

File hashes

Hashes for secchecker-0.1.2.tar.gz
Algorithm Hash digest
SHA256 7cd36eb48e2c42015b84be3df713aa525583a407f4c1f2c115f5655a38abe241
MD5 bf6c1bf822db3b9d2613b4f578e4bce0
BLAKE2b-256 9fcf679ac07ee8ef2afba4536f76553c50db3a43fcede3e42a8b657066e6a86f

See more details on using hashes here.

File details

Details for the file secchecker-0.1.2-py3-none-any.whl.

File metadata

  • Download URL: secchecker-0.1.2-py3-none-any.whl
  • Upload date:
  • Size: 6.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.13.2

File hashes

Hashes for secchecker-0.1.2-py3-none-any.whl
Algorithm Hash digest
SHA256 3139993dc36451bd0847bbb0a9cf39f69cb46762b3b25be6ae34a69b7c362400
MD5 a21af18d37f2f74f22c2b2885f13769f
BLAKE2b-256 77914333ccdb6cc721ba177ac3dcfc03e3d61d7bf5616aaab52daa2d4730d221

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