MAL-2026-19259: Malicious code in qap793gl4l (PyPI)
- Source:
- OSV.dev
- Published:
- Fetched:
- Updated:
- Affects:
- qap793gl4l
https://osv.dev/vulnerability/MAL-2026-19259 ↗
Malicious code in qap793gl4l (PyPI) --- _-= Per source details. Do not edit below this line.=-_ ## Source: amazon-inspector (3e78b140d24e4de0cdeffdfb0bd94d6e6a595fdadf4b68baf18af869badf4ca1) 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. ## Source: kam193 (3b70be66ff6d01cbf23ac275f3311a3ce40aa24fad549f7b742266d881998946) 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 Affected: PyPI:qap793gl4l No fixed version published yet References: https://tria.ge/261113-wal5qset2s https://www.virustotal.com/gui/file/ce97b675a86bfff5e73e218e8d9d17458857d2328b1b55acd87f644001ca865f/detection https://bad-packages.kam193.eu/pypi/package/qap793gl4l https://pypi.org/project/qap793gl4l/0.1.1/ https://github.com/misdry01/g/