pypi · Malicious package advisory
Malwaresolana-sdkpy
GHSA-9m5w-c5mh-4jmf
Malicious code in solana-sdkpy (PyPI)
Details
**Severity:** Critical **Affected versions:** `= 1.2.2` ## Source: kam193 (fa656c982797b0a9ae09399aa3204b8925d4608935f9b563f498224bebf39b04) Series of packages mostly with an obfuscated infostealer attempting to collect Chrome data. While discord webhook is usually set to an example, there are other, correct uploading URLs Some of related packages only test partial malicious code, like webhooks from overwritten setup.py --- Category: MALICIOUS - The campaign has clearly malicious intent, like infostealers. Campaign: 2025-07-0x9xnx Reasons (based on the campaign): - infostealer - obfuscation - exfiltration-browser-data - exfiltration-crypto - The package overrides the install command in setup.py to execute malicious code during installation. --- Credit: [OpenSSF](https://github.com/ossf/malicious-packages) ([source](https://github.com/ossf/malicious-packages/blob/49d0cfba3689ed9b195d101d3a2a964c6a77f767/osv/malicious/pypi/solana-sdkpy/MAL-2025-6588.json)) **References:** - https://bad-packages.kam193.eu/pypi/package/solana-sdkpy - https://github.com/ossf/malicious-packages/blob/49d0cfba3689ed9b195d101d3a2a964c6a77f767/osv/malicious/pypi/solana-sdkpy/MAL-2025-6588.json - https://www.fortinet.com/blog/threat-research/malicious-packages-across-open-source-registries - https://github.com/advisories/GHSA-9m5w-c5mh-4jmf
Compromised versions (1)
- = 1.2.2
Any computer that installed or ran a compromised version should be considered fully compromised. Rotate every secret on that machine from a clean environment.