Malicious Code Injection in suharta-poke69: A Threat to npm Ecosystem
Summary
MAL-2025-166200: Malicious code in suharta-poke69 (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-poke69 is part of a broader campaign targeting the npm ecosystem, particularly linked to the tea.xyz token reward initiative. This package is designed to manipulate npm's publishing system, generating numerous derivative packages with the intent of inflating developer reputation scores. Its functionality revolves around creating and publishing these packages automatically, which poses significant risks to the integrity of the npm registry.
Vulnerability Detail
The vulnerability in suharta-poke69 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 these variants, effectively polluting the npm registry and potentially compromising the security and reliability of other packages. The origin of this vulnerability is linked to a campaign that exploits npm's publishing mechanisms for token rewards, making it a significant concern for developers relying on the npm ecosystem.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall suharta-poke69
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, avoid using the suharta-poke69 package and consider using alternative packages that provide similar functionality without the associated risks. Additionally, you can utilize tools like Vulert to monitor your package-lock.json for vulnerabilities in real-time.
Conclusion
The suharta-poke69 package poses a significant threat to the npm ecosystem due to its malicious code that manipulates package metadata and floods the registry with derivative packages. It is essential for developers to be vigilant, remove affected packages, and utilize tools like Vulert to monitor for vulnerabilities.
See every vulnerability recorded for suharta-poke69 →
FAQ
suharta-poke69 is an npm package that is part of a malicious campaign aimed at manipulating the npm registry for token rewards.
The vulnerability can lead to the pollution of the npm registry, potentially compromising the integrity of other packages and affecting your project's security.
You should uninstall the suharta-poke69 package immediately using the command npm uninstall suharta-poke69 and check for any other affected packages.
Yes, regularly update your dependencies, monitor your package-lock.json with tools like Vulert, and be cautious when adding new packages to your project.
Vulert is a tool that monitors your package-lock.json for open-source vulnerabilities in real-time, alerting you to any issues without requiring code access or installation.