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
- resolvedhigh
Malicious code in riakcs (PyPI)
The riakcs package on PyPI contained malicious code that exfiltrates basic host information (IP address, username) during installation. The package overrides the install command in setup.py to execute the malicious payload when installed.
PyPICompromised package - containedcritical
Malicious code in fastapii (PyPI)
The fastapii package on PyPI is a typosquatting attack imitating the popular FastAPI library. During installation, it executes obfuscated code that downloads and runs a malicious executable, exfiltrating cryptocurrency wallet data and potentially other sensitive information.
2026 08 FlasqPyPITyposquattingCompromised package - containedcritical
Malicious code in idnna (PyPI)
A malicious package named idnna was published to PyPI, imitating a legitimate library. During installation, the package executes obfuscated code that downloads and runs a malicious executable, exfiltrating cryptocurrency wallet data and potentially other sensitive information.
PyPITyposquattingCompromised package - containedcritical
Malicious code in pydanticc (PyPI)
The PyPI package pydanticc is a typosquatting attack imitating the popular pydantic library. During installation, it executes obfuscated code that downloads and runs a malicious executable, exfiltrating cryptocurrency wallet data and potentially other sensitive information.
2026 08 FlasqPyPITyposquattingCompromised package