Malicious Code Vulnerability in hashidf Package on PyPI

hashidf Updated 02 Oct 2025

Summary

31/07/2025
CRITICAL
No i
Critical
Not published

MAL-2025-6520: Malicious code in hashidf (PyPI). Affects hashidf versions 0.1.0 – 0.1.2. No fix is published. How to fix ↓

Free scan

Check if this vulnerability affects your application

Upload a manifest or SBOM and we'll show whether you're affected, plus every other risky package in the same scan.

Check my app free

No signup required · Results in about 60 seconds

Upload your dependency manifest or SBOM

Drag & drop your file here or

Java Javascript PHP Python Go Rust Ruby Dart C/C++ Elixir CycloneDX SPDX

Upload a supported dependency manifest or SBOM. No installation or source-code access required.

See supported files and SBOM formats
SBOM sbom.json · bom.json · bom.xml · *.spdx.json · *.cdx.json · *.cdx.xml
Java pom.xml · gradle.lockfile · buildscript-gradle.lockfile
Javascript package-lock.json · yarn.lock · pnpm-lock.yaml
PHP composer.lock
Python poetry.lock · requirements.txt · Pipfile.lock
Go go.mod
Rust Cargo.lock
Ruby Gemfile.lock
Dart pubspec.lock
C/C++ conan.lock
Elixir mix.lock
Enter your work email to receive your report link.

Verify your email to view the full report and start 30 days of continuous monitoring. No credit card required.

Sponsored Devnack Mobile apps built by Devnack Design, build and launch iOS and Android apps with a senior product team. From idea to store release Start a project

Background

hashidf is a Python package available on the Python Package Index (PyPI) that provides functionalities for hashing identifiers. It is commonly used in applications that require secure handling of sensitive data. However, certain versions of hashidf have been found to contain malicious code, posing a significant security risk to users who rely on this package.

Vulnerability Detail

The vulnerability in hashidf stems from the inclusion of malicious code in versions 0.1.0, 0.1.1, and 0.1.2 of the package. This malicious code can potentially compromise the security of applications that utilize hashidf, leading to unauthorized access to sensitive data or other malicious activities. The vulnerability was identified by ReversingLabs and is documented in their findings.

How To Fix

This package is malicious. Remove it and rotate any credentials it could have accessed.

pip uninstall hashidf

If it arrived as a transitive dependency, remove the package that pulled it in, then reinstall.

Tip — Not sure whether your app is affected? Vulert can check the versions your app actually runs. Scan free →

Workaround

As a temporary measure, users can avoid using the affected versions of hashidf (0.1.0, 0.1.1, 0.1.2) and instead utilize alternative libraries or earlier versions that do not contain the malicious code.

Conclusion

The hashidf package on PyPI has been found to contain malicious code in certain versions, posing a serious security risk. Users are advised to update to a patched version or consider alternative solutions to mitigate potential threats. Regular monitoring of dependencies using tools like Vulert can help maintain application security.

See every vulnerability recorded for hashidf →

Share this vulnerability

FAQ

Versions 0.1.0, 0.1.1, and 0.1.2 of hashidf are affected by the malicious code vulnerability.

You can use Vulert, which monitors and alerts for open-source vulnerabilities in your software. Visit Vulert Scanner to check if your application is affected without requiring signup.

If immediate updates are not possible, consider using alternative libraries or earlier versions of hashidf that do not contain the malicious code.

The vulnerability was discovered by ReversingLabs, a cybersecurity firm specializing in threat detection.

Using the affected versions of hashidf can lead to unauthorized access to sensitive data and other malicious activities, compromising the security of your application.

How To Fix

This package is malicious. Remove it and rotate any credentials it could have accessed.

pip uninstall hashidf

If it arrived as a transitive dependency, remove the package that pulled it in, then reinstall.

Tip — Not sure whether your app is affected? Vulert can check the versions your app actually runs. Scan free →

Subscribe to Vulert on Telegram
Daily digest of new CVEs, critical and high severity, affected packages and fixes — plus a weekly roundup.
Join the channel →
Help improve this record
Report an issue or send feedback