pypi · Malicious package advisory
Malwaresolana-utils
GHSA-rg4p-j925-2rgx
Malicious code in solana-utils (PyPI)
Details
**Severity:** Critical **Affected versions:** `= 0.1.1` ## Source: kam193 (4fcf79d026074d2ebc0ce48f578a5078acafca383dbd727a0b2e9f5a723f2702) The only thing the package does is send out all the given data about a cryptocurrency transaction, including the private key, to a hardcoded webhook. Feedback from PyPI Team: the package "transaction-utils" may also exploit a known pip behavior to overwrite files of an existing legitime package and replace it with malicious content. --- Category: MALICIOUS - The campaign has clearly malicious intent, like infostealers. Campaign: 2025-02-transaction-utils Reasons (based on the campaign): - crypto-related - action-hidden-in-lib-usage - A Telegram webhook is used to send collected data. --- Credit: [OpenSSF](https://github.com/ossf/malicious-packages) ([source](https://github.com/ossf/malicious-packages/blob/49d0cfba3689ed9b195d101d3a2a964c6a77f767/osv/malicious/pypi/solana-utils/MAL-2025-2999.json)) **References:** - https://bad-packages.kam193.eu/pypi/package/solana-utils - https://github.com/ossf/malicious-packages/blob/49d0cfba3689ed9b195d101d3a2a964c6a77f767/osv/malicious/pypi/solana-utils/MAL-2025-2999.json - https://github.com/advisories/GHSA-rg4p-j925-2rgx
Compromised versions (1)
- = 0.1.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.