Credential Harvesting Vulnerability in @quantixfinance/sdk Package
Summary
MAL-2026-15852: Malicious code in @quantixfinance/sdk (npm). Affects @quantixfinance/sdk versions 1.0.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 @quantixfinance/sdk package is an npm library intended for use in financial applications. It is designed to provide a software development kit (SDK) for developers to interact with various financial services. However, the version 1.0.0 of this package has been found to contain malicious code that compromises user credentials.
Vulnerability Detail
The vulnerability originates from the preinstall lifecycle script of the @quantixfinance/sdk package, which is executed during the npm install process. This script iterates through environment variables and collects sensitive information such as API keys, tokens, and database credentials. The harvested data is then sent to a hardcoded IP address (45.61.169.150) on port 61289, effectively exfiltrating user credentials without their consent. This poses a significant security risk as it can lead to unauthorized access to user accounts and sensitive data.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall @quantixfinance/sdk
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, avoid using the @quantixfinance/sdk package until a secure version is released. Additionally, consider using environment variable management tools to limit exposure of sensitive data during development.
Conclusion
The @quantixfinance/sdk package version 1.0.0 has a critical vulnerability that allows for credential harvesting through its preinstall script. Users are advised to uninstall this package and monitor their systems for any unauthorized access. Utilizing tools like Vulert can help in identifying and managing such vulnerabilities effectively.
See every vulnerability recorded for @quantixfinance/sdk →
FAQ
The package contains a preinstall script that harvests sensitive credentials from the environment variables and sends them to a malicious server.
You can use Vulert, which monitors and alerts for open-source vulnerabilities in real-time. Visit Vulert Scanner to check if your application is affected without needing to sign up.
Uninstall the @quantixfinance/sdk package immediately and monitor your environment for any unauthorized access or suspicious activity.
Yes, consider looking for other SDKs that provide similar functionality without the security risks. Always review the package's security history before installation.
Vulert uses the package-lock.json file to monitor and alert in real-time for open-source vulnerabilities in your software, ensuring you stay informed about potential risks.