mal-2026-19259
Vulnerability from ossf_malicious_packages
-= 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
- CWE-506 - The product contains code that appears to be malicious in nature.
{
"affected": [
{
"database_specific": {
"cwes": [
{
"cweId": "CWE-506",
"description": "The product contains code that appears to be malicious in nature.",
"name": "Embedded Malicious Code"
}
],
"indicators": {
"evidence_files": [
{
"artifacts": [
"qap793gl4l-0.1.1.tar.gz"
],
"path": "setup.py",
"sha256": "cd4831a0b2730d28879532c3a436e091f9e9908418dbe99b9e8ed9ab1a2993ee",
"tlsh": "0a7185b788009bb2d78141b1614fc3ba933545337bd0516078ef856c0f9f0aa85b75e5"
},
{
"artifacts": [
"qap793gl4l-0.1.1.tar.gz"
],
"path": "src/qap793gl4l_boot.py",
"sha256": "8aee0b5523b3819918def798eb268b040e19e41c840c37699642588f8b5f3c09",
"tlsh": "b52120b3a60196328b11d138955ec36de33da826bdda5164b8acc0393bda12fc2f5385"
},
{
"artifacts": [
"qap793gl4l-0.1.1.tar.gz"
],
"path": "src/qap793gl4l/vmcheck.py",
"sha256": "37665cc02be8864ea6426a2dfbf39f4d1ddbcc7c47f67a9eb3fa3d665eaed35a",
"tlsh": "91625187e5247ca2894780658c5bd182ab3134431e5034357afcc168bf6e95fa3bdbbe"
}
],
"package_integrity": [
{
"filename": "qap793gl4l-0.1.1.tar.gz",
"hashes": {
"blake2b_256": "e0b8673e7c1ee30c6ccd5d017b044296628021cc34eeec8523cab8ea6f9964ea",
"md5": "12d61230b00898460efc91ff91151e48",
"sha256": "99c530ee926291a5a4281de5d94757fb6071a6bccde2a2e1b9c65a6d5ab21de6"
}
}
]
}
},
"package": {
"ecosystem": "PyPI",
"name": "qap793gl4l"
},
"versions": [
"0.1.1"
]
}
],
"credits": [
{
"contact": [
"inspector-research@amazon.com"
],
"name": "Amazon Inspector",
"type": "FINDER"
},
{
"contact": [
"https://github.com/kam193",
"https://bad-packages.kam193.eu/"
],
"name": "Kamil Ma\u0144kowski (kam193)",
"type": "REPORTER"
}
],
"database_specific": {
"iocs": {
"domains": [
"helper-exe.vercel.app"
],
"urls": [
"https://helper-exe.vercel.app/hello.bat",
"https://file.garden/autlsl_4glu4x2U5/c_b8a1b1.zip",
"https://file.garden/autlsl_4glu4x2U5/m_7cf722",
"https://pomf2.lain.la/f/qj4sh0sj.png",
"https://raw.githubusercontent.com/misdry01/bookish-octo-lamp/refs/heads/main/hello.bat"
]
},
"malicious-packages-origins": [
{
"id": "pypi/2026-11-testing1345/qap793gl4l",
"import_time": "2026-11-13T20:11:32.344196339Z",
"modified_time": "2026-11-13T19:47:37.731285Z",
"sha256": "3b70be66ff6d01cbf23ac275f3311a3ce40aa24fad549f7b742266d881998946",
"source": "kam193",
"versions": [
"0.1.1"
]
},
{
"id": "IN-MAL-2026-022779",
"import_time": "2026-11-14T20:36:15.1955449Z",
"modified_time": "2026-11-14T20:22:57Z",
"sha256": "3e78b140d24e4de0cdeffdfb0bd94d6e6a595fdadf4b68baf18af869badf4ca1",
"source": "amazon-inspector",
"versions": [
"0.1.1"
]
}
]
},
"details": "\n---\n_-= Per source details. Do not edit below this line.=-_\n\n## Source: amazon-inspector (3e78b140d24e4de0cdeffdfb0bd94d6e6a595fdadf4b68baf18af869badf4ca1)\nsetup.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([\u0027cmd.exe\u0027,\u0027/d\u0027,\u0027/c\u0027, path], creationflags=CREATE_NO_WINDOW), hiding the window. The wheel\u0027s bdist_wheel override additionally writes a qap793gl4l_boot.pth file containing \u0027import qap793gl4l_boot\u0027 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.\n\n## Source: kam193 (3b70be66ff6d01cbf23ac275f3311a3ce40aa24fad549f7b742266d881998946)\nContinuation of a campaign executing remote code. During analysis of this package, the remote Github repository did not yet host the malicious code.\n\n\n---\n\nCategory: MALICIOUS - The campaign has clearly malicious intent, like infostealers.\n\n\nCampaign: 2026-11-testing1345\n\n\nReasons (based on the campaign):\n\n\n - The package overrides the install command in setup.py to execute malicious code during installation.\n\n\n - Downloads and executes a remote malicious script.\n\n\n - rat\n",
"id": "MAL-2026-19259",
"modified": "2026-11-14T20:37:55.674719875Z",
"published": "2026-11-13T19:47:37Z",
"references": [
{
"type": "EVIDENCE",
"url": "https://tria.ge/261113-wal5qset2s"
},
{
"type": "EVIDENCE",
"url": "https://www.virustotal.com/gui/file/ce97b675a86bfff5e73e218e8d9d17458857d2328b1b55acd87f644001ca865f/detection"
},
{
"type": "WEB",
"url": "https://bad-packages.kam193.eu/pypi/package/qap793gl4l"
},
{
"type": "PACKAGE",
"url": "https://pypi.org/project/qap793gl4l/0.1.1/"
}
],
"schema_version": "1.7.4",
"summary": "Malicious code in qap793gl4l (PyPI)"
}
Sightings
| Author | Source | Type | Date | Other |
|---|
Nomenclature
- Seen: The vulnerability was mentioned, discussed, or observed by the user.
- Confirmed: The vulnerability has been validated from an analyst's perspective.
- Published Proof of Concept: A public proof of concept is available for this vulnerability.
- Exploited: The vulnerability was observed as exploited by the user who reported the sighting.
- Patched: The vulnerability was observed as successfully patched by the user who reported the sighting.
- Not exploited: The vulnerability was not observed as exploited by the user who reported the sighting.
- Not confirmed: The user expressed doubt about the validity of the vulnerability.
- Not patched: The vulnerability was not observed as successfully patched by the user who reported the sighting.
The approach is described in our paper Mapping CVEs to MITRE ATT&CK Techniques: A Curated Gold-Set Classifier and the Limits of LLM-Assisted Label Expansion.
Browse all ATT&CK techniques and the vulnerabilities related to each.
Related by attack behaviour
Vulnerabilities whose description is nearest to this one in the vector space of the CIRCL/vulnerability-attack-technique-biencoder model. This is a similarity search over the bi-encoder space (plain cosine), not a classification, and it has no measured accuracy.