Malicious Code Injection in slamet-poke49: A Threat to npm Ecosystem
Summary
MAL-2025-166065: Malicious code in slamet-poke49 (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-poke49 is an npm package that is part of a larger campaign aimed at exploiting the npm registry. It is associated with the tea.xyz token reward initiative, which has led to the proliferation of numerous malicious packages. These packages are designed to inflate developer reputation scores by automatically generating and publishing derivative packages with randomized names. The functionality of slamet-poke49 is compromised due to its malicious intent, posing a significant risk to developers and users relying on npm packages.
Vulnerability Detail
The vulnerability in slamet-poke49 originates from its malicious code that modifies the package.json file. This code removes private flags, alters version numbers, and generates random package names, leading to the continuous republishing of these variants. The ramifications include pollution of the npm registry, potential security risks for applications using these packages, and a degradation of trust in the npm ecosystem. The technical aspects involve the use of autopublish scripts that automate these malicious activities.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall slamet-poke49
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 workaround, you can avoid using slamet-poke49 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 remove any malicious packages.
Conclusion
The slamet-poke49 package poses a significant threat to the npm ecosystem due to its malicious code that modifies package metadata and floods the registry with harmful derivatives. It is crucial for developers to remove this package and monitor their dependencies for vulnerabilities to maintain the integrity of their applications.
See every vulnerability recorded for slamet-poke49 →
FAQ
slamet-poke49 is an npm package that is part of a malicious campaign to inflate developer reputation scores by flooding the npm registry with derivative packages.
The vulnerability can lead to the pollution of the npm registry, potentially introducing security risks and degrading trust in the packages you use.
You should uninstall slamet-poke49 immediately using the command npm uninstall slamet-poke49 and check for any other affected packages.
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 any signup.