Malicious Code Injection in lookingan-konami23 Package - npm Vulnerability
Summary
MAL-2025-158282: Malicious code in lookingan-konami23 (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 lookingan-konami23 package is part of the npm ecosystem, which is widely used for JavaScript package management. This package is associated with the tea.xyz token reward campaign, which has been known to flood the npm registry with malicious packages. The primary function of this package is to facilitate token rewards, but it has been compromised to include harmful scripts that manipulate package metadata.
Vulnerability Detail
The vulnerability in the lookingan-konami23 package stems from malicious code that alters the package.json file. This code removes private flags, modifies version numbers, and generates random package names, leading to the continuous republishing of these variants. The origin of this vulnerability is linked to the tea.xyz token reward campaign, which aims to inflate developer reputation scores through automated scripts. The ramifications include potential pollution of the npm registry and risks to developers who might unknowingly use these compromised packages.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall lookingan-konami23
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-konami23 package and look for alternative packages that provide similar functionality without the associated risks. Additionally, you can monitor your project for any unauthorized changes to the package.json file.
Conclusion
The lookingan-konami23 package poses a significant security risk due to its malicious code that alters package metadata. It is crucial for developers to uninstall this package and monitor their projects for any unauthorized changes. Utilizing tools like Vulert can help maintain the security of your open-source projects.
See every vulnerability recorded for lookingan-konami23 →
FAQ
The lookingan-konami23 package is an npm package associated with the tea.xyz token reward campaign, which has been compromised to include malicious scripts.
This vulnerability can lead to unauthorized changes in your project's package.json file, potentially compromising your project's integrity and security.
If you have installed the lookingan-konami23 package, you should uninstall it immediately using the command npm uninstall lookingan-konami23.
Yes, you can use Vulert, which monitors and alerts in real-time for open-source vulnerabilities using just your package-lock.json file. You can check your application for vulnerabilities using the Vulert playground without any signup.
Regularly update your dependencies, monitor for vulnerabilities using tools like Vulert, and review your package.json file for any unauthorized changes.