MAL-2025-191748 Malicious code in hancsv (PyPI)

Malicious package Published
Package
hancsv
Registry
PyPI

What is MAL-2025-191748?

MAL-2025-191748 is a malicious package in hancsv, published on 29 Jun 2025.

Official description

Importing the module triggers downloading and executing Powershell script. The script collects information about the host (including e.g. startup applications) and also downloads the next stage executable.

While the package contains a security disclaimer, the behaviour is still malicious and crosses the researching line.


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

Campaign: 2025-06-hancsv

Reasons (based on the campaign):

  • Downloads and executes a remote malicious script.

  • Downloads and executes a remote executable.

  • The package contains code to exfiltrate basic data from the system, like IP or username. It has a limited risk.

What should I do about MAL-2025-191748?

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

Sources

Is MAL-2025-191748 in your software?

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

Check your SBOMs for free