MAL-2025-5096 Malicious code in aliyun-ai-labs-snippets-sdk (PyPI)

Malicious package Published
Package
aliyun-ai-labs-snippets-sdk
Registry
PyPI

What is MAL-2025-5096?

MAL-2025-5096 is a malicious package in aliyun-ai-labs-snippets-sdk, published on 19 May 2025.

Official description

During the importing, it loads a file pretending to an AI model. This file contains pickle-serialized code that exfiltrates data (basic IP/username info, as well as .gitconfig) to a remote target.


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

Campaign: 2025-05-ai-labs-snippets-sdk

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-generic

  • impersonation

What should I do about MAL-2025-5096?

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

Sources

Is MAL-2025-5096 in your software?

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

Check your SBOMs for free