Malicious Code Injection in slamet-poke16: A Threat to npm Users
Summary
MAL-2025-166029: Malicious code in slamet-poke16 (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-poke16 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 and publication of derivative packages. However, it has been identified as containing malicious code that compromises the integrity of the npm registry and can affect developers' reputations.
Vulnerability Detail
The vulnerability in slamet-poke16 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 pollute the npm registry. This behavior not only affects the npm ecosystem but also misleads developers and can inflate reputation scores fraudulently.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall slamet-poke16
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-poke16 and any packages that depend on it. Regularly monitor your package-lock.json file for any unauthorized changes or additions, and consider using tools like Vulert to keep track of vulnerabilities in your dependencies.
Conclusion
The slamet-poke16 package poses a significant threat to the npm ecosystem due to its malicious code that alters package metadata and floods the registry with unauthorized variants. It is crucial for developers to uninstall this package and monitor their dependencies for vulnerabilities.
See every vulnerability recorded for slamet-poke16 →
FAQ
slamet-poke16 is an npm package associated with the tea.xyz token reward campaign, which has been identified to contain malicious code.
The malicious code modifies your package.json, removes private flags, and can lead to the pollution of the npm registry, affecting your project's integrity.
You should uninstall slamet-poke16 immediately using 'npm uninstall slamet-poke16' and check for any dependencies that may be affected.
Yes, you can use Vulert, which monitors your package-lock.json for vulnerabilities in real-time without requiring code access or installation.
You can use the Vulert playground at Vulert Scanner to check if your application is affected by this vulnerability without any signup.