Malicious Code Injection in dewanto-rangi91-pore Package: A Threat to npm Users
Summary
MAL-2025-97688: Malicious code in dewanto-rangi91-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 dewanto-rangi91-pore package is part of the npm ecosystem and is associated with the tea.xyz token reward campaign. This package is designed to facilitate the automatic generation and publication of derivative packages, which can inflate developer reputation scores for token rewards. However, it has been identified as containing malicious scripts that compromise the integrity of the npm registry.
Vulnerability Detail
The vulnerability originates from the presence of malicious code within the dewanto-rangi91-pore package. This code modifies the package.json file by removing private flags, altering version numbers, and generating random package names, which leads to the continuous republishing of these variants. The ramifications include pollution of the npm registry and potential exploitation of developers' reputations, making it crucial to address this issue promptly.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall dewanto-rangi91-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 workaround, you can avoid using the dewanto-rangi91-pore package and any other packages that may be associated with the tea.xyz token reward campaign until the issue is resolved. Regularly monitor your dependencies for any updates or patches.
Conclusion
The dewanto-rangi91-pore package poses a significant threat due to its malicious code, which can compromise the integrity of the npm registry and affect developers' reputations. It is crucial to uninstall this package and monitor your dependencies for any vulnerabilities to maintain the security of your projects.
See every vulnerability recorded for dewanto-rangi91-pore →
FAQ
The dewanto-rangi91-pore package is an npm package associated with the tea.xyz token reward campaign, designed to automate the generation and publication of derivative packages.
The malicious code modifies your package.json file, removes private flags, and generates random package names, which can lead to the pollution of the npm registry and damage your project's reputation.
You should uninstall the dewanto-rangi91-pore package immediately using 'npm uninstall dewanto-rangi91-pore' and monitor your other dependencies for any vulnerabilities.
Yes, you can use Vulert, which monitors and alerts you in real-time for open-source vulnerabilities in your software by analyzing your package-lock.json file. You can check if your application is affected by this vulnerability using the Vulert playground at Vulert Scanner.
Regularly update your dependencies, monitor your projects for vulnerabilities, and consider using tools like Vulert to keep track of potential security issues.