Malicious Code Vulnerability in @emerald-react/autocomplete Package
Summary
MAL-2026-1597: Malicious code in @emerald-react/autocomplete (npm). Affects @emerald-react/autocomplete versions 999.999.999 – 9999.9999.9999. 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 @emerald-react/autocomplete package is a popular npm library used for implementing autocomplete functionality in React applications. It provides developers with an easy way to enhance user experience by suggesting options as users type. However, this package has been identified to contain malicious code, posing significant risks to applications that depend on it.
Vulnerability Detail
The vulnerability in the @emerald-react/autocomplete package stems from the inclusion of malicious code that can compromise the security of applications utilizing this library. This code may lead to unauthorized access, data breaches, or other harmful actions within the affected systems. The malicious nature of this vulnerability was reported by ReversingLabs, highlighting the importance of vigilance when using third-party packages.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall @emerald-react/autocomplete
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 remove the @emerald-react/autocomplete package from your project until a secure version is available. You can do this by running the command: npm uninstall @emerald-react/autocomplete. Consider using alternative libraries that provide similar functionality without known vulnerabilities.
Conclusion
The @emerald-react/autocomplete package has been identified to contain malicious code that poses significant risks to applications using it. It is crucial to update to a patched version or remove the package until a secure alternative is found. Utilizing tools like Vulert can help monitor and alert for such vulnerabilities in real-time.
See every vulnerability recorded for @emerald-react/autocomplete →
FAQ
The malicious code can lead to unauthorized access and potential data breaches within applications that utilize this package.
You can use Vulert, which monitors and alerts for open-source vulnerabilities in your software. Visit Vulert Scanner to check if your application is affected without any signup.
If an immediate update is not possible, consider removing the package and using alternative libraries until a secure version is available.
The vulnerability was reported by ReversingLabs, a security research firm specializing in identifying malicious packages.
Using compromised packages can lead to security breaches, data loss, and unauthorized access to sensitive information within your application.