MAL-2025-5131 Malicious code in s3ffs (PyPI)

Malicious package Published
Package
s3ffs
Registry
PyPI

What is MAL-2025-5131?

MAL-2025-5131 is a malicious package in s3ffs, published on 5 Aug 2024.

Official description

Package uses the template from https://github.com/thegoodhackertv/malpip to explore building malicious PyPI packages.


Category: MALICIOUS - The campaign has clearly malicious intent, like infostealers.

Campaign: SCRIPT_KIDDIE-thegoodhacker-paquete

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.

  • The package overrides the install command in setup.py to execute malicious code during installation.

  • Package uses simple pre-prepared tools to create a low-quality malicious action.

What should I do about MAL-2025-5131?

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

Sources

Is MAL-2025-5131 in your software?

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

Check your SBOMs for free