Malicious Code Detected in basecam Package - Security Alert
Summary
MAL-2025-15497: Malicious code in basecam (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 basecam package is a Node.js library commonly used for various web development tasks, including camera functionalities and image processing. It is designed to simplify the integration of camera features into applications. However, recent findings have revealed that this package contains malicious code, posing significant security risks to users and their applications.
Vulnerability Detail
The vulnerability in the basecam package stems from the inclusion of malicious code that can compromise the security of applications utilizing this library. This code may lead to unauthorized access, data breaches, or other harmful actions within the affected systems. The malicious nature of this vulnerability was identified in version 0 and has been documented for public awareness.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall basecam
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 measure, you can remove the basecam package from your project until a secure version is released. Use the following command to uninstall the package: npm uninstall basecam.
Conclusion
The basecam package has been identified to contain malicious code, posing a serious security threat to applications that utilize it. Users are advised to update to the latest version or remove the package until a secure version is released. Utilizing tools like Vulert can help monitor for such vulnerabilities effectively.
See every vulnerability recorded for basecam →
FAQ
Basecam is a Node.js library used for integrating camera functionalities into web applications.
The malicious code can compromise application security, potentially leading to unauthorized access and data breaches.
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.
Yes, updating to the latest version of the basecam package will address the vulnerability. Use 'npm update basecam' to apply the fix.
As a workaround, consider uninstalling the basecam package until a secure version is available. Use 'npm uninstall basecam' to remove it from your project.