Malicious Code Injection in lookingan-konami21: A Threat to npm Users
Summary
MAL-2025-158280: Malicious code in lookingan-konami21 (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-konami21' is part of the npm ecosystem, which is widely used for JavaScript package management. It is designed to facilitate the sharing and reuse of code among developers. However, this package has been identified as part of a malicious campaign that aims to exploit npm's publishing capabilities, leading to potential security risks for users who inadvertently install it.
Vulnerability Detail
The vulnerability in 'lookingan-konami21' stems from its association with the tea.xyz token reward campaign, which has been flooding the npm registry with malicious packages. These packages contain scripts that automatically modify the package.json file to remove private flags, change version numbers, and generate random package names. This behavior not only inflates developer reputation scores but also leads to the continuous republishing of variants, polluting the npm registry and potentially compromising the integrity of other packages.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall lookingan-konami21
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, you can avoid using the 'lookingan-konami21' package and any other packages that may be associated with the tea.xyz campaign. Regularly audit your dependencies using 'npm audit' to identify and address any vulnerabilities.
Conclusion
The 'lookingan-konami21' package poses a significant security risk due to its malicious code designed to manipulate npm's publishing system. It is crucial for developers to be vigilant, regularly audit their dependencies, and utilize tools like Vulert to safeguard their applications from such vulnerabilities.
See every vulnerability recorded for lookingan-konami21 →
FAQ
The main issue is that it contains malicious code that modifies package.json files and repopulates the npm registry with harmful variants.
You can use Vulert, which monitors and alerts for open-source vulnerabilities in your software. Visit the Vulert playground at Vulert Scanner to check your application without any signup.
You should uninstall the package immediately using 'npm uninstall lookingan-konami21' and audit your project for any other vulnerabilities.
Yes, the impacts include potential exposure to malicious code, compromised project integrity, and pollution of the npm registry, which can affect other developers.
Regularly audit your dependencies, stay updated on security advisories, and utilize tools like Vulert to monitor for vulnerabilities in real-time.