Skip to content

chore(deps-dev): bump vite-plus from 1.6.0 to 1.8.0 and align the Vite alias - #331

Merged
chaitanyapotti merged 1 commit into
masterfrom
ci/vite-plus-1.8.0
Dec 3, 2026
Merged

chaitanyapotti merged 1 commit into
masterfrom
ci/vite-plus-1.8.0

Conversation

@hieu-w

@hieu-w hieu-w commented Dec 3, 2026

Copy link
Copy Markdown
Contributor

Why

Same failure as the other repos' Dependabot vite-plus bumps: bumping the package alone leaves the
Vite alias in package.json ("vite": "npm:@voidzero-dev/vite-plus-core@…") pointing at the old core,
so every vp command dies with:

error: Failed to resolve pack command: GenericFailure,
Expected @voidzero-dev/vite-plus-core@…, but found ….
Run `vp migrate` to align the Vite alias, then run `vp install`.

What

  • bump vite-plus 1.6.0 → 1.8.0 (1.9.0 is blocked by min-release-age=3 — published today)
  • vp migrate → Vite alias aligned to the core vite-plus 1.8.0 expects, plus required overrides
  • vp install → lockfile regenerated
  • bump vitest / @vitest/* to 5.1.1 where present — the exact versions vite-plus 1.8.0 peers expect

Verified locally

  • vp pack (build) ✓

Supersedes

…e alias

Dependabot's vite-plus bumps fail CI because bumping the package alone leaves the Vite alias
pointing at the old @voidzero-dev/vite-plus-core: 'vp pack' then dies with 'Expected
@voidzero-dev/vite-plus-core@X, but found Y'. Run 'vp migrate' + 'vp install' to align the
alias and regenerate the lockfile. Supersedes: #325, #328, #326.
@hieu-w
hieu-w requested a review from a team as a code owner December 3, 2026 07:08
@socket-security

socket-security Bot commented Dec 3, 2026 •

Copy link
Copy Markdown

@socket-security

socket-security Bot commented Dec 3, 2026 •

Copy link
Copy Markdown

Warning

MetaMask internal reviewing guidelines:

  • Do not ignore-all
  • Each alert has instructions on how to review if you don't know what it means. If lost, ask your Security Liaison or the supply-chain group
  • Copy-paste ignore lines for specific packages or a group of one kind with a note on what research you did to deem it safe.
    @SocketSecurity ignore npm/PACKAGE@VERSION
Priority Alert  (click "▶" to expand/collapse) Action
Low priority
Potential code anomaly (AI signal): npm lint-staged is 61.0% likely to have a medium risk anomaly

Notes: This is a process termination utility with no overt malware or stealth features in the shown code. However, it performs high-impact OS actions using caller-controlled pid. On Windows, interpolating pid into a shell command executed via child_process.exec can lead to command injection/unintended arguments if pid is not strictly numeric. On Unix-like systems, using negative PID to target a process group can cause broad termination (DoS) if pid is wrong or attacker-controlled. Errors are silently swallowed, reducing observability of misuse.

Confidence: 0.61

Severity: 0.52

From: package-lock.json → npm/lint-staged@17.6.3

ℹ Read more on: This package | This alert | What is an AI-detected potential code anomaly?

Next steps: Take a moment to review the security alert above. Review the linked package source code to understand the potential risk. Ensure the package is not malicious before proceeding. If you're unsure how to proceed, reach out to your security team or ask the Socket team for help at support@socket.dev.

Suggestion: An AI system found a low-risk anomaly in this package. It may still be fine to use, but you should check that it is safe before proceeding.

Mark the package as acceptable risk. To ignore this alert only in this pull request, reply with the comment @SocketSecurity ignore npm/lint-staged@17.6.3. You can also ignore all packages with @SocketSecurity ignore-all. To ignore an alert for all future pull requests, use Socket's Dashboard to change the triage state of this alert.

Warn
Low priority
Potential code anomaly (AI signal): npm cross-spawn is 75.0% likely to have a medium risk anomaly

Notes: This file is a minimal, legitimate wrapper around Node.js child_process.spawn and spawnSync to provide improved ENOENT (command not found) error handling. It does not perform any network requests, dynamic code evaluation, secret disclosure, or telemetry. The only “sink” is the intended execution of local processes as directed by the calling application. No malicious behavior detected.

Confidence: 0.75

Severity: 0.55

From: package-lock.json → npm/@lavamoat/harden@0.8.1 → npm/@toruslabs/oxlint-config-typescript@1.1.1 → npm/cross-env@10.1.0 → npm/cross-spawn@7.1.2

ℹ Read more on: This package | This alert | What is an AI-detected potential code anomaly?

Next steps: Take a moment to review the security alert above. Review the linked package source code to understand the potential risk. Ensure the package is not malicious before proceeding. If you're unsure how to proceed, reach out to your security team or ask the Socket team for help at support@socket.dev.

Suggestion: An AI system found a low-risk anomaly in this package. It may still be fine to use, but you should check that it is safe before proceeding.

Mark the package as acceptable risk. To ignore this alert only in this pull request, reply with the comment @SocketSecurity ignore npm/cross-spawn@7.1.2. You can also ignore all packages with @SocketSecurity ignore-all. To ignore an alert for all future pull requests, use Socket's Dashboard to change the triage state of this alert.

Warn
Low priority
Potential code anomaly (AI signal): npm oxfmt is 98.0% likely to have a medium risk anomaly

Notes: This is a parser bundle and shows no evidence of malware, data theft, or external side effects. The provided text contains an apparent unterminated string in Ms, which makes it syntactically invalid and could break module loading; severity is high for availability if the defect exists in the published file. No domains, URLs, IP addresses, file paths, or targeted credentials are present.

Confidence: 0.98

Severity: 0.55

From: package-lock.json → npm/vite-plus@1.8.0 → npm/oxfmt@0.79.0

ℹ Read more on: This package | This alert | What is an AI-detected potential code anomaly?

Next steps: Take a moment to review the security alert above. Review the linked package source code to understand the potential risk. Ensure the package is not malicious before proceeding. If you're unsure how to proceed, reach out to your security team or ask the Socket team for help at support@socket.dev.

Suggestion: An AI system found a low-risk anomaly in this package. It may still be fine to use, but you should check that it is safe before proceeding.

Mark the package as acceptable risk. To ignore this alert only in this pull request, reply with the comment @SocketSecurity ignore npm/oxfmt@0.79.0. You can also ignore all packages with @SocketSecurity ignore-all. To ignore an alert for all future pull requests, use Socket's Dashboard to change the triage state of this alert.

Warn
Low priority
Potential code anomaly (AI signal): npm tar is 66.0% likely to have a medium risk anomaly

Notes: This module acts as a standard tar extraction wrapper using synchronous and asynchronous code paths. There is no evident malicious activity within this fragment. Security risk hinges on the behavior of the Unpack/UnpackSync implementation and how tar entries are written to disk (e.g., path traversal). No hardcoded secrets or network calls are present here. Recommend ensuring tar extraction handles path traversal and destination path sanitization in Unpack, and consider validating opt.file presence and type before streaming.

Confidence: 0.66

Severity: 0.56

From: package-lock.json → npm/@lavamoat/harden@0.8.1 → npm/tar@7.5.24

ℹ Read more on: This package | This alert | What is an AI-detected potential code anomaly?

Next steps: Take a moment to review the security alert above. Review the linked package source code to understand the potential risk. Ensure the package is not malicious before proceeding. If you're unsure how to proceed, reach out to your security team or ask the Socket team for help at support@socket.dev.

Suggestion: An AI system found a low-risk anomaly in this package. It may still be fine to use, but you should check that it is safe before proceeding.

Mark the package as acceptable risk. To ignore this alert only in this pull request, reply with the comment @SocketSecurity ignore npm/tar@7.5.24. You can also ignore all packages with @SocketSecurity ignore-all. To ignore an alert for all future pull requests, use Socket's Dashboard to change the triage state of this alert.

Warn
Low priority
Potential code anomaly (AI signal): npm ws is 75.0% likely to have a medium risk anomaly

Notes: The code implements a standard EventTarget-like mixin for wrapping event listeners and dispatching events to user callbacks. There are no suspicious patterns such as dynamic code execution, hardcoded secrets, or network activity. The risk is contingent on what the consumer does inside their handlers; the snippet itself does not introduce malware or data leakage mechanisms beyond normal event dispatch. Overall security risk is low in isolation.

Confidence: 0.75

Severity: 0.50

From: package-lock.json → npm/@vitest/browser-playwright@5.1.1 → npm/vitest@5.1.1 → npm/vite-plus@1.8.0 → npm/viem@2.58.8 → npm/ws@8.23.1

ℹ Read more on: This package | This alert | What is an AI-detected potential code anomaly?

Next steps: Take a moment to review the security alert above. Review the linked package source code to understand the potential risk. Ensure the package is not malicious before proceeding. If you're unsure how to proceed, reach out to your security team or ask the Socket team for help at support@socket.dev.

Suggestion: An AI system found a low-risk anomaly in this package. It may still be fine to use, but you should check that it is safe before proceeding.

Mark the package as acceptable risk. To ignore this alert only in this pull request, reply with the comment @SocketSecurity ignore npm/ws@8.23.1. You can also ignore all packages with @SocketSecurity ignore-all. To ignore an alert for all future pull requests, use Socket's Dashboard to change the triage state of this alert.

Warn

Ignoring alerts on:

  • @rolldown/binding-wasm32-wasi@1.3.4
  • package-manager-detector@1.10.0

View full report

@hieu-w

hieu-w commented Dec 3, 2026

Copy link
Copy Markdown
Contributor Author

@SocketSecurity ignore npm/@rolldown/binding-wasm32-wasi@1.3.4

@SocketSecurity ignore npm/package-manager-detector@1.10.0

@SocketSecurity ignore npm/playwright-core@1.65.1

used in devDeps only

@chaitanyapotti
chaitanyapotti merged commit 218f06f into master Dec 3, 2026
14 of 17 checks passed
@chaitanyapotti
chaitanyapotti deleted the ci/vite-plus-1.8.0 branch December 3, 2026 07:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants