feat: add /.well-known/security.txt (RFC 9116)#1087
Closed
pmdroid wants to merge 1 commit into
Closed
Conversation
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
pmdroid
marked this pull request as ready for review
July 20, 2026 20:24
evantahler
approved these changes
Jul 21, 2026
| @@ -0,0 +1,3 @@ | |||
| Contact: mailto:security@arcade.dev | |||
| Expires: 2027-07-20T00:00:00.000Z | |||
Contributor
There was a problem hiding this comment.
same note on the date - can we skip this?
Member
Author
|
Closing — we implemented RFC 9116 security.txt at the Cloudflare edge instead of per-app/static hosting. This PR is no longer needed. |
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
Adds
public/.well-known/security.txtso docs.arcade.dev serves a valid RFC 9116 security.txt at/.well-known/security.txt. Today that path 404s.security@arcade.devis the established vulnerability-report contact;Expiresis one year out (RFC-recommended maximum).How it's served
Next.js serves
public/at the site root (same mechanism as the existingrobots.txt/llms.txt). I checkednext.config.ts: all redirect sources are path-specific or locale-constrained ((en|es|pt-BR)), so nothing intercepts/.well-known/*, and there is no rootmiddleware.ts.Verification
After the Vercel deploy:
curl -i https://docs.arcade.dev/.well-known/security.txt→ expect 200text/plain(the preview deployment URL works for checking before merge).Related
Sibling PRs add the same file for app.arcade.dev (monorepo, PLT-2523) and www.arcade.dev + arcade.dev apex (ArcadeAI/www).
🐕 Written by Kyoto, an AI agent, on Pascal's behalf —
Note
Low Risk
Static disclosure file only; no application logic, auth, or routing changes.
Overview
docs.arcade.dev will stop 404ing on
/.well-known/security.txtby adding a new static file underpublic/.well-known/security.txt, served from the site root like otherpublic/assets (e.g.robots.txt).The file follows RFC 9116: contact
security@arcade.dev,Expiresset to 2027-07-20, andPreferred-Languages: en.Reviewed by Cursor Bugbot for commit 6ffeddd. Bugbot is set up for automated code reviews on this repo. Configure here.