Malicious Code Injection in suharta-poke17 Package
Summary
MAL-2025-166143: Malicious code in suharta-poke17 (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-poke17 package is part of the npm ecosystem, often used in JavaScript projects. It is associated with the tea.xyz token reward campaign, which has been linked to a series of malicious packages that flood the npm registry. These packages are designed to inflate developer reputation scores by automatically generating and publishing derivative packages with randomized names.
Vulnerability Detail
The vulnerability in the suharta-poke17 package originates from its malicious payload, which modifies the package.json file to remove private flags and alters version numbers. It generates random Indonesian-themed package names and continuously republishes variants, polluting the npm registry. This can lead to significant security risks, including the potential for unauthorized access to sensitive information and the compromise of other packages relying on this ecosystem.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall suharta-poke17
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 prevent the installation of the suharta-poke17 package by using npm's package-lock.json to monitor your dependencies. You can also use the following command to audit your packages: 'npm audit'. This will help identify any vulnerabilities in your current dependencies.
Conclusion
The suharta-poke17 package poses a significant security risk due to its malicious code that alters package configurations and pollutes the npm registry. It is crucial to remove this package from your projects and monitor your dependencies for vulnerabilities to maintain a secure development environment.
See every vulnerability recorded for suharta-poke17 →
FAQ
The suharta-poke17 package is an npm package associated with the tea.xyz token reward campaign, which has been identified as malicious.
The vulnerability can lead to unauthorized modifications of your package.json file and potential security risks due to the pollution of the npm registry.
You should uninstall the suharta-poke17 package immediately using 'npm uninstall suharta-poke17' and check for any affected dependencies.
Yes, you can use Vulert, which monitors and alerts in real-time for open-source vulnerabilities in your software using just package-lock.json. You can check your application for vulnerabilities using the Vulert playground without any signup.
Regularly audit your dependencies using 'npm audit' and consider using tools like Vulert to monitor for vulnerabilities in real-time.