Malicious code in asdk-plugin-ai-platform (PyPI)
The PyPI package asdk-plugin-ai-platform contained malicious code that exfiltrates basic host information (IP, username) upon installation or module import. The package overrides the install command in setup.py to execute the malicious payload during installation.
- Disclosed
- Last updated
- Blast radius
- Unknown; limited to systems that installed the malicious package
- Ecosystems
- Attack vectors
- Affected entities
- asdk-plugin-ai-platformPyPI package containing malicious code
The asdk-plugin-ai-platform package published on PyPI was found to contain malicious code designed to exfiltrate basic system information from the host upon installation or module import. The malicious payload includes the host's IP address and username.\n\nThe attack vector leverages a setup.py override of the install command, allowing arbitrary code execution during the package installation process. This is a common technique for distributing malware through package managers.\n\nThe package was identified and attributed to the OpenSSF's malicious-packages repository (MAL-2026-11421). The campaign classification suggests this was a pentest-style package with limited harm potential, though data exfiltration poses a clear privacy and security risk.\n\nThe incident appears to have been detected and addressed, with the malicious package likely removed or flagged by PyPI maintainers.
Indicators of compromise
- Packages
- asdk-plugin-ai-platform
Remediation
- Remove asdk-plugin-ai-platform from all systems where it was installed
- Audit systems that installed this package for signs of compromise or data exfiltration
- Review network logs for suspicious outbound connections from affected systems
- Change credentials (usernames, passwords, API keys) on any system that installed the package
- Monitor for any secondary malware or persistence mechanisms left by the package
- Check PyPI and package manager advisories regularly for similar malicious packages
Sources
- GitHub Advisory GHSA-pwmm-jg95-fq28 · GitHub Advisory Database
Cite this entry
"Malicious code in asdk-plugin-ai-platform (PyPI)." supplychainattack.org, Supply Chain Attack Incident Catalog. Disclosed August 1, 2026; last updated August 1, 2026. https://supplychainattack.org/incident/malicious-code-in-asdk-plugin-ai-platform-pypi-hwzpnq
Suggest a correction
Found an error or have a newer source? Corrections to factual errors take priority over new entries.
Related incidents
- 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 - containedcritical
Malicious code in flasq (PyPI)
A malicious package named flasq was published on PyPI, imitating a popular library. During installation, it executes obfuscated code that downloads and runs a malicious executable, exfiltrating cryptocurrency wallet data and potentially other sensitive information.
PyPITyposquattingCompromised package