Malicious Code Injection in lookingan-konami41: A Threat to npm Ecosystem
Summary
MAL-2025-158302: Malicious code in lookingan-konami41 (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-konami41' is part of a series of malicious npm packages that emerged during 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. The malicious nature of this package lies in its ability to modify critical files and republish variants, thereby polluting the npm registry and potentially compromising other projects that depend on it.
Vulnerability Detail
The vulnerability in 'lookingan-konami41' originates from its inclusion in a campaign that floods the npm registry with malicious packages. It modifies the package.json file to remove private flags, alters version numbers, and generates random package names, which can lead to the proliferation of untrusted code. This poses significant risks, including the potential for code injection, dependency confusion, and the compromise of projects relying on these packages. The malicious payload can also lead to reputational damage for developers and organizations using affected packages.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall lookingan-konami41
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-konami41' package and replace it with a trusted alternative. Additionally, consider using tools like Vulert to monitor your project for vulnerabilities. You can check if your application is affected by this vulnerability using the Vulert playground at https://vulert.com/scanner without any signup.
Conclusion
The 'lookingan-konami41' package poses a significant threat to the npm ecosystem due to its malicious code injection capabilities. It is crucial for developers to remain vigilant, regularly audit their dependencies, and utilize tools like Vulert to ensure their projects are secure from such vulnerabilities.
See every vulnerability recorded for lookingan-konami41 →
FAQ
It is a malicious npm package that is part of a campaign to inflate developer reputation scores by flooding the npm registry with untrusted packages.
The vulnerability can lead to the injection of malicious code, dependency confusion, and the potential compromise of your project's integrity.
You should uninstall the 'lookingan-konami41' package immediately and audit your project's dependencies for any other malicious packages.
Yes, you can use Vulert to monitor your project in real-time for open-source vulnerabilities without needing to access the code or installation.
You can use the Vulert playground at Vulert Scanner to check if your application is affected by this vulnerability without any signup.