Malicious Code Injection in suharta-poke54: A Threat to npm Users
Summary
MAL-2025-166184: Malicious code in suharta-poke54 (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-poke54 is part of a larger set of npm packages that emerged during 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 security risks to developers who may inadvertently use these compromised packages.
Vulnerability Detail
The vulnerability in suharta-poke54 originates from its malicious code, which modifies the package.json file to remove private flags and alters version numbers. It generates random package names, primarily themed around Indonesian culture, and continuously republishes these variants to pollute the npm registry. This behavior can lead to the unintentional use of compromised packages, potentially exposing applications to further vulnerabilities and security risks.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall suharta-poke54
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, avoid using the suharta-poke54 package and any other packages associated with the tea.xyz token reward campaign. Regularly audit your npm packages to identify and remove any potentially malicious packages.
Conclusion
The suharta-poke54 package poses a significant security risk due to its malicious code designed to manipulate package metadata and proliferate compromised versions. It is essential to remove this package from your projects and utilize tools like Vulert to monitor for vulnerabilities in your dependencies.
See every vulnerability recorded for suharta-poke54 →
FAQ
suharta-poke54 is an npm package that is part of a malicious campaign aimed at inflating developer reputation scores through the automatic generation of derivative packages.
The vulnerability can lead to the inclusion of compromised packages in your application, which may introduce security risks and instability.
You can use Vulert, a tool that monitors and alerts for open-source vulnerabilities in your software. Simply upload your package-lock.json file to the Vulert playground at Vulert Scanner to check for vulnerabilities.
If vulnerabilities are found, remove the affected packages and replace them with trusted alternatives. Regularly update your dependencies to ensure you have the latest security patches.
To prevent future vulnerabilities, regularly audit your dependencies, use tools like Vulert for monitoring, and only install packages from trusted sources.