Malicious Code Injection in lookingan-nalako12: A Threat to npm Ecosystem
Summary
MAL-2025-158420: Malicious code in lookingan-nalako12 (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-nalako12' is part of a series of npm packages that emerged during the tea.xyz token reward campaign. These packages are designed to manipulate npm's publishing system, often flooding the registry with derivative packages that have randomized names. This behavior is primarily aimed at inflating developer reputation scores for token rewards, making it a significant concern for developers relying on npm for package management.
Vulnerability Detail
The vulnerability in 'lookingan-nalako12' originates from its malicious design, which includes scripts that automatically modify the package.json file. These modifications remove private flags, alter version numbers, and generate random package names, leading to the continuous republishing of variants. This not only pollutes the npm registry but also poses risks of dependency confusion and potential exploitation by malicious actors. The package's behavior can severely impact the integrity of the npm ecosystem.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall lookingan-nalako12
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 measure, you can prevent the installation of this package by using npm's package-lock.json to monitor dependencies. Additionally, you can utilize the following command to audit your project for vulnerabilities: npm audit.
Conclusion
The 'lookingan-nalako12' package poses a significant threat to the npm ecosystem due to its malicious behavior. Developers are urged to remove this package and stay vigilant by utilizing tools like Vulert to monitor their projects for vulnerabilities. By taking proactive measures, you can help maintain the integrity of your software dependencies.
See every vulnerability recorded for lookingan-nalako12 →
FAQ
'lookingan-nalako12' is an npm package that is part of a malicious campaign aimed at inflating developer reputation scores through the creation of derivative packages.
The vulnerability can lead to the pollution of the npm registry, making it difficult to manage dependencies and potentially exposing your project to security risks.
You should remove the package from your project and monitor for any updates or patches that may address the vulnerability.
Yes, you can use Vulert, which monitors and alerts for open-source vulnerabilities in real-time. You can check your application using the Vulert playground without any signup.
Regularly audit your dependencies using tools like npm audit and consider using services like Vulert to monitor for vulnerabilities in real-time.