Malicious Code Injection in fellow_crane-apptea Package - npm Vulnerability
Summary
MAL-2025-102665: Malicious code in fellow_crane-apptea (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 fellow_crane-apptea package is part of the tea.xyz token reward campaign that has recently flooded the npm ecosystem. This package is designed to facilitate the distribution of token rewards through various scripts. However, it has been identified as containing malicious code that can compromise the integrity of the npm registry and the applications that depend on it.
Vulnerability Detail
The vulnerability originates from a malicious payload embedded within the fellow_crane-apptea package. This payload modifies the package.json file to remove private flags, alters version numbers, and generates random package names, which are then republished to the npm registry. This behavior can lead to pollution of the npm registry, making it difficult for developers to trust the integrity of packages and potentially exposing applications to further vulnerabilities.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall fellow_crane-apptea
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 fellow_crane-apptea package and replace it with a verified alternative that does not exhibit malicious behavior. Always verify the integrity of packages before installation.
Conclusion
The fellow_crane-apptea package has been identified as containing malicious code that poses a significant risk to developers and their applications. It is crucial to remove this package and monitor your dependencies for vulnerabilities to maintain the integrity and security of your projects.
See every vulnerability recorded for fellow_crane-apptea →
FAQ
The fellow_crane-apptea package is part of a token reward campaign that has been found to contain malicious code aimed at manipulating the npm registry.
The vulnerability can lead to the installation of compromised packages, which may introduce further security risks and instability in your application.
If you have installed the fellow_crane-apptea package, you should uninstall it immediately using 'npm uninstall fellow_crane-apptea' and check your project for any other affected packages.
You can use tools like Vulert, which monitors your package-lock.json file to alert you in real-time for open-source vulnerabilities. You can check your application against known vulnerabilities using the Vulert playground at Vulert Scanner.
To prevent future vulnerabilities, always use trusted packages, regularly update your dependencies, and consider using automated tools to monitor your projects for known vulnerabilities.