security: pin Actions to SHAs and upgrade vulnerable transitive deps#180
Merged
Conversation
…nsitive deps - Pin all GitHub Actions to immutable commit SHAs to prevent supply-chain attacks via mutable version tags (actions/checkout, pnpm/action-setup, actions/setup-node, codecov/codecov-action, upload-pages-artifact, deploy-pages) — fixes code-scanning alerts #81-#84 - Add pnpm.overrides to force patched versions of transitive dependencies: handlebars@>=4.7.9 (JS injection via AST), js-yaml@>=4.2.0 (DoS via merge key aliases), undici@>=7.28.0 (TLS bypass, header injection, cache poisoning) — fixes Dependabot alerts #18-#27, #43-#53 Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.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
handlebars >= 4.7.9— JS injection via AST type confusion (critical fix: add documentation links to the landing page and improve hub management logic #24, high Feat/notification #20–Feat/dashboard #22, medium fix: update version badge to reflect latest release and enhance terminal animation output #18, Fix/bugs #25)js-yaml >= 4.2.0— Quadratic-complexity DoS via merge key aliases (chore(deps-dev): bump vite from 8.0.0 to 8.0.1 #55)undici >= 7.28.0— TLS certificate bypass, HTTP header injection, cache poisoning, SOCKS5 proxy reuse (Please give me idea for New Features. #43–chore(deps): bump pnpm/action-setup from 4 to 5 #53)All 135 tests pass with no regressions.
What cannot be fixed (noted separately)
Test plan
pnpm -r test)pnpm why handlebars/js-yaml/undiciconfirms patched versions are resolved🤖 Generated with Claude Code