Malicious Code Injection in suharta-poke91: A Threat to npm Ecosystem
Summary
MAL-2025-166225: Malicious code in suharta-poke91 (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-poke91 is part of the npm ecosystem, which is widely used for JavaScript package management. This package is associated with the tea.xyz token reward campaign, which has been linked to a series of malicious activities aimed at inflating developer reputation scores. The package is designed to automatically generate and publish derivative packages, making it a potential threat to developers and users relying on npm for secure package management.
Vulnerability Detail
The vulnerability in suharta-poke91 stems from its malicious code, which modifies the package.json file to remove private flags and alters version numbers. It generates random package names, often themed around Indonesian culture, and continuously republishes these variants to pollute the npm registry. This behavior not only compromises the integrity of the npm ecosystem but also poses risks to developers who may unknowingly use these compromised packages.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall suharta-poke91
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 manually remove the suharta-poke91 package from your project by running the following command: npm uninstall suharta-poke91. Additionally, consider using tools like Vulert to monitor your package-lock.json for vulnerabilities in real-time.
Conclusion
The suharta-poke91 package poses a significant risk to the npm ecosystem due to its malicious code designed to manipulate package integrity. It is crucial for developers to be vigilant and remove any affected packages while utilizing tools like Vulert for ongoing monitoring of vulnerabilities.
See every vulnerability recorded for suharta-poke91 →
FAQ
suharta-poke91 is an npm package that has been identified as containing malicious code aimed at manipulating the npm registry.
The vulnerability can lead to the introduction of compromised packages in your project, potentially affecting the security and functionality of your application.
You should uninstall the package immediately and check for any other potentially compromised packages in your project.
You can use tools like Vulert, which monitors your package-lock.json for open-source vulnerabilities in real-time without requiring code access.
Yes, you can use the Vulert playground at Vulert Scanner to check if your application is affected by this vulnerability without any signup.