Malicious Code Injection in suharta-poke76: A Threat to npm Ecosystem
Summary
MAL-2025-166208: Malicious code in suharta-poke76 (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-poke76 is part of the npm ecosystem, which is widely used for JavaScript package management. This package 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 designed to manipulate the npm registry and inflate developer reputation scores through automated publishing of derivative packages.
Vulnerability Detail
The vulnerability in suharta-poke76 arises from its inclusion in a malicious campaign that modifies the package.json file to remove private flags and changes version numbers. It generates random package names, primarily themed around Indonesian culture, and continuously republishes these variants to pollute the npm registry. This behavior can lead to security risks, including the potential for dependency confusion and the spread of malicious code within the npm ecosystem.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall suharta-poke76
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-poke76 package and any other packages associated with the tea.xyz token reward campaign. Monitor your package-lock.json file for any unauthorized changes or additions.
Conclusion
The suharta-poke76 package poses a significant threat to the npm ecosystem due to its malicious behavior aimed at manipulating the registry. It is essential to remove this package and monitor your dependencies to maintain the security of your applications.
See every vulnerability recorded for suharta-poke76 →
FAQ
suharta-poke76 is an npm package that has been identified as part of a malicious campaign to inflate developer reputation scores through automated publishing.
This vulnerability can lead to the introduction of malicious code into your application, potentially compromising its security and integrity.
You should uninstall the package immediately using 'npm uninstall suharta-poke76' and review your dependencies for any other malicious packages.
You can use tools like Vulert, which monitors your package-lock.json file for open-source vulnerabilities in real-time. You can check your application against known vulnerabilities using the Vulert playground without any signup.
Yes, tools like Vulert can help you monitor and alert you for open-source vulnerabilities in your software, ensuring you stay informed about potential risks.