Malicious Code Injection in narrow_clam-appteadev: A Threat to npm Users
Summary
MAL-2025-106179: Malicious code in narrow_clam-appteadev (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
narrow_clam-appteadev is an npm package that is part of the tea.xyz token reward campaign. This package is designed to facilitate token rewards through various automated scripts. However, it has been identified as containing malicious code that compromises the integrity of the npm registry and the security of developers using the package.
Vulnerability Detail
The vulnerability originates from a malicious payload embedded within the narrow_clam-appteadev package. This payload modifies the package.json file to remove private flags, alters version numbers, and generates random package names, leading to the automatic publication of derivative packages. This behavior not only inflates developer reputation scores but also pollutes the npm registry, potentially leading to security risks for users who inadvertently install these malicious variants.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall narrow_clam-appteadev
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 narrow_clam-appteadev package until a secure version is released. Additionally, consider using alternative packages that provide similar functionality without the associated risks.
Conclusion
The narrow_clam-appteadev package has been identified as containing malicious code that poses significant risks to npm users. It is crucial to take immediate action to update or remove this package to safeguard your applications and maintain the integrity of your development environment.
See every vulnerability recorded for narrow_clam-appteadev →
FAQ
The vulnerability involves malicious code that modifies package.json files and publishes derivative packages to inflate reputation scores.
You can use Vulert, which monitors open-source vulnerabilities in real-time. Check your application against the vulnerability using the Vulert playground at Vulert Scanner.
If you have installed narrow_clam-appteadev, it is recommended to uninstall it immediately and check for any updates or patches.
Yes, the impacts include potential exposure to malicious code, pollution of the npm registry, and risks to developer reputation.
Regularly monitor your dependencies using tools like Vulert, and keep your packages updated to the latest secure versions.