{"id":"MAL-2026-21151","summary":"Malicious code in tesec (PyPI)","details":"\n---\n_-= Per source details. Do not edit below this line.=-_\n\n## Source: kam193 (8b6d96adb550460df6fafe6ea6da2475c974506bd1cc3fcda846c9a05977594c)\nThis campaign consists of package pairs. One of them carries a malicious payload in the native module, which the other one loads. Malcious packages drop PTH files to ensure persistence.\n\n\n---\n\nCategory: MALICIOUS - The campaign has clearly malicious intent, like infostealers.\n\n\nCampaign: 2026-11-tesec\n\n\nReasons (based on the campaign):\n\n\n - The malicious code is intentionally included in a dependency of the package\n\n\n - malware\n\n\n - native-extension\n\n\n - abuses-pth\n\n\n - persistence\n","modified":"2026-12-04T22:15:04.616638740Z","published":"2026-11-24T23:01:34Z","database_specific":{"iocs":{"urls":["https://dmsyxkqbtwarkmzgawzo.supabase.co/functions/v1/login","https://tzqrmubxuluyccmiialf.supabase.co/functions/v1/register","https://frjmzbjbhwvtdnsuodmu.supabase.co/functions/v1/save"]},"malicious-packages-origins":[{"sha256":"8b6d96adb550460df6fafe6ea6da2475c974506bd1cc3fcda846c9a05977594c","source":"kam193","versions":["2.7.0"],"id":"pypi/2026-11-tesec/tesec","import_time":"2026-12-04T22:10:09.120905841Z","modified_time":"2026-11-24T23:01:34.203865Z"}]},"references":[{"type":"WEB","url":"https://www.island.io/blog/devgating-the-pypi-malware-that-stays-silent-until-it-finds-a-developer"},{"type":"EVIDENCE","url":"https://www.virustotal.com/gui/file/c7b794f17288e30aeb665530f7f358887a2861889c53f24fa29b7b8e8a69258b/detection"},{"type":"WEB","url":"https://bad-packages.kam193.eu/pypi/package/tesec"}],"affected":[{"package":{"name":"tesec","ecosystem":"PyPI","purl":"pkg:pypi/tesec"},"versions":["2.7.0"],"database_specific":{"source":"https://github.com/ossf/malicious-packages/blob/main/osv/malicious/pypi/tesec/MAL-2026-21151.json"}}],"schema_version":"1.9.2","credits":[{"name":"Kamil Mańkowski (kam193)","contact":["https://github.com/kam193","https://bad-packages.kam193.eu/"],"type":"ANALYST"}]}