Malicious code in qap793gl4l (PyPI)
- MAL-2026-19259
Description
Show the whole descriptionHide the whole description
setup.py overrides the build_py command so that during sdist install it calls hello.fetch(), which downloads hello.bat from raw.githubusercontent.com/misdry01/bookish-octo-lamp/refs/heads/main/hello.bat (a personal GitHub account on the mutable main branch, no pinning, no hash or signature check) and launches it via subprocess.Popen(['cmd.exe','/d','/c', path], creationflags=CREATE_NO_WINDOW), hiding the window. The wheel's bdist_wheel override additionally writes a qap793gl4l_boot.pth file containing 'import qap793gl4l_boot' into the site-packages root, so on every subsequent interpreter start site.py auto-imports qap793gl4l_boot, which re-invokes hello.fetch() and runs the remote batch file the same way. A temp-directory marker gates execution to once per machine but is trivially deletable, making the channel re-armable. vmcheck.py also implements DMI-based VM/sandbox detection, and update() refuses to run inside detected VMs via VMBlockedError, which is analyst-evasion scaffolding consistent with the dropper. The author controls the bytes served from the mutable URL and can change them at any time without republishing the package. Continuation of a campaign executing remote code. During analysis of this package, the remote Github repository did not yet host the malicious code. --- Category: MALICIOUS - The campaign has clearly malicious intent, like infostealers. Campaign: 2026-11-testing1345 Reasons (based on the campaign): - The package overrides the install command in setup.py to execute malicious code during installation. - Downloads and executes a remote malicious script. - rat
Text from the OSV record.
Affected
qap793gl4lPyPI
- No versions listed
Timeline
- Published
Related news
No article from the followed outlets names this vulnerability.