Malicious Code Injection in lookingan-nakomi47: A Threat to npm Users
Summary
MAL-2025-158407: Malicious code in lookingan-nakomi47 (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-nakomi47' is part of a series of malicious npm packages associated with the tea.xyz token reward campaign. These packages are designed to inflate developer reputation scores by automatically generating and publishing derivative packages with randomized names. This behavior not only clutters the npm registry but also poses significant risks to users who may unknowingly install these compromised packages.
Vulnerability Detail
The vulnerability in 'lookingan-nakomi47' originates from its malicious payload, which modifies the package.json file to remove private flags, alters version numbers, and generates random package names. This results in the continuous republishing of variants, polluting the npm registry and potentially leading to security risks for developers who rely on these packages. The malicious code can compromise the integrity of applications that depend on these packages, making it crucial for users to take immediate action.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall lookingan-nakomi47
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 workaround, users can manually check their package-lock.json file for any references to 'lookingan-nakomi47' and remove it. Additionally, consider using tools like Vulert to monitor for vulnerabilities in your dependencies. You can check if your application is affected by visiting the Vulert playground at https://vulert.com/scanner without any signup.
Conclusion
The 'lookingan-nakomi47' package poses a significant threat to npm users due to its malicious code designed to manipulate package metadata and inflate developer reputation scores. Immediate action is required to remove this package and safeguard your applications from potential risks.
See every vulnerability recorded for lookingan-nakomi47 →
FAQ
'lookingan-nakomi47' is a malicious npm package that is part of a campaign to inflate developer reputation scores through the automatic generation of derivative packages.
The vulnerability can compromise the integrity of your application by introducing malicious code that modifies your package.json and republishing variants that clutter the npm registry.
You should immediately remove the package from your project and check for any dependencies that may have been affected.
Yes, regularly monitor your dependencies using tools like Vulert, which can alert you to open-source vulnerabilities in real-time.
Yes, you can use the Vulert playground at Vulert Scanner to check for vulnerabilities in your application without any signup.