Malware in vitest-axios
The npm package vitest-axios contains malware that grants full system compromise to an outside entity. Any computer with this package installed or running should be considered fully compromised.
- Disclosed
- Last updated
- Blast radius
- Any system with the package installed or running
- Ecosystems
- Attack vectors
- Affected entities
- vitest-axiosnpm package
The npm package vitest-axios has been identified as containing malware. According to the GitHub Advisory (GHSA-6v5g-7h35-h33q), any computer that has this package installed or running should be considered fully compromised.\n\nThe advisory recommends that all secrets and keys stored on affected computers be rotated immediately from a different, uncompromised system. 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 initial compromise, given that the attacker may have gained full control of the system.\n\nAffected users should treat their systems as potentially fully compromised and take appropriate incident response measures.
Indicators of compromise
- Packages
- vitest-axios
Remediation
- Immediately rotate all secrets, keys, and credentials from a different, uncompromised computer
- Remove the vitest-axios package from all affected systems
- Conduct a full security audit and forensic analysis of any system that had vitest-axios installed
- Monitor affected systems for signs of unauthorized access or persistence mechanisms
- Consider rebuilding or replacing affected systems if full compromise is suspected
- Review access logs and audit trails for any suspicious activity during the period the package was installed
Sources
- GitHub Advisory GHSA-6v5g-7h35-h33q · GitHub Advisory Database
Cite this entry
"Malware in vitest-axios." supplychainattack.org, Supply Chain Attack Incident Catalog. Disclosed July 23, 2026; last updated July 23, 2026. https://supplychainattack.org/incident/malware-in-vitest-axios-16uo9c
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 eth-codergen
Malware was discovered in the npm package eth-codergen. Systems with this package installed are considered fully compromised and require immediate remediation.
npmCompromised package - containedcritical
Malware in fs-extra-core
Malware was discovered in the npm package fs-extra-core. Systems with this package installed or running are considered fully compromised and require immediate remediation including secret rotation and package removal.
npmCompromised package - containedcritical
Malware in cktool-core
Malware was discovered in the npm package cktool-core. Systems with the package installed or running are considered fully compromised and require immediate remediation.
npmCompromised package - activecritical
Malware in lychee-norm-cache
Malware discovered in the npm package lychee-norm-cache. Systems with this package installed are considered fully compromised and require immediate remediation.
npmCompromised package