Malicious Code Injection in uinsu-loti-bakam Package - npm Vulnerability
Summary
MAL-2025-170002: Malicious code in uinsu-loti-bakam (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-loti-bakam 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, which can inflate developer reputation scores for token rewards. However, it has been identified as containing malicious code that compromises its integrity and the security of the npm registry.
Vulnerability Detail
The vulnerability in the uinsu-loti-bakam package originates from its malicious payload, which modifies the package.json file to remove private flags, alters version numbers, and generates random package names. This behavior leads to the continuous republishing of variants, polluting the npm registry and potentially affecting other developers and users relying on legitimate packages. The malicious scripts included in this package are designed to automate these harmful actions, making it a significant threat to 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 uinsu-loti-bakam
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 uinsu-loti-bakam package and monitor your project for any dependencies that may inadvertently include it. Regularly check your package-lock.json file for any signs of this package and remove it if found.
Conclusion
The uinsu-loti-bakam package poses a significant risk due to its malicious code that alters package metadata and pollutes the npm registry. It is crucial for developers to remove this package and monitor their dependencies to maintain the integrity of their projects.
See every vulnerability recorded for uinsu-loti-bakam →
FAQ
The uinsu-loti-bakam package is an npm package associated with the tea.xyz token reward campaign, designed to generate and publish derivative packages.
The vulnerability can lead to the pollution of the npm registry, potentially affecting other packages and developers who rely on the integrity of the npm ecosystem.
If you have installed the uinsu-loti-bakam package, you should uninstall it immediately using the command: npm uninstall uinsu-loti-bakam.
Yes, you can use Vulert to monitor and alert in real-time for open-source vulnerabilities in your software. It uses package-lock.json to check for vulnerabilities without requiring code access.
You can use the Vulert playground at Vulert Scanner to check if your application is affected by this vulnerability without any signup.