Malicious Code Detected in Billets Package (npm)
Summary
MAL-2025-15686: Malicious code in billets (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 'billets' package is an npm module designed for specific functionalities within JavaScript applications. It is utilized by developers for various tasks, but its recent discovery of malicious code raises significant concerns. This vulnerability poses risks to applications relying on this package, potentially leading to unauthorized access or data breaches.
Vulnerability Detail
The vulnerability in the 'billets' package stems from the inclusion of malicious code, which was identified in version 0 and potentially affects all subsequent versions. This malicious code can compromise the security of applications that utilize the package, leading to unauthorized actions or data manipulation. Developers using this package should be aware of the risks associated with its use and take immediate action to mitigate potential threats.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall billets
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 'billets' package from your project until a secure version is available. You can do this by running the command: 'npm uninstall billets'. Additionally, review your codebase for any dependencies that may rely on this package and assess alternative solutions.
Conclusion
The discovery of malicious code in the 'billets' package presents a serious security risk for developers and their applications. Immediate action is required to update or remove the package to safeguard against potential threats. Utilizing tools like Vulert can help monitor and manage vulnerabilities effectively.
See every vulnerability recorded for billets →
FAQ
The 'billets' package is an npm module used for various functionalities in JavaScript applications, but its specific use cases may vary among developers.
The malicious code in the 'billets' package was identified by security researchers from Amazon Inspector, who reported the vulnerability.
Using the compromised 'billets' package can lead to unauthorized access, data breaches, and other security issues within your application.
Yes, you can use Vulert, which monitors and alerts in real-time for open-source vulnerabilities in your software by analyzing the package-lock.json file.
You can check if your application is affected by this vulnerability using the Vulert playground at Vulert Scanner without needing to sign up.