docs(security): a `security.txt` and a vulnerability handling process

Open Beginner friendly
#607 0 comments 0 reactions 0 assignees View on GitHub

Maintainers usually reply within 1 day

Nobody has claimed this yet.

Assessment

Difficulty
2/5
Estimated time
Half a day
Newbie friendliness
74/100
Issue type
Documentation
Clarity
Mostly clear
Activity status
Active
Tech stack
javascript, node.js

Research direction

Start by reading SECURITY.md, apps/web/vercel.json, and apps/web/scripts/check-deploy.mjs, then inspect apps/web/public/.well-known/ for the existing web asset layout. Add the RFC 9116 file, document the reporting process after maintainers confirm response times, and extend the deploy check to reject a missing or expired file. Done means /.well-known/security.txt is served as plain text, the policy covers the requested handling steps, and the deploy check passes for a valid file and fails for an expired one.

Written by the indexing model from the issue text.

Description

documentation good first issue help wanted security

Summary

Publish /.well-known/security.txt (RFC 9116) pointing to the private reporting channel in SECURITY.md, and write down how reports are handled: acknowledgement time, assessment, fix, coordinated disclosure and credit.

Why this matters

Researchers look for security.txt first, and a visible process makes people report privately instead of publicly. It costs one small file and one short document, and it makes the project look as serious as it is.

Proposed solution

  • Add apps/web/public/.well-known/security.txt with Contact, Expires (renew yearly; add a reminder in docs/RELEASING.md), Preferred-Languages, Policy and Canonical. Check it is served as text/plain by the web host and not rewritten to the app shell (see the rewrites in apps/web/vercel.json).
  • Extend SECURITY.md: how to report (GitHub private advisories), what to include, our target response times, what is in and out of scope, safe harbour wording, and how we credit reporters.
  • Add a check to check-deploy.mjs that the file exists and has not expired.

Where to start in the code

  • apps/web/public/, apps/web/vercel.json, SECURITY.md, apps/web/scripts/check-deploy.mjs

Acceptance criteria

  • /.well-known/security.txt is served as plain text and is valid
  • SECURITY.md describes the process and timelines
  • The deploy check fails when the file has expired

Tests

  • The deploy check; validate the file with a security.txt validator and attach the result

Notes

  • Comment with the response times you propose so the maintainers can confirm them.

Want to work on this?

Comment on this issue to claim it, then follow First contribution and CONTRIBUTING.md. Keep the pull request to this one feature, use a conventional title (for example docs(security): a security.txt and a vulnerability handling process), write Closes #<this issue> in the description, and run npx prettier --write on the files you changed before pushing. Questions are welcome here or on Discord.


Generated by Claude Code

Dominant language
TypeScript
Stars
6
Forks
6
Avg merge
6h 7m
Merged PRs (30d)
167

Getting set up

Open in Codespaces

Starts the project's dev container in your browser, under your own GitHub account.

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from Haseeb-MernStack/commune

All issues in Haseeb-MernStack/commune

Similar issues

More TypeScript issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.