Malicious Code Injection in lookingan-konami42: A Threat to npm Users
Summary
MAL-2025-158303: Malicious code in lookingan-konami42 (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-konami42' is part of the npm ecosystem and is associated with the tea.xyz token reward campaign. This package is designed to generate and publish derivative packages with randomized names, aiming to inflate developer reputation scores for token rewards. Its functionality is compromised by malicious scripts that alter package metadata.
Vulnerability Detail
The vulnerability in 'lookingan-konami42' originates from its association with a malicious campaign that floods the npm registry with derivative packages. 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 compromised developer reputations and potential security risks for users who inadvertently install these malicious packages.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall lookingan-konami42
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, avoid using the 'lookingan-konami42' package and monitor your dependencies for any malicious activity. You can also use tools like Vulert to scan your package-lock.json for vulnerabilities. For example, run the following command after installing Vulert: 'vulert scan package-lock.json'.
Conclusion
The 'lookingan-konami42' package poses a significant risk due to its malicious code designed to manipulate npm registry entries. Users are advised to uninstall the package and utilize tools like Vulert for ongoing monitoring of their dependencies to safeguard against similar vulnerabilities.
See every vulnerability recorded for lookingan-konami42 →
FAQ
It is an npm package associated with a token reward campaign that generates and publishes derivative packages.
The vulnerability can lead to the installation of malicious packages, compromising your project's integrity and security.
You should uninstall the package immediately and monitor your project for any unusual behavior.
Yes, regularly audit your dependencies using tools like Vulert and stay updated on known vulnerabilities.
Vulert monitors your package-lock.json for open-source vulnerabilities in real-time, alerting you to any issues without requiring code access.