kingfisher / kingfisher-rules
AGENTS.md1.3k starsChanged 10 days agoApache-2.0View on GitHub
Follow the repository AGENTS.md. Existing Kingfisher YAML and Betterleaks TOML rules must continue to load and work without edits. New fields need backward-compatible defaults and must not silently change legacy validation/revocation behavior. Test unmodified legacy inputs. HTTP fallback profiles are optional, limited to two, and require runtime opt-in. Their reuse_primary_validation_logic and reuse_primary_revocation_logic booleans default to false. Validation reuse replaces only the primary HTTP URL; otherwise a complete HTTP validation is required. Revocation reuse requires explicit replacement URL(s), preserving the original…
Adopted by
Steady: 0 new projects took it in the last 4 weeks, none the 4 weeks before.thin data
Who's talking about mongodb/kingfisher
- A Hacker News story“Show HN: Kingfisher, a fast OSS secret scanner with validation and blast radius”Hacker News · Jan 6, 2026 · 3 points
- oxsecurity/megalinter“Consider adding Kingfisher support”GitHub · Oct 6, 2025 · 1 reactions
- NixOS/nixpkgs“kingfisher: 2.14.0 -> 2.16.0”GitHub · Nov 4, 2026
- hevnsnt/CVEngine“Plan: exposed secrets with Kingfisher (1.4)”GitHub · Nov 1, 2026
- Homebrew/homebrew-core“kingfisher 2.15.0”GitHub · Oct 28, 2026
The biggest 5 of 51 mentions linking to the repository that our crawl found. Each line is their own headline.
See all 51
Talked about on GitHub and Hacker News (51 times).
On GitHub · 50
- Oct 6, 2025Consider adding Kingfisher support — oxsecurity/megalinter1 reaction · 7 comments
- Nov 4, 2026kingfisher: 2.14.0 -> 2.16.0 — NixOS/nixpkgs0 reactions
- Nov 1, 2026Plan: exposed secrets with Kingfisher (1.4) — hevnsnt/CVEngine0 reactions
- Oct 28, 2026kingfisher 2.15.0 — Homebrew/homebrew-core0 reactions · 1 comment
- Oct 23, 2026kingfisher: 2.8.0 -> 2.14.0 — NixOS/nixpkgs0 reactions
45 more on GitHub
- Oct 22, 2026[Request]: Kingfisher — ScoopInstaller/Main0 reactions
- Oct 8, 2026kingfisher 2.11.1 — Homebrew/homebrew-core0 reactions · 1 comment
- Oct 6, 2026kingfisher 2.11.0 — Homebrew/homebrew-core0 reactions · 1 comment
- Oct 5, 2026[pre-commit.ci] pre-commit autoupdate — WeblateOrg/scripts0 reactions
- Oct 5, 2026[pre-commit.ci] pre-commit autoupdate — WeblateOrg/openshift0 reactions
- Oct 5, 2026[pre-commit.ci] pre-commit autoupdate — WeblateOrg/website0 reactions · 1 comment
- Oct 5, 2026[pre-commit.ci] pre-commit autoupdate — WeblateOrg/wllegal0 reactions
- Oct 5, 2026[pre-commit.ci] pre-commit autoupdate — WeblateOrg/weblate_schemas0 reactions · 1 comment
- Oct 5, 2026[pre-commit.ci] pre-commit autoupdate — WeblateOrg/weblate0 reactions
- Oct 5, 2026[pre-commit.ci] pre-commit autoupdate — WeblateOrg/wlc0 reactions
- Oct 5, 2026[pre-commit.ci] pre-commit autoupdate — WeblateOrg/munin0 reactions
- Oct 5, 2026[pre-commit.ci] pre-commit autoupdate — WeblateOrg/translation-finder0 reactions
- Oct 5, 2026[pre-commit.ci] pre-commit autoupdate — WeblateOrg/unicode-segmentation-rs0 reactions
- Oct 5, 2026[pre-commit.ci] pre-commit autoupdate — WeblateOrg/language-data0 reactions
- Oct 5, 2026[pre-commit.ci] pre-commit autoupdate — WeblateOrg/siphashc0 reactions
- Oct 5, 2026[pre-commit.ci] pre-commit autoupdate — WeblateOrg/fail2ban0 reactions
- Oct 5, 2026[pre-commit.ci] pre-commit autoupdate — WeblateOrg/meta0 reactions
- Oct 5, 2026[pre-commit.ci] pre-commit autoupdate — WeblateOrg/hosted0 reactions
- Oct 5, 2026[pre-commit.ci] pre-commit autoupdate — WeblateOrg/kotlin-sdk0 reactions
- Oct 5, 2026[pre-commit.ci] pre-commit autoupdate — WeblateOrg/helm0 reactions
- Oct 5, 2026[pre-commit.ci] pre-commit autoupdate — WeblateOrg/docker-base0 reactions
- Oct 5, 2026[pre-commit.ci] pre-commit autoupdate — WeblateOrg/docker-compose0 reactions
- Oct 5, 2026[pre-commit.ci] pre-commit autoupdate — WeblateOrg/graphics0 reactions
- Oct 5, 2026[pre-commit.ci] pre-commit autoupdate — WeblateOrg/fonts0 reactions
- Oct 5, 2026[pre-commit.ci] pre-commit autoupdate — WeblateOrg/docker-dev0 reactions
- Oct 5, 2026[pre-commit.ci] pre-commit autoupdate — WeblateOrg/customize-example0 reactions
- Oct 5, 2026[pre-commit.ci] pre-commit autoupdate — WeblateOrg/docker0 reactions
- Oct 5, 2026[pre-commit.ci] pre-commit autoupdate — WeblateOrg/arsc-writer0 reactions
- Oct 5, 2026[pre-commit.ci] pre-commit autoupdate — WeblateOrg/.github0 reactions
- Oct 4, 2026kingfisher 2.10.0 — Homebrew/homebrew-core0 reactions · 1 comment
- Oct 2, 2026kingfisher 2.9.1 — Homebrew/homebrew-core0 reactions · 1 comment
- Oct 1, 2026kingfisher: 1.113.0 -> 2.8.0 — NixOS/nixpkgs0 reactions · 1 comment
- Sep 29, 2026kingfisher 2.8.0 — Homebrew/homebrew-core0 reactions · 1 comment
- Sep 24, 2026kingfisher 2.7.0 — Homebrew/homebrew-core0 reactions · 1 comment
- Sep 23, 2026kingfisher 2.6.0 — Homebrew/homebrew-core0 reactions · 1 comment
- Sep 18, 2026kingfisher 2.5.0 — Homebrew/homebrew-core0 reactions · 1 comment
- Sep 17, 2026kingfisher 2.4.0 — Homebrew/homebrew-core0 reactions · 1 comment
- Sep 16, 2026kingfisher 2.3.0 — Homebrew/homebrew-core0 reactions · 1 comment
- Sep 9, 2026kingfisher 2.2.0 — Homebrew/homebrew-core0 reactions · 1 comment
- Aug 30, 2026kingfisher 2.1.0 — Homebrew/homebrew-core0 reactions · 1 comment
- Aug 18, 2026Add mongodb/kingfisher as an hk builtin (and decide whether its live-verification network calls belong in a pre-commit hook) — ray-manaloto/knowledge-base0 reactions
- Aug 8, 2026kingfisher 1.112.0 — Homebrew/homebrew-core0 reactions · 1 comment
- Aug 3, 2026[Evaluate] Secret Scanner — JJediny/LocalObserve0 reactions · 1 comment
- Jun 5, 2026[REVIEW] secrets-management: add brokered agent credential and canary-token gates — UnitOneAI/SecuritySkills0 reactions · 3 comments
- Apr 15, 2026Add MongoDB Atlas and connection string detection rules — gitleaks/gitleaks0 reactions
On Hacker News · 1
Where files are headingNew AGENTS.md files have more rules about keeping secrets out of the code, and fewer about code style.
Of the AGENTS.md files we read, the 31,439 first seen in the last six months, against the older ones: the kind of rule that gained most share, and the kind that lost most. About files like this in general, not this one, and an estimate, since a kind is a pattern in the words.
In this repository14 other files it gives its agents.
- AGENTS.mdAGENTS.md
- crates/kingfisher-python/AGENTS.mdAGENTS.md
- crates/kingfisher-rules/data/AGENTS.mdAGENTS.md
- crates/kingfisher-scanner/AGENTS.mdAGENTS.md
- docs/AGENTS.mdAGENTS.md
- docs/benchmark/AGENTS.mdAGENTS.md
- docs-site/docs/features/agents.mdAGENTS.md
- docs/viewer/AGENTS.mdAGENTS.md
- javascript/AGENTS.mdAGENTS.md
- python/AGENTS.mdAGENTS.md
- src/access_map/AGENTS.mdAGENTS.md
- CLAUDE.mdCLAUDE.md
- docs-site/docs/llms.txtllms.txt
- llms.txtllms.txt
The file
We split this AGENTS.md into the rules it gives an agent
3 rules. About 0 are common, 1 is distinctive, and 2 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈1
Distinctive · estimate
This author's own choices. Worth a look.
2
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 3
Follow the repository AGENTS.md.
- Very specific: line 12
Never implicitly inherit revocation or try alternative mutation targets.
- Distinctive: line 15
Keep legacy scalar/list HTTP URL inputs readable.
≈ “Common” is an estimate: at least 1 in 5 of the 40,246 AGENTS.md files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Rules compatibility
Follow the repository AGENTS.md. Existing Kingfisher YAML and Betterleaks TOML rules must
continue to load and work without edits. New fields need backward-compatible defaults and
must not silently change legacy validation/revocation behavior. Test unmodified legacy inputs.
HTTP fallback profiles are optional, limited to two, and require runtime opt-in. Their
reuse_primary_validation_logic and reuse_primary_revocation_logic booleans default to false. Validation
reuse replaces only the primary HTTP URL; otherwise a complete HTTP validation is required.
Revocation reuse requires explicit replacement URL(s), preserving the original HTTP action
or multi-step program. Otherwise use an independent action or leave revocation unavailable.
Never implicitly inherit revocation or try alternative mutation targets. The CLI opt-in is --fallbacks.
Describe reuse as sharing logic while explicitly replacing the target URL(s), never copying
the primary destination.
Keep legacy scalar/list HTTP URL inputs readable; do not migrate the bundled detection catalog
just to enable optional fallback behavior.
Built-in catalog
- Exclude all filename-only/path-only detectors from built-in imports, including upstream rules with a path but no content regex. Do not add them to the bundle or rely on runtime exclusions.
- Preserve content detectors that also restrict matching by path. Keep filename-only support available for explicit custom Kingfisher YAML and Betterleaks TOML rules, including their native callback-budget safeguards.
- Generally useful detectors and validation improvements must go upstream to Betterleaks.
Direct first-party rules in
data/kingfisher-rules.ymlare rare exceptions requiring a specific reason that requires shipping in Kingfisher itself, source/license provenance, tests, and a retirement condition indata/kingfisher-rules.md. Convenience or an unsubmitted upstream change is not sufficient. Replace temporary exceptions when a compatible upstream detector becomes available. - First-party exceptions feed the same maintainer-generated bundle, readable catalogs, provenance, notices, and verification pipeline as imported detectors. Do not add another catalog or runtime loader. Preserve the three broad Betterleaks generic-rule exclusions.
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

