Malicious Code Detected in elf-stats-wintry-hammer-196 Package
Summary
MAL-2025-192195: Malicious code in elf-stats-wintry-hammer-196 (npm). Affects elf-stats-wintry-hammer-196 versions 2.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-wintry-hammer-196 package is an npm module designed to provide statistical analysis for ELF (Executable and Linkable Format) files. It is commonly used in software development for analyzing binary files in various applications. However, this package has been identified to contain malicious code that poses security risks to users and their applications.
Vulnerability Detail
The vulnerability originates from the inclusion of malicious code within the elf-stats-wintry-hammer-196 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 specific version affected is 2.0.0, as identified by Amazon Inspector.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall elf-stats-wintry-hammer-196
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 an immediate update is not feasible, consider removing the elf-stats-wintry-hammer-196 package from your project until a secure version is released. You can do this by executing the following command: npm uninstall elf-stats-wintry-hammer-196.
Conclusion
The elf-stats-wintry-hammer-196 package has been flagged for containing malicious code, posing significant security risks. Users are advised to update or remove the package until a secure version is available. Monitoring tools like Vulert can help keep applications safe from such vulnerabilities.
See every vulnerability recorded for elf-stats-wintry-hammer-196 →
FAQ
It is an npm package used for statistical analysis of ELF files, commonly utilized in software development.
The malicious code was identified by Amazon Inspector, which scans packages for security vulnerabilities.
Using this package can lead to unauthorized access, data breaches, and other security threats to applications.
Currently, there is no patched version available. Users are advised to uninstall the package until a secure version is released.
You can use Vulert, which monitors and alerts for open-source vulnerabilities in real-time using just the package-lock.json file. You can also check if your application is affected by this vulnerability using the Vulert playground.