Skip to content

docs: replace placeholder security policy with a real one - #36

Merged
craigthackerx merged 1 commit into
mainfrom
docs/security-policy
Aug 8, 2026
Merged

docs: replace placeholder security policy with a real one#36
craigthackerx merged 1 commit into
mainfrom
docs/security-policy

Conversation

@craigthackerx

Copy link
Copy Markdown
Contributor

SECURITY.md was unmodified GitHub boilerplate. Found while adding a policy to security-news, which had none.

The actual problem

Reports were directed to security@example.com. example.com is IANA's reserved documentation domain (RFC 2606) and accepts no mail — so anyone who followed the policy sent their vulnerability report into a black hole, and would have had no reason to think it hadn't arrived.

Two lesser issues alongside it:

  • The supported-versions table listed 5.1.x, 5.0.x and 4.0.x. None of those versions exist. This is a continuously deployed static site; package.json says 1.0.0 and the tags are 1.0.0, 2.0.0, legacy, rtd-theme, 16042022.
  • The template's own instruction text — "Use this section to tell people about which versions of your project are currently being supported…" — was still sitting in the file.

What replaces it

Reporting channel: GitHub private vulnerability reporting, which is already enabled on this repo. No mailbox to monitor, and no personal address published.

Supported versions: only the live site built from main. No backports, and tags stated as historical markers rather than releases.

Scope: written for a Next.js static export on GitHub Pages with no backend — app/, components/, lib/, the build config, the patches/ applied at install time, and the workflows' permissions and publish paths.

Ruled out explicitly, so triage isn't spent on them: documentation typos and inaccuracies, dependency CVEs that already have a public advisory (Dependabot handles those), findings that assume server-side behaviour this site doesn't have or headers GitHub Pages won't let us set, and scanner output with no demonstrated impact.

Documentation only — no code, workflow or dependency changes.

Companion PR: libre-devops/security-news#3

SECURITY.md was unmodified GitHub boilerplate. Three problems, in
descending order of severity.

Reports were directed to security@example.com. example.com is IANA's
reserved documentation domain and accepts no mail, so anyone following
the policy sent their report nowhere. Private vulnerability reporting is
already enabled on this repo, so that is now the documented channel — no
mailbox to monitor and no personal address published.

The supported-versions table listed 5.1.x, 5.0.x and 4.0.x. None of those
exist. This is a continuously deployed static site; the only supported
thing is what is currently live from main.

The template's own instruction text ("Use this section to tell people
about...") was still in the file.

Scope is now written for what this actually is: a Next.js static export on
GitHub Pages with no backend. That rules out server-side classes of
report, and rules out documentation typos and already-advisory'd
dependency CVEs that Dependabot handles.
@github-actions

github-actions Bot commented Aug 8, 2026

Copy link
Copy Markdown

Dependency Review

✅ No vulnerabilities or license issues or OpenSSF Scorecard issues found.

Scanned Files

None

@craigthackerx
craigthackerx merged commit 905b10f into main Aug 8, 2026
7 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant