Malicious Code Injection in lookingan-nakomi42 Package - npm Vulnerability
Summary
MAL-2025-158402: Malicious code in lookingan-nakomi42 (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 lookingan-nakomi42 package is part of the npm ecosystem, which is widely used for JavaScript package management. This package, like many others, is intended to facilitate the development of applications by providing reusable code. However, it has been identified as part of a malicious campaign that exploits npm's publishing mechanisms, leading to potential security risks for developers and their applications.
Vulnerability Detail
The vulnerability in the lookingan-nakomi42 package originates from its involvement in the tea.xyz token reward campaign. This package contains malicious scripts designed to automatically generate and publish derivative packages with randomized names. These scripts modify the package.json file to remove private flags, alter version numbers, and continuously republish variants, thereby polluting the npm registry. The ramifications include compromised developer reputation scores and potential security risks for applications relying on these packages.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall lookingan-nakomi42
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-nakomi42 package and any other packages that may have been published as part of the malicious campaign. Regularly audit your dependencies to ensure that no malicious packages are included.
Conclusion
The lookingan-nakomi42 package poses a significant security risk due to its malicious code designed to manipulate npm's publishing system. It is crucial for developers to remove this package and monitor their dependencies for vulnerabilities to maintain the security of their applications.
See every vulnerability recorded for lookingan-nakomi42 →
FAQ
The lookingan-nakomi42 package is a JavaScript package available on npm, which has been identified as part of a malicious campaign to inflate developer reputation scores.
The vulnerability can lead to the inclusion of malicious code in your application, potentially compromising its security and integrity.
You should uninstall the lookingan-nakomi42 package immediately and audit your project for any other potentially malicious packages.
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.
Yes, you can use the Vulert playground at Vulert Scanner to check if your application is affected by this vulnerability without requiring any signup.