Malicious Code Detected in NPM Package 'calk' - MAL-2025-16451
Summary
MAL-2025-16451: Malicious code in calk (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 'calk' package is a Node.js library designed for various utility functions in JavaScript applications. It is widely used in the npm ecosystem for its simplicity and effectiveness. However, it has recently been identified to contain malicious code, posing significant security risks to applications that depend on it.
Vulnerability Detail
The vulnerability originates from the inclusion of malicious code within the 'calk' package, which can lead to unauthorized access, data breaches, or other malicious activities in applications that utilize this package. The issue affects all versions starting from 0, making it critical for users to take immediate action to mitigate potential risks.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall calk
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, consider removing the 'calk' package from your project until a secure version is released. You can do this by running: 'npm uninstall calk'. Alternatively, you may look for similar packages that provide the same functionality without the associated risks.
Conclusion
The discovery of malicious code in the 'calk' package highlights the importance of vigilance in managing open-source dependencies. Users are urged to update or remove the package to safeguard their applications from potential threats.
See every vulnerability recorded for calk →
FAQ
The 'calk' package is a utility library for JavaScript applications, providing various functions to simplify coding tasks.
You can use Vulert, which monitors and alerts for open-source vulnerabilities in real-time. Check your application against the vulnerability using the Vulert playground at Vulert Scanner.
If an immediate update is not possible, consider removing the package or using an alternative library until a secure version is available.
While specific exploits have not been detailed, the presence of malicious code suggests potential for unauthorized access and other security breaches.
Regularly check for updates from package maintainers and consider using tools like Vulert to monitor your dependencies for vulnerabilities.
Related vulnerabilities
Recent vulnerabilities recorded for calk.