Critical Malicious Code Vulnerability in elf-stats-bright-cocoa-293 Package
Summary
MAL-2025-192297: Malicious code in elf-stats-bright-cocoa-293 (npm). Affected versions are not published. 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-cocoa-293 package is an npm library designed for tracking and analyzing statistics related to ELF (Executable and Linkable Format) files. It is often used in applications that require detailed insights into binary files. However, this package has been compromised, embedding malicious code that poses significant security risks to any system utilizing it.
Vulnerability Detail
The vulnerability originates from the inclusion of malicious code within the elf-stats-bright-cocoa-293 package. This code can fully compromise any computer that has the package installed, allowing unauthorized access to sensitive information such as secrets and keys. The ramifications are severe, as the malicious entity may maintain control over the compromised system even after the package is removed, making it crucial for users to act swiftly to mitigate potential damage.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall elf-stats-bright-cocoa-293
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
There are no effective workarounds for this vulnerability other than removing the package entirely. Users should ensure that their systems are scanned for any residual malicious software after uninstallation.
Conclusion
The elf-stats-bright-cocoa-293 package has been identified as containing malicious code that compromises the security of any system using it. Immediate action is required to uninstall the package and secure sensitive information. Users are encouraged to utilize tools like Vulert to monitor for vulnerabilities in their applications.
See every vulnerability recorded for elf-stats-bright-cocoa-293 →
FAQ
You should uninstall the package immediately and rotate any sensitive information stored on the affected system.
You can use Vulert's playground at Vulert Scanner to monitor and alert for open-source vulnerabilities without requiring any installation.
Failing to address this vulnerability can lead to unauthorized access to sensitive data and potential control of your system by malicious actors.
While removing the package is essential, there is no guarantee that all malicious software will be eliminated. It is advised to perform a thorough security audit of your system.
No, it is highly recommended to avoid using this package due to the embedded malicious code.