Repository navigation
docs: add OpenSSF Best Practices badge guides - #5176
Merged
TomOnTime merged 2 commits intoDec 5, 2026
Merged
Conversation
Add developer-only copy-paste guides for filling out the OpenSSF Best Practices badge form (passing and silver tiers), adapted to DNSControl's actual evidence. CII-Best-Practices is the only OpenSSF Scorecard check still scoring 0. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
TomOnTime
added a commit
that referenced
this pull request
Dec 5, 2026
## Why Follow-up to #5176, which adds guides for the OpenSSF Best Practices badge (the last 0 on our OpenSSF Scorecard). Those guides flagged two passing-tier MUST criteria we can't honestly mark Met today. This PR fixes both. ## What changed **SECURITY.md** (`vulnerability_report_private`, `vulnerability_report_process`) The "Reporting a Vulnerability" section told people to report vulnerabilities by opening a public GitHub issue, which announces the hole to everyone before there's a fix. GitHub private vulnerability reporting is already enabled on this repo, but nothing pointed to it. The section now: - asks reporters not to use public issues for security bugs - links to the private advisory form (`/security/advisories/new`) - states the response process: we aim to acknowledge within 1 week (14 days at most), fix in the next release, then publish the advisory and credit the reporter The 14-day ceiling matches the badge's `vulnerability_report_response` criterion, and the credit line covers silver's `vulnerability_report_credit`. I kept the existing "usually within 1 week" goal. **CONTRIBUTING.md** (`test_policy`, and later silver's `test_policy_mandated`) We already test new features, and in the last six months 42 of 54 fix commits touched tests, but the rule was never written down. A new "Tests" section says major new functionality needs automated tests, bug fixes should come with a failing-then-passing test, new record types need parse tests, new providers need integration coverage, and CI must pass before merge. It links to the existing rtype, provider, and integration-test guides. @TomOnTime, both of these are policy wording, so please adjust anything that doesn't match how you want the project run. ## Testing - Docs only, no code changes. - `markdownlint-cli2` reports no new issues. The remaining warnings are long lines that were already in these files. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com> Co-authored-by: Tom Limoncelli <tal@whatexit.org>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Why
DNSControl's OpenSSF Scorecard sits at 8, and CII-Best-Practices is the only check still scoring 0. As of the 2026-12-02 run, everything else is 3 or better. The only way to fix that check is to fill out the OpenSSF Best Practices badge form.
Fair warning: that form is tedious. Passing has 67 criteria and silver adds 55 more. Each one needs a radio button, a justification, and often a URL, and the form has a session timeout that eats unsaved work. It's mostly copy and paste, but you have to know what to paste. These guides work that out ahead of time, so whoever fills out the form can keep this in one window and the form in the other and get through it in about an hour.
What's here
A new top-level
OpenSSF/directory with developer-only notes. They aren't published to docs.dnscontrol.org (documentation/) or dnscontrol.org (docs/):OpenSSF/README.md: what this is, plus how to register the project on bestpractices.dev. DNSControl isn't registered yet, so the guides useNNNNNas a placeholder project number.OpenSSF/openssf-badge-passing.md: every passing criterion with an answer, a paste-ready justification, and an evidence link.OpenSSF/openssf-badge-silver.md: the same for silver, plus drafts of the documents silver requires that don't exist yet: governance, code of conduct, roadmap, architecture, and a threat model.OpenSSF/.markdownlint-cli2.yaml: relaxes line length for the wide tables, and allows bare URLs because the form wants plain URLs pasted in.The format is borrowed from the guides I wrote for fini-net/gh-observer, which got through the passing form this way. Every answer here was checked against DNSControl's actual repo rather than carried over.
Things the guides flag (separate PRs, not this one)
Passing isn't quite free. Two MUST criteria need small fixes first:
Silver is a bigger lift. Unit-test statement coverage is about 37%, against a required 80%. Release builds also aren't bit-for-bit reproducible yet, though
-trimpathplusmod_timestampin GoReleaser probably fixes that. Silver also needs governance and similar documents that @TomOnTime should sign off on.Testing
markdownlint-cli2 "OpenSSF/*.md"is clean.blob/main/...evidence path exists in the repo, except the documents the silver guide says to create.🤖 Generated with Claude Code