Malicious Code in suharta-poke84: Exploiting npm for Token Rewards
Summary
MAL-2025-166217: Malicious code in suharta-poke84 (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-poke84 is part of a broader campaign that exploits the npm ecosystem, specifically targeting developers involved in the tea.xyz token reward program. This package is designed to generate and publish derivative packages automatically, which can inflate developer reputation scores in exchange for token rewards. Its functionality is compromised by malicious scripts that manipulate package metadata.
Vulnerability Detail
The vulnerability in suharta-poke84 originates from its inclusion in a malicious campaign that floods the npm registry with derivative packages. These packages contain scripts that modify the package.json file, removing private flags and changing version numbers. The scripts generate random package names, often themed around Indonesian culture, and continuously republish these variants, polluting the npm registry. This not only affects the integrity of the npm ecosystem but also poses risks to developers who may unknowingly use these compromised packages.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall suharta-poke84
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-poke84 package and any other packages that may be part of the malicious campaign. Additionally, consider using tools like Vulert to monitor your package-lock.json for vulnerabilities. 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-poke84 package poses a significant risk due to its malicious code designed to exploit the npm ecosystem for token rewards. It is crucial for developers to remove this package and monitor their projects for vulnerabilities to maintain the integrity of their applications.
See every vulnerability recorded for suharta-poke84 →
FAQ
suharta-poke84 is an npm package that is part of a malicious campaign aimed at exploiting the npm ecosystem for token rewards.
The vulnerability can lead to the inclusion of malicious code in your project, compromising its integrity and potentially exposing it to further attacks.
You should immediately remove the suharta-poke84 package from your project and monitor for any updates or patches.
You can use tools like Vulert, which monitors your package-lock.json for 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.