Malicious Code Injection in suharta-poke38: A Threat to npm Ecosystem
Summary
MAL-2025-166166: Malicious code in suharta-poke38 (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 package suharta-poke38 is part of the npm ecosystem and is associated with the tea.xyz token reward campaign. This campaign has been known to flood the npm registry with packages that contain malicious scripts. These scripts are designed to manipulate package metadata and inflate developer reputation scores through the automatic generation and publication of derivative packages.
Vulnerability Detail
The vulnerability in suharta-poke38 stems from its inclusion in a series of malicious packages that modify the package.json file to remove private flags, alter version numbers, and generate random package names. This behavior leads to the pollution of the npm registry and can compromise the integrity of applications relying on these packages. The malicious payload is executed through autopublish scripts that continuously republish variants, making it difficult to track and mitigate the issue.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall suharta-poke38
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 measure, you can avoid using the suharta-poke38 package and replace it with a trusted alternative. Always verify the integrity and source of packages before including them in your project.
Conclusion
The suharta-poke38 package poses a significant risk to the npm ecosystem due to its malicious behavior aimed at manipulating package metadata. It is crucial for developers to be vigilant, regularly update their dependencies, and utilize tools like Vulert to monitor for vulnerabilities in their projects.
See every vulnerability recorded for suharta-poke38 →
FAQ
suharta-poke38 is a package in the npm ecosystem that is part of a malicious campaign aimed at inflating developer reputation scores through automated package publishing.
The vulnerability can lead to the pollution of the npm registry, potentially compromising the integrity of your application by introducing untrusted code.
You should uninstall the package immediately using the command 'npm uninstall suharta-poke38' and check your project for any other affected packages.
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.