Malicious Code Injection in slamet-poke58: A Threat to npm Users
Summary
MAL-2025-166075: Malicious code in slamet-poke58 (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-poke58 is an npm package that is part of the tea.xyz token reward campaign. This package is designed to facilitate token rewards through the generation of derivative packages. However, it has been identified as containing malicious code that can compromise the integrity of the npm registry and the applications that depend on it.
Vulnerability Detail
The vulnerability in slamet-poke58 originates from its malicious payload, 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 inflate developer reputation scores. This behavior can lead to pollution of the npm registry, making it difficult for developers to find legitimate packages and potentially introducing security risks into their applications.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall slamet-poke58
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-poke58 and any other packages associated with the tea.xyz token reward campaign. Regularly audit your package dependencies using tools like npm audit to identify and mitigate potential vulnerabilities.
Conclusion
The slamet-poke58 package poses a significant risk due to its malicious code that alters package metadata and floods the npm registry with unauthorized variants. It is crucial for developers to remove this package from their projects and monitor their dependencies for vulnerabilities to maintain the security of their applications.
See every vulnerability recorded for slamet-poke58 →
FAQ
slamet-poke58 is an npm package involved in a token reward campaign that has been identified as containing malicious code.
The malicious code can modify your package.json file, remove private flags, and publish unauthorized package variants, potentially compromising your application's integrity.
You should uninstall slamet-poke58 immediately and check for any dependencies that may rely on it.
You can use tools like npm audit or services like Vulert, which monitors your package-lock.json for vulnerabilities in real-time.
Yes, you can use the Vulert playground at Vulert Scanner to check if your application is affected by this vulnerability without needing to sign up.