Malicious Code Detected in elf-stats-glittering-fir-252 Package
Summary
MAL-2025-192214: Malicious code in elf-stats-glittering-fir-252 (npm). Affects elf-stats-glittering-fir-252 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-fir-252 package is an npm library designed for statistical analysis and reporting of ELF (Executable and Linkable Format) files. It is commonly used in applications that require manipulation and examination of binary files. However, this package has been identified to contain malicious code, posing significant security risks to users who integrate it into their projects.
Vulnerability Detail
The vulnerability originates from the inclusion of malicious code within the elf-stats-glittering-fir-252 package. This code can potentially compromise the integrity of applications that utilize 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 in the package version 1.0.0 raises serious concerns about the security of any application relying on it.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall elf-stats-glittering-fir-252
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 replace the elf-stats-glittering-fir-252 package with an alternative library that provides similar functionality without the associated risks. Review your project's dependencies and consider using trusted packages that have been vetted for security.
Conclusion
The elf-stats-glittering-fir-252 package has been found to contain malicious code, posing significant risks to applications that utilize it. Users are advised to remove the package and monitor for any updates or patches. Utilizing tools like Vulert can help in identifying vulnerabilities in your projects.
See every vulnerability recorded for elf-stats-glittering-fir-252 →
FAQ
It is an npm library used for statistical analysis and reporting of ELF files.
The malicious code was identified by Amazon Inspector, which monitors packages for security vulnerabilities.
Using this package can lead to unauthorized access, data breaches, and other security threats.
You can use Vulert, which monitors open-source vulnerabilities in real-time. Visit Vulert Scanner to check your application without signing up.
Remove the package from your project immediately and consider using an alternative library.