Malicious Code Detected in elf-stats-glittering-cookie-772 Package
Summary
MAL-2025-192058: Malicious code in elf-stats-glittering-cookie-772 (npm). Affects elf-stats-glittering-cookie-772 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-glittering-cookie-772 package is an npm library designed for specific functionalities within JavaScript applications. However, it has been identified to contain malicious code that poses security risks to applications utilizing this package. Users of this package should be aware of its vulnerabilities and take necessary precautions.
Vulnerability Detail
The vulnerability originates from the inclusion of malicious code within the elf-stats-glittering-cookie-772 package. This code can potentially compromise the security of applications that depend on this package, leading to unauthorized access, data breaches, or other malicious activities. The specific technical details of the malicious code have not been disclosed, but its presence is confirmed by security assessments.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall elf-stats-glittering-cookie-772
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 that provide similar functionality without the associated risks. Additionally, you can monitor your project for vulnerabilities using tools like Vulert, which analyzes your package-lock.json file to alert you of any open-source vulnerabilities in real-time.
Conclusion
The elf-stats-glittering-cookie-772 package has been identified as containing malicious code, posing significant security risks to applications. It is crucial for developers to remove this package and monitor their projects for vulnerabilities using tools like Vulert to ensure ongoing security.
See every vulnerability recorded for elf-stats-glittering-cookie-772 →
FAQ
It is an npm package used in JavaScript applications, but it has been found to contain malicious code.
You can use the Vulert playground at Vulert Scanner to check if your application is affected without requiring any signup.
You should remove the elf-stats-glittering-cookie-772 package from your project and look for alternatives or wait for a patched version.
Using such a package can lead to unauthorized access, data breaches, and other security issues within your application.
Vulert uses your package-lock.json file to monitor and alert you in real-time for open-source vulnerabilities in your software.