Malicious Code Injection in suharta-poke3 Package - npm Vulnerability
Summary
MAL-2025-166157: Malicious code in suharta-poke3 (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 suharta-poke3 package is part of the npm ecosystem, which is widely used for JavaScript package management. This package, like many others, is intended to facilitate the development of applications by providing reusable code. However, it has been identified as part of a malicious campaign that floods the npm registry with packages designed to manipulate developer reputation scores through automated publishing scripts.
Vulnerability Detail
The vulnerability in the suharta-poke3 package stems from its involvement in a malicious campaign that modifies the package.json file to remove private flags and change version numbers. It generates random package names, often themed around Indonesian culture, and continuously republishes these variants to pollute the npm registry. This behavior can lead to significant security risks, including the potential for dependency confusion and the introduction of malicious code into legitimate projects.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall suharta-poke3
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-poke3 package and any other packages that are part of the malicious campaign. Instead, consider using alternative packages that provide similar functionality without the associated risks.
Conclusion
The suharta-poke3 package poses a significant security risk due to its malicious behavior of modifying package files and republishing variants. It is crucial to remove this package from your projects and monitor your dependencies for vulnerabilities. Utilizing tools like Vulert can help you stay informed about potential threats in your software.
See every vulnerability recorded for suharta-poke3 →
FAQ
The suharta-poke3 package is an npm package that has been identified as part of a malicious campaign to manipulate developer reputation scores.
This vulnerability can introduce malicious code into your project, potentially leading to security breaches and dependency confusion.
You can use Vulert, which monitors and alerts for open-source vulnerabilities in your software. Visit Vulert Scanner to check your application without any signup.
If you have installed the suharta-poke3 package, you should uninstall it immediately using 'npm uninstall suharta-poke3' and review your other dependencies for similar vulnerabilities.
Yes, consider using well-known and actively maintained packages that provide similar functionality without the associated risks of malicious behavior.