Hacktoberfest 2026: los issues que los mantenedores marcaron para octubre, abiertos y aptos para principiantes. Explorar issues de Hacktoberfest

Add the Security Advisory GitHub template (`github-security-advisory`)

Abierto
#279 7 comentarios 0 reacciones 1 asignado Ver en GitHub

Los mantenedores suelen responder en 1 día

@srujankaleru2007 ya está trabajando en esto.

Desde el 27/10/2026.

  • #292 de @srujankaleru2007 — abierto

Evaluación

Este issue todavía no se ha evaluado.

Descripción

good first issue hacktoberfest templates

Part of #5. For maintainers announcing a security fix.

Idea
A severity pill at the top ("High"), colored by level, with the advisory ID next to it ("GHSA-3x9q-7m2v-p4hc"). Under it, the advisory title large ("Path traversal in @acme/static-files"), then the package with the affected and fixed versions on one line ("@acme/static-files · affected < 2.4.1 · fixed in 2.4.1"), and the site name at the bottom.

Template details

  • File: src/templates/github/security-advisory.ts, id github-security-advisory
  • Fields: commonFields.title (the advisory title), severity (select: critical, high, medium, low; default high), advisoryId (text, optional, default "GHSA-3x9q-7m2v-p4hc"), packageName (text, optional, default "@acme/static-files"), affected (text, optional, default "< 2.4.1"), patched (text, optional, default "2.4.1"), commonFields.siteName, commonFields.bgColor, commonFields.accentColor, commonFields.textColor

Where to look

  • Closest reference: src/templates/saas/maintenance.ts (a status pill picked with a select field), src/templates/github/issue-card.ts (a GitHub-style header with a pill)

Acceptance criteria

  • Each severity has its own pill color, the pill text stays readable with contrastText(), and an unknown severity falls back to high
  • Long titles shrink with autoFontSize() and then truncate, and an empty advisoryId, packageName, affected, patched or site name (or only spaces) hides cleanly, with separators only between the parts that are there
  • Accent text stays readable on a light background
  • Re-exported in src/templates/github/index.ts and registered in the GitHub block of src/templates/registry.ts
  • Meets the shared template checklist in #5

One template per contributor at a time, so more people get a chance.


Want to work on this? Comment below and I'll assign it to you. Please take one issue at a time, branch off dev, and open your PR against dev with Closes #279 in the description.

Lenguaje dominante
TypeScript
Estrellas
8
Forks
4
Merge medio
8 h 14 min
PR fusionados (30 d)
120

Preparar el entorno

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 codercops/ogcops

Todos los issues de codercops/ogcops

Issues similares

Más issues de TypeScript

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.