Hacktoberfest 2026: le issue che i maintainer hanno segnato per ottobre, aperte e adatte ai principianti. Sfoglia le issue Hacktoberfest

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

Aperta
#279 7 commenti 0 reazioni 1 assegnatario Vedi su GitHub

I maintainer di solito rispondono entro 1 giorno

@srujankaleru2007 ci sta già lavorando.

Dal 27/10/2026.

  • #292 di @srujankaleru2007 — aperta

Valutazione

Questa issue non è ancora stata valutata.

Descrizione

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.

Lingua principale
TypeScript
Stelle
8
Fork
4
Merge medio
8h 14m
PR unite (30g)
120

Preparare l'ambiente

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di codercops/ogcops

Tutte le issue di codercops/ogcops

Issue simili

Altre issue su TypeScript

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.