Malicious Code Injection in lookingan-namalaka60: A Threat to npm Ecosystem
Summary
MAL-2025-158874: Malicious code in lookingan-namalaka60 (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-namalaka60' is part of a series of malicious npm packages that emerged during the tea.xyz token reward campaign. These packages are designed to inflate developer reputation scores by automatically generating and publishing derivative packages with randomized names. This behavior not only pollutes the npm registry but also poses a significant risk to developers who may unknowingly integrate such packages into their projects.
Vulnerability Detail
The vulnerability in 'lookingan-namalaka60' 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 enables the package to continuously republish variants, leading to a polluted npm registry and potential exploitation of developers who rely on these packages. The malicious code is designed to manipulate the npm ecosystem for the benefit of the tea protocol token rewards, making it a significant threat to the integrity of open-source software.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall lookingan-namalaka60
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 avoid using the 'lookingan-namalaka60' package and any other packages associated with the tea.xyz token reward campaign. Regularly audit your project's dependencies to identify and remove any suspicious packages.
Conclusion
The 'lookingan-namalaka60' package poses a significant threat to the npm ecosystem due to its malicious code designed to manipulate package publishing. Developers are advised to remove this package and regularly audit their dependencies to maintain the integrity of their projects. Utilizing tools like Vulert can help in monitoring and alerting for such vulnerabilities in real-time.
See every vulnerability recorded for lookingan-namalaka60 →
FAQ
The malicious code can lead to the pollution of the npm registry and compromise the integrity of your project by introducing untrusted dependencies.
You can use tools like Vulert, which monitors your package-lock.json for open-source vulnerabilities in real-time. Visit Vulert Scanner to check if your application is affected.
Immediately uninstall the package using 'npm uninstall lookingan-namalaka60' and audit your dependencies for any other malicious packages.
There are no patches available for this package as it is inherently malicious. The best course of action is to remove it from your project.
Regularly audit your dependencies, use trusted packages, and consider using tools like Vulert to monitor for vulnerabilities in real-time.