Malicious Code Injection in lookingan-nakomi10: A Threat to npm Packages
Summary
MAL-2025-158367: Malicious code in lookingan-nakomi10 (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 package 'lookingan-nakomi10' is part of a series of npm packages that emerged during the tea.xyz token reward campaign. These packages are designed to manipulate the npm registry by automatically generating and publishing derivative packages with randomized names. The primary functionality of these packages is to inflate developer reputation scores for token rewards, but they pose significant risks due to their malicious payloads.
Vulnerability Detail
The vulnerability in 'lookingan-nakomi10' originates from its inclusion in a campaign that floods the npm registry with malicious packages. The payload modifies the package.json file to remove private flags, alters version numbers, and generates random package names, leading to the continuous republishing of variants. This not only pollutes the npm registry but also compromises the integrity of the packages and can potentially lead to further exploitation by malicious actors.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall lookingan-nakomi10
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 measure, you can remove the 'lookingan-nakomi10' package from your project by executing: 'npm uninstall lookingan-nakomi10'. This will prevent any potential exploitation until a patched version is available.
Conclusion
The 'lookingan-nakomi10' package poses a significant threat due to its malicious code that manipulates the npm registry. It is crucial to update or remove this package to safeguard your application. Utilizing tools like Vulert can help in monitoring and identifying such vulnerabilities in real-time.
See every vulnerability recorded for lookingan-nakomi10 →
FAQ
The main issue is that it contains malicious code that modifies package.json files and floods the npm registry with derivative packages.
You can use Vulert, which monitors and alerts for open-source vulnerabilities in your software. Check your application using the Vulert playground at Vulert Scanner without any signup.
Using compromised packages can lead to data breaches, unauthorized access, and the potential for further exploitation by attackers.
Regularly audit your dependencies, use tools like Vulert for real-time monitoring, and only install packages from trusted sources.
Immediately uninstall the package using 'npm uninstall lookingan-nakomi10' and monitor your application for any unusual activity.