Malicious Code Injection in tiara-rangi98-miaww Package
Summary
MAL-2025-91097: Malicious code in tiara-rangi98-miaww (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 tiara-rangi98-miaww package is part of the npm ecosystem and is associated with the tea.xyz token reward campaign. This package is designed to facilitate the automatic generation and publication of derivative packages, which can inflate developer reputation scores for token rewards. However, it has been identified as containing malicious code that compromises the integrity of the npm registry.
Vulnerability Detail
The vulnerability in the tiara-rangi98-miaww package originates from its malicious payload, which modifies the package.json file to remove private flags and alters version numbers. It generates random package names, primarily themed around Indonesian culture, and continuously republishes these variants to pollute the npm registry. This behavior can lead to a significant increase in spam packages, affecting the overall reliability and security of the npm ecosystem.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall tiara-rangi98-miaww
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 tiara-rangi98-miaww package and look for alternative packages that provide similar functionality without the associated risks. Always verify the integrity of packages before installation.
Conclusion
The tiara-rangi98-miaww package poses a significant risk due to its malicious code that alters package metadata and floods the npm registry with spam. It is crucial for developers to be vigilant and remove any instances of this package from their projects to maintain the integrity and security of their applications.
See every vulnerability recorded for tiara-rangi98-miaww →
FAQ
The tiara-rangi98-miaww package is an npm package linked to the tea.xyz token reward campaign, designed to generate and publish derivative packages.
The vulnerability can lead to the proliferation of spam packages in your project, compromising the integrity of your dependencies and potentially introducing security risks.
You can use Vulert to monitor and alert for open-source vulnerabilities in your software. By utilizing the Vulert playground, you can check if your application is affected without needing to sign up.
If you have installed the tiara-rangi98-miaww package, it is recommended to uninstall it immediately and replace it with a secure alternative.
No patches are available for the tiara-rangi98-miaww package as it is inherently malicious. The best course of action is to remove the package entirely.