Malicious Code Detected in elf-stats-bright-cushion-246 Package
Summary
MAL-2025-191993: Malicious code in elf-stats-bright-cushion-246 (npm). Affects elf-stats-bright-cushion-246 versions 2.1.0 – 4.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-bright-cushion-246 package is an npm module designed to provide specific functionalities related to statistical analysis of ELF (Executable and Linkable Format) files. It is commonly used in various applications that require manipulation or analysis of binary files. However, this package has been identified to contain malicious code, posing a significant risk to users and their applications.
Vulnerability Detail
The vulnerability originates from the elf-stats-bright-cushion-246 package, which has been found to include malicious code that can compromise the security of applications utilizing it. This malicious code can lead to unauthorized access, data breaches, or other harmful actions within the affected systems. The specific versions impacted include 2.1.0, 2.2.0, 3.0.0, and 4.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-bright-cushion-246
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 may consider removing the elf-stats-bright-cushion-246 package from your project until a secure version is released. You can do this by executing the following command: npm uninstall elf-stats-bright-cushion-246.
Conclusion
The elf-stats-bright-cushion-246 package has been identified to contain malicious code, posing a significant risk to applications that utilize it. Users are advised to update or remove the package to mitigate potential security threats. Regular monitoring of dependencies using tools like Vulert can help maintain application security.
See every vulnerability recorded for elf-stats-bright-cushion-246 →
FAQ
elf-stats-bright-cushion-246 is an npm package used for statistical analysis of ELF files, commonly utilized in applications that work with binary formats.
You can check if your application is affected by using Vulert, which monitors and alerts for open-source vulnerabilities in real-time. Visit Vulert Scanner to analyze your package-lock.json without needing to sign up.
If immediate updates are not possible, consider removing the package as a temporary measure to mitigate risks until a secure version is available.
Using the compromised elf-stats-bright-cushion-246 package can lead to unauthorized access, data breaches, and potential exploitation of your application.
The vulnerability was discovered by Amazon Inspector, which identified the malicious code present in the elf-stats-bright-cushion-246 package.