Malicious Code Injection in slamet-poke112: A Threat to npm Ecosystem
Summary
MAL-2025-166016: Malicious code in slamet-poke112 (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-poke112 is an npm package that is part of the tea.xyz token reward campaign. This package is designed to facilitate the distribution of token rewards by generating and publishing derivative packages. However, it has been identified as containing malicious code that compromises the integrity of the npm registry.
Vulnerability Detail
The vulnerability in slamet-poke112 originates from its inclusion in a campaign that floods the npm ecosystem with malicious packages. These packages contain scripts that automatically modify package.json files to remove private flags, change version numbers, and generate random package names. This behavior not only inflates developer reputation scores for token rewards but also pollutes the npm registry with potentially harmful packages, leading to security risks for developers and users alike.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall slamet-poke112
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, you can prevent the installation of slamet-poke112 by using npm's package-lock.json to lock your dependencies. Additionally, consider using the following command to uninstall the package: npm uninstall slamet-poke112.
Conclusion
The slamet-poke112 package poses a significant risk to the npm ecosystem due to its malicious code that modifies project files and inflates developer reputation scores. It is crucial for developers to remove this package and monitor their projects for any vulnerabilities to maintain security.
See every vulnerability recorded for slamet-poke112 →
FAQ
slamet-poke112 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 file, removes private flags, and generates random package names, potentially compromising your project's integrity.
You should uninstall slamet-poke112 immediately and monitor your project for any unusual behavior.
Yes, you can use Vulert, which monitors and alerts for open-source vulnerabilities in real-time using just your package-lock.json file.
You can use the Vulert playground at Vulert Scanner to check if your application is affected by this vulnerability without needing to sign up.