Malicious Code Detected in elf-stats-festive-cocoa-106 Package
Summary
MAL-2025-192028: Malicious code in elf-stats-festive-cocoa-106 (npm). Affects elf-stats-festive-cocoa-106 versions 2.0.0 – 3.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-festive-cocoa-106 package is an npm module designed for statistical analysis and festive-themed data processing. It is utilized in various applications to enhance user experience during festive seasons. However, this package has been found to contain malicious code, posing a significant risk to users and their applications.
Vulnerability Detail
The vulnerability originates from the inclusion of malicious code within the elf-stats-festive-cocoa-106 package. This code can potentially compromise the security of applications that utilize this package, leading to unauthorized access, data breaches, or other malicious activities. The affected versions identified are 2.0.0 and 3.0.0, which were flagged by Amazon Inspector.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall elf-stats-festive-cocoa-106
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 can remove the elf-stats-festive-cocoa-106 package from your project until a secure version is released. You can do this by running the command: npm uninstall elf-stats-festive-cocoa-106.
Conclusion
The elf-stats-festive-cocoa-106 package has been identified as containing malicious code, posing a significant security risk. Users are advised to update or uninstall the package immediately to protect their applications. Utilizing tools like Vulert can help monitor for such vulnerabilities in real-time.
See every vulnerability recorded for elf-stats-festive-cocoa-106 →
FAQ
It is an npm module used for statistical analysis and festive-themed data processing in applications.
You can use Vulert, which monitors and alerts for open-source vulnerabilities in real-time. Check your application using the Vulert playground at Vulert Scanner.
You should immediately update the package to a secure version or uninstall it until a patch is available.
The vulnerability was reported by Amazon Inspector, which identified the malicious code in the package.
Using this package can lead to unauthorized access, data breaches, and other malicious activities that can compromise your application's security.