chore(deps): fix npm audit vulnerabilities#691
Open
andrewkmin wants to merge 1 commit into
Open
Conversation
Resolves 5 vulnerabilities (1 high, 3 moderate, 1 low) in scripts/openapi-gen via npm audit fix (non-breaking transitive bumps). - ajv 8.17.1 -> 8.20.0 (moderate: ReDoS in $data option) - diff 4.0.2 -> 4.0.4 (low: DoS in parsePatch/applyPatch) - fast-uri 3.0.6 -> 3.1.2 (high: path traversal + host confusion) - js-yaml 4.1.0 -> 4.2.0 (moderate: prototype pollution in merge <<) - yaml 1.10.2 -> 1.10.3 (moderate: stack overflow on deeply nested collections) No package.json changes needed. npm install and tsc --noEmit pass; openapi-gen CLI loads cleanly.
Contributor
|
Preview deployment for your docs. Learn more about Mintlify Previews.
💡 Tip: Enable Workflows to automatically generate PRs for you. |
|
Review the following changes in direct dependencies. Learn more about Socket for GitHub.
|
There was a problem hiding this comment.
Copilot wasn't able to review any files in this pull request.
Files not reviewed (1)
- scripts/openapi-gen/package-lock.json: Language not supported
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
Comment on lines
481
to
+484
| "node_modules/js-yaml": { | ||
| "version": "4.1.0", | ||
| "resolved": "https://registry.npmjs.org/js-yaml/-/js-yaml-4.1.0.tgz", | ||
| "integrity": "sha512-wpxZs9NoxZaJESJGIZTyDEaYpl0FKSA+FB9aJiyemKhMwkxQg63h4T1KJgUGHpTqPDNRcmmYLugrRjJlBtWvRA==", | ||
| "version": "4.2.0", | ||
| "resolved": "https://registry.npmjs.org/js-yaml/-/js-yaml-4.2.0.tgz", | ||
| "integrity": "sha512-ePWsvanv0DWuDRsW8dnt+R4jQ31SCRCQ7hhNcPXZPsoBZiemuZNYGf7adZdqX2D86j6rvKp3RpCxVTSb8WQlOw==", |
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.
Summary
Resolves all 5 npm audit vulnerabilities in
scripts/openapi-gen/vianpm audit fix(non-breaking, transitive-only).Before / after
Packages bumped (all transitive, no
package.jsonchanges)ajv$data(moderate)difffast-urijs-yaml<<(moderate)yamlVerification
npm install(inscripts/openapi-gen/) — succeeded, 89 packages installed, 0 vulnerabilities reported.npx tsc --noEmit -p .— clean, no type errors.npm start -- --help— CLI loads and prints help cleanly (no runtime regressions).npm auditafter fix —found 0 vulnerabilities.Remaining vulnerabilities
None. All 5 were resolved by the non-breaking automated fix; no
--forceupgrades were needed and no major version bumps were taken.Notes
package-lock.jsonat the repo root has an emptypackages: {}block and is unrelated — the only real Node project is underscripts/openapi-gen/.package.jsonchanges; this is a lockfile-only change.