Skip to content

MAL-2026-19259 Malicious code in qap793gl4l (PyPI)

Unknown
Published
Updated
Exploit status
No public exploit known

Description


-= 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

Upgrade path

1 package: 0 fixed.

PackageAffectedFixed inStatus
pypi qap793gl4l(PyPI) = 0.1.1 No fix listed Versions listed

Affected products

ProductAffected versionsFixed in
pypi qap793gl4l(PyPI) = 0.1.1 No fix listed

References