Malicious Code Injection in lookingan-namala667: A Threat to npm Ecosystem
Summary
MAL-2025-158781: Malicious code in lookingan-namala667 (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-namala667' is part of the npm ecosystem, which is widely used for JavaScript package management. This package is associated with the tea.xyz token reward campaign, which has been known to flood the npm registry with malicious packages. These packages often contain scripts that manipulate the npm registry and can lead to significant security risks for developers and their applications.
Vulnerability Detail
The vulnerability in 'lookingan-namala667' originates from its design to include autopublish scripts that automatically generate and publish derivative packages with randomized names. This behavior is intended to inflate developer reputation scores for token rewards. The malicious payload modifies the package.json file to remove private flags, alters version numbers, and generates random package names, leading to pollution of the npm registry. This can result in developers inadvertently using compromised packages, exposing their applications to security threats.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall lookingan-namala667
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 this malicious package by using npm's package-lock.json file to lock down your dependencies. Additionally, consider using tools like Vulert to monitor your dependencies for vulnerabilities. You can check if your application is affected by this vulnerability using the Vulert playground at https://vulert.com/scanner.
Conclusion
The 'lookingan-namala667' package poses a significant threat to the npm ecosystem due to its malicious code and behavior. Developers are urged to remove this package and utilize tools like Vulert to stay informed about vulnerabilities in their dependencies. Regular monitoring and updates are essential to maintaining the security of applications.
See every vulnerability recorded for lookingan-namala667 →
FAQ
'lookingan-namala667' is an npm package that has been identified as malicious and is part of a campaign to manipulate the npm registry.
The vulnerability can lead to the installation of compromised packages, which may introduce security risks and affect the integrity of your application.
You should remove the 'lookingan-namala667' package from your project and monitor for any updates or patches.
Yes, regularly monitor your dependencies using tools like Vulert, which can alert you to open-source vulnerabilities in real-time.
You can find detailed information about this vulnerability in the official npm advisory and by using vulnerability monitoring tools like Vulert.