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

Error in `npm audit signatures`

Đang mở
#412 1 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
25/100
Loại issue
Lỗi
Độ rõ ràng
Cần làm rõ
Mức độ hoạt động
Đình trệ
Công nghệ
javascript, node.js
Lĩnh vực
ci-cd, cli

Hướng nghiên cứu

Bắt đầu bằng cách xem xét implementation của #411 và tái hiện npm audit signatures trong CI và trên máy local, sử dụng lần chạy bị lỗi được liên kết để đối chiếu. Xác định lý do các package được liệt kê có attestations không hợp lệ và cập nhật CI integration để audit check hoàn tất mà không gặp lỗi này; xác nhận bằng cách chạy lại cả hai môi trường.

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

Mô tả

During the implementation of #411, In order to follow established convention in other ESM conversion, I introduced the npm audit signature command into the CI process, but I get below error occurs when it runs in CI, also when it runs in local environment.

audited 807 packages in 150s

705 packages have verified registry signatures

9 packages have verified attestations

102 packages have invalid attestations:

@npmcli/[email protected] (https://registry.npmjs.org/)
@npmcli/[email protected] (https://registry.npmjs.org/)
@npmcli/[email protected] (https://registry.npmjs.org/)
@npmcli/[email protected] (https://registry.npmjs.org/)
@npmcli/[email protected] (https://registry.npmjs.org/)
@npmcli/[email protected] (https://registry.npmjs.org/)
@npmcli/[email protected] (https://registry.npmjs.org/)
@npmcli/[email protected] (https://registry.npmjs.org/)
@npmcli/[email protected] (https://registry.npmjs.org/)
@npmcli/[email protected] (https://registry.npmjs.org/)
@npmcli/[email protected] (https://registry.npmjs.org/)
@npmcli/[email protected] (https://registry.npmjs.org/)
@npmcli/[email protected] (https://registry.npmjs.org/)
@npmcli/[email protected] (https://registry.npmjs.org/)
@npmcli/[email protected] (https://registry.npmjs.org/)
@npmcli/[email protected] (https://registry.npmjs.org/)
@octokit/[email protected] (https://registry.npmjs.org/)
@octokit/[email protected] (https://registry.npmjs.org/)
@sec-ant/[email protected] (https://registry.npmjs.org/)
@semantic-release/[email protected] (https://registry.npmjs.org/)
@semantic-release/[email protected] (https://registry.npmjs.org/)
@semantic-release/[email protected] (https://registry.npmjs.org/)
@semantic-release/[email protected] (https://registry.npmjs.org/)
[....minimised]
[email protected] (https://registry.npmjs.org/)
[email protected] (https://registry.npmjs.org/)
[email protected] (https://registry.npmjs.org/)

Someone might have tampered with these packages since they were published on the registry!

Find more details here: https://github.com/semantic-release/exec/actions/runs/11259848667/job/31309764144

Ngôn ngữ chính
JavaScript
Star
165
Fork
28
Chỉ số merge pull request
Không có pull request nào được merge trong 30 ngày

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

Dự án này không cung cấp dev container, Dockerfile hay hướng dẫn đóng góp, nên bạn cần tự thiết lập môi trường: hãy bắt đầu từ README và xem hướng dẫn đóng góp lần đầu của chúng tôi để biết các bước chung.

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 semantic-release/exec

Tất cả issue của semantic-release/exec

Issue tương tự

Thêm issue về JavaScript

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.