Malicious Code Detected in etwitty Package - Security Alert
Summary
MAL-2025-19898: Malicious code in etwitty (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 etwitty package is an npm library designed for facilitating real-time communication and data exchange in web applications. It offers features such as message broadcasting and event handling, making it a popular choice among developers. However, recent findings have revealed that this package contains malicious code, posing significant security risks to applications that utilize it.
Vulnerability Detail
The vulnerability in the etwitty package originates from the inclusion of malicious code that can compromise the security of applications using this library. This code may allow unauthorized access to sensitive data, facilitate data exfiltration, or enable remote code execution. The malicious nature of this vulnerability can lead to severe ramifications, including data breaches and loss of user trust.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall etwitty
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 removing the etwitty package from your project until a secure version is released. You can uninstall it using the command: 'npm uninstall etwitty'. This will help mitigate the risk associated with the malicious code until a fix is available.
Conclusion
The discovery of malicious code in the etwitty package highlights the importance of maintaining vigilance in open-source software usage. Developers are urged to update their packages promptly and consider using tools like Vulert for ongoing vulnerability monitoring.
See every vulnerability recorded for etwitty →
FAQ
The etwitty package is used for real-time communication and data exchange in web applications, providing features like message broadcasting and event handling.
The malicious code in the etwitty package was identified through security audits conducted by Amazon Inspector, which monitors open-source vulnerabilities.
Using the compromised etwitty package can lead to unauthorized access to sensitive data, data breaches, and potential remote code execution, jeopardizing application security.
You can use Vulert to monitor and alert for open-source vulnerabilities in your software. By uploading your package-lock.json file, you can check for vulnerabilities without requiring access to the code or installation.
Yes, Vulert provides a real-time monitoring service for open-source vulnerabilities. You can use the Vulert playground to check if your application is affected by vulnerabilities without signing up.