シークレットを検出。ライブで検証。影響範囲をマッピング。迅速に失効。CLIを実行するか、Rust、Python、Node.jsに組み込む。
Find leaked secrets. Validate what’s live. Map the blast radius. Revoke fast.
Kingfisher is a fast, free, open-source secret scanner and credential response tool built in Rust. It detects leaked secrets with hundreds of built-in rules, validates which credentials are active, maps access for supported credential types, and revokes supported secrets—all in one Apache-2.0-licensed release:
Detect → Validate → Map → Triage → Revoke
Defender workflow: Follow the end-to-end defender workflow for secret detection, validation, notifications, blast-radius mapping, and revocation.
Add native secret detection, live credential validation, and explicit revocation to your Python, JavaScript/TypeScript (Node.js), or Rust application. The same Rust engine and rule catalog run in-process, with no CLI subprocess required. Kingfisher is an embeddable secret scanner that also runs as a standalone CLI.
Choose your language and add the SDK to your existing application:
Python:
uv add kingfisher-secret-scanner
Import kingfisher_sdk. See the Python SDK guide and
runnable examples for scanning, validation, rule inspection,
and explicit revocation.
Node.js / TypeScript:
npm install kingfisher-secret-scanner
The stable npm SDK 1.0.0 wraps the same Rust crates with napi-rs. See the Node SDK guide and source/examples. It targets Node.js, including VS Code workspace extensions, rather than browser/WASM runtimes. Explore Kingfisher Workbench, a commented showcase with live progress, Git-history scanning and a redacted HTML report, or start with the runnable recipe walkthrough; maintainers can follow the npm trusted-publishing setup.
Rust:
cargo add kingfisher-scanner --features validation
The validation feature enables live validation and revocation; omit
--features validation for detection only. See the library guide,
runnable examples, and
revocation guide.
Or install the CLI, scan a codebase, and open the interactive HTML report:
uv tool install kingfisher-bin
kingfisher scan /path/to/code --view-report
Replace /path/to/code with your source directory. Scans validate credentials by
default; add --no-validate for detection only. Add --blast-radius to map supported
credentials' access when authorized. Revocation remains a separate, explicit action.
See the CLI installation guide and
usage guide for more options.
Kingfisher handles local files and directories, Git repositories and history, compressed and office-document archives, SQLite databases, Python bytecode, Docker images, source-hosting organizations, cloud object storage, collaboration tools, and API-development platforms.
| Files / Dirs | Local Git | GitHub | GitLab | Azure Repos | Bitbucket | Gitea | Hugging Face |
|---|---|---|---|---|---|---|---|
Files / Dirs | Local Git | GitHub | GitLab | Azure Repos | Bitbucket | Gitea | Hugging Face |