[agent] chore(deps): bump js-yaml to fix prototype pollution (GHSA-mh29-5h37-fv8m)#723
Draft
github-actions[bot] wants to merge 1 commit intomainfrom
Draft
Conversation
…fv8m) - Update root-level hoisted js-yaml from 3.14.1 to 3.14.2 - Update mocha nested js-yaml from 4.0.0 to 4.1.1 via npm overrides - Update @bcherny/json-schema-ref-parser nested js-yaml from 4.1.0 to 4.1.1 via npm overrides - Update mongodb-schema nested js-yaml from 4.1.0 to 4.1.1 via npm overrides Fixes Dependabot alerts #85 and #86 (CVE-2025-64718). Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
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
Addresses Dependabot alerts #85 and #86 — CVE-2025-64718 / GHSA-mh29-5h37-fv8m: prototype pollution via
__proto__injs-yaml's merge (<<) operator.Changes
package-lock.json— lockfile updatesnode_modules/js-yaml(root hoisted, 3.x)node_modules/mocha/node_modules/js-yamlnode_modules/@bcherny/json-schema-ref-parser/node_modules/js-yamlnode_modules/mongodb-schema/node_modules/js-yamlpackage.json— npmoverridesThree packages needed
overridesbecause their own declared ranges could not self-resolve to a patched version without lockfile intervention:mocha@8.4.0pinsjs-yamlto the exact version4.0.0— there is no manifest bump possible without upgrading mocha major versions. Override forces4.1.1.@bcherny/json-schema-ref-parserdeclares^4.1.0(allows 4.1.1 in theory, but the lockfile was pinned to 4.1.0). Override ensures futurenpm installruns stay on a safe version.mongodb-schemasimilarly declared^4.1.0. Override ensures futurenpm installruns stay on a safe version.The 3.x hoisted instance was updated directly in the lockfile (all consumers declare
^3.xranges that allow3.14.2).Security advisory
js-yaml@3.14.2,js-yaml@4.1.1