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

オープン 初心者向け
#607 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る

メンテナーはふだん 1 日以内に返信

まだ誰も着手していません。

評価

難易度
2/5
見積もり時間
半日
初心者へのやさしさ
74/100
issue の種類
ドキュメント
明瞭さ
おおむね明確
活発さ
活発
技術スタック
javascript, node.js

調査の方向性

まず SECURITY.md、apps/web/vercel.json、apps/web/scripts/check-deploy.mjs を読み、次に apps/web/public/.well-known/ を調べて、既存の Web アセット構成を確認します。RFC 9116 のファイルを追加し、メンテナーが応答時間を確認したReporting 手順を文書化します。さらに、デプロイチェックを拡張し、ファイルの欠落または有効期限切れを拒否するようにします。完了の基準は、/.well-known/security.txt がプレーンテキストとして配信されること、ポリシーが要求された対応手順をカバーすること、および、有効なファイルのデプロイチェックが成功し、有効期限切れのファイルでは失敗することです。

索引モデルが issue の本文から書いたものです。

説明

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

主要言語
TypeScript
スター
6
フォーク
6
平均マージ
6時間 8分
マージ済み PR(30日)
168

環境構築

Codespaces で開く

このプロジェクトの開発コンテナを、あなたの GitHub アカウントでブラウザ上に起動します。

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

Haseeb-MernStack/commune のほかの issue

Haseeb-MernStack/commune の issue をすべて見る

似ている issue

TypeScript の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。