data-harvester (PyPI) · Malicious Code
Affects data-harvesterSource GCVE Database
Malicious package : remove data-harvester and rotate any secrets on hosts that installed it.
Data as of 13 Jul 2026, 09:22 UTC
Malicious package
Published to PyPI · OSV MAL-2026-10191
What to do
Remove data-harvester from every project, lockfile and image that pulls it in. Treat any host that installed it as compromised: rotate the credentials, tokens and keys it could read, from a clean machine.
Affected software
| Product | Affected | Fixed in |
|---|---|---|
| PyPIdata-harvester | Affected
| Fixed in– |
Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.
Description
The PyPI package 'data-harvester' version 0.3.1 contains malicious code that, upon import, drops a large base64-encoded Linux ELF executable disguised as a system utility. This executable is saved with open permissions in a hidden directory and a cron job is installed to run it every 12 hours, ensuring persistence. The malicious binary steals cryptocurrency wallet data, encrypts it using embedded RSA code, and exfiltrates it to file-sharing services or IPFS. The package also removes its own metadata and cache directories to erase evidence while maintaining the persistence mechanisms.