Malicious Code Injection in suharta-poke27: A Threat to npm Ecosystem
Summary
MAL-2025-166154: Malicious code in suharta-poke27 (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-poke27 is an npm package that is part of a larger campaign aimed at manipulating the npm registry for token rewards. It is designed to generate and publish derivative packages with randomized names, which can inflate developer reputation scores. This behavior poses a significant risk to the integrity of the npm ecosystem.
Vulnerability Detail
The vulnerability in suharta-poke27 originates from its malicious code that modifies the package.json file. It removes private flags, alters version numbers, and generates random package names, leading to the continuous republishing of variants. This not only pollutes the npm registry but also compromises the security of applications relying on this package, potentially allowing for further exploitation.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall suharta-poke27
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-poke27 package and look for alternative packages that provide similar functionality without the associated risks. Always verify the integrity of packages before installation.
Conclusion
The suharta-poke27 package poses a significant threat to the npm ecosystem due to its malicious code that alters package metadata and repopulates the registry with harmful variants. Immediate action is required to remove this package and safeguard your applications from potential exploitation.
See every vulnerability recorded for suharta-poke27 →
FAQ
suharta-poke27 is an npm package involved in a malicious campaign that generates and publishes derivative packages to manipulate developer reputation scores.
The vulnerability can lead to the injection of malicious code into your application, compromising its security and potentially allowing for further exploitation.
You should uninstall the package immediately using 'npm uninstall suharta-poke27' and check your application for any signs of compromise.
There are no patches available for suharta-poke27 as it is recommended to remove the package entirely due to its malicious nature.
You can use tools like Vulert, which monitors your package-lock.json file to alert you in real-time for open-source vulnerabilities. You can check your application using the Vulert playground without any signup.