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

vuln/core/index.json is not synchronized with individual vulnerability files

Aperta
#1,595 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
3/5
Tempo stimato
1-2 giorni
Idoneità per principianti
57/100
Tipo di issue
Bug
Chiarezza
Abbastanza chiara
Stato di attività
Attiva
Stack tecnologico
json, nodejs
Ambito
data, security

Direzione di ricerca

Read vuln/core/index.json and compare its records with the individual JSON files in vuln/core/, starting with IDs 195 through 204. Check how vulnerability files are added during the synchronization process and whether an existing script or CI check covers the index. Done means the index includes every vulnerability record represented by those files and stays synchronized when new records are added.

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

Descrizione

The vuln/core/index.json file is not kept in sync with the individual vulnerability JSON files in vuln/core/.

For example, PR #1587 added 10 new vulnerability records (195.json through 204.json), but index.json was not updated.

As a result, consumers relying on index.json receive incomplete vulnerability data.

Steps to reproduce

  1. Open vuln/core/
  2. Verify that individual vulnerability files 195.json through 204.json exist
  3. Open vuln/core/index.json
  4. Notice that the index ends at ID 194 and does not contain the newly added vulnerabilities

Expected behavior

vuln/core/index.json should contain all vulnerability records represented by the individual JSON files in vuln/core/.

Actual behavior

New vulnerability files are added without updating index.json, causing the aggregated index to become outdated.

Suggested solution

  • Update index.json as part of the vulnerability synchronization process.
  • Ideally, generate index.json automatically from the individual vulnerability files to avoid inconsistencies.
  • Add a CI validation check to ensure index.json stays synchronized with the individual files.
Lingua principale
Go
Stelle
549
Fork
133
Merge medio
11m
PR unite (30g)
1

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 nodejs/security-wg

Tutte le issue di nodejs/security-wg

Issue simili

Altre issue su Go

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.