Malicious code in btcflip (PyPI)
The PyPI package 'btcflip' version 0.1.0 is a malicious library that, upon import, archives the user's Monero cryptocurrency wallet directory and exfiltrates it to a hardcoded Telegram bot. The package disguises itself as an HTTP speed-up library but contains code that terminates Monero-related processes to release file locks before stealing wallet files. The exfiltration target and wallet paths are obfuscated using base64 encoding. This behavior occurs immediately when the package is imported, making any use of the package a direct compromise of Monero wallet security.
AI Analysis
Technical Summary
The 'btcflip' PyPI package (version 0.1.0) is a malicious package that executes wallet theft upon import. It archives the Monero wallet directory from typical user locations on Windows and Linux systems, terminates related processes to unlock files, and uploads the archive to a Telegram bot via a hardcoded API token and chat ID. The exfiltration details are stored as base64-encoded constants decoded at runtime to evade detection. The package's stated purpose as an HTTP speed-up library is a cover for this malicious activity. This threat is categorized as a malicious campaign involving cryptocurrency wallet exfiltration using a Telegram bot.
Potential Impact
Users who import the 'btcflip' package version 0.1.0 risk immediate theft of their Monero cryptocurrency wallet files. This can lead to loss of funds if attackers access the wallet data. The compromise occurs silently during import, without user interaction beyond installing or importing the package. The malicious code also forcibly terminates Monero-related processes to facilitate file access, potentially disrupting legitimate wallet operations.
Mitigation Recommendations
No official patch or fix is available for this malicious package. The recommended mitigation is to avoid installing or importing the 'btcflip' package version 0.1.0 from PyPI. Users should verify package authenticity and source before installation, and remove any instances of this package from their environments. Monitoring for unauthorized wallet access and restoring wallets from secure backups is advised if compromise is suspected.
Malicious code in btcflip (PyPI)
Description
The PyPI package 'btcflip' version 0.1.0 is a malicious library that, upon import, archives the user's Monero cryptocurrency wallet directory and exfiltrates it to a hardcoded Telegram bot. The package disguises itself as an HTTP speed-up library but contains code that terminates Monero-related processes to release file locks before stealing wallet files. The exfiltration target and wallet paths are obfuscated using base64 encoding. This behavior occurs immediately when the package is imported, making any use of the package a direct compromise of Monero wallet security.
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 'btcflip' PyPI package (version 0.1.0) is a malicious package that executes wallet theft upon import. It archives the Monero wallet directory from typical user locations on Windows and Linux systems, terminates related processes to unlock files, and uploads the archive to a Telegram bot via a hardcoded API token and chat ID. The exfiltration details are stored as base64-encoded constants decoded at runtime to evade detection. The package's stated purpose as an HTTP speed-up library is a cover for this malicious activity. This threat is categorized as a malicious campaign involving cryptocurrency wallet exfiltration using a Telegram bot.
Potential Impact
Users who import the 'btcflip' package version 0.1.0 risk immediate theft of their Monero cryptocurrency wallet files. This can lead to loss of funds if attackers access the wallet data. The compromise occurs silently during import, without user interaction beyond installing or importing the package. The malicious code also forcibly terminates Monero-related processes to facilitate file access, potentially disrupting legitimate wallet operations.
Defensive Guidance
No official patch or fix is available for this malicious package. The recommended mitigation is to avoid installing or importing the 'btcflip' package version 0.1.0 from PyPI. Users should verify package authenticity and source before installation, and remove any instances of this package from their environments. Monitoring for unauthorized wallet access and restoring wallets from secure backups is advised if compromise is suspected.
Technical Details
- Gcve Source
- db.gcve.eu
- Osv Id
- MAL-2026-13681
- Osv Schema Version
- 1.7.4
- Ecosystems
- ["PyPI"]
Threat ID: 6a79f0dbbf8831d539f618bb
Added to database: 08/10/2026, 15:40:11 UTC
Last enriched: 08/10/2026, 15:58:56 UTC
Last updated: 09/22/2026, 16:16:29 UTC
Views: 29
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.