Malicious Code Injection in slamet-poke52: npm Package Vulnerability
Summary
MAL-2025-166069: Malicious code in slamet-poke52 (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-poke52 is an npm package that is part of the tea.xyz token reward campaign. It is designed to facilitate the distribution of token rewards through various applications. However, this package has been identified as containing malicious code that compromises its integrity and the security of systems using it.
Vulnerability Detail
The vulnerability in slamet-poke52 originates from its inclusion in a campaign that floods the npm registry with malicious packages. The malicious code modifies the package.json file to remove private flags, alters version numbers, and generates random package names. This behavior leads to the continuous republishing of variants, which pollutes the npm registry and can inflate developer reputation scores fraudulently. The ramifications include potential exposure of sensitive data, disruption of package management, and degradation of the npm ecosystem.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall slamet-poke52
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-poke52 and any other packages associated with the tea.xyz token reward campaign. Additionally, consider using package-lock.json to monitor your dependencies for vulnerabilities.
Conclusion
The slamet-poke52 npm package contains malicious code that poses significant risks to projects using it. It is crucial to remove this package and monitor your dependencies for vulnerabilities. Utilizing tools like Vulert can help maintain the security of your software.
See every vulnerability recorded for slamet-poke52 →
FAQ
slamet-poke52 is an npm package involved in the tea.xyz token reward campaign, which has been identified as containing malicious code.
The malicious code modifies package.json files, removes private flags, and generates random package names, which can lead to security vulnerabilities and pollution of the npm registry.
You should remove slamet-poke52 from your project and check for any dependencies that may also be affected by this vulnerability.
Yes, you can use Vulert, which monitors and alerts for open-source vulnerabilities in your software using just package-lock.json. You can check your application for vulnerabilities without requiring access to the code or installation.
You can use the Vulert playground at Vulert Scanner to check if your application is affected by this vulnerability without any signup.