Malicious Code Detected in calphy Package - Security Alert
Summary
MAL-2025-16468: Malicious code in calphy (npm). Affected versions are not published. 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 calphy package is an npm library designed for various functionalities within JavaScript applications. It is utilized by developers for its ease of integration and feature set. However, recent findings have revealed that this package contains malicious code, posing a significant security risk to applications that depend on it.
Vulnerability Detail
The vulnerability in the calphy package stems from the inclusion of malicious code, which can compromise the security of applications utilizing this library. This code may lead to unauthorized access, data breaches, or other harmful actions within the affected systems. The issue was introduced in version 0 and affects all subsequent versions, making it critical for users to take immediate action.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall calphy
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, consider removing the calphy package from your project until a secure version is released. You can do this by executing the command: 'npm uninstall calphy'. This will prevent any potential exploitation of the malicious code while you await a fix.
Conclusion
The discovery of malicious code in the calphy package poses a serious threat to applications that utilize it. Users are strongly advised to take immediate action by updating or removing the package to safeguard their systems. Utilizing tools like Vulert can further enhance your ability to monitor and manage vulnerabilities effectively.
See every vulnerability recorded for calphy →
FAQ
The calphy package is an npm library used in JavaScript applications for various functionalities, but it has recently been found to contain malicious code.
You can check if your application is affected by using the Vulert playground at Vulert Scanner, which allows you to monitor for vulnerabilities without requiring any installation.
If you are using calphy, it is crucial to update to a patched version as soon as it is released or remove the package from your project temporarily.
Using the calphy package with the malicious code can lead to unauthorized access, data breaches, and other security threats to your application.
Vulert uses the package-lock.json file to monitor and alert in real-time for open-source vulnerabilities in your software, helping you maintain security without needing access to the code.