MAL-2026-18336Malicious code in h13t0ry-hello-demo (PyPI)
| Ecosystem | Package | Version |
|---|---|---|
| PyPI | h13t0ry-hello-demo | 0.1.0 |
{"schema_version":"1.7.4","id":"MAL-2026-18336","published":"2026-10-27T03:49:17Z","modified":"2026-10-29T13:15:31.525875193Z","summary":"Malicious code in h13t0ry-hello-demo (PyPI)","details":"\n---\n_-= Per source details. Do not edit below this line.=-_\n\n## Source: amazon-inspector (34a52ed4e00f54dc99a4b460ad2d881b62a7a85c636085f4166f4062cebea374)\nOn import, the package's top-level module code opens a TCP socket to the hardcoded IP 115.190.210.22:80, duplicates the socket over stdin/stdout/stderr via os.dup2, and spawns /bin/bash through pty.spawn, handing an interactive shell on the installer's host to the remote endpoint under the installing user's account. The module also exports a trivial one-line hello() function alongside the payload, and the package name uses leet-style substitution (h13t0ry) consistent with a cover story rather than a genuine demo package. The reverse-shell path is unauthenticated, undisclosed, and fires unconditionally on any `import hello_demo`.\n\n## Source: kam193 (e27409f6c0ba5c7e7ba22f21c8b4806686ae8b64f4d7daf2dd9a7e6182bef5ab)\nDuring import package starts a reverse shell\n\n\n---\n\nCategory: MALICIOUS - The campaign has clearly malicious intent, like infostealers.\n\n\nCampaign: 2026-10-h13t0ry-hello-demo\n\n\nReasons (based on the campaign):\n\n\n - The package contains code to create a reverse shell, allowing an attacker to execute any commands on the victim's machine.\n","affected":[{"package":{"name":"h13t0ry-hello-demo","ecosystem":"PyPI"},"versions":["0.1.0"],"database_specific":{"cwes":[{"cweId":"CWE-506","description":"The product contains code that appears to be malicious in nature.","name":"Embedded Malicious Code"}],"indicators":{"evidence_files":[{"path":"hello_demo.py","sha256":"36df6d0e41c156e0a4544f3473c1fe848dad1a3a9e867260eb70c0dd07f0472b","tlsh":"2cd02262929e304aab3980ad314ab2ab3fe83e632b242ca1070447217b0320c4ce8949"}],"package_integrity":[{"filename":"h13t0ry_hello_demo-0.1.0-py3-none-any.whl","hashes":{"blake2b_256":"917315a7dd1a0e58587538a52990db8486bfe70374019c2656fbf6a00d6dd29e","md5":"f428825b8b53e31e15eb2c3eaa8930be","sha256":"f93d25bbb65f4ce7de59054ce3cae3b303f620cf6b6be945b125440c0ddff50e"}},{"filename":"h13t0ry_hello_demo-0.1.0.tar.gz","hashes":{"blake2b_256":"c4607fad975c74746bc355277ad08e7b9545f7f6ef1587afdeef3d97fb8ff1e1","md5":"0518a95238b3b42f40cbb26ee836aa09","sha256":"9d0849675c0c88949805d282172f212e48ea5ee45b400db316da2bb2c133348d"}}]}}}],"references":[{"type":"WEB","url":"https://bad-packages.kam193.eu/pypi/package/h13t0ry-hello-demo"},{"type":"PACKAGE","url":"https://pypi.org/project/h13t0ry-hello-demo/0.1.0/"}],"database_specific":{"iocs":{"ips":["115.190.210.22"]},"malicious-packages-origins":[{"id":"pypi/2026-10-h13t0ry-hello-demo/h13t0ry-hello-demo","import_time":"2026-10-27T04:20:45.32641195Z","modified_time":"2026-10-27T03:49:18.023894Z","sha256":"e27409f6c0ba5c7e7ba22f21c8b4806686ae8b64f4d7daf2dd9a7e6182bef5ab","source":"kam193","versions":["0.1.0"]},{"id":"IN-MAL-2026-021824","import_time":"2026-10-29T13:14:05.962183717Z","modified_time":"2026-10-29T13:12:32Z","sha256":"34a52ed4e00f54dc99a4b460ad2d881b62a7a85c636085f4166f4062cebea374","source":"amazon-inspector","versions":["0.1.0"]}]},"credits":[{"name":"Amazon Inspector","contact":["inspector-research@amazon.com"],"type":"FINDER"},{"name":"Kamil Mańkowski (kam193)","contact":["https://github.com/kam193","https://bad-packages.kam193.eu/"],"type":"REPORTER"}]}数据来源:OpenSSF Malicious Packages · Apache-2.0