Malicious Code Injection in lookingan-namakita16: A Threat to npm Packages
Summary
MAL-2025-158624: Malicious code in lookingan-namakita16 (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-namakita16' is part of a series of npm packages that have been associated with 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 poses a significant risk to the integrity of the npm registry and the security of applications relying on these packages.
Vulnerability Detail
The vulnerability in 'lookingan-namakita16' originates from malicious code embedded within the package. This code modifies the package.json file by removing private flags, altering version numbers, and generating random package names. The malicious payload continuously republishes variants of the package, polluting the npm registry and potentially compromising applications that depend on it. The implications of this vulnerability include the risk of executing untrusted code, loss of control over package versions, and increased difficulty in maintaining secure dependencies.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall lookingan-namakita16
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-namakita16' package and look for alternative packages that provide similar functionality without the associated risks. Always validate the integrity of packages before including them in your project.
Conclusion
The 'lookingan-namakita16' package poses a significant risk due to its malicious code that alters package configurations and repackages itself. It is crucial for developers to take immediate action to remove this package and to implement best practices for dependency management to safeguard their applications.
See every vulnerability recorded for lookingan-namakita16 →
FAQ
The vulnerability involves malicious code that modifies package.json files and republishes variants to pollute the npm registry.
You can use Vulert, which monitors and alerts for open-source vulnerabilities in real-time. Check your application using the Vulert playground at Vulert Scanner.
You should uninstall the package immediately using 'npm uninstall lookingan-namakita16' and review your dependencies for any other vulnerabilities.
Yes, the impacts include executing untrusted code, loss of control over package versions, and potential security breaches in applications relying on the affected package.
Regularly audit your dependencies, use tools like Vulert for monitoring, and ensure to only use packages from trusted sources.