VYPR

pypi · Malicious package advisory

Malware

transaction-utils

GHSA-4v26-wh6v-q7vq

Malicious code in transaction-utils (PyPI)

Details

**Severity:** Critical

**Affected versions:** `= 0.1.1`

## Source: kam193 (c1efc9cf33a18e7f3c4294c39aabadf136974e4e2ee56c874ba337ac609c6b77)
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/transaction-utils/MAL-2025-191909.json))

**References:**
- https://bad-packages.kam193.eu/pypi/package/transaction-utils
- https://github.com/ossf/malicious-packages/blob/49d0cfba3689ed9b195d101d3a2a964c6a77f767/osv/malicious/pypi/transaction-utils/MAL-2025-191909.json
- https://github.com/advisories/GHSA-4v26-wh6v-q7vq

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.