VYPR

pypi · Malicious package advisory

Malware

solana-token

GHSA-284j-q3w2-8f77

Malicious code in solana-token (PyPI)

Details

**Severity:** Critical

**Affected versions:** `= 1.0.1`

## Source: kam193 (7a052cb86f0a3ef5266420bcfed9256955a31ea75bfe4197c42d3a2740621ab4)
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-token/MAL-2024-10163.json))

**References:**
- https://bad-packages.kam193.eu/pypi/package/solana-token
- https://github.com/ossf/malicious-packages/blob/49d0cfba3689ed9b195d101d3a2a964c6a77f767/osv/malicious/pypi/solana-token/MAL-2024-10163.json
- https://thehackernews.com/2025/05/malicious-pypi-package-posing-as-solana.html
- https://www.reversinglabs.com/blog/same-name-different-hack-pypi-package-targets-solana-developers
- https://github.com/advisories/GHSA-284j-q3w2-8f77

Compromised versions (1)

  • = 1.0.1

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