Skip to content

docs: private vulnerability reporting and a written test policy - #5177

Merged
TomOnTime merged 2 commits into
DNSControl:mainfrom
chicks-net:chicks/security-reporting-test-policy
Dec 5, 2026
Merged

TomOnTime merged 2 commits into
DNSControl:mainfrom
chicks-net:chicks/security-reporting-test-policy

Conversation

@chicks-net

Copy link
Copy Markdown
Collaborator

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

SECURITY.md told reporters to open a public GitHub issue for
vulnerabilities. Point them at GitHub private vulnerability reporting
(already enabled on the repo) instead, and document the response
process: acknowledgment within 14 days, fix in the next release, and
reporter credit.

CONTRIBUTING.md gains a Tests section stating that major new
functionality must come with automated tests.

Both are MUST criteria for the OpenSSF Best Practices passing badge
(vulnerability_report_private, test_policy). See DNSControl#5176.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@TomOnTime
TomOnTime merged commit baf2a0b into DNSControl:main Dec 5, 2026
7 of 8 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Development

Successfully merging this pull request may close these issues.

2 participants