MAL-2025-191845 Malicious code in python3-shodan (PyPI)

Malicious package Published
Package
python3-shodan
Registry
PyPI

What is MAL-2025-191845?

MAL-2025-191845 is a malicious package in python3-shodan, 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-191845?

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

Sources

Is MAL-2025-191845 in your software?

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

Check your SBOMs for free