MAL-2026-18343

See a problem?
Import Source
https://github.com/ossf/malicious-packages/blob/main/osv/malicious/pypi/numprint/MAL-2026-18343.json
JSON Data
https://api.osv.dev/v1/vulns/MAL-2026-18343
Published
2026-10-27T16:48:48Z
Modified
2026-10-29T13:48:11Z
Summary
Malicious code in numprint (PyPI)
Details

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

Source: amazon-inspector (b2767ab63222f7b2b6c76334822fb6e8c8b0385df53833206362fcf52f93392a)

numprint 1.2.0 on PyPI could not be fully characterized from the available signals. No specific installer-harm fingerprint (hardcoded C2, credential path read, home-directory secret scan, install-time fetch-and-execute, dropper, backdoor, self-propagation) is concretely identified in this record. The package name resembles common numeric/printing utility names but no benign purpose is confirmed either.

Source: kam193 (ca6ff316077349c92e2d1e5d7c3683a16e6542b952d5c7fc8743efa5d4c80243)

During installation the package starts a background process executing commands provided by the attacker. The C2 communication happens through a GitHub Gist.


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

Campaign: 2026-10-numprint

Reasons (based on the campaign):

  • The package overrides the install command in setup.py to execute malicious code during installation.

  • The package contains code to execute remote commands (probably limited to a specific set) on the victim's machine.

  • rat

Database specific
{
    "iocs":  {
        "urls":  [
            "https://api.github.com/gists/3775fd9235aa6ef29e96eb96274a0e34"
        ]
    },
    "malicious-packages-origins":  [
        {
            "id":  "pypi/2026-10-numprint/numprint",
            "import_time":  "2026-10-27T17:13:14.404099688Z",
            "modified_time":  "2026-10-27T16:48:48.533873Z",
            "sha256":  "ca6ff316077349c92e2d1e5d7c3683a16e6542b952d5c7fc8743efa5d4c80243",
            "source":  "kam193",
            "versions":  [
                "1.2.0"
            ]
        },
        {
            "id":  "IN-MAL-2026-021974",
            "import_time":  "2026-10-29T13:37:18.441020354Z",
            "modified_time":  "2026-10-29T13:32:27Z",
            "sha256":  "b2767ab63222f7b2b6c76334822fb6e8c8b0385df53833206362fcf52f93392a",
            "source":  "amazon-inspector",
            "versions":  [
                "1.2.0"
            ]
        }
    ]
}
References
Credits

Affected packages

PyPI / numprint

Package

Affected ranges

Affected versions

1.*
1.2.0

Database specific

cwes
[
    {
        "cweId":  "CWE-506",
        "description":  "The product contains code that appears to be malicious in nature.",
        "name":  "Embedded Malicious Code"
    }
]
indicators
{
    "package_integrity":  [
        {
            "filename":  "numprint-1.2.0.tar.gz",
            "hashes":  {
                "blake2b_256":  "780d2734dc3781dd2e7af61255caa40853515111a8228eb445ef47faaccc7f98",
                "md5":  "c6de5e497140bb067c16e577322df6bd",
                "sha256":  "55a2c1e71513b89a1b6046108f1652e964e8a8525091057265ca3bcad718d3e6"
            }
        }
    ]
}
source
"https://github.com/ossf/malicious-packages/blob/main/osv/malicious/pypi/numprint/MAL-2026-18343.json"