{"id":"MAL-2025-192365","summary":"Malicious code in python-tg-bot (PyPI)","details":"\n---\n_-= Per source details. Do not edit below this line.=-_\n\n## Source: kam193 (5397ab6595b8237172e9a49952d092803e03526e3dda8277c64dc4d26ae45ff2)\nDuring importing, a dependency with infostealer is loaded and package attempts to exfiltrate credentials.\n\n\n---\n\nCategory: MALICIOUS - The campaign has clearly malicious intent, like infostealers.\n\n\nCampaign: 2025-12-blank-lib\n\n\nReasons (based on the campaign):\n\n\n - infostealer\n\n\n - infostealer:blankgrabber\n\n\n - clones-real-package\n\n\n - The malicious code is intentionally included in a dependency of the package\n\n\n - exfiltration-credentials\n","modified":"2025-12-31T02:56:26.546187Z","published":"2025-12-07T00:50:39Z","database_specific":{"malicious-packages-origins":[{"versions":["22.5.1","22.5"],"id":"pypi/2025-12-blank-lib/python-tg-bot","import_time":"2025-12-07T01:35:44.733391151Z","modified_time":"2025-12-07T00:50:39.178299Z","sha256":"5397ab6595b8237172e9a49952d092803e03526e3dda8277c64dc4d26ae45ff2","source":"kam193"},{"id":"pypi/2025-12-blank-lib/python-tg-bot","import_time":"2025-12-30T22:39:04.147468445Z","modified_time":"2025-12-07T00:50:39.178299Z","sha256":"830f97cae808ec0ca0ec496def5a72d6e979d5c977077a2cf26d4956d99f755f","source":"kam193","versions":["22.5","22.5.1"]}]},"references":[{"type":"WEB","url":"https://bad-packages.kam193.eu/pypi/package/python-tg-bot"}],"affected":[{"package":{"name":"python-tg-bot","ecosystem":"PyPI","purl":"pkg:pypi/python-tg-bot"},"versions":["22.5.1","22.5"],"database_specific":{"source":"https://github.com/ossf/malicious-packages/blob/main/osv/malicious/pypi/python-tg-bot/MAL-2025-192365.json"}}],"schema_version":"1.7.3","credits":[{"name":"Kamil Mańkowski (kam193)","contact":["https://github.com/kam193","https://bad-packages.kam193.eu/"],"type":"REPORTER"}]}