mal-2025-2974
Vulnerability from ossf_malicious_packages
Published
2025-01-26 18:01
Modified
2025-12-31 02:45
Summary
Malicious code in markitanalysis (PyPI)
Details

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

Source: kam193 (0181af7442259bbe6dfbeec39c99bc62b711e38ec00c2ce460dc47162390c591)

If installed using source package, the package collects selected environment variables, including GITHUB_TOKEN if set, and sends to an external service. The package doesn't hide its actions at all, but there are already multiple different packages with the same code.


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

Campaign: 2025-01-markitanalysis

Reasons (based on the campaign):

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

  • exfiltration-env-variables


{
  "affected": [
    {
      "package": {
        "ecosystem": "PyPI",
        "name": "markitanalysis",
        "purl": "pkg:pypi/markitanalysis"
      },
      "versions": [
        "0.0.1",
        "0.1.0"
      ]
    }
  ],
  "credits": [
    {
      "contact": [
        "https://github.com/kam193",
        "https://bad-packages.kam193.eu/"
      ],
      "name": "Kamil Ma\u0144kowski (kam193)"
    },
    {
      "contact": [
        "https://github.com/kam193",
        "https://bad-packages.kam193.eu/"
      ],
      "name": "Kamil Ma\u0144kowski (kam193)",
      "type": "REPORTER"
    },
    {
      "contact": [
        "https://www.reversinglabs.com"
      ],
      "name": "ReversingLabs",
      "type": "FINDER"
    }
  ],
  "database_specific": {
    "malicious-packages-origins": [
      {
        "id": "RLMA-2025-01972",
        "import_time": "2025-03-31T07:07:05.871223479Z",
        "modified_time": "2025-03-28T13:05:50Z",
        "sha256": "18531f9f237a5e62ca2df58868cc4b67ca096600e119e2de549de03078bc53b1",
        "source": "reversing-labs",
        "versions": [
          "0.0.1",
          "0.1.0"
        ]
      },
      {
        "id": "pypi/2025-01-markitanalysis/markitanalysis",
        "import_time": "2025-12-02T22:30:55.324523284Z",
        "modified_time": "2025-01-26T18:01:08Z",
        "ranges": [
          {
            "events": [
              {
                "introduced": "0"
              }
            ],
            "type": "ECOSYSTEM"
          }
        ],
        "sha256": "03e02ea1cd483a1827fe1bb9e76b1ee25b130d93f1771c621a7cfe07eb4793ad",
        "source": "kam193"
      },
      {
        "id": "pypi/2025-01-markitanalysis/markitanalysis",
        "import_time": "2025-12-02T23:07:18.352214623Z",
        "modified_time": "2025-01-26T18:01:08Z",
        "ranges": [
          {
            "events": [
              {
                "introduced": "0"
              }
            ],
            "type": "ECOSYSTEM"
          }
        ],
        "sha256": "0181af7442259bbe6dfbeec39c99bc62b711e38ec00c2ce460dc47162390c591",
        "source": "kam193"
      },
      {
        "id": "pypi/2025-01-markitanalysis/markitanalysis",
        "import_time": "2025-12-10T21:38:57.584813903Z",
        "modified_time": "2025-01-26T18:01:08Z",
        "sha256": "0ad61b77969396f45539edb8f8a72394bf14141922f165aeb0af4858aca24875",
        "source": "kam193",
        "versions": [
          "0.1.0",
          "0.0.1"
        ]
      },
      {
        "id": "pypi/2025-01-markitanalysis/markitanalysis",
        "import_time": "2025-12-30T22:39:04.125919282Z",
        "modified_time": "2025-01-26T18:01:08Z",
        "sha256": "ccb7acf38e3c7df20d9e0b5bd52120e77ed9ea6e0c29ce58f5e2144718e71277",
        "source": "kam193",
        "versions": [
          "0.0.1",
          "0.1.0"
        ]
      }
    ]
  },
  "details": "\n---\n_-= Per source details. Do not edit below this line.=-_\n\n## Source: kam193 (0181af7442259bbe6dfbeec39c99bc62b711e38ec00c2ce460dc47162390c591)\nIf installed using source package, the package collects selected environment variables, including GITHUB_TOKEN if set, and sends to an external service. The package doesn\u0027t hide its actions at all, but there are already multiple different packages with the same code.\n\n\n---\n\nCategory: MALICIOUS - The campaign has clearly malicious intent, like infostealers.\n\n\nCampaign: 2025-01-markitanalysis\n\n\nReasons (based on the campaign):\n\n\n - The package overrides the install command in setup.py to execute malicious code during installation.\n\n\n - exfiltration-env-variables\n",
  "id": "MAL-2025-2974",
  "modified": "2025-12-31T02:45:15Z",
  "published": "2025-01-26T18:01:08Z",
  "references": [
    {
      "type": "WEB",
      "url": "https://bad-packages.kam193.eu/pypi/package/markitanalysis"
    }
  ],
  "schema_version": "1.7.4",
  "summary": "Malicious code in markitanalysis (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…