Malicious Code Detected in authenticate-log-lambda-double-notify Package
Summary
MAL-2025-15096: Malicious code in authenticate-log-lambda-double-notify (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 authenticate-log-lambda-double-notify package is an npm library designed for logging and notification functionalities within AWS Lambda functions. It is intended to streamline the process of logging events and sending notifications based on those logs. However, this package has been identified as containing malicious code, which poses significant security risks to applications that utilize it.
Vulnerability Detail
The vulnerability originates from the inclusion of malicious code within the authenticate-log-lambda-double-notify package. This code can potentially compromise the security of applications by allowing unauthorized access, data theft, or other malicious activities. The presence of such code can lead to severe ramifications, including data breaches and loss of user trust. It is crucial for developers to be aware of this vulnerability to mitigate risks effectively.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall authenticate-log-lambda-double-notify
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 replace the functionality provided by the authenticate-log-lambda-double-notify package with alternative logging and notification solutions that do not have known vulnerabilities. Consider using well-established libraries such as Winston for logging and AWS SNS for notifications.
Conclusion
The authenticate-log-lambda-double-notify package has been identified as containing malicious code, posing significant security risks to applications. It is crucial for developers to remove this package and consider alternative solutions to ensure the safety of their applications. Regularly monitoring for vulnerabilities using tools like Vulert can help maintain application security.
See every vulnerability recorded for authenticate-log-lambda-double-notify →
FAQ
It is an npm package designed for logging and notification functionalities in AWS Lambda applications.
The package contains malicious code that can compromise application security.
You can use Vulert, which monitors and alerts for open-source vulnerabilities in real-time. Visit Vulert Scanner to check your application without any signup.
Remove the package immediately and consider using alternative solutions for logging and notifications.
As of now, there is no patched version available. It is advisable to remove the package until a secure version is released.