MAL-2025-3740 Malicious code in badgerdoc-storage (PyPI)

Malicious package Published
Package
badgerdoc-storage
Registry
PyPI

What is MAL-2025-3740?

MAL-2025-3740 is a malicious package in badgerdoc-storage, 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

The OpenSSF Package Analysis project identified 'badgerdoc-storage' @ 0.0.1 (pypi) as malicious.

It is considered malicious because:

  • The package executes one or more commands associated with malicious behavior.

What should I do about MAL-2025-3740?

Remove the package from your dependencies and lockfiles, then rotate any secrets on machines where it was installed.

Sources

Is MAL-2025-3740 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free