Malicious Code Vulnerability in credit-decision-metrics Package
Summary
MAL-2026-653: Malicious code in credit-decision-metrics (PyPI). Affects credit-decision-metrics versions 9.1.0. No fix is published. How to fix ↓
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.
No signup required · Results in about 60 seconds
Background
The credit-decision-metrics package is a Python library available on PyPI, designed for analyzing and making decisions based on credit metrics. It is often utilized in financial applications to assess risk and creditworthiness. However, this package has been identified to contain malicious code that can exfiltrate sensitive data from the user's system.
Vulnerability Detail
The vulnerability originates from obfuscated code within the credit-decision-metrics package, specifically version 9.1.0. This code is designed to hide its true purpose, which includes exfiltrating basic data such as the hostname, IP address, and username from the system. The obfuscation makes it difficult for users to detect the malicious behavior, posing a risk of unauthorized data access. The package also exhibits dependency confusion, which can lead to further exploitation.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
pip uninstall credit-decision-metrics
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 workaround, users are advised to avoid using the credit-decision-metrics package until a secure version is released. Additionally, consider using alternative packages that provide similar functionality without the associated risks.
Conclusion
The credit-decision-metrics package has been identified to contain malicious code that poses a risk to users by exfiltrating sensitive data. Users are encouraged to update the package or seek alternatives to mitigate this vulnerability. Utilizing tools like Vulert can help monitor and alert for such vulnerabilities in real-time.
See every vulnerability recorded for credit-decision-metrics →
FAQ
The vulnerability involves obfuscated code that exfiltrates sensitive data from the user's system.
You can use Vulert's playground at Vulert Scanner to check if your application is affected by this vulnerability without needing to sign up.
If you have installed the affected package, you should update it to the latest version or remove it from your environment until a secure version is available.
While the risk of data loss is limited, the exfiltration of sensitive data can lead to unauthorized access and privacy concerns.
Dependency confusion can allow malicious actors to exploit the package by tricking the package manager into downloading a compromised version, further increasing the risk of data breaches.