Malicious Code Detected in elf-stats-sprucey-giftbox-118 Package
Summary
MAL-2025-192790: Malicious code in elf-stats-sprucey-giftbox-118 (npm). Affects elf-stats-sprucey-giftbox-118 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-sprucey-giftbox-118 package is an npm module designed for specific functionalities within JavaScript applications. However, it has been identified as containing malicious code, posing significant risks to applications that utilize it. This vulnerability can lead to unauthorized access, data breaches, and potential exploitation of the application’s environment.
Vulnerability Detail
The vulnerability originates from the inclusion of malicious code within the elf-stats-sprucey-giftbox-118 package. This code can execute harmful actions without the user's consent, potentially compromising sensitive data and system integrity. The malicious nature of this package was confirmed by security assessments from sources like Amazon Inspector and ReversingLabs, which highlighted its risks to users and developers alike.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall elf-stats-sprucey-giftbox-118
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 measure, you can prevent the use of the compromised package by removing it from your project dependencies. Use the following command to uninstall the package: npm uninstall elf-stats-sprucey-giftbox-118. Ensure to review your project for any dependencies that may rely on this package and address them accordingly.
Conclusion
The elf-stats-sprucey-giftbox-118 package has been identified as containing malicious code that poses significant risks to applications. It is essential to remove this package and consider alternatives to safeguard your application from potential threats. Regular monitoring using tools like Vulert can help maintain the security of your dependencies.
See every vulnerability recorded for elf-stats-sprucey-giftbox-118 →
FAQ
It is an npm package used in JavaScript applications, but it has been found to contain malicious code.
You can use tools like Vulert to monitor your package-lock.json for vulnerabilities. Visit Vulert Scanner to check your application without signing up.
Using this package can lead to unauthorized access, data breaches, and exploitation of your application's environment.
The best mitigation is to uninstall the package and replace it with a secure alternative. Temporary workarounds include removing the package from your dependencies.
The vulnerability was reported by Amazon Inspector and ReversingLabs, highlighting the malicious nature of the package.