Skip to content
supplychainattack.orgSupply chain attack incident catalog
resolvedcritical

Malicious code in alphalend-abi (PyPI)

The alphalend-abi PyPI package contained malicious code that exfiltrates sensitive files containing SUI private keys to a private GitHub repository. The malicious behavior is triggered on package import and on every Python startup via PTH file abuse.

ShareXLinkedInHacker News
Disclosed
Last updated
Blast radius
Developers and systems using alphalend-abi package; sensitive SUI private keys exfiltrated to attacker-controlled repository
Ecosystems
Attack vectors
Threat actor
Affected entities
  • alphalend-abiPyPI package containing malicious code

The alphalend-abi package published to PyPI contained intentionally malicious code designed to steal sensitive cryptographic material. Upon import, the package exfiltrates files containing SUI private keys to an attacker-controlled private GitHub repository.\n\nThe malicious behavior persists across Python sessions through abuse of PTH (path) files, ensuring the exfiltration occurs not only during initial package import but also on every subsequent Python startup. This persistence mechanism significantly increases the risk of credential compromise for affected users.\n\nThe malicious package was identified as part of the 2026-08-alphalend-layouts campaign and documented by the OpenSSF malicious packages project. The attack demonstrates clear intent for financial theft, targeting cryptocurrency-related private keys and leveraging obfuscation techniques to evade detection."

Indicators of compromise

Packages
  • alphalend-abi

Remediation

  • Immediately uninstall alphalend-abi from all affected systems
  • Audit and rotate any SUI private keys that may have been exposed
  • Review Python environment for PTH files that may have been injected by the malicious package
  • Check GitHub accounts and repositories for unauthorized access or data exfiltration
  • Scan systems for other indicators of compromise from the malicious package
  • Update dependency management to prevent installation of this package in the future

Sources

  1. GitHub Advisory GHSA-22gg-4p2c-546g · GitHub Advisory Database

Cite this entry

"Malicious code in alphalend-abi (PyPI)." supplychainattack.org, Supply Chain Attack Incident Catalog. Disclosed August 7, 2026; last updated August 7, 2026. https://supplychainattack.org/incident/malicious-code-in-alphalend-abi-pypi-1mzp6d

Suggest a correction

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

  1. resolvedcritical

    Malicious code in socks5901 (PyPI)

    The PyPI package socks5901 contained malicious code that exfiltrates files from /sdcard/ during import and communicates via Telegram bot. The package was identified and cataloged by the OpenSSF malicious-packages project.

    PyPICompromised package
  2. resolvedhigh

    Malicious code in kb-ai (PyPI)

    The kb-ai package on PyPI contained malicious code designed to demonstrate a dependency confusion attack. The package exfiltrated basic system data (IP address, username) and executed arbitrary code during installation via setup.py override.

    PyPICompromised packageDependency confusion
  3. resolvedcritical

    Malicious code in @years19/n8n-nodes-utils-helper-b (npm)

    The npm package @years19/n8n-nodes-utils-helper-b contained malicious code disguised as an n8n workflow utility. The postinstall hook executed reconnaissance, downloaded and extracted a Python tarball with TLS verification disabled, and exfiltrated system information to an attacker-controlled domain.

    npmPyPICompromised package
  4. resolvedcritical

    Malicious code in @years19/n8n-nodes-utils-helper-c (npm)

    The npm package @years19/n8n-nodes-utils-helper-c contained a malicious postinstall script that downloads a trojanized Python multidict module from an attacker-controlled server and injects it into the system's Python site-packages directory, enabling arbitrary code execution on any subsequent Python invocation.

    npmPyPICompromised packageMalicious commit