Skip to content

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

Merged
NathanWalker merged 1 commit into
mainfrom
ci/dependency-review-nested-tar
Dec 4, 2026
Merged

NathanWalker merged 1 commit into
mainfrom
ci/dependency-review-nested-tar

Conversation

@NathanWalker

@NathanWalker NathanWalker commented Dec 4, 2026 •

Copy link
Copy Markdown
Contributor

Adds the 18 tar advisories in the tar 7.5.24 copies nested under pacote 22 and node-gyp to allow-ghsas.

  • The CLI extracts with its own tar 8.1.2 (fix(deps)!: update tar to 8 and pacote/arborist to the npm 11 stack #6243). Only tar 8 fixes these advisories, and npm's packages still declare tar@^7.
  • pacote extracts with its tar 7 only to read the manifest of a file: or URL tarball spec, which is a tarball the user named and the CLI then unpacks with tar 8 anyway. Nothing in the CLI runs node-gyp.
  • The matching Dependabot alerts are dismissed as tolerable risk, the same as the two entries already listed.

Without this, dependency review fails on any PR that changes those nested copies, as it did on #6243. Remove these entries once pacote and node-gyp move to tar 8.

Summary by CodeRabbit

  • Chores
    • Updated dependency review to allow additional advisories considered tolerable for the CLI.

…opies

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.
@coderabbitai

coderabbitai Bot commented Dec 4, 2026 •

Copy link
Copy Markdown

Explain Change →

No actionable comments were generated in the recent review.

Walkthrough

The dependency review workflow now allows 20 GHSA identifiers instead of two. Its comment describes the CLI-specific rationale for tolerating the advisories.

Changes: Dependency review workflow

Layer / File(s) Summary
Expand advisory allowlist
.github/workflows/dependency-review.yml
The workflow adds GHSA identifiers to the allowlist and updates the comment with CLI-specific context.

Estimated code review effort: 2 (Simple) | ~8 minutes

Change: Other

Merge Risk: Minimal · up to 65730

This change only adjusts which known advisories the dependency review check tolerates, with no change to shipped CLI behavior. It is low risk to merge. The allowlist entries should be removed once pacote and node-gyp move to tar 8.

Pre-merge checks: Passed 4

Check name Status Explanation
Description Check Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Title check Passed The title names the actual change: the dependency-review workflow allowlist is extended to cover tar 7.x advisories in npm's nested copies. The raw summary confirms the allow-ghsas list grows from two…
Linked Issues check Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check Passed Check skipped because no linked issues were found for this pull request.
Full details: Title check

Explanation

The title names the actual change: the dependency-review workflow allowlist is extended to cover tar 7.x advisories in npm's nested copies. The raw summary confirms the allow-ghsas list grows from two advisories to 20, and the objectives describe 18 tar 7.5.24 advisories added from nested pacote and node-gyp copies. The title matches the main change and uses the ci(...) convention. It is specific enough for a teammate scanning history.

  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

Share

A rabbit checks the list at dawn,
Twenty advisories now appear.
The CLI’s notes explain the choice,
While carrots crunch beside the screen.
One hop, one check, the workflow runs,
And fluffy ears applaud the change.

Recent review info

Run configuration

  • Source mode: Auto
  • Repository: Unavailable
  • Branch: Unavailable
  • File: No configuration file from this repository applied
  • Commit: Unavailable
  • Layers: Repository UI
  • Review profile: CHILL
  • Plan: Advanced
  • Run ID: ed81f96d-7895-4f91-9125-6da383675e29
Commits

Reviewing files that changed from the base of the PR and between 2fab42c and 6573040.

Files selected for processing: 1

  • .github/workflows/dependency-review.yml

Included review availability: This review used your included allowance. Your plan provides up to 4 included reviews per hour; 3 remain after this review.

@NathanWalker
NathanWalker merged commit 1bf3c5c into main Dec 4, 2026
11 checks passed
@NathanWalker
NathanWalker deleted the ci/dependency-review-nested-tar branch December 4, 2026 19:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant