From 65730403793a86c407bd4cb5dc244b31e57d6d55 Mon Sep 17 00:00:00 2001 From: Nathan Walker Date: Fri, 4 Dec 2026 11:19:23 -0800 Subject: [PATCH] ci(dependency-review): allow the tar 7.x advisories in npm's nested copies pacote 22 and node-gyp still depend on tar 7, so their nested copies carry 18 advisories that only tar 8 fixes. The CLI extracts with its own tar 8 (#6243); pacote extracts with tar 7 only to read the manifest of a tarball the user named, which tar 8 then unpacks anyway. The matching Dependabot alerts are dismissed as tolerable risk. Without this, any PR that touches those nested copies fails dependency review. --- .github/workflows/dependency-review.yml | 13 +++++++++++-- 1 file changed, 11 insertions(+), 2 deletions(-) diff --git a/.github/workflows/dependency-review.yml b/.github/workflows/dependency-review.yml index f2652d0522..27fca3bec4 100644 --- a/.github/workflows/dependency-review.yml +++ b/.github/workflows/dependency-review.yml @@ -22,5 +22,14 @@ jobs: uses: actions/dependency-review-action@a1d282b36b6f3519aa1f3fc636f609c47dddb294 # v5.0.0 with: # Assessed as tolerable for the CLI (Dependabot alerts dismissed with tolerable_risk): - # glob ignore-pattern brace DoS in npm's nested copies; tar UnpackSync, which the CLI never uses. - allow-ghsas: GHSA-qxr8-q827-836c, GHSA-25mm-r35j-6hgm + # - glob ignore-pattern brace DoS in npm's nested copies; tar UnpackSync, which the CLI never uses. + # - tar 7.x advisories in the copies nested under pacote and node-gyp. The CLI extracts with + # its own tar 8; pacote extracts only a tarball the user named, to read its manifest. + allow-ghsas: >- + GHSA-qxr8-q827-836c, GHSA-25mm-r35j-6hgm, + GHSA-3wwj-8j6r-q339, GHSA-4pf9-5fpx-xmr6, GHSA-6wwr-g865-f46r, + GHSA-72fp-85cc-g945, GHSA-7c32-79xj-j3jp, GHSA-98v3-7xjr-fg83, + GHSA-9hmx-4f52-v64x, GHSA-ffhw-4r4q-5cwv, GHSA-gvrf-jx37-rjv5, + GHSA-hqgx-p3r3-2cfg, GHSA-jmj2-9c5q-vw73, GHSA-mhqm-9wj8-w7r4, + GHSA-mpg7-vg3p-wc3m, GHSA-p96f-8xj2-g85p, GHSA-qv2w-fc3h-pm27, + GHSA-rgjp-p5j7-w36x, GHSA-wpwg-r92p-fjjh, GHSA-xm6h-2993-3ch9