Malicious Code Injection in different_crocodile-appteadev Package
Summary
MAL-2025-101553: Malicious code in different_crocodile-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
The different_crocodile-appteadev package is part of the npm ecosystem, often used in various JavaScript applications. It is associated with the tea.xyz token reward campaign, which has been known to flood the npm registry with packages designed to inflate developer reputation scores. This package, like others in the campaign, contains scripts that can manipulate package metadata and republish variants, posing a significant risk to developers and users alike.
Vulnerability Detail
The vulnerability stems from malicious code embedded in the different_crocodile-appteadev package. This code modifies the package.json file to remove private flags, alters version numbers, and generates random package names, which leads to the continuous republishing of these variants. The origin of this issue is linked to the tea.xyz token reward campaign, which exploits npm's publishing mechanisms to pollute the registry and compromise developer integrity. The ramifications include potential security risks for applications using this package, as well as reputational damage for developers associated with the affected packages.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall different_crocodile-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, avoid using the different_crocodile-appteadev package and consider using alternative packages that provide similar functionality without the associated risks.
Conclusion
The different_crocodile-appteadev package contains malicious code that poses a significant risk to developers and their applications. Immediate action is required to remove this package and safeguard your projects. Utilizing tools like Vulert can help monitor for such vulnerabilities in real-time.
See every vulnerability recorded for different_crocodile-appteadev →
FAQ
It is an npm package associated with the tea.xyz token reward campaign, designed to inflate developer reputation scores.
The malicious code modifies your package.json file and can lead to the republishing of variants, potentially compromising your application's integrity.
You should uninstall the different_crocodile-appteadev package immediately and monitor your application for any unusual behavior.
Yes, you can use Vulert, which monitors and alerts for open-source vulnerabilities in real-time using just your package-lock.json file.
You can use the Vulert playground at Vulert Scanner to check if your application is affected by this vulnerability without needing to sign up.