---
id: MAL-2026-10192
title: Malicious code in defi-tools (PyPI)
summary: Malicious code in defi-tools (PyPI)
severity: none
vendor: defi-tools
product: defi-tools
ecosystem: pip
affected:
  - defi-tools
published: '2026-07-12'
updated: '2026-07-12'
source: OSV
sourceUrl: 'https://osv.dev/vulnerability/MAL-2026-10192'
references:
  - url: >-
      https://www.virustotal.com/gui/file/4dd018d84f2f9c35caed7a2c684cff2c1ea3af3a113cceb078a0788eefb93f66/detection
  - url: 'https://bad-packages.kam193.eu/pypi/package/defi-tools'
tags:
  - osv
  - pip
ingestedAt: '2026-07-12T18:57:28.085Z'
---

## Overview


---
_-= Per source details. Do not edit below this line.=-_

## Source: kam193 (965dc1bdb2af9e6f1c5965554eeb9a789ff0b4f8ef2c46e76f05774ac9f3535a)
The package embeds an executable stealing cryptocurrency wallets data. During import, code saves the executable under a name suggesting system utility and configures cron to run it periodically. The exfiltrated data is encrypted using embedded RSA code before uploading to file-sharing services or IPFS.


---

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


Campaign: 2026-07-py-base58


Reasons (based on the campaign):


 - crypto-related


 - exfiltration-crypto


 - persistence


## Affected packages

- `defi-tools`

## Remediation

Refer to the advisory for the patched release.
