MAL-2026-10213

See a problem?
Import Source
https://github.com/ossf/malicious-packages/blob/main/osv/malicious/pypi/pipspeed/MAL-2026-10213.json
JSON Data
https://api.osv.dev/v1/vulns/MAL-2026-10213
Published
2026-07-12T20:55:04Z
Modified
2026-07-13T00:46:05Z
Summary
Malicious code in pipspeed (PyPI)
Details

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

Source: amazon-inspector (b1037d713fe94f92e9f1302a1c8fdfcd03ee290e1f2076e7c01cbd1305499e91)

The package's advertised public entry point pipspeed._optimize() GETs a JSON document from https://www.jsonkeeper.com/b/53XMN (an anonymous, mutable paste host) and reads package, function, and args fields from the response. It then runs pip install <package> via subprocess, importlib.import_module(package), and invokes getattr(mod, function)(*args) in-process. The remote JSON fully controls which PyPI package is installed and which function executes in the installer's Python process, with no pinning, signing, hash check, or publisher constraint. Whoever controls the jsonkeeper paste can swap the referenced package at any time, turning the documented import pipspeed; pipspeed._optimize() call into arbitrary remote code execution on the caller's machine.

Source: kam193 (3e4b43c63e526b9741837cc11f98ffab5576e13f90f462100924778e29d2be17)

Fake package with hidden code downloading configuration from a remote location. It defines the next package to install and run. During analysis, the package instructed to install did not exist.

First discovered by Amazon Inspector.


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

Campaign: 2026-07-pipspeed

Reasons (based on the campaign):

  • Downloads and executes a remote malicious script.

  • action-hidden-in-lib-usage

Database specific
{
    "iocs": {
        "urls": [
            "https://www.jsonkeeper.com/b/53XMN"
        ]
    },
    "malicious-packages-origins": [
        {
            "id": "IN-MAL-2026-009767",
            "import_time": "2026-07-12T21:20:01.60458788Z",
            "modified_time": "2026-07-12T20:55:04Z",
            "sha256": "b1037d713fe94f92e9f1302a1c8fdfcd03ee290e1f2076e7c01cbd1305499e91",
            "source": "amazon-inspector",
            "versions": [
                "0.1.0"
            ]
        },
        {
            "id": "pypi/2026-07-pipspeed/pipspeed",
            "import_time": "2026-07-13T00:42:09.903300075Z",
            "modified_time": "2026-07-12T23:51:10.816693Z",
            "sha256": "3e4b43c63e526b9741837cc11f98ffab5576e13f90f462100924778e29d2be17",
            "source": "kam193",
            "versions": [
                "0.1.0"
            ]
        }
    ]
}
References
Credits

Affected packages

PyPI / pipspeed

Package

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": "pipspeed/__init__.py",
            "sha256": "c25eac425dc3cfab257b78d65bab6c4651d4ad5fdd3bc7297cf0766b397ac255",
            "tlsh": "4cb1136bcd8b65225433e8ef74874071e72d13037e1604a178ad87a81f3a86193efa5f"
        }
    ],
    "package_integrity": [
        {
            "filename": "pipspeed-0.1.0-py3-none-any.whl",
            "hashes": {
                "blake2b_256": "26fa1c5f1c24f416d440f25d9a89dfbfdd4addbf1c039957dbeff951f569aa0d",
                "md5": "66db5f854d1c622eff87eba27a95983c",
                "sha256": "cadab77e5aa187f16661091207748803538ecd4c3fdc55aa65513a070d647f9a"
            }
        },
        {
            "filename": "pipspeed-0.1.0.tar.gz",
            "hashes": {
                "blake2b_256": "571c4d2909257b0683260a8c0d5eb494ff5d281030ecc776bd2ce5b545caf2e3",
                "md5": "064e1a829b9d58a9c91155487a4ecacb",
                "sha256": "daf2a796d1b5107dbfab8e4d0a64d590542f3d958eb4bec7d4ca3915221398b8"
            }
        }
    ]
}
source
"https://github.com/ossf/malicious-packages/blob/main/osv/malicious/pypi/pipspeed/MAL-2026-10213.json"