Malicious Code Injection in suharta-poke68: A Threat to npm Users
Summary
MAL-2025-166199: Malicious code in suharta-poke68 (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-poke68 is an npm package that has been identified as part of a malicious campaign targeting the npm registry. This package is associated with the tea.xyz token reward initiative, which has been known to flood the npm ecosystem with harmful packages. The primary function of suharta-poke68 is to generate and publish derivative packages with randomized names, aimed at inflating developer reputation scores for token rewards. This behavior poses significant risks to developers and users relying on npm packages.
Vulnerability Detail
The vulnerability in suharta-poke68 stems from its malicious code 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 other packages. The origin of this vulnerability is linked to the tea.xyz token reward campaign, which exploits npm's publishing mechanisms to distribute harmful packages.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall suharta-poke68
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-poke68 package and monitor your project for any unintended dependencies that may have been introduced. Use the following command to check for outdated packages: 'npm outdated'.
Conclusion
The suharta-poke68 package poses a significant threat to npm users due to its malicious behavior of modifying package files and republishing harmful variants. It is crucial to uninstall this package and monitor your dependencies for vulnerabilities. Utilizing tools like Vulert can help maintain the security of your projects.
See every vulnerability recorded for suharta-poke68 →
FAQ
suharta-poke68 is an npm package involved in a malicious campaign that generates and publishes harmful derivative packages.
The vulnerability can lead to the pollution of the npm registry, potentially compromising the integrity of your project and other dependencies.
You should uninstall the package immediately using 'npm uninstall suharta-poke68' and check your project for any other vulnerabilities.
You can use Vulert, which monitors and alerts in real-time for open-source vulnerabilities by analyzing your package-lock.json file. You can also check your application for vulnerabilities using the Vulert playground without signing up.
There is no patch available for suharta-poke68 as it is a malicious package. The best course of action is to remove it from your project.