{"id":"MAL-2025-191906","summary":"Malicious code in tonetext (PyPI)","details":"\n---\n_-= Per source details. Do not edit below this line.=-_\n\n## Source: kam193 (c46725ad6c88079cce4f7fa4a29175fec7f78ea83344da99d0f02ac4f020fcf3)\nWhen imported, the code embedded into the exception class downloads a remote file, and runs it by importing, and attempts to cover tracks by overwriting itself, removing caches and other related files.\n\n\n---\n\nCategory: MALICIOUS - The campaign has clearly malicious intent, like infostealers.\n\n\nCampaign: 2025-03-tonetext\n\n\nReasons (based on the campaign):\n\n\n - Downloads and executes a remote malicious script.\n\n\n - obfuscation\n","modified":"2025-12-12T20:43:27.778778Z","published":"2025-03-12T22:30:33Z","database_specific":{"iocs":{"urls":["https://tinyurl.com/ttxP1107"]},"malicious-packages-origins":[{"id":"pypi/2025-03-tonetext/tonetext","source":"kam193","ranges":[{"events":[{"introduced":"0"}],"type":"ECOSYSTEM"}],"modified_time":"2025-03-12T22:30:33Z","import_time":"2025-12-02T22:30:55.654259882Z","sha256":"6bdd482d6ab1a67e92e07cfac1da64aa0d02a55c6f019ca1f3fdadc87ecf2e4c"},{"id":"pypi/2025-03-tonetext/tonetext","source":"kam193","ranges":[{"events":[{"introduced":"0"}],"type":"ECOSYSTEM"}],"modified_time":"2025-03-12T22:30:33Z","import_time":"2025-12-02T23:07:18.697249404Z","sha256":"c46725ad6c88079cce4f7fa4a29175fec7f78ea83344da99d0f02ac4f020fcf3"},{"id":"pypi/2025-03-tonetext/tonetext","source":"kam193","modified_time":"2025-03-12T22:30:33Z","versions":["0.1.1","0.2.1"],"import_time":"2025-12-10T21:38:57.882722152Z","sha256":"59e36377e7671291e506fade84e8d65b72afebad7c5e5fca51c5111ec9afe2ca"}]},"references":[{"type":"WEB","url":"https://bad-packages.kam193.eu/pypi/package/tonetext"}],"affected":[{"package":{"name":"tonetext","ecosystem":"PyPI","purl":"pkg:pypi/tonetext"},"versions":["0.1.1","0.2.1"],"database_specific":{"source":"https://github.com/ossf/malicious-packages/blob/main/osv/malicious/pypi/tonetext/MAL-2025-191906.json"}}],"schema_version":"1.7.3","credits":[{"name":"Kamil Mańkowski (kam193)","contact":["https://github.com/kam193","https://bad-packages.kam193.eu/"]},{"name":"Kamil Mańkowski (kam193)","contact":["https://github.com/kam193","https://bad-packages.kam193.eu/"],"type":"REPORTER"}]}