Repository navigation
fix(deps): override papaparse to ^5.7.1 to clear SNYK-JS-PAPAPARSE-22566253 (+Claude) - #305
Merged
Merged
Conversation
…566253 papaparse 5.7.0 reaches the CLI transitively through @contentstack/cli-utilities@2.0.2 (and cli-command > cli-utilities), whose declared range ^5.5.4 still admits the vulnerable 5.7.0. No newer cli-utilities exists, so add an "overrides" entry papaparse ^5.7.1 (inside the parent's declared range; same major). The lockfile change is limited to the papaparse entry, so the npm 11 platform-specific optional packages stay intact. Validated: npm ci, npm run build, npm test (mocha + jest unit + integration) all pass; snyk test --all-projects no longer reports the papaparse finding. #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_01NTFwVve4Q7UWstnqXbyGog
✅ 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
commented
Nov 25, 2026
dhruv-parekh-cs
left a comment
Contributor
Author
There was a problem hiding this comment.
Reviewed: whole PR (origin/development...CL-snyk-fixes/25-Nov-2026) (at 46bd867).
1 finding(s) inline.
— 🤖 snyk-fix review (Claude)
Generated by Claude Code
siddharth-kulkarni-cs
approved these changes
Nov 25, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
snyk-fix (deps) — 25-Nov-2026
Automated dependency sweep of
launch-cliagainstdevelopment. One Node.js project (package-lock.json, 494 prod dependencies); nogo.mod, no Dockerfile.Fixes
@contentstack/cli-utilities@2.0.2 > papaparse(also via@contentstack/cli-command@2.0.2 > cli-utilities)overridescli-utilities@2.0.2is the latest release and declarespapaparse ^5.5.4, which still admits 5.7.0. The override"papaparse": "^5.7.1"floors the fix at the patch release that carries it and stays inside the parent's declared range (same major).npm ls papaparseshowspapaparse@5.7.1 overridden.The lockfile change is limited to the papaparse entry (version, resolved, integrity). It was applied by hand rather than with a full npm 10 rewrite, so the npm 11 per-platform optional-package entries (
libcfields) that #270 restored stay untouched.npm ciaccepts the lockfile.Ecosystem-native audit (npm audit)
npm audit fix(no--force): 5 moderate. No change applied.globGHSA-3g3m-2fjr-6pw4 andminimatchGHSA-g3hv-75wg-m249 undermochaandnyc(viatest-exclude). The fix isnyc@17.1.0, a major downgrade, which npm declined. Snyk does not report these because it scans production dependencies.Overrides retired
None. Each existing override was checked against every parent's declared range (
npm view <parent>@<ver> dependencies,semver.intersectsagainst each advisory range):qs ~6.16.2: express/body-parser~6.16.0and@contentstack/management ^6.16.0still admit GHSA-6pq8-jhm2-2vcw (<=6.16.0). Kept.follow-redirects ^1.16.2: axios^1.16.0still admits GHSA-mrwp-f3q8-3g9p / q3jh / 8r9p. Kept.tty-table > csv ^6.6.4: removing it and re-scanning brings back SNYK-JS-CSVPARSE-19639017 (csv-parse@4.16.3). Kept.tmp ^0.2.4: external-editor^0.0.33admits GHSA-ph9p-34f9-6g65. Kept.serialize-javascript ^7.1.0: mocha^6.0.2admits GHSA-5c6j-r48x-rmvq and others. Kept.diff ^8.0.3: mocha/sinon^7.0.0and ts-node^4.0.1admit GHSA-73rr-hh4g-fpgx. Kept.@oclif/core > minimatch ^11.0.1:@oclif/core@4.14.0declares^10.2.5, which admits GHSA-g3hv-75wg-m249. Kept.Needs human review (not yet resolved)
open@8.4.2through@contentstack/cli-utilities@2.0.2(2 paths). The fix isopen@11.0.0, butcli-utilities(latest 2.0.2) declaresopen ^8.4.2. Forcing 11.x on it would be a breaking override, and no newercli-utilitiesexists. This needs an upstream@contentstack/cli-utilitiesrelease. The CLI's own directopenis already^11.0.4.adm-zip@0.6.1. 0.6.1 is the latest published version and Snyk lists no fixed version, so there is no upgrade path. This needs a decision: accept the risk or ignore it in Snyk, or replace the library.Code review
The
/code-reviewgate ran 2 passes and passed.Fix | +Claude | ...subject, butlaunch-cliis public and uses Conventional Commits. The commit was reworded tofix(deps): override papaparse to ^5.7.1 to clear SNYK-JS-PAPAPARSE-22566253(tree unchanged), and the PR title isfix(deps): ... (+Claude)./code-reviewgate found no High or Medium findings.Validation
npm ci: pass.npm run build: pass.npm test: pass (mocha unit, jest unit 142/142, jest integration 33/33).snyk test --all-projectsre-scan: 1 project, same as the original scan. SNYK-JS-PAPAPARSE-22566253 is gone; only the two needs-human-review findings above remain.#claude_code#
Generated by Claude Code