MAL-2026-3408Malicious code in textwrap-ext (PyPI)
| Ecosystem | Package | Version |
|---|---|---|
| PyPI | textwrap-ext | 1.2.5 |
{"modified":"2026-05-12T21:58:01Z","published":"2026-05-09T20:16:27Z","schema_version":"1.7.4","id":"MAL-2026-3408","summary":"Malicious code in textwrap-ext (PyPI)","details":"\n---\n_-= Per source details. Do not edit below this line.=-_\n\n## Source: kam193 (da4e8d5daae9a14e0ceb5a942afd308068957ec655cdd950b2b041934e9ec182)\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-ext"},"versions":["1.2.5"]}],"references":[{"type":"WEB","url":"https://bad-packages.kam193.eu/pypi/package/textwrap-ext"}],"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":"da4e8d5daae9a14e0ceb5a942afd308068957ec655cdd950b2b041934e9ec182","import_time":"2026-05-09T20:19:01.705017976Z","id":"pypi/2026-05-ninja-core-utils/textwrap-ext","modified_time":"2026-05-09T20:16:28.000088Z","versions":["1.2.5"]},{"source":"kam193","sha256":"ad34ce10db3513a5647b9d55151ec9b872196eefed1831c03f48be371eb55c5b","import_time":"2026-05-12T21:56:03.345602711Z","id":"pypi/2026-05-ninja-core-utils/textwrap-ext","modified_time":"2026-05-09T20:16:28.000088Z","versions":["1.2.5"]}]}}数据来源:OpenSSF Malicious Packages · Apache-2.0