Malicious Code Injection in moran-teadev Package: npm Vulnerability Overview
Summary
MAL-2025-105977: Malicious code in moran-teadev (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 moran-teadev 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 linked to a series of malicious packages that flood the npm registry. These packages often contain scripts designed to manipulate package metadata and inflate developer reputation scores through automated publishing of derivative packages.
Vulnerability Detail
The vulnerability in the moran-teadev package stems from its malicious payload, which modifies the package.json file by removing private flags and altering version numbers. It generates random package names, often themed around Indonesian culture, and continuously republishes these variants to pollute the npm registry. This behavior can lead to significant security risks, including the potential for dependency confusion and the introduction of malicious code into projects that rely on these packages.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall moran-teadev
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
Currently, there are no specific workarounds to mitigate the effects of this vulnerability other than removing the affected package. It is advisable to monitor your dependencies closely and avoid using packages from unverified sources.
Conclusion
The moran-teadev package poses a significant security risk due to its malicious code that alters package metadata and floods the npm registry with harmful derivatives. It is essential to remove this package from your projects and monitor your dependencies for vulnerabilities to maintain the security of your applications.
See every vulnerability recorded for moran-teadev →
FAQ
The moran-teadev package is an npm package that has been identified as part of a malicious campaign to inflate developer reputation scores through automated publishing.
This vulnerability can lead to the introduction of malicious code into your project, potentially compromising its security and integrity.
If you have installed moran-teadev, you should immediately uninstall it using the command npm uninstall moran-teadev.
You can use tools like Vulert, which monitors your package-lock.json file for open-source vulnerabilities in real-time. You can check your application for vulnerabilities using the Vulert playground without any signup.
There are no patches available for moran-teadev as it is recommended to remove the package entirely rather than attempting to patch it.