fix(deps): override hono, js-yaml and socket.io-parser to patched versions - #281
Merged
Conversation
…sions Snyk reported 7 vulnerabilities in the install tree. Six have patched releases upstream and are resolved by forcing them through the existing overrides block. All three packages confirmed as "overridden" by npm ls, not just declared. - hono 4.12.32 -> 4.13.1 (patched in 4.12.34): SNYK-JS-HONO-18517010 ReDoS, SNYK-JS-HONO-18592332 data exposure to wrong session, SNYK-JS-HONO-18592333 HTTP request smuggling, SNYK-JS-HONO-18593786 inefficient algorithmic complexity - js-yaml 4.3.0 -> 4.3.1: SNYK-JS-JSYAML-18593780 inefficient algorithmic complexity - socket.io-parser 4.2.6 -> 4.2.7: SNYK-JS-SOCKETIOPARSER-18517008 improper check for unusual conditions Left unfixed because no supported fix exists: - react-dev-utils 12.0.1, Critical command injection (SNYK-JS-REACTDEVUTILS-17890708). 12.0.1 is the latest stable release; only 12.1.0-next prereleases exist beyond it. It is a direct dependency of gatsby 5.16.1, itself the latest stable gatsby, so there is no version to override to. No .snyk ignore added. Every affected package arrives through gatsby, a peerDependency, so none of them ship with this plugin. A consuming project supplies its own Gatsby tree and these overrides do not reach it. Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
✅ 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:
Consider reviewing these vulnerabilities when fixes become available. |
cs-raj
approved these changes
Aug 10, 2026
aniket-shikhare-cstk
approved these changes
Aug 10, 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.
Summary
Clears 6 of the 7 vulnerabilities Snyk reports against this project's install tree. Version bumped 5.4.9 → 5.4.10 to match what semantic-release computes for a
fix:commit.Approach: all six have patched upstream releases, so they are fixed by forcing the patched version through the existing
overridesblock. No.snykignore added, and no ignore is needed. Confirmed withnpm lsthat each override actually resolved rather than just being declared:honoSNYK-JS-HONO-18517010ReDoS,-18592332data exposure to wrong session,-18592333HTTP request smuggling,-18593786inefficient algorithmic complexityjs-yamlSNYK-JS-JSYAML-18593780inefficient algorithmic complexity (High)socket.io-parserSNYK-JS-SOCKETIOPARSER-18517008improper check for unusual conditions (High)All three are patch bumps inside the same major, so no API surface moves.
honois only present because ESLint 9.26 ships an MCP server that pulls@modelcontextprotocol/sdk; nothing in this plugin touches it.Left unfixed, deliberately:
react-dev-utils@12.0.1— Critical command injection,SNYK-JS-REACTDEVUTILS-17890708. 12.0.1 is the latest stable release, with only12.1.0-nextprereleases beyond it, and it is a direct dependency ofgatsby@5.16.1, itself the latest stable gatsby. There is no version to override to. Snyk's own output says "No upgrade or patch available". This clears when gatsby moves off it.Scope note: every package here arrives through
gatsby, which is apeerDependency. None of them are published with this plugin — the published tarball carries only the 9 runtimedependencies, and a consuming project supplies its own Gatsby tree, which these overrides do not reach. This change makes the project's own scan honest; it does not change what consumers install.Test plan
snyk testbefore: 7 vulnerabilities (1 critical, 2 high, 4 medium). After: 1 (the react-dev-utils critical above).npm ls hono js-yaml socket.io-parser— each reportsoverriddenat the patched version, not the declared one.npx jest— 6 suites, 16 tests, all pass.npm run build— 25 files compiled, no change to committed build output.git statusclean apart frompackage.jsonandpackage-lock.json(3 lines and 9 lines respectively).Not covered: no live verification against a real Contentstack stack, since no plugin source changed — this is dependency resolution only. The 11 remaining Snyk license findings (MPL-2.0 in
axe-core, LGPL-3.0 in thesharp-libvipsplatform binaries) are pre-existing and untouched by this change.🤖 Generated with Claude Code