Skip to content

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

Closed
pmdroid wants to merge 1 commit into
mainfrom
pascal/add-security-txt
Closed

feat: add /.well-known/security.txt (RFC 9116)#1087
pmdroid wants to merge 1 commit into
mainfrom
pascal/add-security-txt

Conversation

@pmdroid

@pmdroid pmdroid commented Jul 20, 2026

Copy link
Copy Markdown
Member

What

Adds public/.well-known/security.txt so docs.arcade.dev serves a valid RFC 9116 security.txt at /.well-known/security.txt. Today that path 404s.

Contact: mailto:security@arcade.dev
Expires: 2027-07-20T00:00:00.000Z
Preferred-Languages: en

security@arcade.dev is the established vulnerability-report contact; Expires is one year out (RFC-recommended maximum).

How it's served

Next.js serves public/ at the site root (same mechanism as the existing robots.txt / llms.txt). I checked next.config.ts: all redirect sources are path-specific or locale-constrained ((en|es|pt-BR)), so nothing intercepts /.well-known/*, and there is no root middleware.ts.

Verification

After the Vercel deploy: curl -i https://docs.arcade.dev/.well-known/security.txt → expect 200 text/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.txt by adding a new static file under public/.well-known/security.txt, served from the site root like other public/ assets (e.g. robots.txt).

The file follows RFC 9116: contact security@arcade.dev, Expires set to 2027-07-20, and Preferred-Languages: en.

Reviewed by Cursor Bugbot for commit 6ffeddd. Bugbot is set up for automated code reviews on this repo. Configure here.

@vercel

vercel Bot commented Jul 20, 2026

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
docs Ready Ready Preview, Comment Jul 20, 2026 7:30pm

Request Review

@pmdroid
pmdroid marked this pull request as ready for review July 20, 2026 20:24
@@ -0,0 +1,3 @@
Contact: mailto:security@arcade.dev
Expires: 2027-07-20T00:00:00.000Z

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

same note on the date - can we skip this?

@pmdroid

pmdroid commented Jul 22, 2026

Copy link
Copy Markdown
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.

@pmdroid pmdroid closed this Jul 22, 2026
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