Malicious Code Detected in date-vanilla-btvf Package - Immediate Action Required
Summary
MAL-2025-18056: Malicious code in date-vanilla-btvf (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 date-vanilla-btvf package is an npm library designed for date manipulation and formatting. It is utilized by developers to simplify date-related operations in JavaScript applications. However, this package has been identified to contain malicious code, posing significant security risks to applications that depend on it.
Vulnerability Detail
The vulnerability in the date-vanilla-btvf package stems from the inclusion of malicious code that can compromise the integrity of applications using 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 to mitigate potential risks.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall date-vanilla-btvf
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 using alternative date manipulation libraries such as 'date-fns' or 'moment.js' until the vulnerability in date-vanilla-btvf is resolved. You can install these packages using the following commands: 'npm install date-fns' or 'npm install moment'.
Conclusion
The date-vanilla-btvf package has been identified as containing malicious code, posing serious security risks to applications that utilize it. Immediate action is required to uninstall the package and consider alternatives until a secure version is available. Utilizing tools like Vulert can help in monitoring for such vulnerabilities in the future.
See every vulnerability recorded for date-vanilla-btvf →
FAQ
The malicious code can lead to unauthorized access and potential data breaches in applications that utilize this package.
You can use Vulert, which monitors and alerts for open-source vulnerabilities in real-time. Visit Vulert Scanner to check your application without any signup.
Currently, there is no patched version available. It is recommended to uninstall the package until a secure version is released.
You should immediately uninstall the package and consider using alternative libraries for date manipulation.
Vulert uses the package-lock.json file to monitor and alert in real-time for open-source vulnerabilities, ensuring your applications remain secure.