Malware in vitest-agent
Malware was discovered in the npm package vitest-agent. Systems with this package installed or running are considered fully compromised and require immediate remediation.
- Disclosed
- Last updated
- Blast radius
- Any system with vitest-agent installed or running
- Ecosystems
- Attack vectors
- Affected entities
- vitest-agent
A malware incident was identified in the npm package vitest-agent, published as GitHub Advisory GHSA-w2r4-4x6j-3h5x on July 2, 2026.\n\nAccording to the advisory, any computer with this package installed or running should be considered fully compromised. The malware grants outside entities full control of affected systems.\n\nImmediate remediation requires rotating all secrets and keys from a different, uncompromised computer. While the package should be removed, there is no guarantee that removal will eliminate all malicious software that may have been installed as a result of the compromise.\n\nAffected package: vitest-agent (npm).
Indicators of compromise
- Packages
- vitest-agent
Remediation
- Immediately rotate all secrets and keys from a different, uncompromised computer
- Remove the vitest-agent package from all affected systems
- Conduct a full security audit of any system that had vitest-agent installed
- Monitor for signs of unauthorized access or data exfiltration
- Consider the affected system(s) as potentially fully compromised and plan for complete rebuild if critical systems are involved
Sources
- GitHub Advisory GHSA-w2r4-4x6j-3h5x · GitHub Advisory Database
Cite this entry
"Malware in vitest-agent." supplychainattack.org, Supply Chain Attack Incident Catalog. Disclosed July 2, 2026; last updated July 2, 2026. https://supplychainattack.org/incident/malware-in-vitest-agent-z8yj0k
Suggest a correction
Found an error or have a newer source? Corrections to factual errors take priority over new entries.
Related incidents
- containedcritical
Malware in autotel-vitest
Malware was discovered in the npm package autotel-vitest. Any computer with this package installed or running should be considered fully compromised, with all secrets and keys requiring immediate rotation from a different system.
npmCompromised package - containedcritical
Malware in autotel-tanstack
Malware was discovered in the npm package autotel-tanstack. Any computer with this package installed or running should be considered fully compromised, with all secrets and keys requiring immediate rotation from a different system.
npmCompromised package - containedcritical
Malware in autotel-plugins
The npm package autotel-plugins was found to contain malware, resulting in full system compromise of any computer with the package installed or running. All secrets and keys should be rotated immediately from a different computer.
npmCompromised package - activecritical
Malware in autotel-mongoose
Malware was discovered in the npm package autotel-mongoose. Systems with this package installed or running should be considered fully compromised.
npmCompromised package