Malicious Code Injection in slamet-poke13: A Threat to npm Packages
Summary
MAL-2025-166026: Malicious code in slamet-poke13 (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-poke13 is an npm package that is part of the tea.xyz token reward campaign. This package is designed to facilitate interactions within the npm ecosystem, but it has been compromised to include malicious scripts that can harm developers and the integrity of the npm registry. The package's functionality has been exploited to inflate developer reputation scores through the automatic generation of derivative packages with randomized names.
Vulnerability Detail
The vulnerability in slamet-poke13 originates from its association with a malicious campaign that utilizes autopublish scripts to modify the package.json file. This modification removes private flags, alters version numbers, and generates random package names, leading to the continuous republishing of variants. The ramifications include pollution of the npm registry, potential security risks for users who install these packages, and damage to the reputation of legitimate developers.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall slamet-poke13
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-poke13 and look for alternative packages that provide similar functionality without the associated risks. Additionally, you can monitor your package-lock.json file using tools like Vulert to receive real-time alerts for vulnerabilities.
Conclusion
The slamet-poke13 package poses a significant risk due to its malicious code designed to manipulate the npm registry. It is crucial for developers to remove this package and monitor their projects for vulnerabilities to maintain the integrity and security of their applications.
See every vulnerability recorded for slamet-poke13 →
FAQ
slamet-poke13 is an npm package that has been compromised to include malicious code aimed at inflating developer reputation scores.
The vulnerability can lead to the installation of malicious packages, compromising the security of your project and potentially affecting other developers.
You should uninstall slamet-poke13 immediately using 'npm uninstall slamet-poke13' and check for any dependencies that may be affected.
Yes, you can use Vulert to monitor your package-lock.json for vulnerabilities in real-time without needing to access the code or install additional software.
You can use the Vulert playground at Vulert Scanner to check if your application is affected by this vulnerability without any signup.