chore: enforce patched handlebars and basic-ftp in release tooling#10
Open
t15k wants to merge 1 commit into
Open
chore: enforce patched handlebars and basic-ftp in release tooling#10t15k wants to merge 1 commit into
t15k wants to merge 1 commit into
Conversation
Fixes Vanta/Dependabot alerts CVE-2026-33937 (handlebars <= 4.7.8, AST code injection) and CVE-2026-27699 (basic-ftp < 5.2.0, path traversal in downloadToDir). Both are transitive dev deps of the release stub (via auto-changelog and release-it -> get-uri), so the fix is an overrides floor plus a lockfile refresh: handlebars 4.7.9, basic-ftp 5.3.1. Caret ranges keep both within the majors their parents declare. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_017AP7a9cvvepgtn1yf52773
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 two Vanta/Dependabot alerts in the npm release stub under
.github/scripts/release/:auto-changelog), critical AST code injection → bumped to 4.7.9release-it → proxy-agent → pac-proxy-agent → get-uri), critical path traversal indownloadToDir()→ bumped to 5.3.1Both patched versions already satisfy the parents' declared ranges, so this is a lockfile refresh plus an
overridesblock inpackage.jsonto enforce the floor against future lockfile regenerations. Caret ranges (^4.7.9,^5.2.0) keep both deps within the majors their parents were built against (a bare>=floor let basic-ftp jump to 6.x, whichget-uridoesn't declare support for).Test plan
npm ls handlebars basic-ftpshows 4.7.9 / 5.3.1npx release-it --versionandnpx auto-changelog --versionboth run against the refreshed tree🤖 Generated with Claude Code
https://claude.ai/code/session_017AP7a9cvvepgtn1yf52773