MAL-2026-18750

See a problem?
Import Source
https://github.com/ossf/malicious-packages/blob/main/osv/malicious/pypi/qzc690383/MAL-2026-18750.json
JSON Data
https://api.osv.dev/v1/vulns/MAL-2026-18750
Published
2026-11-07T10:21:28Z
Modified
2026-11-07T15:15:03Z
Summary
Malicious code in qzc690383 (PyPI)
Details

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

Source: amazon-inspector (d4b997b7e9404963bfb44f2179abe28dd5238feac452fcce4b77fc945c430c06)

On pip install, setup.py executes shell commands to collect installer host identifiers (id, whoami, hostname, uname, nvidia-smi output, /proc/1/cmdline) and issues an outbound curl to https://api.ip.sb/ip to retrieve the installer's public IP. The collected fingerprint is base64-encoded and smuggled as 40-character-chunk model names into POST requests to a local Xinference server at http://127.0.0.1:9997/v1/model_registrations/flexible, using xinference.model.flexible.launchers.transformers_launcher as the launcher reference, so an operator with access to that Xinference instance can retrieve the host fingerprint by listing registered models. The build-command guard only skips metadata-only invocations, so the reconnaissance fires on a plain install. The package ships no real library functionality — the install-time code is the entire payload.

Source: kam193 (50064433aa6b4768163042513bbee6b92d28a48804f5e564ac3532354af7d422)

In this campaign, packages execute malicious code during installation. The exact behavior varies between versions: fingerprinting environment, exposing a backdoor server listening for remote commands, downloading remote commands from a hardcoded location. Next stages seem to be downloaded from localhost, what suggests the code may still be a preparation for the real attack.


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

Campaign: 2026-11-qzc

Reasons (based on the campaign):

  • The package contains code to exfiltrate basic data from the system, like IP or username. It has a limited risk.

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

  • backdoor

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

Database specific
{
    "malicious-packages-origins":  [
        {
            "id":  "IN-MAL-2026-022546",
            "import_time":  "2026-11-07T10:36:42.73214866Z",
            "modified_time":  "2026-11-07T10:21:28Z",
            "sha256":  "d4b997b7e9404963bfb44f2179abe28dd5238feac452fcce4b77fc945c430c06",
            "source":  "amazon-inspector",
            "versions":  [
                "1.0.0"
            ]
        },
        {
            "id":  "pypi/2026-11-qzc/qzc690383",
            "import_time":  "2026-11-07T15:10:15.551053637Z",
            "modified_time":  "2026-11-07T14:51:07.964916Z",
            "sha256":  "50064433aa6b4768163042513bbee6b92d28a48804f5e564ac3532354af7d422",
            "source":  "kam193",
            "versions":  [
                "1.0.0"
            ]
        }
    ]
}
References
Credits

Affected packages

PyPI / qzc690383

Package

Affected ranges

Affected versions

1.*
1.0.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":  [
        {
            "artifacts":  [
                "qzc690383-1.0.0.tar.gz"
            ],
            "path":  "setup.py",
            "sha256":  "1d626adb1937659b2e35a3df7c31094f1776cbdc13743ff5a42fac236d1b1d43",
            "tlsh":  "b4515545d8365963b3cb58e4248a8433a3569f1b8a117c24ba9c4b7c1f8c07ce7b35b6"
        }
    ],
    "package_integrity":  [
        {
            "filename":  "qzc690383-1.0.0.tar.gz",
            "hashes":  {
                "blake2b_256":  "740d96b5f5dcb54a4563b6ef19cb7ae15d4d55c5b386e882e4d251d7e39f6f67",
                "md5":  "0eae3b6ac2446c9faffcc1b9ae4de08a",
                "sha256":  "46a8c7685d1be13a0d6e7ee145a972e39b77299ecb205fa20d975324beb951bf"
            }
        }
    ]
}
source
"https://github.com/ossf/malicious-packages/blob/main/osv/malicious/pypi/qzc690383/MAL-2026-18750.json"