Malicious Code Injection in dewanto-sambel22-pore: npm Package Vulnerability
Summary
MAL-2025-97690: Malicious code in dewanto-sambel22-pore (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
The package 'dewanto-sambel22-pore' is part of a series of npm packages that have been associated with the tea.xyz token reward campaign. These packages are designed to inflate developer reputation scores by automatically generating and publishing derivative packages with randomized names. The functionality of this package is compromised due to the presence of malicious code that modifies essential files and repackages them for malicious purposes.
Vulnerability Detail
The vulnerability originates from the package being part of a malicious campaign that floods the npm registry with spammy packages. The malicious payload alters the package.json file by removing private flags, changing version numbers, and generating random package names. This behavior not only pollutes the npm registry but also poses a risk to developers who may unknowingly install these compromised packages, leading to potential security breaches in their applications.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall dewanto-sambel22-pore
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 avoid using the affected package and look for alternative packages that provide similar functionality without the associated risks. Additionally, you can use tools like Vulert to monitor your package-lock.json for vulnerabilities. To check if your application is affected, visit the Vulert playground at https://vulert.com/scanner.
Conclusion
The dewanto-sambel22-pore package poses a significant risk due to its malicious code that alters package metadata and floods the npm registry. It is essential for developers to remove this package and monitor their dependencies for vulnerabilities to maintain the security of their applications.
See every vulnerability recorded for dewanto-sambel22-pore →
FAQ
It is an npm package that has been identified as part of a malicious campaign to inflate developer reputation scores by flooding the npm registry with spammy packages.
If you have this package installed, it can modify your package.json file and potentially lead to security issues in your application.
You should uninstall the package immediately using 'npm uninstall dewanto-sambel22-pore' and check your application for any other vulnerabilities.
You can use Vulert, which monitors your package-lock.json for vulnerabilities in real-time without requiring code access or installation.
Yes, you can use the Vulert playground at Vulert Scanner to check for vulnerabilities in your application without any signup.