MAL-2024-9446 Malicious code in flag-leak-r (PyPI)
- Package
- flag-leak-r
- Registry
- PyPI
What is MAL-2024-9446?
MAL-2024-9446 is a malicious package in flag-leak-r, published on 6 Sep 2024.
Official description
Generic campaign for all (likely) research / pentests, where the amount or art of collected data raises questions about the privacy, security and ethical side.
Category: MALICIOUS - The campaign has clearly malicious intent, like infostealers.
Campaign: GENERIC-questionable-pentest
Reasons (based on the campaign):
exfiltration-env-variables
exfiltration-generic
The package overrides the install command in setup.py to execute malicious code during installation.
typosquatting
The OpenSSF Package Analysis project identified 'flag-leak-r' @ 0.1.0 (pypi) as malicious.
It is considered malicious because:
- The package communicates with a domain associated with malicious activity.
What should I do about MAL-2024-9446?
Remove the package from your dependencies and lockfiles, then rotate any secrets on machines where it was installed.