Malicious Code Injection in lookingan-konami12: A Threat to npm Packages
Summary
MAL-2025-158270: Malicious code in lookingan-konami12 (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-konami12' is part of the npm ecosystem, which is widely used for JavaScript package management. This package is associated with a token reward campaign that has been flooding the npm registry with malicious packages. Its primary function is to generate and publish derivative packages automatically, which can inflate developer reputation scores for token rewards. However, this functionality has been exploited to introduce malicious code that compromises the integrity of the npm registry.
Vulnerability Detail
The vulnerability in 'lookingan-konami12' originates from its association with the tea.xyz token reward campaign. The package contains scripts designed to modify the package.json file by removing private flags, changing version numbers, and generating random package names. This malicious behavior leads to the continuous republishing of variants, polluting the npm registry and potentially affecting other packages and developers. The ramifications include loss of trust in the npm ecosystem, potential data breaches, and the risk of further exploitation by other malicious actors.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall lookingan-konami12
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-konami12' package and monitor your project for any dependencies that may have been affected by this malicious package. Regularly check your package-lock.json file for any unauthorized changes.
Conclusion
The 'lookingan-konami12' package poses a significant threat to the npm ecosystem due to its malicious code that modifies package configurations and repopulates the registry with harmful variants. It is essential for developers to be vigilant, remove affected packages, and utilize monitoring tools like Vulert to safeguard their projects.
See every vulnerability recorded for lookingan-konami12 →
FAQ
'lookingan-konami12' is an npm package that has been identified as malicious, associated with a token reward campaign that floods the npm registry.
The vulnerability can lead to unauthorized modifications in your package.json file, potentially compromising your project's integrity and security.
You should uninstall the package immediately using 'npm uninstall lookingan-konami12' and review your project for any other affected dependencies.
You can use tools like Vulert, which monitors your package-lock.json for open-source vulnerabilities in real-time without requiring code access or installation.
Yes, you can use the Vulert playground at Vulert Scanner to check if your application is affected by this vulnerability without any signup.