Malicious Code Injection in surya-ubi81-miaww Package: A Threat to npm Ecosystem
Summary
MAL-2025-90892: Malicious code in surya-ubi81-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 surya-ubi81-miaww package is part of a broader campaign that exploits the npm ecosystem, primarily targeting developers seeking token rewards from the tea.xyz protocol. This package is designed to automate the generation and publication of derivative packages, which can lead to reputation inflation within the developer community. Its functionality revolves around creating random package names and modifying existing package metadata, making it a significant threat to the integrity of the npm registry.
Vulnerability Detail
The vulnerability in the surya-ubi81-miaww package stems from its malicious payload that alters the package.json file by removing private flags and changing version numbers. This allows the package to generate and republish numerous variants with randomized names, effectively polluting the npm registry. The origin of this vulnerability is linked to the tea.xyz token reward campaign, which incentivizes developers to publish more packages, regardless of their quality or security. The ramifications include potential security risks for applications relying on these packages, as well as a degradation of trust in the npm ecosystem.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall surya-ubi81-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, avoid using the surya-ubi81-miaww package in your projects. Additionally, consider using tools like Vulert to monitor your package-lock.json 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 surya-ubi81-miaww package represents a significant threat to the npm ecosystem due to its malicious behavior aimed at inflating developer reputation scores. It is crucial for developers to remain vigilant and take proactive measures to secure their applications by removing vulnerable packages and utilizing monitoring tools like Vulert.
See every vulnerability recorded for surya-ubi81-miaww →
FAQ
The surya-ubi81-miaww package is a malicious npm package that is part of a campaign to inflate developer reputation scores through automated package publishing.
This vulnerability can lead to the inclusion of malicious code in your application, potentially compromising its security and integrity.
You should uninstall the surya-ubi81-miaww package immediately and monitor your project for any other malicious packages.
Yes, regularly audit your dependencies and use tools like Vulert to monitor for vulnerabilities in your package-lock.json.
Yes, you can use the Vulert playground at Vulert Scanner to check for vulnerabilities in your application without any signup.