Malicious Code Injection in naut-tyutu-sdsaff: A Threat to npm Ecosystem
Summary
MAL-2025-162048: Malicious code in naut-tyutu-sdsaff (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
naut-tyutu-sdsaff is an npm package that has been identified as part of a malicious campaign targeting the npm registry. This package is associated with the tea.xyz token reward initiative, which aims to inflate developer reputation scores through the automatic generation and publication of derivative packages. The malicious nature of this package lies in its ability to modify critical files and republish variants, thereby polluting the npm ecosystem.
Vulnerability Detail
The vulnerability in naut-tyutu-sdsaff originates from its design to execute autopublish scripts that alter the package.json file by removing private flags and changing version numbers. This allows the package to generate random names, often themed around Indonesian culture, and continuously republish these variants. The ramifications include potential security risks for developers who unknowingly use these packages, as they may inadvertently compromise their projects and reputations.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall naut-tyutu-sdsaff
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 monitor your project's dependencies for any unauthorized changes. Regularly audit your package-lock.json file to ensure no malicious packages are introduced. You can also use tools like Vulert to monitor your project for vulnerabilities without needing to access the code directly.
Conclusion
The naut-tyutu-sdsaff package poses a significant threat to the npm ecosystem due to its malicious code that modifies package files and repopulates the registry with harmful variants. It is crucial for developers to remain vigilant, regularly audit their dependencies, and utilize tools like Vulert to safeguard their projects.
See every vulnerability recorded for naut-tyutu-sdsaff →
FAQ
naut-tyutu-sdsaff is an npm package linked to a malicious campaign that modifies package files and republishes variants to inflate developer reputation scores.
The vulnerability can lead to unauthorized changes in your project dependencies, potentially compromising security and stability.
You should uninstall the package immediately using 'npm uninstall naut-tyutu-sdsaff' and audit your project for any other malicious dependencies.
Yes, regularly audit your dependencies, use tools like Vulert to monitor for vulnerabilities, and stay updated on security advisories related to npm packages.
Vulert is a tool that monitors and alerts for open-source vulnerabilities in your software using just the package-lock.json file. You can check if your application is affected by vulnerabilities through the Vulert playground without any signup.