Skip to content
supplychainattack.orgSupply chain attack incident catalog
resolvedcritical

Malicious code in adgrand (PyPI)

The adgrand package on PyPI contained malicious code as part of a campaign by EsqueleSquad group that published nearly 6000 malicious packages across PyPI and NPM ecosystems. The malicious code executed spyware and information-stealing malware.

ShareXLinkedInHacker News
Disclosed
Last updated
Blast radius
Potentially thousands of installations; part of a campaign distributing nearly 6000 malicious packages across PyPI and NPM.
Ecosystems
Attack vectors
Threat actor
Affected entities
  • adgrandPyPI package containing malicious code

The adgrand package on PyPI was identified as containing malicious code. This package was part of a large-scale campaign by the EsqueleSquad group that published nearly 6000 malicious packages across both PyPI and NPM repositories.\n\nThe malicious code in these packages was designed to execute spyware and information-stealing malware on affected systems. The incident was documented and credited to the OpenSSF's malicious-packages repository, which tracks confirmed malicious package distributions.\n\nThe package has been identified with the malicious package identifier MAL-2023-2483 in the OpenSSF tracking system.

Indicators of compromise

Packages
  • adgrand

Remediation

  • Remove adgrand from all environments and dependencies
  • Audit systems that installed adgrand for signs of compromise, including unauthorized access, data exfiltration, or persistence mechanisms
  • Review and rotate any credentials or sensitive information that may have been exposed
  • Monitor for indicators of compromise related to spyware or information-stealing malware
  • Check PyPI and NPM repositories for other packages from the EsqueleSquad campaign and remove them

Sources

  1. GitHub Advisory GHSA-h696-66ch-r3r8 · GitHub Advisory Database

Cite this entry

"Malicious code in adgrand (PyPI)." supplychainattack.org, Supply Chain Attack Incident Catalog. Disclosed July 21, 2026; last updated July 21, 2026. https://supplychainattack.org/incident/malicious-code-in-adgrand-pypi-77fcb8

Suggest a correction

Found an error or have a newer source? Corrections to factual errors take priority over new entries.

  1. 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
  2. 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
  3. 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
  4. 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