Hacktoberfest 2026: những issue maintainer đã đánh dấu cho tháng Mười, đang mở và phù hợp người mới. Xem issue Hacktoberfest

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

Đang mở
#1,595 0 bình luận 0 reaction 0 người được giao Xem trên GitHub

Chưa có ai nhận issue này.

Đánh giá

Độ khó
3/5
Thời gian dự kiến
1-2 ngày
Mức phù hợp với người mới
57/100
Loại issue
Lỗi
Độ rõ ràng
Khá rõ ràng
Mức độ hoạt động
Sôi nổi
Công nghệ
json, nodejs
Lĩnh vực
data, security

Hướng nghiên cứu

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.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Mô tả

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.
Ngôn ngữ chính
Go
Star
549
Fork
133
Merge trung bình
11 phút
Pull request đã merge (30 ngày)
1

Chuẩn bị môi trường

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Issue khác của nodejs/security-wg

Tất cả issue của nodejs/security-wg

Issue tương tự

Thêm issue về Go

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.