Malicious Code Injection in slamet-poke107: A Threat to npm Ecosystem
Summary
MAL-2025-166010: Malicious code in slamet-poke107 (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-poke107 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 its integrity and the security of the npm ecosystem.
Vulnerability Detail
The vulnerability in slamet-poke107 originates from its involvement in a malicious campaign that floods the npm registry with derivative packages. The malicious payload modifies the package.json file to remove private flags, alters version numbers, and generates random package names, leading to the pollution of the npm registry. This can result in developers inadvertently using compromised packages, which may lead to security breaches and loss of reputation.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall slamet-poke107
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-poke107 and any packages that depend on it. Additionally, consider using npm audit to identify and address vulnerabilities in your dependencies.
Conclusion
The slamet-poke107 package poses a significant risk due to its malicious code designed to manipulate the npm registry. It is essential for developers to remove this package and monitor their dependencies for vulnerabilities to maintain the security and integrity of their projects.
See every vulnerability recorded for slamet-poke107 →
FAQ
slamet-poke107 is an npm package associated with the tea.xyz token reward campaign, which has been identified as containing malicious code.
The malicious code can modify your package.json file, remove private flags, and flood the npm registry with compromised packages, potentially leading to security vulnerabilities.
You should remove the slamet-poke107 package from your project and monitor for any updates or patches that may address the vulnerability.
You can use Vulert, which monitors and alerts for open-source vulnerabilities in your software. Visit Vulert Scanner to check your application without requiring any signup.
Using compromised packages can lead to security breaches, data loss, and damage to your project's reputation, making it crucial to regularly audit your dependencies.