{"id":"MAL-2026-21147","summary":"Malicious code in confext (PyPI)","details":"\n---\n_-= Per source details. Do not edit below this line.=-_\n\n## Source: kam193 (6112b9028d45611aa5b7c497f41efe0c711a762ab58df0077aafaeea03c667d9)\nIn this campaign, malicious packages are published in pairs. One package (\"frontend\" one) carries malicious code hidden in a pickle disguised as a config. A related dependency (a loader package) contains code to load the pickle. During unpickling, malicious code embeded in the pickle file is automatically executed. It then establishes persistence via a PTH file and downloads the next stage payload. It finally acts like a RAT, allowing remote exfiltration and code execution.\n\nPackage first discovered by Island.io\n\n\n---\n\nCategory: MALICIOUS - The campaign has clearly malicious intent, like infostealers.\n\n\nCampaign: 2026-10-webreader\n\n\nReasons (based on the campaign):\n\n\n - files-exfiltration\n\n\n - obfuscation\n\n\n - The malicious code is intentionally included in a dependency of the package\n\n\n - Downloads and executes a remote malicious script.\n\n\n - The package contains code to execute remote commands (probably limited to a specific set) on the victim's machine.\n\n\n - rat\n\n\n - persistence\n\n\n - abuses-pth\n","modified":"2026-12-04T21:15:04.319707217Z","published":"2026-12-04T20:36:06Z","database_specific":{"malicious-packages-origins":[{"source":"kam193","versions":["0.7.2"],"id":"pypi/2026-10-webreader/confext","import_time":"2026-12-04T21:10:25.436063367Z","modified_time":"2026-12-04T20:36:06.198262Z","sha256":"6112b9028d45611aa5b7c497f41efe0c711a762ab58df0077aafaeea03c667d9"}],"iocs":{"domains":["frjmzbjbhwvtdnsuodmu.supabase.co"],"urls":["https://api.npoint.io/40e32d283a9d97e59252/a","https://api.npoint.io/69f11497b6c48bb2b2c5/p","https://api.npoint.io/df37d3253fff53e2034f/login"]}},"references":[{"type":"WEB","url":"https://www.island.io/blog/devgating-the-pypi-malware-that-stays-silent-until-it-finds-a-developer"},{"type":"WEB","url":"https://bad-packages.kam193.eu/pypi/package/confext"}],"affected":[{"package":{"name":"confext","ecosystem":"PyPI","purl":"pkg:pypi/confext"},"versions":["0.7.2"],"database_specific":{"source":"https://github.com/ossf/malicious-packages/blob/main/osv/malicious/pypi/confext/MAL-2026-21147.json"}}],"schema_version":"1.9.2","credits":[{"name":"Kamil Mańkowski (kam193)","contact":["https://github.com/kam193","https://bad-packages.kam193.eu/"],"type":"REPORTER"}]}