Malicious Code Detected in well_tapir-smiletea: npm Package Vulnerability
Summary
MAL-2025-110812: Malicious code in well_tapir-smiletea (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 well_tapir-smiletea package is part of the npm ecosystem, primarily used for JavaScript development. It is associated with the tea.xyz token reward campaign, which has been known to flood the npm registry with malicious packages. This package, like others in the campaign, is designed to manipulate developer reputation scores through automated publishing scripts.
Vulnerability Detail
The vulnerability in well_tapir-smiletea stems from its malicious code that modifies the package.json file to remove private flags and alter version numbers. It generates random package names, often themed around Indonesian culture, and continuously republishes these variants, leading to pollution of the npm registry. This behavior not only compromises the integrity of the npm ecosystem but also poses risks to developers who may unknowingly use these packages, potentially leading to security breaches in their applications.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall well_tapir-smiletea
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 avoid using the well_tapir-smiletea package altogether and look for alternative packages that provide similar functionality without the associated risks. Additionally, consider using tools like Vulert to monitor your package dependencies for vulnerabilities.
Conclusion
The well_tapir-smiletea package poses a significant risk due to its malicious code that manipulates package metadata and floods the npm registry. It is essential for developers to remove this package and monitor their dependencies for vulnerabilities using tools like Vulert. By staying informed and proactive, developers can protect their applications from potential threats.
See every vulnerability recorded for well_tapir-smiletea →
FAQ
The main issue is that it contains malicious code that modifies package.json files and floods the npm registry with derivative packages.
You can use the Vulert playground at Vulert Scanner to check if your application is affected by this vulnerability without needing to sign up.
You should uninstall the package immediately using the command npm uninstall well_tapir-smiletea and check for any dependencies that may be affected.
While specific alternatives may vary based on functionality, consider searching for reputable packages in the npm registry that do not have a history of malicious behavior.
Vulert uses the package-lock.json file to monitor and alert in real-time for open-source vulnerabilities in your software, helping you maintain a secure development environment.