Malicious Code Injection in lookingan-nakomi30 Package
Summary
MAL-2025-158389: Malicious code in lookingan-nakomi30 (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-nakomi30 package is part of the npm ecosystem and is associated with the tea.xyz token reward campaign. This package is designed to facilitate the automatic generation and publication of derivative packages, which can inflate developer reputation scores for token rewards. However, it has been identified as containing malicious code that compromises the integrity of the npm registry.
Vulnerability Detail
The vulnerability in the lookingan-nakomi30 package originates from its malicious payload, which modifies the package.json file to remove private flags, alters version numbers, and generates random package names. This behavior leads to the continuous republishing of variants, polluting the npm registry and potentially impacting other developers and users relying on legitimate packages. The malicious scripts included in this package are designed to automate the creation of these harmful derivatives, making it a significant threat to the npm ecosystem.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall lookingan-nakomi30
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, you can temporarily avoid using the lookingan-nakomi30 package and monitor your project for any dependencies that may have been affected by this malicious code. Additionally, consider using tools like Vulert to monitor your package-lock.json file for vulnerabilities in real-time.
Conclusion
The lookingan-nakomi30 package poses a significant risk due to its malicious code that alters package configurations and pollutes the npm registry. Immediate action is required to remove this package from your projects and to monitor for any related vulnerabilities. Utilizing tools like Vulert can help in maintaining the security of your open-source dependencies.
See every vulnerability recorded for lookingan-nakomi30 →
FAQ
The lookingan-nakomi30 package is an npm package associated with the tea.xyz token reward campaign, designed to automate the generation of derivative packages.
The malicious code modifies your package.json file, removes private flags, and can lead to the pollution of the npm registry, potentially affecting other packages you depend on.
You should uninstall the lookingan-nakomi30 package immediately using 'npm uninstall lookingan-nakomi30' and monitor your project for any further vulnerabilities.
Yes, you can use Vulert's playground at Vulert Scanner to check if your application is affected by this vulnerability without requiring any signup.
Currently, there is no patch available. It is advisable to remove the package and monitor for any updates from the package maintainers.