Malicious Code Injection in suharta-poke86 Package - npm Vulnerability
Summary
MAL-2025-166219: Malicious code in suharta-poke86 (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-poke86 package is part of the npm ecosystem, which is widely used for JavaScript package management. This package, like many others in the npm registry, is intended to facilitate the development and distribution of JavaScript applications. However, it has been identified as part of a malicious campaign that aims to exploit the npm registry by flooding it with derivative packages that serve no legitimate purpose.
Vulnerability Detail
The vulnerability in the suharta-poke86 package originates from its association with the tea.xyz token reward campaign, which has been linked to the distribution of malicious packages on npm. The malicious code embedded in this package modifies the package.json file to remove private flags, alters version numbers, and generates random package names. This behavior leads to the automatic generation and republishing of numerous variants, ultimately polluting the npm registry and potentially compromising the integrity of projects that depend on this package.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall suharta-poke86
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-poke86 package and replace it with an alternative package that serves the same purpose but is verified to be safe. Always check the package's reputation and reviews before integrating it into your project.
Conclusion
The suharta-poke86 package poses a significant risk due to its malicious code designed to manipulate the npm registry. It is crucial for developers to remove this package from their projects and utilize tools like Vulert to monitor for vulnerabilities in real-time. By staying vigilant and updating dependencies regularly, developers can protect their applications from similar threats.
See every vulnerability recorded for suharta-poke86 →
FAQ
The suharta-poke86 package is an npm package that has been identified as part of a malicious campaign aimed at manipulating the npm registry.
The malicious code can compromise the integrity of your project by modifying package configurations and flooding the npm registry with unwanted packages.
If you have installed the suharta-poke86 package, you should uninstall it immediately using the command npm uninstall suharta-poke86.
You can use tools like Vulert, which monitors your package-lock.json file for open-source vulnerabilities in real-time without requiring code access or installation.
Yes, you can use the Vulert playground at Vulert Scanner to check if your application is affected by this vulnerability without any signup.