Malicious Code Injection in saubi-nanliui-iuyap Package
Summary
MAL-2025-165804: Malicious code in saubi-nanliui-iuyap (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 saubi-nanliui-iuyap 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 significant risks to users and the integrity of the npm registry.
Vulnerability Detail
The vulnerability in the saubi-nanliui-iuyap package originates from its design to include malicious scripts that modify the package.json file. These scripts remove private flags, alter version numbers, and generate random package names, leading to the continuous republishing of these variants. This behavior not only pollutes the npm registry but also compromises the security of applications that depend on this package, potentially leading to unauthorized access or data breaches.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall saubi-nanliui-iuyap
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 saubi-nanliui-iuyap package and look for alternative packages that provide similar functionality without the associated risks. Additionally, you can monitor your project for any unintended changes to package.json and revert them if necessary.
Conclusion
The saubi-nanliui-iuyap package poses a significant security risk due to its malicious code designed to manipulate package metadata. It is essential to remove this package from your projects and monitor for any related vulnerabilities. Utilizing tools like Vulert can help you stay informed about potential threats to your applications.
See every vulnerability recorded for saubi-nanliui-iuyap →
FAQ
The saubi-nanliui-iuyap package is an npm package that is part of a malicious campaign aimed at inflating developer reputation scores through the creation of derivative packages.
The vulnerability can lead to unauthorized modifications of your package.json file, potentially compromising your application's integrity and security.
You should uninstall the saubi-nanliui-iuyap package immediately and monitor your project for any unauthorized changes.
Yes, you can use Vulert to monitor and alert you in real-time for open-source vulnerabilities in your software. You can check your application against known vulnerabilities using the Vulert playground.
You can use the Vulert playground at Vulert Scanner to check if your application is affected by this vulnerability without needing to sign up.