Malicious code in adhydra (PyPI)
The adhydra 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 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
- Affected entities
- adhydraMalicious package on PyPI
The adhydra package published on PyPI was identified as containing 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 designed to compromise user systems and exfiltrate sensitive information.
The incident was documented and tracked by the OpenSSF's malicious-packages repository (MAL-2023-2486), providing a centralized reference for this and related malicious packages in the campaign.
Indicators of compromise
- Packages
- adhydra
Remediation
- Immediately uninstall the adhydra package from all affected systems
- Audit systems that installed adhydra for signs of compromise, including unauthorized network connections and data exfiltration
- Review and revoke any credentials or sensitive information that may have been exposed
- Monitor for indicators of compromise associated with the EsqueleSquad campaign
- Consult the OpenSSF malicious-packages repository for the complete list of ~6000 affected packages and implement preventive measures
Sources
- GitHub Advisory GHSA-h52p-gq8r-5f8q · GitHub Advisory Database
Cite this entry
"Malicious code in adhydra (PyPI)." supplychainattack.org, Supply Chain Attack Incident Catalog. Disclosed July 21, 2026; last updated July 21, 2026. https://supplychainattack.org/incident/malicious-code-in-adhydra-pypi-dsfbtk
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 adpip (PyPI)
The adpip package on PyPI was identified as malicious code, part of a campaign by EsqueleSquad that published nearly 6000 malicious packages across PyPI and NPM. The package executes spyware and information-stealing malware.
PyPICompromised package - resolvedcritical
Malicious code in adstr (PyPI)
The adstr package on PyPI contained malicious code as part of a campaign by EsqueleSquad group that published nearly 6000 malicious packages across PyPI and NPM. The malicious code executed spyware and information-stealing malware.
PyPICompromised package - resolvedcritical
Malicious code in adtool (PyPI)
The adtool package on PyPI contained malicious code that executed spyware and information-stealing malware. This package was part of a campaign by the EsqueleSquad group that published nearly 6,000 malicious packages across PyPI and NPM.
PyPICompromised package - 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