chore(deps): bump vendored runtime libs (dompurify, lodash-es)#1436
Open
gdevenyi wants to merge 1 commit into
Open
chore(deps): bump vendored runtime libs (dompurify, lodash-es)#1436gdevenyi wants to merge 1 commit into
gdevenyi wants to merge 1 commit into
Conversation
Bump the instrument-runtime vendored libraries to clear Dependabot advisories affecting the versions instruments load at runtime: - dompurify 3.1.6 -> 3.4.12 (15 advisories: sanitizer bypasses, prototype pollution, mutation-XSS) - lodash-es 4.17.21 -> 4.18.1 (code injection via _.template, prototype pollution in _.unset / _.omit) Both stay within the vendored major line (dompurify 3.x, lodash-es 4.x), so the runtime API contract is unchanged. runtime/v1 bundles cleanly and the full lint + unit test suites pass. Co-Authored-By: Claude Opus 4.8 (1M context) <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.
Part 2 of 2 of the Dependabot security sweep. This PR bumps the vendored instrument-runtime libraries — the versions that authored instruments load at runtime via
runtime/v1.vendor/dompurify@3.xIN_PLACE/SAFE_FOR_TEMPLATESbypasses,ADD_TAGS/USE_PROFILESprototype pollution, mutation-XSS)vendor/lodash-es@4.x_.template, prototype pollution in_.unset/_.omit)Why these are safe to bump
Both stay within the vendored major line (
dompurify@3.x,lodash-es@4.x), so the runtime API contract instruments depend on is unchanged.jquery@1.12.4is deliberately not touched — it is an intentional legacy pin and its advisory is being resolved separately (instruments are trusted, same-origin code, so it adds no attack surface).Verification
dompurify 3.1.6→3.4.12(+ its new@types/trusted-typestypes dep) andlodash-es 4.17.21→4.18.1(dedupes onto the 4.18.1 already in the tree) — nothing else.runtime/v1bundles successfully (runtime-bundler→ "Success!").pnpm lint✅ (33/33) ·pnpm test✅ (307 passed, 1 skipped).🤖 Generated with Claude Code