Malicious Code Injection in slamet-poke50: A Threat to npm Users
Summary
MAL-2025-166067: Malicious code in slamet-poke50 (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-poke50 is an npm package that appears to be part of a broader campaign aimed at exploiting the npm registry. This package is designed to interact with the tea.xyz token reward system, which incentivizes developers to publish packages. However, it has been compromised to include malicious scripts that manipulate package metadata and flood the registry with derivative packages.
Vulnerability Detail
The vulnerability in slamet-poke50 stems from its inclusion in a malicious campaign that modifies the package.json file to remove private flags and change version numbers. It generates random package names, primarily themed around Indonesian culture, and continuously republishes these variants to inflate developer reputation scores. This not only pollutes the npm registry but also poses a risk to developers who may unknowingly install these compromised packages.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall slamet-poke50
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 measure, avoid using slamet-poke50 and any other packages that are part of the tea.xyz token reward campaign. Regularly audit your dependencies using tools like npm audit to identify and mitigate vulnerabilities.
Conclusion
The slamet-poke50 package poses a significant risk to npm users due to its malicious code that alters package metadata and floods the npm registry. It is crucial to remove this package and monitor your dependencies for vulnerabilities to maintain the integrity of your projects.
See every vulnerability recorded for slamet-poke50 →
FAQ
slamet-poke50 is an npm package that has been identified as part of a malicious campaign targeting the npm registry.
The vulnerability can lead to the installation of compromised packages, which may alter your project's metadata and introduce security risks.
You should uninstall slamet-poke50 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.