Malicious Code Injection in uinsu-lost-diuns Package
Summary
MAL-2025-169944: Malicious code in uinsu-lost-diuns (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-diuns package is part of the npm ecosystem, which is widely used for JavaScript package management. This package, like many others, is intended to facilitate development by providing reusable code. However, it has been identified as part of a malicious campaign that exploits npm's publishing features to generate and distribute harmful code. The package is designed to inflate developer reputation scores through the automatic generation of derivative packages with randomized names, which can lead to significant security risks.
Vulnerability Detail
The vulnerability originates from the package's malicious payload, which modifies the package.json file to remove private flags and alters version numbers. It generates random package names, often themed around Indonesian culture, and continuously republishes these variants to pollute the npm registry. This behavior not only compromises the integrity of the npm ecosystem but also poses risks to developers who may unknowingly integrate these malicious packages into their projects, potentially leading to data breaches or unauthorized access.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall uinsu-lost-diuns
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 remove the uinsu-lost-diuns package from your project by executing the command: 'npm uninstall uinsu-lost-diuns'. This will prevent any malicious code from executing while you assess your project's dependencies.
Conclusion
The uinsu-lost-diuns package poses a significant security risk due to its malicious code that modifies package metadata and floods the npm registry with harmful variants. It is essential for developers to stay vigilant, regularly update their dependencies, and utilize tools like Vulert to monitor for vulnerabilities in their projects.
See every vulnerability recorded for uinsu-lost-diuns →
FAQ
The uinsu-lost-diuns package is an npm package that has been identified as part of a malicious campaign aimed at inflating developer reputation scores through the automatic generation of harmful derivative packages.
This vulnerability can lead to the introduction of malicious code into your project, potentially compromising security and data integrity.
If you have installed the uinsu-lost-diuns package, it is crucial to uninstall it immediately and review your project's dependencies for any other affected packages.
Yes, you can use tools like Vulert, which monitors your package-lock.json file to alert you in real-time for open-source vulnerabilities in your software.
You can use the Vulert playground at Vulert Scanner to check if your application is affected by this vulnerability without requiring any signup.