Malicious Code Injection in suharta-poke97: A Threat to npm Ecosystem
Summary
MAL-2025-166231: Malicious code in suharta-poke97 (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-poke97 is part of the npm ecosystem, which is widely used for JavaScript package management. It is associated with the tea.xyz token reward campaign, which has been linked to a series of malicious packages designed to inflate developer reputation scores. These packages often contain scripts that automatically publish derivative versions with altered metadata, posing a significant risk to developers and users relying on npm for secure package management.
Vulnerability Detail
The vulnerability in suharta-poke97 originates from its involvement in a malicious campaign that modifies the package.json file to remove private flags, changes 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 applications that depend on these packages. The malicious payload can result in unauthorized access to sensitive data and can disrupt the normal functioning of applications using affected packages.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall suharta-poke97
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, consider using alternative packages that provide similar functionality without the associated risks. Additionally, you can monitor your package dependencies using tools like Vulert, which can alert you to vulnerabilities in real-time. You can check if your application is affected by this vulnerability using the Vulert playground at https://vulert.com/scanner without any signup.
Conclusion
The suharta-poke97 package poses a significant risk due to its malicious behavior aimed at manipulating the npm ecosystem. It is essential for developers to be vigilant, regularly monitor their dependencies, and take immediate action to mitigate any risks associated with this vulnerability.
See every vulnerability recorded for suharta-poke97 →
FAQ
suharta-poke97 is an npm package that is part of a malicious campaign aimed at inflating developer reputation scores through automated publishing of derivative packages.
The vulnerability can lead to unauthorized modifications in your application's dependencies, potentially compromising security and functionality.
You should uninstall the package immediately using npm uninstall suharta-poke97 and check for any updates to your other dependencies.
Yes, tools like Vulert can monitor your package-lock.json for vulnerabilities and alert you in real-time.
Yes, you can use the Vulert playground at Vulert Scanner to check if your application is affected by vulnerabilities without any signup.