Repository navigation
chore(deps): vitest 4.1.11 closes the @vitest/mocker path traversal - #225
Merged
Merged
Conversation
Dependabot alerts #39 and #40, one advisory: @vitest/mocker's redirect mock allowed an arbitrary file read (GHSA, medium) in >= 2.1.0 < 4.1.11. Dev dependency only -- it never reaches a published artifact -- but the lockfile is what the alert reads, so the fix is the bump. 3411 unit tests pass on 4.1.11. Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01MKNHFQ1kek1cHeqhbH37Pk
chaxus
enabled auto-merge (rebase)
September 12, 2026 10:10
Deploying document with
|
| Latest commit: |
23e2687
|
| Status: | ✅ Deploy successful! |
| Preview URL: | https://373f8a13.document-7hm.pages.dev |
| Branch Preview URL: | https://chore-bump-vitest.document-7hm.pages.dev |
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.
Closes Dependabot alerts #39 and #40 — one advisory, two packages:
@vitest/mocker's redirect mock allowed a path traversal / arbitrary file read in>= 2.1.0 < 4.1.11.Dev dependency only (it never reaches a published artifact), but the lockfile is what the alert reads, so the fix is the bump:
vitestand@vitest/coverage-v8^4.1.10→^4.1.11, and@vitest/mockerresolves to 4.1.11 in the lockfile.3411 unit tests pass on 4.1.11; lint clean.
🤖 Generated with Claude Code
https://claude.ai/code/session_01MKNHFQ1kek1cHeqhbH37Pk