Malicious Code Injection in lookingan-konami5: A Threat to npm Users
Summary
MAL-2025-158311: Malicious code in lookingan-konami5 (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-konami5' is part of the npm ecosystem, which is widely used for JavaScript package management. This package has been identified as part of a malicious campaign that aims to exploit npm's publishing capabilities. It is designed to inflate developer reputation scores through the automatic generation and publication of derivative packages with randomized names, which can lead to significant pollution of the npm registry.
Vulnerability Detail
The vulnerability in 'lookingan-konami5' originates from its involvement in the tea.xyz token reward campaign. This package contains scripts that modify the package.json file by removing private flags, altering version numbers, and generating random package names. The continuous republishing of these variants can lead to a polluted npm registry, making it difficult for developers to find legitimate packages and potentially introducing security risks into their applications.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall lookingan-konami5
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-konami5' package and look for alternative packages that provide similar functionality without the associated risks. Additionally, you can monitor your dependencies using tools like Vulert, which can alert you to open-source vulnerabilities in your software.
Conclusion
The 'lookingan-konami5' package poses a significant threat to npm users due to its malicious code that alters package configurations and floods the registry. It is crucial for developers to remove this package and monitor their dependencies for vulnerabilities using tools like Vulert to ensure the security of their applications.
See every vulnerability recorded for lookingan-konami5 →
FAQ
The main issue is that it contains malicious code that modifies package.json files and floods the npm registry with derivative packages, which can lead to security risks.
You can use tools like Vulert to check your package-lock.json file for vulnerabilities, including the lookingan-konami5 package.
You should remove the package from your project immediately and monitor for any updates or patches from the maintainers.
Yes, you should look for other npm packages that provide similar functionality without the associated risks of malicious code.
Vulert monitors your package-lock.json file for vulnerabilities in real-time and alerts you to any issues, helping you maintain a secure application.