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

Triage the braces stack-exhaustion advisory and set the dismissal bar

Aperta Adatta ai principianti
#339 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub

I maintainer di solito rispondono entro 2 giorni

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
2/5
Tempo stimato
1-3 ore
Idoneità per principianti
78/100
Tipo di issue
Documentazione
Chiarezza
Specificata chiaramente
Stato di attività
Attiva
Stack tecnologico
typescript

Direzione di ricerca

Inizia esaminando gli avvisi Dependabot per [email protected], il problema del lockfile duplicato registrato in #337 e l’attuale criterio in TRIAGE.md. Verifica che i glob del repository ricevano soltanto percorsi controllati dai maintainer, quindi registra in TRIAGE.md la decisione sull’avviso e la condizione per riaprirlo, documentando chi può ignorare gli avvisi e quali codici di motivazione sono accettabili. Il completamento richiede che gli avvisi sul lockfile duplicato siano chiusi, che l’avviso 259 abbia un’ignoranza o una mitigazione registrata e che i requisiti per ignorare gli avvisi siano documentati.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

Medium Priority Security vulnerabilities

Problem statement

Three high-severity Dependabot alerts are open, and none of them has a fix available.

Alert Package Advisory Manifest Vulnerable range First patched
259 braces CVE-2026-93687 / GHSA-vfj7-8cjw-p6xm website/package-lock.json <= 3.0.3 none
260 braces CVE-2026-93687 / GHSA-vfj7-8cjw-p6xm website/yarn.lock <= 3.0.3 none
261 node-forge CVE-2026-85393 / GHSA-86w9-cpqp-85rv website/yarn.lock <= 1.4.0 none

This is one real finding and two duplicates. Alerts 260 and 261 point at website/yarn.lock, a lockfile CI never installs from, and both disappear once the duplicate lockfile is removed. That work is tracked in #337; until it lands, the Security tab shows 3 where the codebase has 1.

The remaining finding is [email protected], pulled in by @docusaurus/core through @docusaurus/utils → [email protected] and [email protected]. It is a stack-exhaustion denial of service triggered by a deeply nested brace pattern. In this repo the patterns come from Docusaurus's own file walk over maintainer-controlled paths, not from contributor or visitor input, and it runs at build time.

With no patched version published, the only options are to dismiss with a recorded reason or to leave the tab permanently red.

Proposed solution

  1. Land the lockfile consolidation first, which closes 260 and 261.
  2. Dismiss 259 as tolerable risk, with a comment that records why (build-time glob over maintainer-controlled paths) and what reopens it (a patched braces release). Verify first that nothing in the repo feeds user or contributor input into a glob; if something does, this reasoning is wrong and the finding needs a real mitigation.
  3. Add a short "Security alerts and dismissal" section to TRIAGE.md: who may dismiss, which reason codes are acceptable, and that a dismissal requires a comment naming the condition that reopens it.

Scope and impact

No code change beyond documentation. The risk to avoid is a silent dismissal, which is indistinguishable from silencing an alert; the comment requirement is the point of the exercise.

Acceptance criteria:

  • Alerts 260 and 261 are closed by the lockfile work
  • Alert 259 is either dismissed with a recorded reason or has a documented mitigation
  • TRIAGE.md states the dismissal bar
Lingua principale
TypeScript
Stelle
13
Fork
22
Merge medio
2g 18h
PR unite (30g)
17

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 IntersectMBO/developer-experience

Tutte le issue di IntersectMBO/developer-experience

Issue simili

Altre issue su TypeScript

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.