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

Abierto Apto para principiantes
#607 0 comentarios 0 reacciones 0 asignados Ver en GitHub

Los mantenedores suelen responder en 1 día

Nadie ha tomado este issue todavía.

Evaluación

Dificultad
2/5
Tiempo estimado
Medio día
Aptitud para principiantes
74/100
Tipo de issue
Documentación
Claridad
Bastante claro
Estado de actividad
Activo
Stack tecnológico
javascript, node.js

Línea de trabajo

Comienza leyendo SECURITY.md, apps/web/vercel.json y apps/web/scripts/check-deploy.mjs, y luego inspecciona apps/web/public/.well-known/ para conocer la estructura existente de los recursos web. Añade el archivo de RFC 9116, documenta el proceso de notificación después de que los mantenedores confirmen los tiempos de respuesta y amplía la comprobación del despliegue para que rechace un archivo ausente o caducado. Done significa que /.well-known/security.txt se sirve como texto plano, la política cubre los pasos de gestión solicitados y la comprobación del despliegue pasa para un archivo válido y falla para uno caducado.

Escrito por el modelo de indexación a partir del texto del issue.

Descripción

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

Lenguaje dominante
TypeScript
Estrellas
6
Forks
6
Merge medio
6 h 7 min
PR fusionados (30 d)
167

Preparar el entorno

Abrir en Codespaces

Inicia el contenedor de desarrollo del proyecto en tu navegador, con tu propia cuenta de GitHub.

Primeros pasos

  1. Lee el issue completo y luego la guía de contribución del proyecto.
  2. Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
  3. Haz un fork del repositorio y trabaja en una rama.
  4. Abre un pull request que haga referencia al número del issue.

Más de Haseeb-MernStack/commune

Todos los issues de Haseeb-MernStack/commune

Issues similares

Más issues de TypeScript

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.