VYPR

pypi · Malicious package advisory

Malware

solana-trade

GHSA-c5f4-3wv8-q4m7

Malicious code in solana-trade (PyPI)

Details

**Severity:** Critical

**Affected versions:** `= 1.0.0`

## Source: kam193 (e84e568bb86db442dd7d2e19e6fa1805ea10085d9926220d986941d87ca99259)
Code exfiltrates the current python code and/or IPythonshell history


---

Category: MALICIOUS - The campaign has clearly malicious intent, like infostealers.


Campaign: 2025-05-solana-token


Reasons (based on the campaign):


 - crypto-related


 - impersonation


 - action-hidden-in-lib-usage


 - exfiltration-crypto

---

Credit: [OpenSSF](https://github.com/ossf/malicious-packages) ([source](https://github.com/ossf/malicious-packages/blob/49d0cfba3689ed9b195d101d3a2a964c6a77f767/osv/malicious/pypi/solana-trade/MAL-2025-5139.json))

**References:**
- https://bad-packages.kam193.eu/pypi/package/solana-trade
- https://github.com/ossf/malicious-packages/blob/49d0cfba3689ed9b195d101d3a2a964c6a77f767/osv/malicious/pypi/solana-trade/MAL-2025-5139.json
- https://thehackernews.com/2025/05/malicious-pypi-package-posing-as-solana.html
- https://github.com/advisories/GHSA-c5f4-3wv8-q4m7

Compromised versions (1)

  • = 1.0.0

Any computer that installed or ran a compromised version should be considered fully compromised. Rotate every secret on that machine from a clean environment.