Malicious Code Injection in uarag-mafsituhai-suf Package: A Threat to npm Users
Summary
MAL-2025-169473: Malicious code in uarag-mafsituhai-suf (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 uarag-mafsituhai-suf package is part of the npm ecosystem, which is widely used for JavaScript package management. This package 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 a significant risk to users and the integrity of the npm registry.
Vulnerability Detail
The vulnerability in the uarag-mafsituhai-suf package stems from its malicious code that modifies the package.json file. This code removes private flags, alters version numbers, and generates random package names, leading to the continuous republishing of these variants. The origin of this vulnerability is linked to the tea.xyz token reward campaign, which aims to exploit the npm registry for fraudulent gains. The ramifications include potential pollution of the npm registry, compromised developer reputations, and increased risk of dependency confusion attacks.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall uarag-mafsituhai-suf
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 avoid using the uarag-mafsituhai-suf package and any other packages associated with the tea.xyz token reward campaign. Additionally, consider using tools like Vulert to monitor your project for vulnerabilities. You can check if your application is affected by this vulnerability using the Vulert playground at https://vulert.com/scanner without any signup.
Conclusion
The uarag-mafsituhai-suf package poses a significant threat due to its malicious code designed to manipulate package metadata. Users are advised to update or remove the package to safeguard their projects. Utilizing tools like Vulert can help in monitoring for such vulnerabilities in real-time.
See every vulnerability recorded for uarag-mafsituhai-suf →
FAQ
The uarag-mafsituhai-suf package is an npm package linked to the tea.xyz token reward campaign, which has been identified as malicious.
This vulnerability can lead to the pollution of the npm registry and compromise the integrity of your project by introducing malicious code.
You should update the package to a patched version or remove it entirely from your project to mitigate the risk.
Yes, you can use Vulert, which monitors and alerts for open-source vulnerabilities in your software using just package-lock.json.
You can check if your application is affected by this vulnerability using the Vulert playground at Vulert Scanner without any signup.