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
- resolvedhigh
Malicious code in asdk-plugin-legacy (PyPI)
Malicious code was discovered in the asdk-plugin-legacy package on PyPI. The package exfiltrates basic host information (IP, username) upon installation or import, with no legitimate functionality.
PyPICompromised package - containedhigh
Malicious code in asdk-plugin-alphagen (PyPI)
Malicious code was published in the asdk-plugin-alphagen package on PyPI (version 9999.0.0). The package exfiltrates basic host information (IP, username) during installation and communicates with a domain associated with malicious activity.
PyPICompromised package - containedcritical
Malicious code in cognikit (PyPI)
Multiple malicious PyPI packages (cognikit, aiassistcore, aichannel) were discovered containing infostealer functionality, cryptocurrency wallet address replacement, browser data exfiltration, remote access capabilities, and malicious browser extensions. The campaign is attributed to North Korea's "Contagious Interview" operation and uses these packages as dependencies in malicious interview assessments and cryptocurrency projects.
Contagious InterviewPyPICompromised packageMalicious commit - containedcritical
Malicious code in aiprepkit (PyPI)
Multiple malicious Python packages (aiprepkit, cognikit, aiassistcore, aichannel) were published to PyPI as part of a coordinated campaign. The packages contain infostealer malware designed to replace cryptocurrency wallet addresses, exfiltrate browser data, establish remote control, and deploy malicious browser extensions, with IoCs consistent with North Korea's "Contagious Interview" campaign.
Contagious InterviewPyPICompromised packageMalicious commit