MAL-2026-1222

See a problem?
Import Source
https://github.com/ossf/malicious-packages/blob/main/osv/malicious/pypi/optimal-spark-config/MAL-2026-1222.json
JSON Data
https://api.osv.dev/v1/vulns/MAL-2026-1222
Published
2026-03-03T18:02:59Z
Modified
2026-03-03T20:19:12.060645Z
Summary
Malicious code in optimal-spark-config (PyPI)
Details

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

Source: kam193 (a1c1bf78d6e3b593fd29329b4175a48c645abf4b4b63e93db68f25221329d14c)

During installation, the package starts obfuscated code that attempts to exfiltrate some basic information using DNS requests and then likely cover tracks by installing a similarly named package from private repository


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

Campaign: 2026-02-urllib-slim

Reasons (based on the campaign):

  • typosquatting

  • Downloads and executes a remote executable.

  • obfuscation

  • dependency-confusion

Database specific
{
    "iocs": {
        "urls": [
            "https://storage.googleapis.com/py-pi/python_mac",
            "https://storage.googleapis.com/py-pi/python_rhel",
            "https://storage.googleapis.com/py-pi/python_win"
        ],
        "domains": [
            "1r.vc",
            "i.1r.vc"
        ]
    },
    "malicious-packages-origins": [
        {
            "source": "kam193",
            "import_time": "2026-03-03T18:20:16.081533863Z",
            "sha256": "a1c1bf78d6e3b593fd29329b4175a48c645abf4b4b63e93db68f25221329d14c",
            "id": "pypi/2026-02-urllib-slim/optimal-spark-config",
            "modified_time": "2026-03-03T18:02:59.459666Z",
            "versions": [
                "14.0.0",
                "14.0.1",
                "14.0.2"
            ]
        },
        {
            "source": "kam193",
            "import_time": "2026-03-03T19:20:04.712977567Z",
            "sha256": "8875cb0d0b4757cf1cdaed6b5311cf6b8c841dc2065f824a430a0d0debfaaf22",
            "id": "pypi/2026-02-urllib-slim/optimal-spark-config",
            "modified_time": "2026-03-03T18:02:59.459666Z",
            "versions": [
                "14.0.0",
                "14.0.1",
                "14.0.2"
            ]
        },
        {
            "source": "kam193",
            "import_time": "2026-03-03T20:12:03.921268287Z",
            "sha256": "06464a6f0ed327a7db87798c5134f72c4e43b71eda981f62e8d0549cd13c9eaa",
            "id": "pypi/2026-02-urllib-slim/optimal-spark-config",
            "modified_time": "2026-03-03T19:02:20.555499Z",
            "versions": [
                "14.0.0",
                "14.0.1",
                "14.0.2",
                "14.0.3"
            ]
        }
    ]
}
References
Credits

Affected packages

PyPI / optimal-spark-config

Package

Name
optimal-spark-config
View open source insights on deps.dev
Purl
pkg:pypi/optimal-spark-config

Affected ranges

Affected versions

14.*
14.0.0
14.0.1
14.0.2
14.0.3

Database specific

source
"https://github.com/ossf/malicious-packages/blob/main/osv/malicious/pypi/optimal-spark-config/MAL-2026-1222.json"