Skip to content

feat: add /.well-known/security.txt (RFC 9116) - #718

Open
robbyrussell wants to merge 1 commit into
rails:mainfrom
robbyrussell:task/rr-693-add-security-txt
Open

feat: add /.well-known/security.txt (RFC 9116)#718
robbyrussell wants to merge 1 commit into
rails:mainfrom
robbyrussell:task/rr-693-add-security-txt

Conversation

@robbyrussell

Copy link
Copy Markdown
Contributor

Closes #693

Definitely not high priority, but it was simple enough that I figured I'd just send it along rather than let it sit.

/.well-known/security.txt was 404ing while /security happily points people at HackerOne. This adds the little RFC 9116 file so scanners and researchers can find the reporting process without guessing.

To answer the "which directory?" question from the issue: Jekyll skips dot-directories, so the file on its own does nothing. _config.yml needs the matching include before it'll actually land in _site. Verified locally that it shows up at /.well-known/security.txt and that nothing else snuck into the build.

One thing to keep in mind — Expires is a required field and I set it to 2027-08-13, so it'll need a bump before then. Happy to shorten that or trim the Preferred-Languages line if you'd rather keep it leaner.

🤖 Co-authored with Claude Code

Adds the machine-discoverable pointer to the existing reporting process,
which previously 404'd while /security advertised the HackerOne program.

Jekyll skips dot-directories when scanning sources, so the file alone builds
nothing — _config.yml needs the matching include for it to reach _site.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
@robbyrussell
robbyrussell force-pushed the task/rr-693-add-security-txt branch from 8832fef to 1296577 Compare August 13, 2026 23:52
@robbyrussell
robbyrussell marked this pull request as ready for review August 13, 2026 23:52
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.

rubyonrails.org serves no /.well-known/security.txt (RFC 9116)

1 participant