Malicious Code Injection in lookingan-nalako25: A Threat to npm Packages
Summary
MAL-2025-158433: Malicious code in lookingan-nalako25 (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-nalako25' is part of the npm ecosystem, which is widely used for JavaScript package management. It is associated with the tea.xyz token reward campaign, which has been known to flood the npm registry with malicious packages. These packages are designed to manipulate developer reputation scores by automatically generating and publishing derivative packages with randomized names, thereby compromising the integrity of the npm ecosystem.
Vulnerability Detail
The vulnerability in 'lookingan-nalako25' originates from its malicious code that 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, which pollutes the npm registry and can potentially harm developers by inflating reputation scores fraudulently. The malicious payload is part of a broader scheme to exploit the npm ecosystem for token rewards.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall lookingan-nalako25
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 avoid using the 'lookingan-nalako25' package and monitor your dependencies for any malicious activity. Use the following command to check for vulnerabilities in your project: 'npm audit'.
Conclusion
The 'lookingan-nalako25' package poses a significant threat due to its malicious code that manipulates the npm registry. It is crucial for developers to be vigilant and remove such packages from their projects to maintain the integrity of their applications. Utilizing tools like Vulert can aid in identifying vulnerabilities effectively.
See every vulnerability recorded for lookingan-nalako25 →
FAQ
The vulnerability can lead to the pollution of the npm registry and compromise the integrity of developer reputation scores.
You can use tools like Vulert to monitor your package-lock.json for vulnerabilities. Check your application using the Vulert playground at Vulert Scanner.
There is no patch available for this specific package. The recommended action is to uninstall it.
Uninstall the package immediately using 'npm uninstall lookingan-nalako25' and review your other dependencies for potential vulnerabilities.
Vulert uses your package-lock.json to monitor and alert you in real-time for open-source vulnerabilities without requiring access to your code or installation.