Malicious code in advirtual (PyPI)
The advirtual package on PyPI contained malicious code that executed spyware and information-stealing malware. It was part of a campaign by EsqueleSquad group that published nearly 6000 malicious packages across PyPI and NPM.
- Disclosed
- Last updated
- Blast radius
- Potentially thousands of installations; part of a campaign distributing ~6000 malicious packages across PyPI and NPM.
- Ecosystems
- Attack vectors
- Threat actor
- Affected entities
- advirtualMalicious package published to PyPI
The advirtual package published to PyPI contained malicious code designed to execute spyware and information-stealing malware on affected systems. This package was part of a large-scale campaign attributed to the EsqueleSquad group.
The EsqueleSquad group published approximately 6000 malicious packages across both PyPI and NPM ecosystems as part of this coordinated campaign. The malicious packages were identified and documented by the OpenSSF's malicious-packages repository.
The incident has been cataloged under the identifier MAL-2023-2507 in the OpenSSF malicious packages database, indicating the malware was discovered and documented in 2023.
Indicators of compromise
- Packages
- advirtual
Remediation
- Remove advirtual package from all environments immediately
- Audit systems that installed advirtual for signs of compromise, including unauthorized access, data exfiltration, or persistence mechanisms
- Review PyPI and NPM package dependencies for other packages from the EsqueleSquad campaign
- Implement package verification and scanning in dependency management workflows
- Monitor for indicators of compromise related to spyware and information-stealing malware
Sources
- GitHub Advisory GHSA-4v83-pf7q-2v23 · GitHub Advisory Database
Cite this entry
"Malicious code in advirtual (PyPI)." supplychainattack.org, Supply Chain Attack Incident Catalog. Disclosed July 21, 2026; last updated July 21, 2026. https://supplychainattack.org/incident/malicious-code-in-advirtual-pypi-7yqaxl
Suggest a correction
Found an error or have a newer source? Corrections to factual errors take priority over new entries.
Related incidents
- resolvedcritical
Malicious code in afrit-name (PyPI)
Malicious code was discovered in the afrit-name package on PyPI. The incident was identified and documented by the OpenSSF malicious packages project.
PyPICompromised package - resolvedcritical
Malicious code in adv2099m7 (PyPI)
Malicious code was discovered in the adv2099m7 package on PyPI. The package was identified and cataloged by the OpenSSF malicious packages project.
PyPICompromised package - resolvedcritical
Malicious code in adrandom (PyPI)
The adrandom package on PyPI contained malicious code that executed spyware and information-stealing malware. It was part of a campaign by the EsqueleSquad group that published nearly 6,000 malicious packages across PyPI and NPM.
EsquelesquadPyPICompromised package - resolvedcritical
Malicious code in ziphash (PyPI)
The ziphash package on PyPI contained malicious code that downloads and executes multi-stage malware during archive-support class initialization. The malware exhibits obfuscation and remote code execution capabilities, classified as part of the 2025-11-uzip campaign.
2025 11 UzipPyPICompromised package