Malicious code in testing1345 (PyPI)
- MAL-2026-19247
Description
The sdist's setup.py registers a custom build_py command that invokes testing1345.hello.fetch(), which downloads https://helper-exe.vercel.app/hello.bat to %TEMP% and executes it via cmd.exe. The bdist_wheel override additionally writes a site-packages.pth file (testing1345_boot.pth) containing 'import testing1345_boot'; that module calls the same fetch() on Windows at interpreter startup, repeating the download-and-run of hello.bat from the unpinned third-party Vercel host with no hash or signature verification. A temp-file marker gates the boot path to once per machine but is user-deletable. A separate vmcheck module reads DMI/SMBIOS strings and Hyper-V registry keys to classify the host as physical or virtual; it is exposed as a library API and not wired into the install/boot fetch path, but commonly accompanies dropper behavior. During installation, the package downloads and executes a script from a remote location. The server delivers different payload versions, some of them being benign, and others containing next-stage installation. The final payload is a RAT. --- Category: MALICIOUS - The campaign has clearly malicious intent, like infostealers. Campaign: 2026-11-testing1345 Reasons (based on the campaign): - Downloads and executes a remote malicious script. - The package overrides the install command in setup.py to execute malicious code during installation. - rat
Text from the OSV record.
Affected
testing1345PyPI
- No versions listed
Timeline
- Published
Related news
No article from the followed outlets names this vulnerability.