Malicious Code Injection in suharta-poke64 Package: npm Vulnerability Alert
Summary
MAL-2025-166195: Malicious code in suharta-poke64 (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 suharta-poke64 package is part of the npm ecosystem, primarily used for JavaScript development. It is associated with the tea.xyz token reward campaign, which has been known to flood the npm registry with malicious packages. These packages often contain scripts that manipulate package metadata and publish derivative packages to inflate developer reputation scores.
Vulnerability Detail
The vulnerability in the suharta-poke64 package stems from its association with a malicious campaign that modifies the package.json file to remove private flags, alters version numbers, and generates random package names. This behavior leads to the continuous republishing of variants, polluting the npm registry and potentially compromising the integrity of projects that depend on this package. The malicious payload can affect developers by inflating their reputation scores through deceptive practices.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall suharta-poke64
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 workaround, consider removing the suharta-poke64 package from your project if it is not essential. You can uninstall it using the command: npm uninstall suharta-poke64. Additionally, monitor your package-lock.json file for any unexpected changes that may indicate malicious activity.
Conclusion
The suharta-poke64 package poses a significant risk due to its malicious code that alters package metadata and republishing behavior. It is crucial to update or remove this package to safeguard your projects from potential threats. Utilizing tools like Vulert can help you monitor your dependencies for vulnerabilities effectively.
See every vulnerability recorded for suharta-poke64 →
FAQ
suharta-poke64 is an npm package that is part of a malicious campaign aimed at inflating developer reputation scores through deceptive practices.
You can use Vulert, a tool that monitors and alerts for open-source vulnerabilities in your software. By checking your package-lock.json file, Vulert can identify if your application is affected by this vulnerability.
If you cannot update the package, consider removing it from your project and replacing it with a secure alternative. Additionally, keep an eye on your project's dependencies for any signs of malicious activity.
The malicious code can lead to the pollution of the npm registry, potentially compromising the integrity of your project and affecting its reputation.
Yes, you can use Vulert's playground at Vulert Scanner to check if your application is affected by this vulnerability without needing to sign up.