Skip to content

ci(dependency-review): allow the tar 7.x advisories in npm's nested copies #682

ci(dependency-review): allow the tar 7.x advisories in npm's nested copies

ci(dependency-review): allow the tar 7.x advisories in npm's nested copies #682

# Dependency Review Action
#
# This Action will scan dependency manifest files that change as part of a Pull Request,
# surfacing known-vulnerable versions of the packages declared or updated in the PR.
# Once installed, if the workflow run is marked as required,
# PRs introducing known-vulnerable packages will be blocked from merging.
#
# Source repository: https://github.com/actions/dependency-review-action
name: 'Dependency Review'
on: [pull_request]
permissions:
contents: read
jobs:
dependency-review:
runs-on: ubuntu-latest
steps:
- name: 'Checkout Repository'
uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v4.3.0
- name: 'Dependency Review'
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.
# - 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