Malicious code in qap793gl4l (PyPI)
MAL-2026-19259
Published · Modified
Dependency scanning
Check whether qap793gl4l is in your codebase
Corgea flags malicious and compromised dependencies with reachability analysis, so you fix the packages that actually run in your application instead of working through the whole lockfile.
Description
__
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
References
- EVIDENCE https://tria.ge/261113-wal5qset2s
- EVIDENCE https://www.virustotal.com/gui/file/ce97b675a86bfff5e73e218e8d9d17458857d2328b1b55acd87f644001ca865f/detection
- WEB https://bad-packages.kam193.eu/pypi/package/qap793gl4l
- PACKAGE https://pypi.org/project/qap793gl4l/0.1.1/
- WEB https://github.com/misdry01/g/
Ready to move
Start Securing
Free, no credit card | First findings in minutes