Malicious Code Injection in vida-tapai47-miaww: A Threat to npm Ecosystem
Summary
MAL-2025-91855: Malicious code in vida-tapai47-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 package vida-tapai47-miaww is part of the npm ecosystem and is associated with the tea.xyz token reward campaign. This package is designed to automate the generation and publication of derivative packages, which can inflate developer reputation scores for token rewards. Its functionality is compromised due to the presence of malicious code that modifies package metadata.
Vulnerability Detail
The vulnerability in vida-tapai47-miaww stems from its malicious payload, which alters the package.json file by removing private flags and changing 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 compromised development environment, increased security risks, and potential exploitation by malicious actors.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall vida-tapai47-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 prevent the installation of this package by using npm's package-lock.json to monitor your dependencies. If you are using Vulert, you can check your application for vulnerabilities without any installation. Simply visit the Vulert playground at https://vulert.com/scanner and upload your package-lock.json file to see if your application is affected.
Conclusion
The vida-tapai47-miaww package poses a significant threat to the npm ecosystem due to its malicious behavior. It is crucial for developers to be vigilant and remove any affected packages from their projects. Utilizing tools like Vulert can help in monitoring and identifying vulnerabilities in real-time.
See every vulnerability recorded for vida-tapai47-miaww →
FAQ
vida-tapai47-miaww is an npm package associated with the tea.xyz token reward campaign that automates the generation of derivative packages.
The malicious code modifies your package.json file, potentially exposing your project to security risks and affecting the integrity of your dependencies.
You should uninstall the package immediately using the command 'npm uninstall vida-tapai47-miaww' and check for any other affected dependencies.
Yes, Vulert can monitor your project for open-source vulnerabilities in real-time using your package-lock.json file. You can check your application at Vulert Scanner.
There is no patch for the vida-tapai47-miaww package itself, as it is recommended to remove the package entirely to mitigate the risk.