Malicious Code Injection in tuti-getas42-miaww: A Threat to npm Ecosystem
Summary
MAL-2025-91247: Malicious code in tuti-getas42-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 'tuti-getas42-miaww' is part of the npm ecosystem, which is widely used for JavaScript package management. This package is linked to the tea.xyz token reward campaign, notorious for flooding the npm registry with malicious packages. Its primary function is to facilitate the automatic generation and publication of derivative packages, which are often used to inflate developer reputation scores for token rewards. However, this functionality has been compromised, leading to significant security concerns.
Vulnerability Detail
The vulnerability in 'tuti-getas42-miaww' originates from its design to include autopublish scripts that modify the package.json file. This modification removes private flags, alters version numbers, and generates random package names, which can lead to the pollution of the npm registry. The malicious payload continuously republishes these variants, making it difficult for developers to identify and remove the threat. The ramifications include potential exposure of sensitive data and the degradation of the npm ecosystem's integrity.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall tuti-getas42-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 remove the 'tuti-getas42-miaww' package from your project by executing the following command: 'npm uninstall tuti-getas42-miaww'. This will prevent any malicious code from executing while you assess the situation.
Conclusion
The 'tuti-getas42-miaww' package poses a significant security threat due to its malicious code that alters package.json and repopulates the npm registry with harmful variants. It is crucial for developers to take immediate action by updating or uninstalling the package to protect their applications and maintain the integrity of the npm ecosystem.
See every vulnerability recorded for tuti-getas42-miaww →
FAQ
The vulnerability involves malicious code that modifies package.json to remove private flags and republish variants, leading to npm registry pollution.
You can use Vulert, which monitors and alerts for open-source vulnerabilities in real-time. Visit Vulert Scanner to check your application without any signup.
The risks include exposure of sensitive data, degradation of the npm ecosystem, and potential exploitation by malicious actors.
If a patched version of 'tuti-getas42-miaww' is available, you can update it using 'npm update tuti-getas42-miaww'.
As a temporary measure, you can uninstall the package using 'npm uninstall tuti-getas42-miaww' to mitigate the risk.