Malicious Code Injection in suharta-poke26: A Threat to npm Users
Summary
MAL-2025-166153: Malicious code in suharta-poke26 (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-poke26 is part of a series of npm packages associated with the tea.xyz token reward campaign. These packages are designed to inflate developer reputation scores by automatically generating and publishing derivative packages with randomized names. This behavior not only clutters the npm registry but also poses a significant security risk to users who may unknowingly install these malicious packages.
Vulnerability Detail
The vulnerability in suharta-poke26 originates from its malicious code, which modifies the package.json file to remove private flags, alters version numbers, and generates random package names. This allows the package to continuously republish variants, polluting the npm registry and potentially leading to the installation of compromised packages by unsuspecting developers. The malicious payload is designed to exploit the npm ecosystem and can have serious ramifications for software integrity and security.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall suharta-poke26
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 monitor your package dependencies using tools like Vulert. Vulert allows you to check for vulnerabilities in your package-lock.json file without requiring access to the code or installation. You can use the Vulert playground at https://vulert.com/scanner to see if your application is affected by this vulnerability.
Conclusion
The suharta-poke26 package poses a significant security risk due to its malicious code designed to manipulate npm package management. Users are advised to uninstall the package and monitor their dependencies for vulnerabilities using tools like Vulert to ensure the integrity of their projects.
See every vulnerability recorded for suharta-poke26 →
FAQ
suharta-poke26 is an npm package that is part of a malicious campaign aimed at inflating developer reputation scores through the automatic generation and publishing of derivative packages.
The vulnerability can lead to the installation of compromised packages, which may contain malicious code that can affect the integrity and security of your project.
You should uninstall the package immediately using the command npm uninstall suharta-poke26 to mitigate any risks associated with it.
You can use tools like Vulert to monitor your package-lock.json file for vulnerabilities in real-time without needing to access the code or installation.
No, it is recommended to remove the suharta-poke26 package entirely as there is no safe version available.