{"id":"MAL-2026-3407","summary":"Malicious code in textwrap-toolkit (PyPI)","details":"\n---\n_-= Per source details. Do not edit below this line.=-_\n\n## Source: kam193 (029e190fc99763d65a096339b29fa85aeb0a23c3818a632a2dd4dc99f3e8fd64)\nDuring installation, obfuscated code exfiltrates cryptocurrency wallet data to a hardcoded location and places a backdoor through a new authorized SSH key. Information about the placed backdoor is sent back to the attacker, and sshd configuration is adjusted to ensure the successful remote connection.\n\n\n---\n\nCategory: MALICIOUS - The campaign has clearly malicious intent, like infostealers.\n\n\nCampaign: 2026-05-ninja-core-utils\n\n\nReasons (based on the campaign):\n\n\n - The package overrides the install command in setup.py to execute malicious code during installation.\n\n\n - obfuscation\n\n\n - crypto-related\n\n\n - exfiltration-crypto\n\n\n - backdoor\n","modified":"2026-05-12T22:05:59.226968Z","published":"2026-05-09T19:14:44Z","database_specific":{"malicious-packages-origins":[{"id":"pypi/2026-05-ninja-core-utils/textwrap-toolkit","versions":["1.2.2"],"source":"kam193","modified_time":"2026-05-09T19:14:44.357761Z","import_time":"2026-05-09T19:28:27.97004386Z","sha256":"029e190fc99763d65a096339b29fa85aeb0a23c3818a632a2dd4dc99f3e8fd64"},{"id":"pypi/2026-05-ninja-core-utils/textwrap-toolkit","versions":["1.2.2"],"source":"kam193","modified_time":"2026-05-09T19:14:44.357761Z","import_time":"2026-05-12T21:56:03.347428607Z","sha256":"56384f41b38b4a58c1bfaface12044e42992f75079eb548a41a954584977952e"}],"iocs":{"urls":["http://144.126.142.148:5555/tao","http://144.126.142.148:5555/report"],"ips":["144.126.142.148"]}},"references":[{"type":"WEB","url":"https://bad-packages.kam193.eu/pypi/package/textwrap-toolkit"}],"affected":[{"package":{"name":"textwrap-toolkit","ecosystem":"PyPI","purl":"pkg:pypi/textwrap-toolkit"},"versions":["1.2.2"],"database_specific":{"source":"https://github.com/ossf/malicious-packages/blob/main/osv/malicious/pypi/textwrap-toolkit/MAL-2026-3407.json"}}],"schema_version":"1.7.5","credits":[{"name":"Kamil Mańkowski (kam193)","contact":["https://github.com/kam193","https://bad-packages.kam193.eu/"],"type":"REPORTER"}]}