Malicious Code Injection in slamet-poke5: A Threat to npm Ecosystem
Summary
MAL-2025-166066: Malicious code in slamet-poke5 (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
slamet-poke5 is an npm package that appears to be part of a larger malicious campaign targeting the npm ecosystem. It is associated with the tea.xyz token reward initiative, which has been known to flood npm with malicious packages. These packages often contain scripts designed to manipulate package metadata and inflate developer reputation scores for token rewards.
Vulnerability Detail
The vulnerability in slamet-poke5 originates from its malicious payload, which modifies the package.json file to remove private flags, alters version numbers, and generates random package names. This behavior is intended to create derivative packages that pollute the npm registry, posing risks such as unauthorized access to sensitive data and potential exploitation of affected applications. The malicious scripts (auto.js, autopublish.js, etc.) are designed to continuously republish these variants, exacerbating the issue.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall slamet-poke5
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 slamet-poke5 and any other packages associated with the tea.xyz campaign. Regularly audit your package-lock.json file to identify and remove any suspicious packages.
Conclusion
The slamet-poke5 package poses a significant threat to the npm ecosystem due to its malicious behavior. It is essential to take immediate action by removing the package and monitoring your dependencies for any vulnerabilities. Utilizing tools like Vulert can help maintain the security of your applications.
See every vulnerability recorded for slamet-poke5 →
FAQ
slamet-poke5 is an npm package that has been identified as part of a malicious campaign aimed at manipulating the npm registry.
The vulnerability can lead to unauthorized modifications of your package metadata, potentially exposing your application to security risks and reputation damage.
You can use Vulert, which monitors and alerts for open-source vulnerabilities in your software. Visit Vulert Scanner to check your application without any signup.
You should uninstall slamet-poke5 immediately using the command npm uninstall slamet-poke5 and audit your project for any other malicious packages.
Yes, Vulert provides a service that uses your package-lock.json to monitor for vulnerabilities in real-time, ensuring your software remains secure.