Malicious Code Detected in debug-book-analyze-easy-lambda Package
Summary
MAL-2025-18144: Malicious code in debug-book-analyze-easy-lambda (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 debug-book-analyze-easy-lambda package is an npm module designed for analyzing and debugging Lambda functions in a simplified manner. It offers developers tools to streamline their debugging processes, making it easier to identify issues within their serverless applications. However, this package has been found to contain malicious code, posing significant security risks to users who integrate it into their projects.
Vulnerability Detail
The vulnerability originates from the inclusion of malicious code within the debug-book-analyze-easy-lambda package. This code can potentially compromise the security of applications that utilize this package, leading to unauthorized access, data breaches, or other malicious activities. The presence of such code raises serious concerns about the integrity of the package and the safety of the applications relying on it.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall debug-book-analyze-easy-lambda
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 alternative packages that provide similar functionality without the associated risks. Additionally, you can monitor your dependencies for vulnerabilities using tools like Vulert, which can alert you in real-time for open-source vulnerabilities in your software.
Conclusion
The discovery of malicious code in the debug-book-analyze-easy-lambda package highlights the importance of vigilance when using open-source software. Users are advised to remove the package and consider alternative solutions while keeping their dependencies monitored for vulnerabilities.
See every vulnerability recorded for debug-book-analyze-easy-lambda →
FAQ
It is an npm module designed to help developers analyze and debug AWS Lambda functions.
The specific nature of the malicious code has not been disclosed, but it poses security risks to applications using the package.
You can use Vulert's playground at Vulert Scanner to check if your application is affected by this vulnerability without needing to sign up.
Remove the package from your project immediately and monitor for any updates or patches that may address the issue.
Yes, Vulert can monitor your package-lock.json file to alert you in real-time about open-source vulnerabilities.