Malicious Code Injection in suharta-poke73: A Threat to npm Ecosystem
Summary
MAL-2025-166205: Malicious code in suharta-poke73 (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-poke73 is part of the npm ecosystem, which is widely used for JavaScript package management. It is associated with the tea.xyz token reward campaign that has been known to flood npm with malicious packages. These packages are designed to inflate developer reputation scores through automated scripts that publish numerous derivative packages with altered names and metadata.
Vulnerability Detail
The vulnerability in suharta-poke73 stems from its malicious code that modifies the package.json file by removing private flags and changing version numbers. It generates random package names, primarily themed around Indonesian culture, and continuously republishes these variants to pollute the npm registry. This not only compromises the integrity of the npm ecosystem but also poses risks to developers who may unknowingly use these packages, potentially leading to security breaches in their applications.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall suharta-poke73
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-poke73 package and monitor your project for any dependencies that may inadvertently include it. Regularly audit your package-lock.json file for any suspicious packages.
Conclusion
The suharta-poke73 package poses a significant threat to the npm ecosystem due to its malicious code that alters package metadata and floods the registry with unwanted variants. It is crucial for developers to be vigilant, regularly audit their dependencies, and utilize tools like Vulert to safeguard their projects.
See every vulnerability recorded for suharta-poke73 →
FAQ
suharta-poke73 is an npm package that has been identified as malicious, part of a campaign to inflate developer reputation scores through automated publishing.
The malicious code modifies your package.json file, potentially leading to security vulnerabilities and the inclusion of unwanted packages in your project.
You should uninstall the package immediately using 'npm uninstall suharta-poke73' and audit your project for any other malicious dependencies.
Regularly update your dependencies, use trusted packages, and utilize tools like Vulert to monitor your project for open-source vulnerabilities.
Vulert is a tool that monitors and alerts for open-source vulnerabilities in your software using just the package-lock.json file. You can check for vulnerabilities in your application without any signup using the Vulert playground.