MAL-2026-3407Malicious code in textwrap-toolkit (PyPI)
| Ecosystem | Package | Version |
|---|---|---|
| PyPI | textwrap-toolkit | 1.2.2 |
{"modified":"2026-05-12T21:58:01Z","published":"2026-05-09T19:14:44Z","schema_version":"1.7.4","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","affected":[{"package":{"ecosystem":"PyPI","name":"textwrap-toolkit"},"versions":["1.2.2"]}],"references":[{"type":"WEB","url":"https://bad-packages.kam193.eu/pypi/package/textwrap-toolkit"}],"credits":[{"name":"Kamil Mańkowski (kam193)","type":"REPORTER","contact":["https://github.com/kam193","https://bad-packages.kam193.eu/"]}],"database_specific":{"iocs":{"ips":["144.126.142.148"],"urls":["http://144.126.142.148:5555/tao","http://144.126.142.148:5555/report"]},"malicious-packages-origins":[{"source":"kam193","sha256":"029e190fc99763d65a096339b29fa85aeb0a23c3818a632a2dd4dc99f3e8fd64","import_time":"2026-05-09T19:28:27.97004386Z","id":"pypi/2026-05-ninja-core-utils/textwrap-toolkit","modified_time":"2026-05-09T19:14:44.357761Z","versions":["1.2.2"]},{"source":"kam193","sha256":"56384f41b38b4a58c1bfaface12044e42992f75079eb548a41a954584977952e","import_time":"2026-05-12T21:56:03.347428607Z","id":"pypi/2026-05-ninja-core-utils/textwrap-toolkit","modified_time":"2026-05-09T19:14:44.357761Z","versions":["1.2.2"]}]}}数据来源:OpenSSF Malicious Packages · Apache-2.0