Closed
Conversation
Adds resolutions for lodash, lodash-es, hono, @hono/node-server, langsmith, follow-redirects, axios; bumps forest-cloud's direct axios dep to ^1.15.0; removes two stale lerna js-yaml resolutions that yarn was warning about and ignoring. https://claude.ai/code/session_01Hv7wGaHQdme74cg6sVZakL
|
Coverage Impact This PR will not change total coverage. 🚦 See full report on Qlty Cloud »🛟 Help
|
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
15 fixed, 4 ignored, 5 deferred, 7 resolutions added, 2 resolutions removed.
Fixed
lodash-es: ">=4.18.1"(only parent is dev-only@qiwi/multi-semantic-release, which has not yet released a version that pulls in patched lodash-es)@hono/node-server: ">=1.19.13 <2"(transitive via@modelcontextprotocol/sdk— no parent bump pulls in the patch)hono: ">=4.12.14"(transitive via@modelcontextprotocol/sdk)lodash: ">=4.18.1"(many transitive chains; runtime path viaforest-ip-utils → ip-address)langsmith: ">=0.5.19"(transitive via@forestadmin/ai-proxy → @langchain/core)follow-redirects: ">=1.16.0"(transitive via axios; axios 1.15.x still pinsfollow-redirects ^1.15.11, so bumping axios alone does not close this alert)packages/forest-cloud^1.13.5→^1.15.0; added root resolutionaxios: ">=1.15.0"to also cover thelerna → nx → axioschainIgnored
@fastify/expressis declared as adevDependencyand as an optionalpeerDependencyinpackages/agent/package.json— it is used only from the agent's test suite and is installed by end-users (not us) at runtime. The only patched version,4.0.5, depends onexpress ^5.2.1+fastify-plugin ^5.0.0(i.e. Fastify 5), while our tests explicitly target Fastify 2/3/4 via thefastify2,fastify, andfastify4aliases inpackages/agent/package.json. No patched release exists for the 1.x/2.x/3.x lines, so there is no compatible resolution target. Users continue to install their own@fastify/expressat runtime; the peer range (^1.1.0 || ^2.0.0 || ^3.0.0 || ^4.0.0) is unchanged.manifest_path: yarn.lockbut refers to the same install as #330.manifest_path: yarn.lock.Deferred (age gate: opened < 7 days ago)
@fastify/middie<= 9.3.1 (high, 6.5d)@fastify/middie<= 9.3.1 (critical, 6.5d)axios< 1.15.0 (medium, 6.1d — second axios advisory)uuid< 14.0.0 (medium, <1d)fast-xml-parser< 5.7.0 (medium, <1d)Resolutions added
All new resolutions were placed at the root
package.json. Yarn v1 (packageManager: "yarn@1.22.19") does not honorresolutionsfields in non-root workspacepackage.jsonfiles, so workspace-level placement is not available. Parent-scoped syntax ("parent/child": "X") was considered but most of these packages appear via several unrelated chains (see "yarn why" snippets above), which made unconditional root entries the more reliable option.lodash-es: ">=4.18.1"@qiwi/multi-semantic-release → semantic-release → lodash-es@qiwi/multi-semantic-releaseorsemantic-releaseyet pulls patchedlodash-espackage.json@hono/node-server: ">=1.19.13 <2"@modelcontextprotocol/sdk → @hono/node-server; also@langchain/mcp-adapters → @modelcontextprotocol/sdk → @hono/node-server@modelcontextprotocol/sdkstill pins a sub-1.19.13@hono/node-server. Upper bound<2avoids the major 2.0.0 which is a breaking change for MCPpackage.jsonhono: ">=4.12.14"@hono/node-serverpackage.jsonlodash: ">=4.18.1"package.jsonlangsmith: ">=0.5.19"@forestadmin/ai-proxy → @langchain/core → langsmithand… → @langchain/community → @langchain/classic → langsmith@langchain/core@1.x/@langchain/community@1.1.19still resolve to langsmith < 0.5.19package.jsonfollow-redirects: ">=1.16.0"@forestadmin/forest-cloud → axios → follow-redirectsfollow-redirects ^1.15.11, which yarn resolves to 1.15.11 (vulnerable)package.jsonaxios: ">=1.15.0"(plus direct dep bump inpackages/forest-cloud/package.json)@forestadmin/forest-cloud → axios(direct) andlerna → nx → axios(transitive)lerna/nxchain which we don't ownpackages/forest-cloud/package.json(direct) + rootpackage.json(resolution)Resolutions removed
package.json"lerna/js-yaml": "4.1.1"Resolution field "js-yaml@4.1.1" is incompatible with requested version "js-yaml@4.1.0"and ignoring it. After removal, a freshyarn installstill resolvesjs-yamlto 4.1.0 everywhere (unchanged) and the warning disappears.package.json"@lerna/create/js-yaml": "4.1.1"Risks
_.template/ prototype-pollution fixes are behavioral hardening.toSSG, IP-range match correctness, cookie-name validation, and JSX attribute handling. Hono is only used transitively by the MCP SDK; we do not call Hono APIs directly._deepCopyand 0.5.22 tightens streaming-token output parsing. We consume langsmith only transitively via@langchain/core.packages/forest-cloudchanges the minimum resolved axios from 1.13.x to 1.15.x.No behavior changes beyond the patched vulnerabilities are expected for any of the above.
Manual testing
Covered by CI.
Validation
✅ CI green
Note
Patch 15 Dependabot security alerts by updating vulnerable dependencies
lodash,lodash-es,hono,@hono/node-server,langsmith,follow-redirects, andaxiosto enforce patched minimum versions.axiosin packages/forest-cloud/package.json from^1.13.5to^1.15.0.@lerna/js-yamland@lerna/create/js-yaml(no longer needed).Macroscope summarized aa16c89.