chore(cli): reconcile dev-only audit findings after the v8 lockfile repair

Đang mở
#469 3 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ó
4/5
Thời gian dự kiến
3-5 ngày
Mức phù hợp với người mới
35/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ệ
typescript
Lĩnh vực
ci-cd, security, tooling

Hướng nghiên cứu

Wait for #795 to contain one valid lockfile and for #463 to resolve the production findings. Then rerun the production and full audits from a fresh install, classify each remaining advisory by dependency path and reachability, and record the smallest compatible remediation. Done means a follow-up implementation task exists only for a proven change; do not upgrade dependencies in this issue.

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

Mô tả

Context

The July audit mixed production and development-only findings, and its package/version list is stale.

Production fast-uri findings belong to #463. This issue owns only tooling used on developer machines and CI.

The current audit shows these dev-only paths:

  • high: js-yaml through Commitlint;
  • moderate: Vitest and qs through Stryker;
  • low: esbuild through tsup.

They are not shipped in the CLI package. Their risk is CI/developer exposure, not end-user runtime exposure.

PR #795 changes the dependency graph but its committed lockfile currently has two YAML documents. Do not decide upgrades from that invalid graph.

Dependencies

  • #463: production fast-uri remediation.
  • PR #795: one valid regenerated lockfile.

Discovery required

After #795 has one valid lockfile and #463 is resolved:

  1. run the production and full audits again;
  2. record each remaining advisory, reachability and smallest compatible remediation;
  3. separate a major test-framework migration from minimal transitive dependency remediation.

Decision criteria

  • Address any remaining high/critical dev-tooling finding with the smallest compatible change.
  • Treat Vitest 4 as a separate migration only if the rerun still requires it.
  • Group Stryker or tsup updates only when their compatibility and test cost are proven.

Acceptance criteria

  • #463 has resolved the production fast-uri findings.
  • #795 lockfile has been repaired and the audit is reproducible from a fresh install.
  • The refreshed audit classifies every remaining finding by dependency path and development/production reachability.
  • A follow-up implementation task exists only for a proven, compatible remediation.

Boundary

No dependency upgrades in this issue. No forced Vitest major upgrade merely to satisfy an outdated audit snapshot.

Ngôn ngữ chính
TypeScript
Star
481
Fork
45
Merge trung bình
17 giờ 40 phút
Pull request đã merge (30 ngày)
106

Hướng dẫn đóng góp

Mở hướng dẫn đóng góp

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 ai-driven-dev/framework

Tất cả issue của ai-driven-dev/framework

Issue tương tự

Thêm issue về TypeScript

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.