MAL-2025-4240 Malicious code in solana-test-suite (PyPI)
- Package
- solana-test-suite
- Registry
- PyPI
What is MAL-2025-4240?
MAL-2025-4240 is a malicious package in solana-test-suite, published on 10 May 2025.
Official description
Packages that seem to be created by a legit bug bounty hunter. Designed to look like created by different organisations, they contain a couple of data exfiltration (including all env variables) and potential remote code execution (though the URL seems not to serve any code).
Category: MALICIOUS - The campaign has clearly malicious intent, like infostealers.
Campaign: 2025-05-sl4x01
Reasons (based on the campaign):
The package contains code to exfiltrate basic data from the system, like IP or username. It has a limited risk.
exfiltration-env-variables
impersonation
What should I do about MAL-2025-4240?
Remove the package from your dependencies and lockfiles, then rotate any secrets on machines where it was installed.