Malicious Code Detected in eagle-raspberry-s5k2 Package
Summary
MAL-2025-19074: Malicious code in eagle-raspberry-s5k2 (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 eagle-raspberry-s5k2 package is an npm library designed for interfacing with Raspberry Pi camera modules. It provides functionalities for capturing images and video streams, making it a popular choice among developers working on IoT projects. However, this package has been identified to contain malicious code, posing significant risks to users and their applications.
Vulnerability Detail
The vulnerability in the eagle-raspberry-s5k2 package stems from the inclusion of malicious code that can compromise the security of applications utilizing this library. This code could lead to unauthorized access, data breaches, or other harmful actions within the user's environment. The malicious nature of this code was confirmed by security researchers, highlighting the importance of vigilance when using third-party packages.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall eagle-raspberry-s5k2
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, consider using an alternative package that offers similar functionalities without the associated risks. Always ensure to review the package's security history before integrating it into your project.
Conclusion
The eagle-raspberry-s5k2 package has been identified as containing malicious code, posing significant risks to users. It is crucial to uninstall this package and monitor for updates or alternatives. Utilizing tools like Vulert can help ensure your applications remain secure against such vulnerabilities.
See every vulnerability recorded for eagle-raspberry-s5k2 →
FAQ
It is an npm library used for interfacing with Raspberry Pi camera modules, allowing developers to capture images and video.
The malicious code can potentially lead to unauthorized access and data breaches within applications that use this package.
You can use Vulert, which monitors and alerts for open-source vulnerabilities in real-time. Visit Vulert Scanner to check your application without needing to sign up.
You should uninstall the eagle-raspberry-s5k2 package immediately and consider using an alternative library.
Currently, there is no patched version available. It is recommended to uninstall the package until a secure version is released.