Windows Defender flags Vite+ shim executables as Trojan:Win32/Wacatac.B!ml
Los mantenedores suelen responder en 1 día
@fengmk2 ya está trabajando en esto.
Desde el 2/10/2026.
Evaluación
- Dificultad
- 4/5
- Tiempo estimado
- 3-5 días
- Aptitud para principiantes
- 48/100
Línea de trabajo
Start by locating the Windows vp-shim.exe generation and packaging entry points, then reproduce installation or update followed by node -v with Microsoft Defender enabled. Check the generated and extracted shim files named in the report and verify that Defender no longer flags them and that the managed node, npm, and vp commands run successfully.
Escrito por el modelo de indexación a partir del texto del issue.
Descripción
Describe the bug
On Windows, Microsoft Defender is detecting Vite+'s shim executable as:
Trojan:Win32/Wacatac.B!ml
This causes executables managed/generated by Vite+ such as vp.exe, node.exe, and npm.exe to be blocked by Windows.
For example, running:
node -v
fails with:
ResourceUnavailable: Program 'node.exe' failed to run: An error occurred trying to start process
'C:\Users\MyUser\AppData\Local\vite-plus\bin\node.exe'
with working directory 'C:\Users\MyUser'.
Operation did not complete successfully because the file contains a virus or potentially unwanted software.
The Defender detection history shows that the original vp-shim.exe extracted during Vite+ installation/update is detected as well as copies of that shim:
ThreatID: 2147735505
ThreatName: Trojan:Win32/Wacatac.B!ml
SeverityID: 5
CategoryID: 8
Affected files observed so far include:
C:\Users\MyUser\AppData\Local\vite-plus\bin\vp.exe
C:\Users\MyUser\AppData\Local\vite-plus\bin\npm.exe
C:\Users\MyUser\AppData\Local\vite-plus\bin\node.exe
C:\Users\MyUser\AppData\Local\Temp\vite-platform-1692847142\package\vp-shim.exe
C:\Users\MyUser\AppData\Local\Temp\vite-platform-955851349\package\vp-shim.exe
The SHA-256 hash of my generated Vite+ node.exe shim is:
9FAA32624BDB13526FE4FFFB41BE524CDC4A4659A151BD5D3850739795030DEC
Because Defender also detects the extracted vp-shim.exe itself, this appears to be a false-positive detection of the Vite+ Windows shim rather than a detection of a Node.js runtime downloaded through Vite+.
Expected behavior:
Vite+ installed/managed executables should be usable on a standard Windows system with Microsoft Defender enabled.
Actual behavior:
Microsoft Defender detects the Vite+ shim as Trojan:Win32/Wacatac.B!ml, quarantines or blocks it, and consequently prevents commands such as node, npm, and potentially vp itself from running.
I am reporting this because other Windows users may suddenly lose access to their Vite+ managed toolchain when Microsoft Defender definitions classify the shim this way.
This issue report was prepared with the assistance of ChatGPT. The detection information, file paths, hashes, and command output were obtained from the affected machine; AI was used to help investigate the issue and structure this report according to the Vite+ issue template.
Reproduction
N/A
Steps to reproduce
Command-line reproduction on a Windows machine with Microsoft Defender enabled.
No project repository is required because the detection affects the Vite+ installation/toolchain shim itself.
If the issue template requires a URL, I can provide a minimal repository, but the reproduction does not depend on project contents.
Steps to reproduce
- Install or update Vite+ on Windows.
- Configure/use Node through Vite+ so that Vite+ provides its
node.exeshim under:
%LOCALAPPDATA%\vite-plus\bin
- Ensure Microsoft Defender real-time protection and current malware definitions are enabled.
- Run:
node -v
- Windows may prevent execution with an error similar to:
Operation did not complete successfully because the file contains a virus or potentially unwanted software.
- Inspect Defender detections:
Get-MpThreatDetection |
Sort-Object InitialDetectionTime -Descending |
Select-Object -First 10 ThreatID, ThreatStatusID, InitialDetectionTime, Resources
- Inspect the threat name:
Get-MpThreat |
Select-Object ThreatID, ThreatName, SeverityID, CategoryID
On the affected system this reports:
ThreatID ThreatName SeverityID CategoryID
-------- ---------- ---------- ----------
2147735505 Trojan:Win32/Wacatac.B!ml 5 8
- Hash the generated Node shim:
Get-FileHash "$env:LOCALAPPDATA\vite-plus\bin\node.exe" -Algorithm SHA256
Result on the affected system:
SHA256
9FAA32624BDB13526FE4FFFB41BE524CDC4A4659A151BD5D3850739795030DEC
Defender additionally reported detections on temporary Vite+ package files named:
...\vite-platform-...\package\vp-shim.exe
which suggests the detection originates from the Vite+ shim itself rather than from the installed Node runtime.
System Info
Node.js:
Version 24.21.0
Source lts
Bin Path C:\Users\MyUser\AppData\Local\vite-plus\data\js_runtime\node\24.21.0\node.exe
Installed true
Mode managed
vp v1.0.0
Local vite-plus:
vite-plus Not found
Tools:
vite Not found
rolldown Not found
vitest Not found
oxfmt Not found
oxlint Not found
oxlint-tsgolint Not found
tsdown Not found
Environment:
Package manager Not found
Node.js v24.21.0
Used Package Manager
npm
Logs
Validations
- Read the Contributing Guidelines.
- Check that there isn't already an issue for the same bug.
- Confirm this is a Vite+ issue and not an upstream issue (Vite, Vitest, tsdown, Rolldown, or Oxc).
- The provided reproduction is a minimal reproducible example.
- Lenguaje dominante
- Rust
- Estrellas
- 6k
- Forks
- 274
- Merge medio
- 1 d 13 h
- PR fusionados (30 d)
- 195
Preparar el entorno
Inicia el contenedor de desarrollo del proyecto en tu navegador, con tu propia cuenta de GitHub.
- Sin Dockerfile ni archivo de Docker Compose
- Sin plantilla de pull request
- Leer la guía de contribución
Primeros pasos
- Lee el issue completo y luego la guía de contribución del proyecto.
- Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
- Haz un fork del repositorio y trabaja en una rama.
- Abre un pull request que haga referencia al número del issue.
Más de voidzero-dev/vite-plus
-
`npx --package=vite-plus vp create` fails with exit 127 when npm is the chosen package managerPosiblemente ocupada @Crimson341 la tomó hoy. Abiertobug
Dificultad 2/5 1-3 horas Aptitud para principiantes 70/100
voidzero-dev/vite-plus#2970 ·
Los mantenedores suelen responder en 1 día
-
pending triage
Dificultad 2/5 1-3 horas Aptitud para principiantes 72/100
voidzero-dev/vite-plus#2882 · 2 comentarios ·
Los mantenedores suelen responder en 1 día
-
enhancement
Dificultad 2/5 1-3 horas Aptitud para principiantes 62/100
voidzero-dev/vite-plus#2097 · 10 comentarios · 2 reacciones ·
Los mantenedores suelen responder en 1 día
-
Windows: PowerShell installer (1.1.0) does not add vite-plus\bin to user PATH — 'vp' not recognizedAbierto
Dificultad 4/5 3-5 días Aptitud para principiantes 30/100
voidzero-dev/vite-plus#2984 · 1 comentario ·
Los mantenedores suelen responder en 1 día
-
pending triage
Dificultad 3/5 1-2 días Aptitud para principiantes 40/100
voidzero-dev/vite-plus#2983 ·
Los mantenedores suelen responder en 1 día
Todos los issues de voidzero-dev/vite-plus
Issues similares
-
llm translation
Dificultad 2/5 1-3 horas Aptitud para principiantes 76/100
Los mantenedores suelen responder en 1 día
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 77/100
CybercentreCanada/sawp#13 ·
-
area: backend type: enhancement
Dificultad 2/5 1-3 horas Aptitud para principiantes 61/100
armadavalor/WinKnife#6 ·
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 68/100
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 78/100
5omeOtherGuy/phaseone#870 ·
Los mantenedores suelen responder en 1 día