Skip to content

Add RFC 9116 security.txt to linkerd.io/static/.well-known/#2146

Open
kobihikri wants to merge 1 commit into
linkerd:mainfrom
kobihikri:add-security-txt
Open

Add RFC 9116 security.txt to linkerd.io/static/.well-known/#2146
kobihikri wants to merge 1 commit into
linkerd:mainfrom
kobihikri:add-security-txt

Conversation

@kobihikri

Copy link
Copy Markdown

What this does

Adds /.well-known/security.txt by placing it in linkerd.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.txt so a security researcher can find where to report a vulnerability. Right now the live file is missing:

$ curl -sSL -o /dev/null -w '%{http_code}\n' https://linkerd.io/.well-known/security.txt
404

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 that linkerd2's SECURITY.md asks reporters to use
  • Policy: the linkerd2 security policy
  • Expires: — 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.png is live at https://linkerd.io/images/logo-only-200h.png (200). So linkerd.io/static/.well-known/security.txt will publish at https://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 the Expires date, contact, or policy link to whatever you prefer.

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>
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