Directory Compare FCRS-1.0 /llms.txt
← Back to Directory

Kingfisher

$ kingfisher Official Low Risk
MongoDB · Security & Secrets · Apache-2.0 · macos / linux / windows

Kingfisher 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.

FCRS-1.0 Score
90 /100
Excellent
Medium Confidence
Zero-Friction Install
brew install kingfisher
CLI vs MCP Decision CLI Only

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

✓ JSON Output
— Field Filtering
✓ Non-Interactive
— Dry-Run
✓ Read-Only Mode
— NO_COLOR Clean
— Self-Describing
— Official SKILL.md

Static evaluation (not yet probed on this host). Run npm run data:probe locally to capture live verification.

FCRS-1.0 6-Dimension Breakdown

Agent-Readiness 23 / 25

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
Trust & Safety 22 / 25

--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 --redact and explicit -c config loading
Setup & Portability 14 / 15

Available via brew install kingfisher and GitHub Releases for macOS, Linux, and Windows.

  • Official Homebrew formula and Rust release binaries
Utility & Efficiency 14 / 15

High-throughput Rust engine with built-in --only-valid and --blast-radius prioritization.

  • Live validation plus blast-radius enrichment
Maintenance & Lineage 9 / 10

Actively maintained official MongoDB open-source security project.

  • Maintained under github.com/mongodb/kingfisher
Docs & Verifiability 8 / 10

Comprehensive README documenting CLI options, --format, --redact, and kingfisher config init.

  • Detailed docs at github.com/mongodb/kingfisher

Security, Auth & Guardrails

Auth Modes
No Auth Config File
Credential Storage

No account required; explicit YAML configs are loaded only when passed via -c/--config.

Side Effects
Read-Only Local Write
Cost & Quotas

100% free and open-source (Apache-2.0).

Copyable Guardrail for CLAUDE.md / AGENTS.md
# 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

Scan repository with redacted JSON output
kingfisher scan . --redact --format json

Scans . and outputs structured JSON findings with detected secret values masked via --redact.

Filter for live-validated secrets and blast radius
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

  • + --redact protects agent outputs from echoing raw secrets while preserving location and rule metadata.
  • + --only-valid and --blast-radius drastically 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 --exclude or --confidence high.

Tested Agent Hosts

Claude Code Codex CLI Gemini CLI