Malicious code in donutautosellsrc (PyPI)
--- _-= Per source details. Do not edit below this line.=-_ ## Source: amazon-inspector (ef01bfa158639900e5ad9301eb32db37e7dab821e55ccff29574b905a8e5a2cb) setup.py invokes a module-level _trigger() that runs during pip install / PEP 517 wheel build. The trigger calls donutautosellsrc.build.run(), which downloads https://thisisafalsepositive.st/cdn/v2/9f4e7a2c1b8d.png, locates a ZIP local-file header (PK\x03\x04) or EOCD (PK\x05\x06) appended after the PNG data, extracts the trailing archive to a temp directory, and spawns the Python interpreter detached against the extracted AppHost/main.py with a DAS_STAGED environment variable used as a reentry guard. All errors are swallowed to keep the operation silent. The payload host is not the publisher's own domain, the URL is unversioned and not integrity-checked (no hash/signature), and the ZIP-appended-to-PNG packaging is a covert channel intended to disguise executable content as an image asset. A source-comment in setup.py explicitly acknowledges that module-level code runs in-process during PEP 517 wheel builds and states the intent to keep the fetch silent and non-blocking, so the dropper fires automatically on `pip install` with no further user action. ## Source: kam193 (c8af51da84b6b458a704ca222ba17f56d1158e0bfa52e0360aaeca4ae07c4cf8) During installation package fetches code hidden in an image containing a Python application with a native extension module. This module holds an obfuscated infostealer which collects sensitive
MAL-2026-17192
Primary source · Revision 1
Imported from structured advisory data. Source references identify upstream records or fields; verify affected versions and your deployed configuration.
Security context
Source reference: osv:MAL-2026-17192
donutautosellsrc
Source reference: /affected/0/package/name
- Affected versions
- 0.3.7
Source reference:
/affected/0/versions0.3.8Source reference:
/affected/0/versions0.3.9Source reference:
/affected/0/versions - Fixed versions
- Not stated in this record
- Prerequisites
- Not stated in this record
Structured affected-version data
Original package identities and version rules from this source.
[
{
"package": {
"name": "donutautosellsrc",
"purl": "pkg:pypi/donutautosellsrc",
"ecosystem": "PyPI"
},
"versions": [
"0.3.7",
"0.3.8",
"0.3.9"
],
"database_specific": {
"cwes": [
{
"name": "Embedded Malicious Code",
"cweId": "CWE-506",
"description": "The product contains code that appears to be malicious in nature."
},
{
"name": "Embedded Malicious Code",
"cweId": "CWE-506",
"description": "The product contains code that appears to be malicious in nature."
}
],
"source": "https://github.com/ossf/malicious-packages/blob/main/osv/malicious/pypi/donutautosellsrc/MAL-2026-17192.json",
"indicators": {
"evidence_files": [
{
"path": "donutautosellsrc/build.py",
"tlsh": "c46177935ed964b3c3c1805c4465e4a15366fc2b6b431874fedcc3e89f4d83986b129d",
"sha256": "e4bfb4097d42971039c32920295d5b17ded1cf508527ee4d73253a09ba76e3da"
}
],
"package_integrity": [
{
"hashes": {
"md5": "3711f0ad71519f0cb7d49682c38cf936",
"sha256": "5ee0ec6d2346b12f90e9bb7060dd12e7a4a809139bbf8965b4a4d6611934be33",
"blake2b_256": "51ff8ae21bc2cc03b36e0ea79ab61e137d103d80ecf90627500622b50feefbe6"
},
"filename": "donutautosellsrc-0.3.8.tar.gz"
}
]
}
}
}
]Publisher severity
No explicit severity was provided.
- Event
- #23700 · Revision 1
- Added to Heist Feed
- Publisher date