Repository navigation
Find leaked API keys and secrets in your code, pull requests and git history. Results go to code scanning (SARIF), the job summary, and optionally a PR comment.
- uses: actions/checkout@v4
with:
fetch-depth: 0
- uses: Vasishta03/leakscan@v1
with:
mode: pr # full, pr or history
fail-on: HIGH
pr-comment: trueWhat's in 0.5.x
- 208 detection rules with stable IDs (
LS-AWS-001), covering cloud, AI/ML APIs, payments, CI tokens, databases, and secrets in Dockerfiles, Terraform, Kubernetes and GitHub Actions workflows - Scans PR diffs, git history, Jupyter notebooks (per cell and output), archives, Docker images, PyPI/npm packages and any git remote
- Fewer false positives: placeholder filtering, GitHub token checksums, Luhn and JWT validation, and a confidence score on every finding
- Optional live verification for 51 secret types, read-only, with an explicit consent flag for third-party targets
- Output formats: SARIF, JSON (versioned schema), HTML, JUnit, Markdown, SonarQube, DefectDojo
- Exit codes: 0 clean, 1 findings at or above
fail-on, 2 error
0.5.2 has no code changes. It's the first release published entirely under the new repository name Vasishta03/leakscan (formerly secret-scanner), which clears PyPI's provenance-change notice.
Full changelog: https://github.com/Vasishta03/leakscan/blob/main/CHANGELOG.md
Docs: https://vasishta03.github.io/leakscan/