pypi · Malicious package advisory
Malwaremarkitanalysis
GHSA-wvfw-g87v-4v6g
Malicious code in markitanalysis (PyPI)
Details
**Severity:** Critical **Affected versions:** `= 0.0.1` ## 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 --- Credit: [OpenSSF](https://github.com/ossf/malicious-packages) ([source](https://github.com/ossf/malicious-packages/blob/49d0cfba3689ed9b195d101d3a2a964c6a77f767/osv/malicious/pypi/markitanalysis/MAL-2025-2974.json)) **References:** - https://bad-packages.kam193.eu/pypi/package/markitanalysis - https://github.com/ossf/malicious-packages/blob/49d0cfba3689ed9b195d101d3a2a964c6a77f767/osv/malicious/pypi/markitanalysis/MAL-2025-2974.json - https://github.com/advisories/GHSA-wvfw-g87v-4v6g
Compromised versions (1)
- = 0.0.1
Any computer that installed or ran a compromised version should be considered fully compromised. Rotate every secret on that machine from a clean environment.