Malicious Code Injection in lookingan-nakomi4: A Threat to npm Packages
Summary
MAL-2025-158399: Malicious code in lookingan-nakomi4 (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-nakomi4' is part of the npm ecosystem, which is widely used for JavaScript package management. This package has been identified as part of a malicious campaign that aims to exploit the npm registry by flooding it with derivative packages. These packages are designed to inflate developer reputation scores through automated publishing scripts, which can lead to significant pollution of the npm registry and potential security risks for users.
Vulnerability Detail
The vulnerability in 'lookingan-nakomi4' originates from its association with the tea.xyz token reward campaign. The package contains malicious scripts that modify the package.json file, removing private flags, altering version numbers, and generating random package names. This behavior not only compromises the integrity of the npm registry but also poses risks to developers who may unknowingly install these malicious packages, leading to potential data breaches or system compromises.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall lookingan-nakomi4
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 'lookingan-nakomi4' package and monitor your dependencies for any malicious activity. Additionally, you can use the following command to uninstall the package: npm uninstall lookingan-nakomi4.
Conclusion
The 'lookingan-nakomi4' package poses a significant security risk due to its malicious code designed to manipulate the npm registry. Users are advised to remove this package and monitor their dependencies closely. Utilizing tools like Vulert can help in identifying and managing such vulnerabilities effectively.
See every vulnerability recorded for lookingan-nakomi4 →
FAQ
The main threat is the injection of malicious code that modifies package.json files and floods the npm registry with harmful packages.
You can use Vulert, which monitors and alerts for open-source vulnerabilities in real-time. Visit Vulert Scanner to check if your application is affected without any signup.
You should uninstall the package immediately using the command: npm uninstall lookingan-nakomi4.
Currently, there are no specific patches for the lookingan-nakomi4 package. It is advisable to remove the package until a secure version is released.
Vulert uses the package-lock.json file to monitor and alert for open-source vulnerabilities in your software, ensuring you stay informed about potential threats.