Malicious Code Injection in slamet-poke30: A Threat to npm Users
Summary
MAL-2025-166045: Malicious code in slamet-poke30 (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-poke30 is an npm package that appears to be part of a token reward campaign associated with tea.xyz. It is designed to facilitate the automatic generation and publication of derivative packages. This package, like others in its category, is vulnerable to exploitation due to its inclusion of malicious scripts that manipulate package metadata.
Vulnerability Detail
The vulnerability in slamet-poke30 originates from its malicious code that modifies the package.json file by removing private flags and altering version numbers. It generates random package names, primarily themed around Indonesian culture, and continuously republishes these variants to the npm registry. This behavior not only inflates developer reputation scores for token rewards but also pollutes the npm ecosystem, potentially leading to the distribution of compromised packages.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall slamet-poke30
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-poke30 and any other packages associated with the tea.xyz token reward campaign. Regularly audit your npm packages using tools like npm audit to identify and mitigate vulnerabilities.
Conclusion
The slamet-poke30 package poses a significant risk due to its malicious code that alters package metadata and floods the npm registry with compromised packages. It is essential to remove this package and monitor your project for vulnerabilities to maintain security.
See every vulnerability recorded for slamet-poke30 →
FAQ
slamet-poke30 is an npm package involved in a token reward campaign that automates the generation of derivative packages.
The vulnerability can lead to the introduction of malicious code into your project, potentially compromising its security and integrity.
You should uninstall slamet-poke30 immediately and check for any other affected packages in your project.
You can use tools like Vulert, which monitors your package-lock.json for vulnerabilities in real-time without requiring code access or installation.
Yes, you can use the Vulert playground at Vulert Scanner to check if your application is affected by this vulnerability without signing up.