Malicious Code Injection in saubali-nanliui-iuyap: A Threat to npm Ecosystem
Summary
MAL-2025-165803: Malicious code in saubali-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 package 'saubali-nanliui-iuyap' is part of a series of malicious npm packages associated with the tea.xyz token reward campaign. These packages are designed to manipulate the npm registry by generating and publishing derivative packages with random names, thereby inflating developer reputation scores. The malicious behavior of this package poses a significant risk to developers and users relying on npm for package management.
Vulnerability Detail
The vulnerability originates from the package's design, which includes autopublish scripts that modify the package.json file to remove private flags and change version numbers. This allows the package to continuously generate and republish variants with Indonesian-themed names, polluting the npm registry. The ramifications include potential security risks for applications using this package, as it may lead to unintentional use of malicious code and compromise the integrity of the npm ecosystem.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall saubali-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 'saubali-nanliui-iuyap' package and look for alternative packages that provide similar functionality without the associated risks.
Conclusion
The 'saubali-nanliui-iuyap' package represents a significant threat within the npm ecosystem due to its malicious behavior. Developers are urged to remove this package and monitor their projects for vulnerabilities to maintain security and integrity.
See every vulnerability recorded for saubali-nanliui-iuyap →
FAQ
It is a malicious npm package involved in a token reward campaign that manipulates the npm registry.
It can lead to the introduction of malicious code into your application, compromising its security and integrity.
You should uninstall the package immediately and check for any other potentially affected packages.
No, there is no patch for this specific package; the best course of action is to remove it entirely.
You can use Vulert, which monitors and alerts for open-source vulnerabilities in real-time using just your package-lock.json file. You can also check your application for vulnerabilities using the Vulert playground without any signup.