Malicious Code Injection in lookingan-nakomi23: A Threat to npm Ecosystem
Summary
MAL-2025-158381: Malicious code in lookingan-nakomi23 (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-nakomi23' is part of the npm ecosystem, which is widely used for JavaScript package management. This package is associated with the tea.xyz token reward campaign, which has been known to flood the npm registry with malicious packages. These packages often contain scripts designed to manipulate package metadata and inflate developer reputation scores through automated publishing of derivative packages.
Vulnerability Detail
The vulnerability in 'lookingan-nakomi23' arises from its malicious payload that modifies the package.json file by removing private flags and changing version numbers. It generates random package names, often themed around Indonesian culture, and continuously republishes these variants to pollute the npm registry. This behavior can lead to a compromised development environment, where developers may unknowingly install these malicious packages, potentially leading to further exploitation.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall lookingan-nakomi23
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 'lookingan-nakomi23' package and consider using alternative packages that provide similar functionality without the associated risks. Additionally, you can monitor your project for vulnerabilities using tools like Vulert, which can analyze your package-lock.json file for real-time alerts on open-source vulnerabilities.
Conclusion
The 'lookingan-nakomi23' package poses a significant threat to developers within the npm ecosystem due to its malicious behavior. It is essential to remove this package and monitor your projects for vulnerabilities to maintain a secure development environment.
See every vulnerability recorded for lookingan-nakomi23 →
FAQ
The main issue is that it contains malicious code that modifies package metadata and floods the npm registry with harmful variants.
You can use Vulert to check if your application is affected by this vulnerability by analyzing your package-lock.json file.
You should uninstall the package immediately using 'npm uninstall lookingan-nakomi23' and check for any other affected packages.
Yes, tools like Vulert can help monitor your project for open-source vulnerabilities in real-time.
Using this package can lead to compromised security, as it may allow unauthorized access or manipulation of your project.