Malicious Code Injection in uinsu-lost-diunsuta Package: A Threat to npm Users
Summary
MAL-2025-169949: Malicious code in uinsu-lost-diunsuta (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 uinsu-lost-diunsuta package is part of the npm ecosystem and is associated with the tea.xyz token reward campaign. This package is designed to facilitate the automatic generation and publication of derivative packages, often with randomized names, to inflate developer reputation scores for token rewards. Its functionality is compromised by malicious code that modifies package metadata.
Vulnerability Detail
The vulnerability originates from the package being part of a malicious campaign that floods the npm registry with derivative packages. The malicious payload alters the package.json file by removing private flags, changing version numbers, and generating random package names. This behavior can lead to pollution of the npm registry, making it difficult for developers to find legitimate packages and potentially exposing them to further security risks.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall uinsu-lost-diunsuta
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 uinsu-lost-diunsuta package and look for alternative packages that provide similar functionality without the associated risks. Regularly monitor your dependencies for any updates or vulnerabilities.
Conclusion
The uinsu-lost-diunsuta package poses a significant risk due to its malicious code that alters package metadata and floods the npm registry with derivative packages. It is crucial for developers to uninstall this package and monitor their dependencies to maintain the security of their projects.
See every vulnerability recorded for uinsu-lost-diunsuta →
FAQ
The uinsu-lost-diunsuta package is an npm package involved in a malicious campaign that generates derivative packages to inflate developer reputation scores.
The malicious code modifies your package.json file, potentially exposing your project to further vulnerabilities and polluting the npm registry.
You should uninstall the uinsu-lost-diunsuta package immediately using the command: npm uninstall uinsu-lost-diunsuta.
Yes, you can use Vulert, which monitors and alerts for open-source vulnerabilities in your software using just package-lock.json. You can check your application for vulnerabilities using the Vulert playground without any signup.
Regularly update your dependencies, monitor for vulnerabilities, and consider using tools like Vulert to keep track of any potential security issues.