Critical Malicious Code Vulnerability in pear-apps-utils-date Package
Summary
MAL-2026-1253: Malicious code in pear-apps-utils-date (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 pear-apps-utils-date package is a utility library designed for date manipulation within Node.js applications. It provides various functions to handle date formatting, parsing, and calculations. However, this package has been compromised, leading to severe security implications for any application that utilizes it.
Vulnerability Detail
The vulnerability stems from the presence of embedded malicious code within the pear-apps-utils-date package. This code can fully compromise any computer where the package is installed or running, allowing unauthorized access to sensitive information such as secrets and keys. The malicious nature of this code poses significant risks, as it may lead to data breaches or unauthorized control over the affected systems.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall pear-apps-utils-date
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
Currently, there are no effective workarounds to mitigate the risks posed by this vulnerability other than removing the package and securing your system.
Conclusion
The pear-apps-utils-date package has been identified as containing malicious code that compromises the security of systems using it. Immediate action is required to remove the package and secure any sensitive information. Regular monitoring for vulnerabilities, such as through Vulert, can help prevent future incidents.
See every vulnerability recorded for pear-apps-utils-date →
FAQ
You should remove the pear-apps-utils-date package immediately and rotate any sensitive information stored on the affected system.
You can use Vulert's playground at Vulert Scanner to check if your application is affected by this vulnerability without needing to sign up.
Failing to address this vulnerability can lead to unauthorized access to your system, data breaches, and potential control by malicious entities.
After removing the package, it is essential to rotate all secrets and keys and conduct a thorough security audit of your system.
If a patched version is released, updating the package will help, but it is crucial to remove the compromised version first and ensure your system is secure.