Malicious Code Detected in elf-stats-nutmeg-giftbox-398 Package
Summary
MAL-2025-192109: Malicious code in elf-stats-nutmeg-giftbox-398 (npm). Affects elf-stats-nutmeg-giftbox-398 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-nutmeg-giftbox-398 package is an npm library designed for statistical analysis and data manipulation within JavaScript applications. It is utilized by developers for its ease of integration and functionality. However, recent findings have revealed that this package contains malicious code, posing significant security risks to applications that depend on it.
Vulnerability Detail
The vulnerability originates from the inclusion of malicious code within the elf-stats-nutmeg-giftbox-398 package, specifically version 1.0.0. This code can potentially compromise the security of applications using this package, leading to unauthorized access, data breaches, or other malicious activities. The malicious nature of this code was identified by Amazon Inspector, which flagged the package for containing harmful elements.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall elf-stats-nutmeg-giftbox-398
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 avoid using the elf-stats-nutmeg-giftbox-398 package altogether and look for alternative packages that provide similar functionality without the associated risks.
Conclusion
The elf-stats-nutmeg-giftbox-398 package has been flagged for containing malicious code, posing significant security risks to applications. It is essential to remove this package and monitor for any updates or patches. Utilizing tools like Vulert can help you stay informed about vulnerabilities in your dependencies.
See every vulnerability recorded for elf-stats-nutmeg-giftbox-398 →
FAQ
It is an npm library used for statistical analysis and data manipulation in JavaScript applications.
The malicious code was identified by Amazon Inspector, which flagged the package for containing harmful elements.
Using this package can lead to unauthorized access, data breaches, and other malicious activities within your application.
You can use Vulert's playground at Vulert Scanner to check if your application is affected by this vulnerability without requiring any signup.
If immediate removal is not possible, consider using alternative packages that offer similar functionality without the security risks.