kingfisher / benchmark
AGENTS.md1.3k starsChanged 10 days agoApache-2.0View on GitHub
Applies to this directory, including main.go, generated reports, and README.md. - Keep main.go as the only Go source file in this directory. It contains the executable benchmark harness and chart generation. Do not add a separate main_test.go or alternate Go implementation. - Build from this directory with go build -o benchmark main.go, and run the resulting executable with the required benchmark options. Check compilation and use targeted benchmark runs to validate changes. - Use a detection-only run of Kingfisher, TruffleHog,…
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/AGENTS.mdAGENTS.md
- crates/kingfisher-rules/data/AGENTS.mdAGENTS.md
- crates/kingfisher-scanner/AGENTS.mdAGENTS.md
- docs/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
6 rules. About 0 are common, 4 are distinctive, and 2 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈4
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 8
Keep main.go as the only Go source file in this directory.
- Very specific: line 17
Use a detection-only run of Kingfisher, TruffleHog, and Gitleaks for
- Distinctive: line 24
Validated / Verified Findings: Use this run's network counts and verified findings for those sections.
- Distinctive: line 26
Use the same repository revisions and history for both runs.
- Distinctive: line 35
Use the reference image as the visual specification for the runtime chart.
- Distinctive: line 72
Keep README commands aligned with the harness and actual execution logs.
≈ “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
Benchmark Agent Guidance
Applies to this directory, including main.go, generated reports, and README.md.
Single Go Source File
- Keep main.go as the only Go source file in this directory. It
contains the executable benchmark harness and chart generation. Do not add
a separate
main_test.goor alternate Go implementation. - Build from this directory with
go build -o benchmark main.go, and run the resulting executable with the required benchmark options. Check compilation and use targeted benchmark runs to validate changes.
Separate Comparison Runs
- Use a detection-only run of Kingfisher, TruffleHog, and Gitleaks for Runtime Comparison. These are the only supported comparison tools. Explicitly disable credential validation in Kingfisher and verification in TruffleHog. Gitleaks runs as a detection-only scanner. Generate the runtime chart from this run's data.
- Perform a separate run of only TruffleHog and Kingfisher, with credential verification/validation enabled, for Network Requests Comparison and Validated / Verified Findings. Use this run's network counts and verified findings for those sections.
- Use the same repository revisions and history for both runs. Keep other scan settings comparable, and document any differences that affect interpretation.
- Preserve separate raw outputs and identify each report's validation mode and data source. Do not mix results between modes or relabel existing validation-enabled timings as detection-only results; rerun the affected comparisons when changing methodology.
Chart Generation
- Use the reference image as the visual specification for the runtime chart. Match its layout, typography, spacing, legend, axes, grid, bar outlines, arrow annotations, and footer while plotting the newly measured results. Inspect the reference and generated image visually.
- Generate charts deterministically from benchmark results through the chart renderer in main.go (QuickChart, Chart.js v4). Do not fabricate measurements or use an AI-generated image for the data chart.
- Render a white-background PNG at 1360 × 966 pixels, with a 52 px Georgia
title, “Runtime comparison”. Use Kingfisher green
#01ec64, TruffleHog blue#4a85e8, and Gitleaks amber#fabd05, with dark text and Kingfisher bar outlines in#011e2a. Show each program's version beneath its legend name and the analysis month/year directly beneath the title. Read the analysis date from the saved report, not the chart-regeneration clock. - Plot grouped bars by repository, with runtime in seconds. Point downward arrows at Kingfisher's bars and calculate faster/slower annotations against the fastest successful competing tool for each repository. Omit failed or missing measurements rather than plotting them as zero. Keep labels legible and free of clipping or overlap.
- Save the chart as
runtime-comparison-<timestamp>.pngalongside its sourcecomparison_*.mdreport. Use only detection-only runtime data; keep the validation-enabled comparison data separate. - To regenerate a chart without rescanning, run from this directory:
go run main.go -chart-from <results-directory>. This reads the saved report and writes a new timestamped PNG. Confirm the report uses the required validation mode before regenerating, and document this command in the README.
Commands and Reproducibility
- The README must show the command line used to run each tool, including the distinct detection-only and validation-enabled commands where applicable.
- Generalize repository and output paths with defined placeholders so each command is printed once per tool and mode, rather than repeated for every repository.
- Include all flags used, especially those controlling validation, verification, history, concurrency, output, and update checks. Keep run commands limited to the supported scanners; do not restore retired flags or tool integrations from archived reports or source snapshots.
- Keep README commands aligned with the harness and actual execution logs. Record tool versions, repository revisions, measurement environment, and scan failures or input-processing diagnostics alongside the results.
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.

