Malicious Code Injection in tania-tek19-riris: A Threat to npm Users
Summary
MAL-2025-90983: Malicious code in tania-tek19-riris (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-tek19-riris is part of the npm ecosystem, which is widely used for JavaScript package management. It is associated with the tea.xyz token reward campaign, which has been known to flood the npm registry with malicious packages. These packages often contain scripts designed to manipulate package metadata and inflate developer reputation scores, posing significant risks to users and the integrity of the npm registry.
Vulnerability Detail
The vulnerability in tania-tek19-riris arises from its inclusion in a campaign that deploys malicious scripts (such as auto.js and autopublish.js) to alter package.json files. These scripts remove private flags, change version numbers, and generate random package names, leading to the continuous republishing of variants that pollute the npm registry. This not only compromises the security of the affected packages but also undermines the trustworthiness of the npm ecosystem.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall tania-tek19-riris
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, users can remove the tania-tek19-riris package from their project by executing the command: 'npm uninstall tania-tek19-riris'. This will prevent any malicious scripts from executing until a secure version is available.
Conclusion
The tania-tek19-riris package poses a significant risk due to its malicious code that alters package metadata. Users are advised to uninstall the package and monitor for updates. Utilizing tools like Vulert can help in identifying vulnerabilities in your projects effectively.
See every vulnerability recorded for tania-tek19-riris →
FAQ
tania-tek19-riris is an npm package that has been identified as part of a malicious campaign aimed at manipulating package metadata for token rewards.
The vulnerability can lead to unauthorized changes in your project's package.json file, potentially compromising your application's integrity and security.
If you have installed tania-tek19-riris, it is recommended to uninstall it immediately and monitor for any updates or patches.
Yes, Vulert can monitor your project for open-source vulnerabilities using just your package-lock.json file, providing real-time alerts.
You can use the Vulert playground at Vulert Scanner to check if your application is affected by this vulnerability without needing to sign up.