Malicious Code Detected in elf-stats-ember-hammer-340 Package
Summary
MAL-2025-192016: Malicious code in elf-stats-ember-hammer-340 (npm). Affects elf-stats-ember-hammer-340 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-ember-hammer-340 package is an npm library designed for statistical analysis in Ember applications. It provides various functionalities to enhance data visualization and performance metrics. However, this package has been identified to contain malicious code, posing significant security risks to applications that utilize it.
Vulnerability Detail
The vulnerability stems from the inclusion of malicious code within the elf-stats-ember-hammer-340 package, as reported by Amazon Inspector. This code can potentially compromise the integrity of applications using the package, leading to unauthorized access, data breaches, or other malicious activities. The specific version affected is 2.0.0, and users are advised to take immediate action to mitigate risks.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall elf-stats-ember-hammer-340
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-ember-hammer-340 package from your project by executing the following command: npm uninstall elf-stats-ember-hammer-340. This will prevent any potential exploitation of the malicious code until a fix is available.
Conclusion
The elf-stats-ember-hammer-340 package has been found to contain malicious code, posing serious security threats to applications. Users are urged to update or remove the package to protect their systems. Utilizing tools like Vulert can help monitor and alert for such vulnerabilities in real-time.
See every vulnerability recorded for elf-stats-ember-hammer-340 →
FAQ
elf-stats-ember-hammer-340 is an npm library used for statistical analysis in Ember applications.
The malicious code was detected by Amazon Inspector, which identified the compromised package.
Using the affected package can lead to unauthorized access, data breaches, and other security vulnerabilities.
You can use Vulert's playground at Vulert Scanner to check if your application is affected by this vulnerability without requiring any signup.
If you cannot update the package, it is advisable to uninstall it to mitigate any security risks.