Hacktoberfest 2026: die Issues, die Maintainer für den Oktober markiert haben – offen und einsteigerfreundlich. Hacktoberfest-Issues durchsuchen

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

Offen
#279 7 Kommentare 0 Reaktionen 1 zugewiesene Person Auf GitHub ansehen

Maintainer antworten meist innerhalb von 1 Tag

@srujankaleru2007 arbeitet bereits daran.

Seit 27.10.2026.

  • #292 von @srujankaleru2007 — offen

Bewertung

Dieses Issue wurde noch nicht bewertet.

Beschreibung

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.

Vorherrschende Sprache
TypeScript
Sterne
8
Forks
4
Ø Merge
8 Std. 14 Min.
Gemergte PRs (30 T.)
120

Entwicklungsumgebung

Erste Schritte

  1. Lesen Sie das ganze Issue und danach den Beitragsleitfaden des Projekts.
  2. Schreiben Sie ins Issue, dass Sie es übernehmen — das erspart doppelte Arbeit.
  3. Forken Sie das Repository und arbeiten Sie in einem Branch.
  4. Öffnen Sie einen Pull Request, der die Issue-Nummer nennt.

Mehr aus codercops/ogcops

Alle Issues in codercops/ogcops

Ähnliche Issues

Weitere Issues zu TypeScript

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.