Malicious Code Injection in lookingan-nalako20 Package - npm Vulnerability
Summary
MAL-2025-158428: Malicious code in lookingan-nalako20 (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-nalako20 package is part of the npm ecosystem and has been identified as a component of 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 in exchange for token rewards. However, it has been compromised to include malicious scripts that alter package metadata and republish variants to the npm registry.
Vulnerability Detail
The vulnerability stems from the presence of malicious code within the lookingan-nalako20 package. This code modifies the package.json file to remove private flags, alters version numbers, and generates random package names, leading to the pollution of the npm registry. The malicious payload is designed to exploit the npm ecosystem by continuously republishing these variants, which can mislead developers and compromise the integrity of their projects.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall lookingan-nalako20
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 prevent the installation of the lookingan-nalako20 package by using npm's package-lock.json file to monitor dependencies. Ensure that your project does not include this package and regularly audit your dependencies for any malicious code.
Conclusion
The lookingan-nalako20 package has been identified as containing malicious code that poses a significant risk to developers using it. Immediate action is required to remove this package from your projects to safeguard against potential exploitation. Regular monitoring of your dependencies and utilizing tools like Vulert can help maintain the security of your applications.
See every vulnerability recorded for lookingan-nalako20 →
FAQ
The lookingan-nalako20 package is part of the npm ecosystem and is associated with a token reward campaign that has been compromised to include malicious code.
The malicious code modifies your package.json file, removes private flags, and generates random package names, which can lead to the pollution of the npm registry and compromise your project's integrity.
You can use Vulert, which monitors and alerts for open-source vulnerabilities in real-time. Visit Vulert Scanner to check if your application is affected without requiring any signup.
You should uninstall the package immediately using 'npm uninstall lookingan-nalako20' and check your project for any unintended changes made by the malicious code.
Currently, there is no patched version available. It is recommended to remove the package and monitor for any future updates or advisories from the package maintainers.