Repository navigation
fix(deps): refresh rimraf to 6.1.4 to clear the glob advisory on the nyc > rimraf path (+Claude) - #284
fix(deps): refresh rimraf to 6.1.4 to clear the glob advisory on the nyc > rimraf path (+Claude)#284dhruv-parekh-cs wants to merge 1 commit into
Conversation
…nyc > rimraf path Semver-compatible lockfile refresh (npm update rimraf, npm 11): rimraf 6.1.3 -> 6.1.4 moves its glob from 13.0.6 to 14.0.3, clearing GHSA-3g3m-2fjr-6pw4 on the nyc > rimraf path. Dev-only. A full `npm audit fix` was tried first and reverted: it also raises @oclif/core to 4.14.0, which breaks 30/31 integration tests (ESM-only wsl-utils). #claude_code# 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01NTFwVv9F3TgYAwMxADEnGj
✅ Snyk checks have passed. No issues have been found so far.
💻 Catch issues earlier using the plugins for VS Code, JetBrains IDEs, Visual Studio, and Eclipse. |
🔒 Security Scan Results
⏱️ SLA Breach Summary
ℹ️ Vulnerabilities Without Available Fixes (Informational Only)The following vulnerabilities were detected but do not have fixes available (no upgrade or patch). These are excluded from failure thresholds:
✅ BUILD PASSED - All security checks passed |
dhruv-parekh-cs
left a comment
There was a problem hiding this comment.
Reviewed the whole PR (f605f3a): no high or medium issues. Not approved: this PR is authored by the account this review runs as, and GitHub refuses self-approval, so another reviewer needs to approve it.
Cross-repo (snyk-fix 05-Nov-2026 batch 1): the PRs are independent dependency/image bumps; no shared contract or deploy order between them.
— 🤖 launch-pr-review-agent (Claude)
Generated by Claude Code
Summary
snyk-fix sweep, 05-Nov-2026: deps track for
launch-cli. Surfaces: Node.js only (onepackage.jsonand its lockfile; nogo.mod, no Dockerfile). One Snyk project scanned with--all-projects, which matches the one manifest on disk.This PR makes one change, a semver-compatible lockfile refresh of a dev-only transitive dependency. Every Snyk finding is still open and listed under Needs human review below.
glob), on thenyc > rimraf > globpathrimraf(dev, transitive vianyc@18)nycdeclares rimraf^6.1.3and rimraf 6.1.4 declares glob^14, so the patched glob is held by declared ranges and not only by the lockfile. Lockfile only;package.jsonis unchangedOnly the
nyc > rimraf > globpath is cleared. GHSA-3g3m-2fjr-6pw4 is still open onnyc > glob@13.0.6(node_modules/nyc/node_modules/glob), onnyc > test-exclude > glob@13.0.6(the same copy), and onmocha > glob@10.5.0(node_modules/mocha/node_modules/glob). npm says each of these needs a breaking change.Ecosystem-native audit (step 1.5)
npm audit(npm 11.21.2, matching the lockfile's npm 11 format): 30 → 29 (low 8 → 8, moderate 22 → 21, high 0, critical 0).npm audit fix(without--force) was tried and reverted. Besides the rimraf move it re-resolves@oclif/core4.11.14 → 4.14.0 within the existing^4.2.7range. From 4.13.4 on,@oclif/corerunsawait import('wsl-utils')(an ESM-only package) insideConfig.load. Under Jest this makes 30 of the 31 integration tests fail withTypeError: A dynamic import callback was invoked without --experimental-vm-modules. Build and the 139 unit tests still pass. Only the rimraf part was applied, using a targetednpm update rimraf.typescript-eslint/eslint-config-oclifchain,mocha,nyc/test-exclude(glob, minimatch),jest/ts-jest(deepmerge via jest-config),@oclif/*(minimatch), and@rollup/plugin-node-resolve(deepmerge, no fix). All of these except the@oclif/*and rollup items are dev-only.Overrides (step 2.5)
No overrides were retired. Each of the six existing overrides was checked against every parent's declared range, using intersection with the advisory ranges. All six are still needed:
qs: ~6.16.2@contentstack/management^6.16.0,body-parser~6.16.0,express~6.16.0>=6.7.0 <=6.16.0)follow-redirects: ^1.16.2axios^1.16.0tty-table > csv: ^6.6.4tty-table^5.5.3(csv@5 subtree)mixme, high), GHSA-8cw4-87c7-c6xx (csv-parse)tmp: ^0.2.4external-editor^0.0.33serialize-javascript: ^7.1.0mocha^6.0.2diff: ^8.0.3mocha/sinon^7.0.0,ts-node^4.0.1Note for a reviewer (no change made, because step 2.5 leaves a kept override as it is): two override floors still admit versions with advisories.
tmp: ^0.2.4admits 0.2.4–0.2.6 (GHSA-ph9p-34f9-6g65, GHSA-7c78-jf6q-g5cm, both high).serialize-javascript: ^7.1.0admits 7.1.0–7.1.2 (GHSA-m5mm-p8h7-m29v, GHSA-gfhx-hw2g-v5hg, both low). The lockfile resolvestmp@0.2.7andserialize-javascript@7.1.4, which are clean. Raising the floors to^0.2.7and^7.1.3would stop the fix from depending on the lockfile.Dashboard-only artifacts
None.
Workflows
No version was moved, so there was nothing to sync in
.github/workflows/.Code review
One
/code-reviewpass (Opus 5.5, high effort) overorigin/development...CL-snyk-fixes/05-Nov-2026.nyc's ownglob@13.0.6(also used bytest-exclude) andmocha'sglob@10.5.0still match GHSA-3g3m-2fjr-6pw4. Only thenyc > rimraf > globpath moved. Fixes:nyc > rimrafpath.ce6d1cd) and the parent is stillorigin/development, so no second review pass was needed. This matters because the repo lands PRs with merge commits, which keep the commit subject that semantic-release reads.No findings were rejected or moved to needs-human-review.
Needs human review (not yet resolved)
<11.0.1). There are two paths:minimatch@5.1.9via@oclif/core > ejs@3 > jake > filelist. Snyk's upgrade is@oclif/core@4.13.4(ejs^6). As described above, every@oclif/core >=4.13.4breaks the integration test harness (ESM-onlywsl-utilsdynamic import under Jest). Fixing it needs a test-harness decision (for exampleNODE_OPTIONS=--experimental-vm-modules, or a transform/mapping for the dynamic import), and this PR does not make that decision.minimatch@10.2.5directly under@oclif/core. Every release through@oclif/core@5.1.11declaresminimatch ^10.2.5, and the patched version is 11.0.1, so the fix would need a cross-major override. That is a breaking change.adm-zip@0.6.1is a direct dependency, every version is vulnerable (*), and there is no upstream fix (0.6.1 is the latest).deepmerge@4.3.1comes in via@rollup/plugin-node-resolve@16.0.3, the latest version, which declares^4.2.2. Everything>=4.2.0is vulnerable and there is no fixed version.Warnings
pre-commithook ends withsnyk test --all-projects --fail-on=all. The three open findings above existed before this change and make that step fail, so the commit was made with--no-verify, after the hook's Talisman and trufflehog secrets scan had passed on the same staged change.npm installreportsunrs-resolver@1.12.2postinstall not covered byallowScripts(npm 11 notice, unchanged by this PR).Validation
npm install(npm 11): clean.npm run build: passed.npm test: passed. That covers mocha, 139/139 Jest unit tests and 31/31 Jest integration tests.snyk test --all-projectsre-scan: 1 project and the same 3 Snyk issues as before. This PR claims no Snyk finding as fixed.npm audit: 29 advisories (8 low, 21 moderate).rimrafis no longer listed.#claude_code#
Generated by Claude Code