Malicious Code Detected in etwitty Package - Security Alert

etwitty Updated 02 Oct 2025

Summary

14/08/2025
CRITICAL
No i
Critical
Not published

MAL-2025-19898: Malicious code in etwitty (npm). Affected versions are not published. No fix is published. How to fix ↓

Free scan

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.

Check my app free

No signup required · Results in about 60 seconds

Upload your dependency manifest or SBOM

Drag & drop your file here or

Java Javascript PHP Python Go Rust Ruby Dart C/C++ Elixir CycloneDX SPDX

Upload a supported dependency manifest or SBOM. No installation or source-code access required.

See supported files and SBOM formats
SBOM sbom.json · bom.json · bom.xml · *.spdx.json · *.cdx.json · *.cdx.xml
Java pom.xml · gradle.lockfile · buildscript-gradle.lockfile
Javascript package-lock.json · yarn.lock · pnpm-lock.yaml
PHP composer.lock
Python poetry.lock · requirements.txt · Pipfile.lock
Go go.mod
Rust Cargo.lock
Ruby Gemfile.lock
Dart pubspec.lock
C/C++ conan.lock
Elixir mix.lock
Enter your work email to receive your report link.

Verify your email to view the full report and start 30 days of continuous monitoring. No credit card required.

Sponsored Devnack Penetration testing for web, API and mobile Manual testing by engineers who build software, not an auditor's checklist. Trusted by teams at Swift and Google Talk to Devnack

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 →

Share this vulnerability

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.

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 →

Subscribe to Vulert on Telegram
Daily digest of new CVEs, critical and high severity, affected packages and fixes — plus a weekly roundup.
Join the channel →
Help improve this record
Report an issue or send feedback