Malicious Code Injection in suharta-poke34: A Threat to npm Users
Summary
MAL-2025-166162: Malicious code in suharta-poke34 (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
suharta-poke34 is an npm package that has been identified as part of a malicious campaign targeting the npm registry. This package, like others in the campaign, is designed to manipulate package metadata and inflate developer reputation scores through automated scripts. Its primary function is to serve as a token reward mechanism, but it has been compromised to perform harmful actions.
Vulnerability Detail
The vulnerability in suharta-poke34 originates from its inclusion in a malicious package campaign that floods the npm registry with derivative packages. The malicious code modifies the package.json file by removing private flags, altering version numbers, and generating random package names. This behavior leads to the pollution of the npm registry and can potentially compromise the integrity of other packages and applications that rely on npm.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall suharta-poke34
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 workaround, you can temporarily avoid using the suharta-poke34 package by removing it from your dependencies. You can do this by executing the following command: npm uninstall suharta-poke34. Additionally, consider using Vulert to monitor your project for vulnerabilities.
Conclusion
The suharta-poke34 package poses a significant risk due to its malicious code that manipulates package metadata. It is crucial for developers to remove this package from their projects and utilize tools like Vulert to monitor for vulnerabilities. Staying informed and proactive can help mitigate risks associated with open-source dependencies.
See every vulnerability recorded for suharta-poke34 →
FAQ
suharta-poke34 is an npm package that has been identified as part of a malicious campaign to manipulate the npm registry.
The malicious code modifies package metadata, which can lead to the pollution of the npm registry and compromise the integrity of other packages.
You can use Vulert's playground at Vulert Scanner to check if your application is affected by this vulnerability without any signup.
You should uninstall the package immediately and monitor your project for any further vulnerabilities.
Regularly monitor your dependencies using tools like Vulert and keep your packages updated to the latest secure versions.