fix: patch Dependabot transitive dep advisories via pnpm overrides#26
Merged
Conversation
…ides Resolves 13 open Dependabot alerts plus a high-severity form-data advisory caught by Snyk, all in dev/build-chain transitive deps (nothing ships — files: ["dist"]). Pinned via pnpm.overrides, staying within each existing major to avoid breaking the toolchain: - undici 6.26.0 -> 6.27.0, 7.24.5 -> 7.28.0 (Set-Cookie SameSite/header injection, SOCKS5 routing/TLS bypass, cache + queue poisoning) - uuid 10.0.0 -> 11.1.1 (missing buffer bounds check; no 10.x patch exists, so bumped to the patched 11.x already in the tree) - lodash 4.17.23 -> 4.18.1 (_.template code injection, prototype pollution in _.unset/_.omit) - minimatch 9.0.3 -> 9.0.7 (matchOne ReDoS); 3.x/5.x/10.x untouched - form-data 4.0.4 -> 4.0.6 (CRLF injection via unescaped multipart field names, GHSA-hmw2-7cc7-3qxx) pnpm audit clean; build, lint, and test (16/16) all green. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
aca272c to
9bb81ff
Compare
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
Remedies all 13 open Dependabot alerts. Every flagged package is a dev/build-chain transitive dependency (under
@n8n/node-cliandrelease-it) — nothing ships to npm since the package publishes onlydist(files: ["dist"]). Fixed by extending the existingpnpm.overridesblock, pinning each advisory's patched version within its current major so the toolchain isn't bumped across a breaking boundary.Alerts resolved
_.templatecode injection (high), prototype pollution in_.unset/_.omitmatchOne()ReDoS (high); 3.x/5.x/10.x lines untouchedTest plan
pnpm installcleanpnpm build✓pnpm lint✓ (exit 0)pnpm test✓ 16/16package.json+pnpm-lock.yamlchanged