MAL-2025-2974 Malicious code in markitanalysis (PyPI)
- Package
- markitanalysis
- Registry
- PyPI
What is MAL-2025-2974?
MAL-2025-2974 is a malicious package in markitanalysis, published on 26 Jan 2025.
Official description
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
What should I do about MAL-2025-2974?
Remove the package from your dependencies and lockfiles, then rotate any secrets on machines where it was installed.