Malicious Code Injection in andi-kolak62-remi Package: A Threat to npm Users
Summary
MAL-2025-99436: Malicious code in andi-kolak62-remi (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 andi-kolak62-remi package is part of the npm ecosystem and is associated with the tea.xyz token reward campaign. This package is designed to facilitate the automatic generation and publication of derivative packages, which can inflate developer reputation scores in exchange for token rewards. However, it has been identified as containing malicious code that compromises the integrity of the npm registry.
Vulnerability Detail
The vulnerability originates from the malicious payload embedded within the andi-kolak62-remi package. This payload modifies the package.json file by removing private flags, altering version numbers, and generating random package names, which can lead to the pollution of the npm registry. The continuous republishing of these variants can mislead developers and compromise the security of their applications, potentially allowing unauthorized access or manipulation of their code.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall andi-kolak62-remi
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 andi-kolak62-remi package and monitor your project for any dependencies that may indirectly include it. Use the following command to check your package-lock.json for any references to this package: 'grep andi-kolak62-remi package-lock.json'.
Conclusion
The andi-kolak62-remi package poses a significant threat to npm users due to its embedded malicious code. It is crucial to take immediate action by uninstalling the package and monitoring your project for any vulnerabilities. Utilizing tools like Vulert can help you stay informed about potential risks in your dependencies.
See every vulnerability recorded for andi-kolak62-remi →
FAQ
andi-kolak62-remi is an npm package that is part of a campaign to generate token rewards, but it has been identified as containing malicious code.
The malicious code modifies your package.json file and can lead to the pollution of the npm registry, potentially compromising your project's integrity.
You should uninstall the andi-kolak62-remi package immediately using 'npm uninstall andi-kolak62-remi' and check for any other affected dependencies.
You can use tools like Vulert, which monitors your package-lock.json for open-source vulnerabilities in real-time. You can check your application against known vulnerabilities using the Vulert playground without any signup.
There are no patches available for the andi-kolak62-remi package as it is advised to remove it entirely from your project.