Malicious Code Injection in lookingan-konami86 Package - npm Vulnerability
Summary
MAL-2025-158351: Malicious code in lookingan-konami86 (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-konami86 package is part of the npm ecosystem and is associated with the tea.xyz token reward campaign. This package is designed to facilitate certain functionalities within the npm registry but has been compromised to include malicious code. The vulnerability stems from the package's ability to generate and publish derivative packages, which can lead to reputation inflation and registry pollution.
Vulnerability Detail
The vulnerability in the lookingan-konami86 package is characterized by the presence of malicious code that modifies the package.json file. This code removes private flags, alters version numbers, and generates random package names, primarily themed around Indonesian culture. The malicious payload continuously republishes these variants, thereby polluting the npm registry and potentially compromising the integrity of other packages. This vulnerability originates from the package being part of a broader campaign to exploit npm for token rewards, leading to significant ramifications for developers relying on the integrity of the npm ecosystem.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall lookingan-konami86
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 remove the lookingan-konami86 package from your project by executing the following command: npm uninstall lookingan-konami86. This will prevent any malicious code from executing until a fix is applied.
Conclusion
The lookingan-konami86 package has been identified as containing malicious code that poses a significant risk to developers using npm. It is crucial to take immediate action by updating or uninstalling the package to safeguard your projects. Utilizing tools like Vulert can help monitor for such vulnerabilities in real-time.
See every vulnerability recorded for lookingan-konami86 →
FAQ
The lookingan-konami86 package is an npm package that has been compromised to include malicious code, primarily associated with the tea.xyz token reward campaign.
The malicious code modifies your package.json file, removes private flags, and generates random package names, which can lead to registry pollution and compromise the integrity of your project.
You can use Vulert, which monitors and alerts for open-source vulnerabilities in your software. By utilizing the Vulert playground, you can check if your application is affected without requiring any installation.
If you cannot update the package right away, it is advisable to uninstall the lookingan-konami86 package to prevent any malicious code from executing in your project.
Detailed information about this vulnerability can be found in the Open Source Vulnerability database and through security advisories related to npm packages.