Critical Malicious Code Vulnerability in go-notify Package
Summary
MAL-2025-21619: Malicious code in go-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 go-notify package is an npm library designed to facilitate notifications in applications. It is widely used for its simplicity and effectiveness in managing user alerts. However, it has been identified to contain malicious code, posing significant risks to applications that integrate this package.
Vulnerability Detail
The vulnerability in the go-notify package is rooted in the presence of malicious code that can compromise the security of applications utilizing this library. This malicious code can lead to unauthorized access, data breaches, or other harmful actions within the affected systems. The issue was introduced in version 0 and affects all subsequent versions, making it critical for users to address this vulnerability promptly.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall go-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 workaround, consider using alternative notification libraries that are known to be secure and actively maintained. This can help mitigate the risk while you transition away from the vulnerable go-notify package.
Conclusion
The go-notify package has been identified to contain malicious code, posing serious security risks to applications. Users are urged to remove the package and seek alternatives while monitoring for updates. Utilizing tools like Vulert can help in identifying vulnerabilities in real-time.
See every vulnerability recorded for go-notify →
FAQ
go-notify is an npm library used for managing notifications in applications, providing a simple interface for alerting users.
The malicious code can lead to unauthorized access and potential data breaches, compromising the security of applications that use the package.
You can use Vulert to monitor and alert for open-source vulnerabilities in your software. Visit Vulert Scanner to check if your application is affected without needing to sign up.
As of now, there is no patched version available. Users are advised to remove the package until a secure version is released.
If immediate removal is not possible, consider using alternative libraries for notifications and monitor your application closely for any suspicious activity.