MAL-2026-18336

See a problem?
Import Source
https://github.com/ossf/malicious-packages/blob/main/osv/malicious/pypi/h13t0ry-hello-demo/MAL-2026-18336.json
JSON Data
https://api.osv.dev/v1/vulns/MAL-2026-18336
Published
2026-10-27T03:49:17Z
Modified
2026-10-29T13:30:04Z
Summary
Malicious code in h13t0ry-hello-demo (PyPI)
Details

-= Per source details. Do not edit below this line.=-

Source: amazon-inspector (34a52ed4e00f54dc99a4b460ad2d881b62a7a85c636085f4166f4062cebea374)

On 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.

Source: kam193 (e27409f6c0ba5c7e7ba22f21c8b4806686ae8b64f4d7daf2dd9a7e6182bef5ab)

During import package starts a reverse shell


Category: MALICIOUS - The campaign has clearly malicious intent, like infostealers.

Campaign: 2026-10-h13t0ry-hello-demo

Reasons (based on the campaign):

  • The package contains code to create a reverse shell, allowing an attacker to execute any commands on the victim's machine.
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"
            ]
        }
    ]
}
References
Credits

Affected packages

PyPI / h13t0ry-hello-demo

Package

Name
h13t0ry-hello-demo
View open source insights on deps.dev
Purl
pkg:pypi/h13t0ry-hello-demo

Affected ranges

Affected versions

0.*
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"
            }
        }
    ]
}
source
"https://github.com/ossf/malicious-packages/blob/main/osv/malicious/pypi/h13t0ry-hello-demo/MAL-2026-18336.json"