Add RFC 9116 security.txt to linkerd.io/static/.well-known/#2146
Open
kobihikri wants to merge 1 commit into
Open
Add RFC 9116 security.txt to linkerd.io/static/.well-known/#2146kobihikri wants to merge 1 commit into
kobihikri wants to merge 1 commit into
Conversation
Adds a machine-discoverable security contact at /.well-known/security.txt, served by Hugo from linkerd.io/static/. Points to the existing linkerd2 GitHub security-advisory reporting flow. Includes the RFC 9116-mandatory Expires field. Assisted by an AI tool; every line verified against the live site and the linkerd2 SECURITY.md. Signed-off-by: Kobi Hikri <kobi.hikri@gmail.com>
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.
What this does
Adds
/.well-known/security.txtby placing it inlinkerd.io/static/.well-known/security.txt, which Hugo copies verbatim to the published site root.Why
RFC 9116 defines a standard file at
/.well-known/security.txtso a security researcher can find where to report a vulnerability. Right now the live file is missing:I pointed the file at the existing reporting flow rather than inventing anything:
Contact: https://github.com/linkerd/linkerd2/security/advisories/new— the GitHub security advisory flow thatlinkerd2'sSECURITY.mdasks reporters to usePolicy:the linkerd2 security policyExpires:— RFC 9116 requires this field; I set it ~1 year out.Verifying it will serve
linkerd.io/static/is already served verbatim — e.g.linkerd.io/static/images/logo-only-200h.pngis live athttps://linkerd.io/images/logo-only-200h.png(200). Solinkerd.io/static/.well-known/security.txtwill publish athttps://linkerd.io/.well-known/security.txt. Please double-check on a preview build.Single file, no other changes. Commit is DCO signed-off.
Disclosure: I used an AI tool to help spot this and draft the file. I verified every line myself against the live site and the linkerd2
SECURITY.md, and I take responsibility for the change. Happy to adjust theExpiresdate, contact, or policy link to whatever you prefer.