Malicious Code Detected in elf-stats-sparkly-cushion-340 Package
Summary
MAL-2025-192155: Malicious code in elf-stats-sparkly-cushion-340 (npm). Affects elf-stats-sparkly-cushion-340 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-sparkly-cushion-340 package is an npm library designed for statistical analysis and data visualization. It is commonly used in web applications to enhance user experience through interactive features. However, this package has been identified to contain malicious code, posing a significant risk to applications that rely on it.
Vulnerability Detail
The vulnerability originates from the inclusion of malicious code within the elf-stats-sparkly-cushion-340 package. This code can potentially compromise the security of applications using the package, leading to unauthorized access, data breaches, or other malicious activities. The specific version affected is 1.0.0, and the malicious code was detected by Amazon Inspector.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall elf-stats-sparkly-cushion-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-sparkly-cushion-340 package from your project until a secure version is released. Use the following command to uninstall the package: npm uninstall elf-stats-sparkly-cushion-340.
Conclusion
The elf-stats-sparkly-cushion-340 package has been found to contain malicious code, which poses a serious risk to applications using it. It is crucial to take immediate action by updating or removing the package to safeguard your application from potential threats.
See every vulnerability recorded for elf-stats-sparkly-cushion-340 →
FAQ
It is an npm library used for statistical analysis and data visualization in web applications.
The malicious code was identified by Amazon Inspector, a security assessment service.
Using the affected package can lead to unauthorized access, data breaches, and other security threats.
You can use Vulert, which monitors open-source vulnerabilities in your software. Visit Vulert Scanner to check your application without any signup.
As a temporary measure, consider uninstalling the package until a secure version is available.