Malicious Code Detected in elf-stats-merry-cookiejar-796 Package
Summary
MAL-2025-192514: Malicious code in elf-stats-merry-cookiejar-796 (npm). Affects elf-stats-merry-cookiejar-796 versions 1.0.0. 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 elf-stats-merry-cookiejar-796 package is an npm library designed to provide functionalities related to cookie management in applications. It is commonly used in web development to handle cookies efficiently. However, this package has been identified to contain malicious code, posing significant security risks to applications that utilize it.
Vulnerability Detail
The vulnerability originates from the package elf-stats-merry-cookiejar-796, which has been flagged by Amazon Inspector for containing malicious code. This malicious code can potentially compromise the security of applications, leading to unauthorized access, data breaches, or other harmful actions. The specific technical details of the malicious behavior have not been disclosed, but the presence of such code is a serious concern for developers and users alike.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall elf-stats-merry-cookiejar-796
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
If you cannot update the package immediately, consider removing it from your project or replacing it with a more secure alternative. Review your package-lock.json file to identify dependencies that may be affected by this vulnerability.
Conclusion
The elf-stats-merry-cookiejar-796 package has been identified as containing malicious code, posing a serious threat to applications that utilize it. Developers are urged to update or remove the package to safeguard their applications from potential security breaches.
See every vulnerability recorded for elf-stats-merry-cookiejar-796 →
FAQ
elf-stats-merry-cookiejar-796 is an npm package used for cookie management in web applications.
The specific nature of the malicious code has not been disclosed, but it poses significant security risks.
You can use Vulert to monitor and alert for open-source vulnerabilities in your software. Visit Vulert Scanner to check if your application is affected without any signup.
Consider removing the package or replacing it with a secure alternative until an update is available.
The vulnerability was reported by Amazon Inspector, which identified the malicious code in the package.