Malicious Code Injection in suharta-poke48: A Threat to npm Users
Summary
MAL-2025-166177: Malicious code in suharta-poke48 (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-poke48 is an npm package that appears to be part of a larger scheme involving the tea.xyz token reward campaign. This package is designed to manipulate the npm registry by generating and publishing derivative packages with randomized names. Its primary function is to inflate developer reputation scores for token rewards, making it a target for malicious exploitation.
Vulnerability Detail
The vulnerability in suharta-poke48 stems from its inclusion in a malicious campaign that utilizes autopublish scripts to modify package.json files. This modification removes private flags, alters version numbers, and generates random package names, leading to pollution of the npm registry. The ramifications include potential security risks for developers who unknowingly use these compromised packages, as well as a degradation of trust in the npm ecosystem.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall suharta-poke48
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-poke48 package and monitor your dependencies for any malicious activity. Additionally, consider using tools like Vulert to scan your package-lock.json file for vulnerabilities.
Conclusion
The suharta-poke48 package poses a significant risk due to its malicious code injection capabilities. It is crucial for developers to be vigilant, regularly update their dependencies, and utilize tools like Vulert to ensure the security of their projects. By understanding and addressing this vulnerability, developers can help maintain the integrity of the npm ecosystem.
See every vulnerability recorded for suharta-poke48 →
FAQ
suharta-poke48 is an npm package involved in a malicious campaign aimed at inflating developer reputation scores through the creation of derivative packages.
The vulnerability can lead to the inclusion of malicious code in your project, potentially compromising security and trust in your software.
You should uninstall the package immediately using 'npm uninstall suharta-poke48' and monitor your project for any further vulnerabilities.
Regularly update your packages, use tools like Vulert to monitor for vulnerabilities, and review your dependencies for any suspicious activity.
Yes, Vulert can monitor your package-lock.json file for open-source vulnerabilities in real-time without requiring code access or installation.