Malicious Code Exploit in sau-naki-ups: A Threat to npm Ecosystem
Summary
MAL-2025-165776: Malicious code in sau-naki-ups (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 'sau-naki-ups' package is part of the npm ecosystem, which is widely used for JavaScript package management. This package, like many others, is intended to facilitate the development and deployment of applications by providing reusable code. However, it has been identified as part of a malicious campaign that manipulates npm packages to inflate developer reputation scores through automated scripts.
Vulnerability Detail
The vulnerability in 'sau-naki-ups' stems from its association with a malicious campaign that floods the npm registry with derivative packages. These packages contain scripts that modify the package.json file, removing private flags, changing version numbers, and generating random package names. This not only compromises the integrity of the npm registry but also poses risks to developers who may unknowingly use these tainted packages, leading to potential security breaches and loss of trust in the ecosystem.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall sau-naki-ups
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 'sau-naki-ups' package and consider using alternative packages that provide similar functionality without the associated risks. Regularly monitor your dependencies for vulnerabilities using tools like Vulert.
Conclusion
The 'sau-naki-ups' package poses a significant risk due to its malicious code designed to manipulate the npm registry. It is crucial for developers to be vigilant, remove affected packages, and utilize tools like Vulert to monitor for vulnerabilities in their projects.
See every vulnerability recorded for sau-naki-ups →
FAQ
The 'sau-naki-ups' package is an npm package that has been identified as part of a malicious campaign to manipulate the npm registry.
The vulnerability can lead to the inclusion of malicious code in your application, compromising its security and potentially leading to data breaches.
You should uninstall the package immediately using 'npm uninstall sau-naki-ups' and review your project's dependencies for any other vulnerabilities.
You can use tools like Vulert, which monitors your package-lock.json file to alert you in real-time about 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.