Skip to content

chore: publish security.txt for ipfs.tech - #324

Open
lidel wants to merge 2 commits into
mainfrom
add-security-txt
Open

chore: publish security.txt for ipfs.tech#324
lidel wants to merge 2 commits into
mainfrom
add-security-txt

Conversation

@lidel

@lidel lidel commented Aug 6, 2026

Copy link
Copy Markdown
Member

Problem

Someone who finds a security bug often uses LLMs and automated tools and its not obvious where to send it. Researchers and scanners check /.well-known/security.txt first, and today that returns 404. So they guess an address, spam multiple emails, bother old maintainers etc.

Fix

  • Serves /.well-known/security.txt with security@ipfs.io as the contact and a link to the project policy.
  • Generates the Expires field at build time, twelve months out, so nobody has to remember to bump a date.1
  • Rounds that date to the first of the build month, so rebuilds in the same month stay byte-identical and the deployed CID does not churn.
  • Points gateway abuse reports at the abuse policy, to keep them out of the security mailbox.

This covers the ipfs.tech domain only. Per-repo reporting still lives in each repo's SECURITY.md.

Footnotes

  1. RFC 9116, section 2.5.5: Expires must always be present, and its value should be less than a year in the future to avoid staleness.

lidel added 2 commits August 6, 2026 19:55
Publishes an RFC 9116 security contact at
https://ipfs.tech/.well-known/security.txt, so scanners and researchers
looking for a reporting route find security@ipfs.io without digging
through repos.

The Expires field is set to 2027-08-01 and has to be moved forward
before then, or the file is treated as stale.
Replaces the static file with an Astro endpoint so the RFC 9116 Expires
field moves forward on its own instead of going stale a year from now.

The value is the first of the build month, twelve months out, so repeat
builds within the same month stay byte-identical and the deployed CID
does not churn.
@lidel
lidel requested a review from 2color August 6, 2026 18:18
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.

2 participants