m1rl0k/GoSecretScan

Fast secret scanner with 189+ patterns. Scans files & git history for API keys, tokens, and credentials.

View on GitHub

Trust Signals

Scorecard Score
not yet scored
Maintenance Recency
Stale
License
None
namedescriptionrequireddefault
scan-pathDirectory path to scan for secrets (default: current directory)no.
fail-onMinimum confidence level to fail: low, medium, high, critical (default: low = fail on any secret)nolow
output-formatOutput format: text, json, or sarif (default: text)notext
sarif-filePath to write SARIF output (for GitHub Security tab integration)no""
no-git-historySkip scanning git commit history (default: false, scans entire history)nofalse
git-max-commitsMaximum commits to scan in git history (0 = all)no0
configPath to config file (.gosecretscanner.json)no""
baselinePath to baseline file for suppressing known findingsno""
redactRedact secret values in output (default: true)notrue
enable-llmEnable LLM-powered verification for fewer false positives (requires Docker)nofalse
model-pathPath to the Granite GGUF model (relative to repo by default)no.gosecretscanner/models/granite-4.0-micro-Q4_K_M.gguf
llm-endpointHTTP endpoint for llama.cpp server (defaults to localhost)no""
llm-portHost port to expose the llama.cpp server onno8080
llama-imageDocker image to launch llama.cpp servernoghcr.io/ggerganov/llama.cpp:server
manage-llm-serverStart/stop the llama.cpp server inside this action (set to false when using an external service).notrue
namedescription
secrets-foundNumber of secrets found during the scan
scan-statusStatus of the scan (success or failed)
sarif-filePath to SARIF output file (if generated)