Malicious Code Injection in suharta-poke62: A Threat to npm Ecosystem
Summary
MAL-2025-166193: Malicious code in suharta-poke62 (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
suharta-poke62 is an npm package that is part of a larger campaign aimed at manipulating the npm registry for token rewards. This package, like others in the campaign, is designed to inflate developer reputation scores by automatically generating and publishing derivative packages with randomized names. The malicious nature of this package poses significant risks to developers and the integrity of the npm ecosystem.
Vulnerability Detail
The vulnerability in suharta-poke62 originates from its association with the tea.xyz token reward campaign. It contains scripts that modify the package.json file to remove private flags and change version numbers, allowing it to continuously republish variants with random names. This behavior not only pollutes the npm registry but also compromises the security of projects that depend on this package, potentially leading to further exploitation.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall suharta-poke62
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 suharta-poke62 package and look for alternative packages that provide similar functionality without the associated risks. Additionally, you can monitor your dependencies using tools like Vulert to stay informed about vulnerabilities.
Conclusion
The suharta-poke62 package presents a significant security risk due to its malicious code designed to manipulate the npm registry. Developers are advised to remove this package and monitor their dependencies for vulnerabilities. Utilizing tools like Vulert can help maintain the security of your projects.
See every vulnerability recorded for suharta-poke62 →
FAQ
suharta-poke62 is an npm package involved in a malicious campaign that aims to inflate developer reputation scores through automated publishing of derivative packages.
This vulnerability can lead to the pollution of the npm registry and may compromise the security of your project if it relies on the affected package.
You should remove the suharta-poke62 package from your project and monitor for any updates or patches that may address the vulnerability.
Yes, you can use Vulert's playground at Vulert Scanner to check if your application is affected by this vulnerability without requiring any signup.
Vulert is a tool that monitors and alerts in real-time for open-source vulnerabilities in your software using just the package-lock.json file.