mal-2026-1222
Vulnerability from ossf_malicious_packages
Published
2026-03-03 18:02
Modified
2026-03-03 20:14
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

Credits

{
  "affected": [
    {
      "package": {
        "ecosystem": "PyPI",
        "name": "optimal-spark-config"
      },
      "versions": [
        "14.0.0",
        "14.0.1",
        "14.0.2",
        "14.0.3"
      ]
    }
  ],
  "credits": [
    {
      "contact": [
        "https://github.com/kam193",
        "https://bad-packages.kam193.eu/"
      ],
      "name": "Kamil Ma\u0144kowski (kam193)",
      "type": "REPORTER"
    }
  ],
  "database_specific": {
    "iocs": {
      "domains": [
        "1r.vc",
        "i.1r.vc"
      ],
      "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"
      ]
    },
    "malicious-packages-origins": [
      {
        "id": "pypi/2026-02-urllib-slim/optimal-spark-config",
        "import_time": "2026-03-03T18:20:16.081533863Z",
        "modified_time": "2026-03-03T18:02:59.459666Z",
        "sha256": "a1c1bf78d6e3b593fd29329b4175a48c645abf4b4b63e93db68f25221329d14c",
        "source": "kam193",
        "versions": [
          "14.0.0",
          "14.0.1",
          "14.0.2"
        ]
      },
      {
        "id": "pypi/2026-02-urllib-slim/optimal-spark-config",
        "import_time": "2026-03-03T19:20:04.712977567Z",
        "modified_time": "2026-03-03T18:02:59.459666Z",
        "sha256": "8875cb0d0b4757cf1cdaed6b5311cf6b8c841dc2065f824a430a0d0debfaaf22",
        "source": "kam193",
        "versions": [
          "14.0.0",
          "14.0.1",
          "14.0.2"
        ]
      },
      {
        "id": "pypi/2026-02-urllib-slim/optimal-spark-config",
        "import_time": "2026-03-03T20:12:03.921268287Z",
        "modified_time": "2026-03-03T19:02:20.555499Z",
        "sha256": "06464a6f0ed327a7db87798c5134f72c4e43b71eda981f62e8d0549cd13c9eaa",
        "source": "kam193",
        "versions": [
          "14.0.0",
          "14.0.1",
          "14.0.2",
          "14.0.3"
        ]
      }
    ]
  },
  "details": "\n---\n_-= Per source details. Do not edit below this line.=-_\n\n## Source: kam193 (a1c1bf78d6e3b593fd29329b4175a48c645abf4b4b63e93db68f25221329d14c)\nDuring 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\n\n\n---\n\nCategory: MALICIOUS - The campaign has clearly malicious intent, like infostealers.\n\n\nCampaign: 2026-02-urllib-slim\n\n\nReasons (based on the campaign):\n\n\n - typosquatting\n\n\n - Downloads and executes a remote executable.\n\n\n - obfuscation\n\n\n - dependency-confusion\n",
  "id": "MAL-2026-1222",
  "modified": "2026-03-03T20:14:02Z",
  "published": "2026-03-03T18:02:59Z",
  "references": [
    {
      "type": "WEB",
      "url": "https://bad-packages.kam193.eu/pypi/package/optimal-spark-config"
    },
    {
      "type": "EVIDENCE",
      "url": "https://www.virustotal.com/gui/file/d6029cce705b3842042106efb737c8b14eb736fdbfb8d0d03c3dfbc8d6c207a5?nocache=1"
    }
  ],
  "schema_version": "1.7.4",
  "summary": "Malicious code in optimal-spark-config (PyPI)"
}


Log in or create an account to share your comment.




Tags
Taxonomy of the tags.


Loading…

Loading…

Loading…

Sightings

Author Source Type Date

Nomenclature

  • Seen: The vulnerability was mentioned, discussed, or observed by the user.
  • Confirmed: The vulnerability has been validated from an analyst's perspective.
  • Published Proof of Concept: A public proof of concept is available for this vulnerability.
  • Exploited: The vulnerability was observed as exploited by the user who reported the sighting.
  • Patched: The vulnerability was observed as successfully patched by the user who reported the sighting.
  • Not exploited: The vulnerability was not observed as exploited by the user who reported the sighting.
  • Not confirmed: The user expressed doubt about the validity of the vulnerability.
  • Not patched: The vulnerability was not observed as successfully patched by the user who reported the sighting.


Loading…

Detection rules are retrieved from Rulezet.

Loading…

Loading…