Kingfisher
$ kingfisher Official Low RiskKingfisher is MongoDB's Apache-2.0 Rust secrets scanner combining pattern/entropy detection with live provider validation, permission blast-radius mapping (--blast-radius), --redact masking, and native --format json / --format sarif output.
brew install kingfisher kingfisher scans multi-gigabyte repos locally in Rust and emits redacted JSON/SARIF without routing raw source trees through an MCP server.
Agent-Readiness Checklist
Static evaluation (not yet probed on this host). Run npm run data:probe locally to capture live verification.
FCRS-1.0 6-Dimension Breakdown
Deterministic headless CLI with --format json|sarif, --confidence, --exclude, and --redact built for CI/agent pipelines.
- Supports
--format json,--format sarif,--redact, and--only-valid
--redact masks secret material in reports and configs are never auto-discovered without -c; note that live validation sends candidate tokens to upstream provider APIs.
- Built-in
--redactand explicit-cconfig loading
Available via brew install kingfisher and GitHub Releases for macOS, Linux, and Windows.
- Official Homebrew formula and Rust release binaries
High-throughput Rust engine with built-in --only-valid and --blast-radius prioritization.
- Live validation plus blast-radius enrichment
Actively maintained official MongoDB open-source security project.
- Maintained under github.com/mongodb/kingfisher
Comprehensive README documenting CLI options, --format, --redact, and kingfisher config init.
- Detailed docs at github.com/mongodb/kingfisher
Security, Auth & Guardrails
No account required; explicit YAML configs are loaded only when passed via -c/--config.
100% free and open-source (Apache-2.0).
# Kingfisher Agent Rules - Always pass `--redact` when outputting findings into agent logs or JSON reports. - Use `--confidence high` and `--exclude` to reduce noise; disable validation if strict offline scanning is required.
Agent-Ready Command Recipes
Safe Read-Only Queries
kingfisher scan . --redact --format json
Scans . and outputs structured JSON findings with detected secret values masked via --redact.
kingfisher scan . --only-valid --blast-radius --redact --format sarif -o kingfisher.sarif
Validates discovered credentials against providers, computes permission blast radius, and saves a redacted SARIF report.
Strengths for Agents
- +
--redactprotects agent outputs from echoing raw secrets while preserving location and rule metadata. - +
--only-validand--blast-radiusdrastically cut triage noise on large repos.
Caveats & Pitfalls
- ! Live validation probes external provider endpoints with candidate tokens unless disabled.
- ! Large rule sets can flag test fixtures without
--excludeor--confidence high.