Malicious Code Detected in elf-stats-peppermint-candy-233 Package
Summary
MAL-2025-192112: Malicious code in elf-stats-peppermint-candy-233 (npm). Affects elf-stats-peppermint-candy-233 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-peppermint-candy-233 package is an npm library designed for specific functionalities within JavaScript applications. It is utilized for various tasks, but its integrity has been compromised due to the presence of malicious code. This vulnerability poses a significant risk to applications relying on this package, potentially leading to unauthorized access or data breaches.
Vulnerability Detail
The vulnerability stems from the inclusion of malicious code within the elf-stats-peppermint-candy-233 package, identified by Amazon Inspector. This code can execute harmful actions when the package is used in an application, potentially compromising user data and application security. The malicious code was found in version 1.0.0 of the package, and it is crucial for developers to address this issue promptly to mitigate risks.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall elf-stats-peppermint-candy-233
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-peppermint-candy-233 package until a secure version is released. Additionally, consider using alternative packages that provide similar functionality without the associated risks.
Conclusion
The elf-stats-peppermint-candy-233 package has been compromised with malicious code, posing significant security risks. It is essential for developers to remove the package and monitor for updates or patches. Utilizing tools like Vulert can help in identifying and managing vulnerabilities effectively.
See every vulnerability recorded for elf-stats-peppermint-candy-233 →
FAQ
It is an npm package used in JavaScript applications, but it has been found to contain malicious code.
The malicious code was identified by Amazon Inspector during a security assessment of the package.
The risks include unauthorized access to user data, potential data breaches, and overall compromise of application security.
You can use Vulert, which monitors and alerts for open-source vulnerabilities in real-time using just your package-lock.json file.
Yes, you can use the Vulert playground at Vulert Scanner to check for vulnerabilities without any signup.