hodetech/Leakwatch Secret Scanner

Detect, verify & report leaked secrets (API keys, tokens, credentials) in code, Git history, and container images.

View on GitHub

Trust Signals

Scorecard Score
not yet scored
Maintenance Recency
Stale
License
None
namedescriptionrequireddefault
scan-typeWhat to scan: fs (filesystem), git (repository history), or image (container image).nofs
pathPath to scan (for fs/git) or image reference (for image).no.
formatOutput format: sarif, json, csv, table, or github (inline pull-request annotations).nosarif
outputWrite formatted output to this file (relative to working-directory). Ignored for format=github. When empty and format=sarif, defaults to results.sarif.no""
only-verifiedReport only findings confirmed active by live verification.nofalse
no-verifyDisable live verification (no outbound calls to provider APIs). Recommended in CI.notrue
min-severityMinimum severity to report: low, medium, high, or critical.nolow
remediationInclude remediation guidance in the output.nofalse
configPath to a .leakwatch.yaml configuration file.no""
scan-diffFor git scans, scan only commits new to the event instead of full history. "auto" enables this on pull_request/push events, "true" forces it, "false" always scans full history. Requires a checkout with fetch-depth: 0.noauto
extra-argsAdditional raw arguments appended to the leakwatch scan command (space-separated).no""
working-directoryDirectory to run the scan from.no.
sarif-uploadUpload SARIF results to GitHub Code Scanning. Requires format=sarif and permissions: security-events: write.nofalse
fail-on-findingsFail the workflow step when leakwatch reports findings (exit code 1). When "false", a ::warning:: is emitted instead so the scan does not block the pipeline. Hard errors (exit code >= 2) always fail the step regardless of this setting.notrue
versionLeakwatch version to install: "latest" or a release tag such as v1.5.0.nolatest
release-repoGitHub repository (owner/name) to download the release binary from. Defaults to the canonical Leakwatch repo; override only for forks or self-hosted mirrors.noHodeTech/Leakwatch
namedescription
findings-countWhether secrets were reported: 1 if any finding was reported, else 0 (mirrors the leakwatch exit code; not a count).
sarif-filePath to the SARIF output file relative to the repository root (set when format=sarif).