Malicious Code Injection in lookingan-nalako21: A Threat to npm Packages
Summary
MAL-2025-158429: Malicious code in lookingan-nalako21 (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-nalako21' is part of a broader campaign targeting the npm ecosystem, specifically linked to the tea.xyz token reward initiative. This package is designed to automate the generation and publication of derivative packages, which can mislead developers and inflate reputation scores. Its functionality is compromised by malicious scripts that manipulate package metadata, posing significant risks to users and the integrity of the npm registry.
Vulnerability Detail
The vulnerability in 'lookingan-nalako21' originates from its association with the tea.xyz token reward campaign. It includes malicious scripts that modify the package.json file by removing private flags, altering version numbers, and generating random package names. This behavior leads to the continuous republishing of variants, which can pollute the npm registry and potentially expose users to further security risks. The malicious payload can compromise the integrity of applications relying on this package, making it a critical issue for developers.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall lookingan-nalako21
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 use of 'lookingan-nalako21' by removing it from your package.json and package-lock.json files. Additionally, consider using npm audit to identify and address vulnerabilities in your project.
Conclusion
The 'lookingan-nalako21' package poses a significant threat due to its malicious code that alters package metadata and floods the npm registry. Developers are urged to remove this package and stay vigilant by using tools like Vulert to monitor for vulnerabilities in their applications.
See every vulnerability recorded for lookingan-nalako21 →
FAQ
'lookingan-nalako21' is an npm package involved in a malicious campaign that automates the generation of derivative packages to inflate developer reputation scores.
The vulnerability can lead to the modification of your package metadata, potentially exposing your application to further security risks and compromising its integrity.
You should remove 'lookingan-nalako21' from your project and monitor for any patched versions that may be released.
You can use tools like Vulert, which monitors your package-lock.json for vulnerabilities in real-time without requiring code access or installation.
Yes, you can use the Vulert playground at Vulert Scanner to check if your application is affected by this vulnerability without signing up.