Malicious Code Injection in lookingan-nakomi31 Package - npm Vulnerability
Summary
MAL-2025-158390: Malicious code in lookingan-nakomi31 (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-nakomi31 package is part of the npm ecosystem and has been identified as a malicious package associated with the tea.xyz token reward campaign. This package is designed to manipulate the npm registry by creating and publishing numerous derivative packages with randomized names, which can inflate developer reputation scores for token rewards. Its functionality is primarily centered around automating the publication of these packages, making it a significant threat to the integrity of the npm registry.
Vulnerability Detail
The vulnerability in the lookingan-nakomi31 package stems from its malicious payload, which modifies the package.json file to remove private flags, alters version numbers, and generates random package names. This behavior allows the package to continuously republish variants, leading to pollution of the npm registry. The origin of this vulnerability is linked to the tea.xyz token reward campaign, which has flooded the npm ecosystem with similar malicious packages. The ramifications of this vulnerability include compromised developer reputations 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-nakomi31
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-nakomi31 package and replace it with a trusted alternative that provides similar functionality without the associated risks. Additionally, you can monitor your project for vulnerabilities using tools like Vulert, which analyzes your package-lock.json file to alert you in real-time about open-source vulnerabilities.
Conclusion
The lookingan-nakomi31 package poses a significant threat to the npm ecosystem due to its malicious behavior. It is crucial for developers to be vigilant and remove any instances of this package from their projects. Utilizing tools like Vulert can help monitor for vulnerabilities and maintain the security of your applications.
See every vulnerability recorded for lookingan-nakomi31 →
FAQ
The lookingan-nakomi31 package is a malicious npm package associated with the tea.xyz token reward campaign, designed to manipulate the npm registry.
This vulnerability can compromise your project's integrity by polluting the npm registry and potentially affecting your developer reputation.
You should uninstall the lookingan-nakomi31 package immediately and check your package-lock.json file for any references to it.
Yes, you can use Vulert to monitor your project for open-source vulnerabilities by analyzing your package-lock.json file.
Yes, you can use the Vulert playground at Vulert Scanner to check if your application is affected by this vulnerability without requiring any signup.