You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The security.txt file is committed to this repo but is not reachable at its published URL, and the file's own Canonical field points at that unreachable URL.
The file exists in this repo at .well-known/security.txt (repo root), added in Add a security.txt #44487.
It does not exist under Hugo's publish source, static/.well-known/security.txt (404 via the GitHub contents API). Hugo only publishes files under static/ (plus rendered content); hugo.toml has no staticDir override and no module mount covering .well-known, and netlify.toml/Makefile have no step that copies repo-root .well-known/ into the build output. So the committed file is never deployed.
So the Canonical: line advertises a URL that currently 404s. Per RFC 9116 §3, security.txt is expected to be served under /.well-known/; a researcher visiting the well-known path today finds nothing. (The Expires value is a valid future date, so this is a deployment/path issue, not an expiry one.)
Proposed Solution:
Move the file so Hugo publishes it — i.e. to static/.well-known/security.txt (contents unchanged) — or add an equivalent static mount/redirect so /.well-known/security.txt resolves. I'm happy to open a small PR for whichever placement you prefer (I understand PRs require the CNCF EasyCLA).
Reproduction: curl -sSL -o /dev/null -w '%{http_code}' https://kubernetes.io/.well-known/security.txt → 404. I used AI assistance to help investigate and draft this; I reproduced every fact above myself and take responsibility for the report.
This is a Bug Report
Problem:
The
security.txtfile is committed to this repo but is not reachable at its published URL, and the file's ownCanonicalfield points at that unreachable URL.https://kubernetes.io/.well-known/security.txtreturns HTTP 404 (verified today)..well-known/security.txt(repo root), added in Add a security.txt #44487.static/.well-known/security.txt(404 via the GitHub contents API). Hugo only publishes files understatic/(plus rendered content);hugo.tomlhas nostaticDiroverride and no module mount covering.well-known, andnetlify.toml/Makefilehave no step that copies repo-root.well-known/into the build output. So the committed file is never deployed.The committed file's contents include:
So the
Canonical:line advertises a URL that currently 404s. Per RFC 9116 §3,security.txtis expected to be served under/.well-known/; a researcher visiting the well-known path today finds nothing. (TheExpiresvalue is a valid future date, so this is a deployment/path issue, not an expiry one.)Proposed Solution:
Move the file so Hugo publishes it — i.e. to
static/.well-known/security.txt(contents unchanged) — or add an equivalent static mount/redirect so/.well-known/security.txtresolves. I'm happy to open a small PR for whichever placement you prefer (I understand PRs require the CNCF EasyCLA).Page to Update:
https://kubernetes.io/.well-known/security.txt
Reproduction:
curl -sSL -o /dev/null -w '%{http_code}' https://kubernetes.io/.well-known/security.txt→404. I used AI assistance to help investigate and draft this; I reproduced every fact above myself and take responsibility for the report.