Malicious Code Detected in date-jom-project: A Critical Security Concern
Summary
MAL-2025-18036: Malicious code in date-jom-project (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-jom-project is an npm package designed for date manipulation and formatting in JavaScript applications. It provides various utilities for handling dates, making it a popular choice among developers. However, recent findings have revealed that this package contains malicious code, posing significant risks to applications that utilize it.
Vulnerability Detail
The vulnerability stems from the inclusion of malicious code within the date-jom-project package. This code can potentially compromise the security of applications that depend on it, leading to unauthorized access, data breaches, or other malicious activities. The issue was introduced in version 0 and affects all subsequent versions, making it imperative 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 date-jom-project
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 packages for date manipulation that have been vetted for security. Some recommended alternatives include 'date-fns' or 'moment.js'. You can install them using the following commands: npm install date-fns or npm install moment.
Conclusion
The discovery of malicious code in the date-jom-project package highlights the importance of vigilance in managing open-source dependencies. Users are strongly advised to uninstall the affected package and consider secure alternatives to protect their applications from potential threats.
See every vulnerability recorded for date-jom-project →
FAQ
The date-jom-project is an npm package used for date manipulation and formatting in JavaScript applications.
The specific nature of the malicious code has not been disclosed, but it poses significant security risks to applications using the package.
You can use Vulert, a tool that monitors and alerts for open-source vulnerabilities. Simply upload your package-lock.json file to check for vulnerabilities in your application.
The best mitigation is to uninstall the package and switch to a secure alternative. There are no known effective workarounds that fully mitigate the risks of the malicious code.
Regularly check your dependencies using tools like Vulert, which can alert you to vulnerabilities in real-time.