Malicious Code Injection in sun-uyilu-vanmiun Package: A Threat to npm Ecosystem
Summary
MAL-2025-166234: Malicious code in sun-uyilu-vanmiun (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 sun-uyilu-vanmiun 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 developers and users alike.
Vulnerability Detail
The vulnerability in the sun-uyilu-vanmiun package stems from its inclusion in a malicious campaign that modifies the package.json file to remove private flags, change version numbers, and generate random package names. This behavior leads to the continuous republishing of variants, polluting the npm registry and potentially compromising the integrity of other packages. The malicious payload can affect developers by inflating reputation scores through deceptive practices, which can undermine trust in the npm ecosystem.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall sun-uyilu-vanmiun
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 sun-uyilu-vanmiun package and any other packages associated with the tea.xyz token reward campaign. Additionally, consider using npm audit to identify and address vulnerabilities in your project.
Conclusion
The sun-uyilu-vanmiun package poses a significant risk due to its malicious behavior aimed at manipulating npm package metadata. It is crucial for developers to remove this package and monitor their projects for vulnerabilities. Utilizing tools like Vulert can help maintain the security of your applications.
See every vulnerability recorded for sun-uyilu-vanmiun →
FAQ
The sun-uyilu-vanmiun package is an npm package that has been identified as part of a malicious campaign aimed at manipulating package metadata.
This vulnerability can lead to the pollution of the npm registry, potentially compromising the integrity of your project and other packages you depend on.
You should remove the sun-uyilu-vanmiun package from your project immediately and monitor for any updates or patches.
You can use tools like Vulert, which monitors your package-lock.json file to alert you in real-time for open-source vulnerabilities.
Yes, you can use the Vulert playground at Vulert Scanner to check if your application is affected by this vulnerability without requiring any signup.