Malicious Code Detected in echo-bot-ts-esm Package
Summary
MAL-2025-19121: Malicious code in echo-bot-ts-esm (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 echo-bot-ts-esm package is a Node.js library designed for building chatbots using TypeScript and ECMAScript modules. It provides developers with tools to create interactive and responsive bots for various messaging platforms. However, this package has been identified to contain malicious code, posing significant security risks to applications that utilize it.
Vulnerability Detail
The vulnerability in the echo-bot-ts-esm package stems from the inclusion of malicious code that can compromise the integrity and security of applications using this library. This code could potentially allow unauthorized access, data exfiltration, or other harmful actions within the affected systems. The malicious nature of the code was discovered by Amazon Inspector, highlighting the importance of scrutinizing third-party packages for security threats.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall echo-bot-ts-esm
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, you can temporarily disable the functionality that relies on the echo-bot-ts-esm package until a secure alternative is implemented. This may involve commenting out or removing the relevant code sections that utilize this package.
Conclusion
The echo-bot-ts-esm package has been found to contain malicious code, posing serious security risks to applications that utilize it. It is crucial for developers to remove this package and consider secure alternatives to protect their applications. Regular monitoring for vulnerabilities using tools like Vulert can help maintain application security.
See every vulnerability recorded for echo-bot-ts-esm →
FAQ
The echo-bot-ts-esm package is a library for building chatbots in Node.js using TypeScript and ECMAScript modules.
The malicious code was identified by Amazon Inspector, which conducts security assessments on open-source packages.
Using this package can lead to unauthorized access, data breaches, and other security vulnerabilities in your application.
You can use Vulert, which monitors your package-lock.json file for open-source vulnerabilities in real-time without requiring code access or installation.
Yes, you can use the Vulert playground at Vulert Scanner to check if your application is affected by this vulnerability without signing up.