MAL-2026-10191: Malicious code in data-harvester (PyPI)
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.
AI Analysis
Technical Summary
The 'data-harvester' PyPI package version 0.3.1 is a malicious package that embeds a ~486KB Linux ELF binary within its __init__.py file. Upon first import, it decodes and writes this binary to a hidden location (~/.config/.npm-cache/snapd-network) with mode 0777, then installs a user cron job to execute the binary every 12 hours. The binary masquerades as a system service but does not correspond to any legitimate npm or snapd path. The malicious payload steals cryptocurrency wallet data, encrypts it with embedded RSA, and exfiltrates the data to external file-sharing services or IPFS. The package also deletes its own dist-info, egg-info, and __pycache__ directories to hinder detection. This behavior is confirmed by multiple sources and is categorized as a malicious campaign targeting crypto assets with persistence and exfiltration capabilities.
Potential Impact
The malicious package compromises systems by installing a persistent backdoor that periodically executes a cryptocurrency wallet stealer. This can lead to theft of sensitive crypto wallet data, resulting in financial loss for affected users. The removal of package metadata and cache directories complicates detection and forensic analysis. There is no indication of exploitation in the wild yet, but the potential impact on users who install this package is significant.
Mitigation Recommendations
No official patch or remediation is available for this malicious package version. The package should be considered untrusted and immediately removed from any environment where it is installed. Users should avoid installing or importing 'data-harvester' version 0.3.1 from PyPI. Review and remove any cron jobs or dropped binaries associated with this package. Monitor for any unauthorized persistence mechanisms. Since this is a malicious package, remediation involves removal and prevention of installation rather than patching.
MAL-2026-10191: Malicious code in data-harvester (PyPI)
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.
Affected software
Run on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
The 'data-harvester' PyPI package version 0.3.1 is a malicious package that embeds a ~486KB Linux ELF binary within its __init__.py file. Upon first import, it decodes and writes this binary to a hidden location (~/.config/.npm-cache/snapd-network) with mode 0777, then installs a user cron job to execute the binary every 12 hours. The binary masquerades as a system service but does not correspond to any legitimate npm or snapd path. The malicious payload steals cryptocurrency wallet data, encrypts it with embedded RSA, and exfiltrates the data to external file-sharing services or IPFS. The package also deletes its own dist-info, egg-info, and __pycache__ directories to hinder detection. This behavior is confirmed by multiple sources and is categorized as a malicious campaign targeting crypto assets with persistence and exfiltration capabilities.
Potential Impact
The malicious package compromises systems by installing a persistent backdoor that periodically executes a cryptocurrency wallet stealer. This can lead to theft of sensitive crypto wallet data, resulting in financial loss for affected users. The removal of package metadata and cache directories complicates detection and forensic analysis. There is no indication of exploitation in the wild yet, but the potential impact on users who install this package is significant.
Mitigation Recommendations
No official patch or remediation is available for this malicious package version. The package should be considered untrusted and immediately removed from any environment where it is installed. Users should avoid installing or importing 'data-harvester' version 0.3.1 from PyPI. Review and remove any cron jobs or dropped binaries associated with this package. Monitor for any unauthorized persistence mechanisms. Since this is a malicious package, remediation involves removal and prevention of installation rather than patching.
Technical Details
- Gcve Source
- db.gcve.eu
- Osv Id
- MAL-2026-10191
- Osv Schema Version
- 1.7.4
- Aliases
- []
- Ecosystems
- ["PyPI"]
- Database Specific Severity
- null
- Cvss Version
- null
Threat ID: 6a54ad9268715ace438f04fa
Added to database: 07/13/2026, 09:19:14 UTC
Last enriched: 07/13/2026, 09:22:26 UTC
Last updated: 07/14/2026, 03:47:19 UTC
Views: 4
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
External Links
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.