NetSight
criticalMalware report

GHSA-pfrw-v3ch-6m8x

Malicious code in python-walletlibr-v (PyPI)

Impact

## Source: amazon-inspector (6783cffec9c8f9377babacd1cb4490a278bace564b34861bf49b35258be7220c) python-walletlibr-v is a wallet-lookalike PyPI package that ships no wallet functionality — only a stub hello() that prints 'Hello from my custom library!' and placeholder author metadata (__author__ = 'Your Name'). Its setup.py registers a CustomInstall command that, on Windows at pip install time, writes a.bat file into %TEMP%, spawns a new cmd.exe console to execute it via subprocess.Popen(['cmd.exe','/k', bat_path], CREATE_NEW_CONSOLE), and calls os.system('calc'). Arbitrary local command execution fires automatically during pip install on Windows hosts, unrelated to any advertised functionality. --- Credit: [OpenSSF](https://github.com/ossf/malicious-packages) ([source](https://github.com/ossf/malicious-packages/blob/27544b01e84dd658593ef8e132d2906cf04dd4ce/osv/malicious/pypi/python-walletlibr-v/MAL-2026-14488.json))

Affected packages

EcosystemPackageAffectedFixed in
pippython-walletlibr-v= 0.7.9none recorded

Weakness classification

References