Critical Malicious Code Vulnerability in crypttime Package
Summary
MAL-2025-17741: Malicious code in crypttime (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 crypttime package is an npm library designed for cryptographic time-related functionalities. It allows developers to perform various time-based cryptographic operations. However, this package has been identified to contain malicious code, posing significant security risks to applications that utilize it.
Vulnerability Detail
The vulnerability stems from the presence of malicious code within the crypttime package. This code can potentially compromise the integrity and security of applications that depend on it. The malicious code may lead to unauthorized access, data breaches, or other harmful actions that could affect both the application and its users.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall crypttime
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, you may consider using alternative packages that provide similar functionalities without the associated risks. Always ensure to review the security of any package before integrating it into your application.
Conclusion
The crypttime package has been identified to contain malicious code, posing serious security risks to applications. It is essential to update to a secure version or consider alternative solutions to protect your application from potential threats.
See every vulnerability recorded for crypttime →
FAQ
The crypttime package is an npm library used for cryptographic time-related operations in applications.
The malicious code can lead to unauthorized access and potential data breaches, compromising application security.
You can use Vulert, which monitors open-source vulnerabilities in real-time. Check your application against the vulnerability using the Vulert playground at Vulert Scanner.
It is recommended to uninstall the current version and install the latest version of the crypttime package to mitigate the risk.
Consider using alternative packages that offer similar functionalities without the associated risks until you can update.