Malicious Code Injection in tania-mieaceh58-ruro: A Threat to npm Ecosystem
Summary
MAL-2025-109482: Malicious code in tania-mieaceh58-ruro (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 package 'tania-mieaceh58-ruro' is part of a series of npm packages that emerged during the tea.xyz token reward campaign. These packages are designed to manipulate the npm registry by generating and publishing numerous derivative packages with randomized names. This behavior is intended to inflate developer reputation scores for token rewards, posing a significant risk to the integrity of the npm ecosystem.
Vulnerability Detail
The vulnerability in 'tania-mieaceh58-ruro' originates from its malicious payload, which modifies the package.json file to remove private flags, alters version numbers, and generates random package names. This allows the package to continuously republish variants, polluting the npm registry and potentially leading to the spread of malicious code across dependent projects. The presence of autopublish scripts (auto.js, autopublish.js, etc.) further automates this malicious activity.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall tania-mieaceh58-ruro
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 prevent the installation of this malicious package by using npm's package-lock.json file to lock your dependencies. Ensure that your project does not include 'tania-mieaceh58-ruro' in its dependencies.
Conclusion
The 'tania-mieaceh58-ruro' package poses a significant threat to the npm ecosystem due to its malicious behavior. It is essential to remove this package from your projects and monitor your dependencies for similar vulnerabilities to maintain the security and integrity of your applications.
See every vulnerability recorded for tania-mieaceh58-ruro →
FAQ
'tania-mieaceh58-ruro' is an npm package that has been identified as malicious, designed to manipulate the npm registry for token rewards.
If your project depends on 'tania-mieaceh58-ruro', it may inadvertently publish malicious code and compromise the integrity of your application.
You should uninstall the package immediately and check your project for any other potentially malicious dependencies.
You can use Vulert, which monitors and alerts for open-source vulnerabilities in real-time using your package-lock.json file. You can also check your application against known vulnerabilities using the Vulert playground.
Regularly audit your dependencies, keep them updated, and utilize tools like Vulert to monitor for vulnerabilities in real-time.