Malicious code in python-walletlibr-v (PyPI)
Description
The python-walletlibr-v PyPI package is a malicious package masquerading as a wallet library but contains no wallet functionality. Instead, it executes arbitrary local commands during installation on Windows by creating and running a batch file and launching the calculator application. This behavior occurs automatically during pip install and is unrelated to any legitimate functionality.
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
python-walletlibr-v is a malicious PyPI package that pretends to be a wallet library but only includes a stub function and placeholder metadata. Its setup.py script registers a CustomInstall command that, when installed on Windows, writes a batch file to the temporary directory, spawns a new command console to execute this batch file, and runs the Windows calculator application via os.system. This results in arbitrary local command execution during the pip install process on Windows hosts without any user interaction beyond installation.
Potential Impact
The package enables arbitrary local command execution on Windows systems during installation, which could be leveraged by an attacker to execute malicious commands or payloads with the privileges of the user running pip. This can lead to compromise of the local system, data theft, or further malware deployment. The malicious behavior is triggered automatically during installation and is unrelated to any advertised functionality, making it a supply chain risk.
Mitigation Recommendations
No official patch or fix is available for this malicious package. The recommended mitigation is to avoid installing python-walletlibr-v from PyPI or any untrusted sources. Users should verify package authenticity and prefer well-known, trusted packages. Security teams should monitor for installation attempts of this package and block or remove it from environments where it may have been installed.
Technical Details
- Gcve Source
- db.gcve.eu
- Osv Id
- MAL-2026-14488
- Osv Schema Version
- 1.7.4
- Ecosystems
- ["PyPI"]
Threat ID: 6a8d9ae7acd9273b493e173f
Added to database: 08/25/2026, 13:38:47 UTC
Last enriched: 09/10/2026, 18:49:00 UTC
Last updated: 10/02/2026, 14:22:06 UTC
Views: 42
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.