Malicious Code Injection in gustavorodrigues Package: npm Vulnerability Overview
Summary
MAL-2025-171283: Malicious code in gustavorodrigues (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 gustavorodrigues package is part of the npm ecosystem, primarily used for JavaScript development. It is associated with the tea.xyz token reward campaign, which has been known to flood the npm registry with various packages. This package, like others in the campaign, is designed to manipulate developer reputation scores through the automatic generation and publication of derivative packages.
Vulnerability Detail
The vulnerability stems from malicious code embedded within the gustavorodrigues package. This code modifies the package.json file to remove private flags, alters version numbers, and generates random package names, primarily themed around Indonesian culture. The intent is to continuously republish these variants, thereby polluting the npm registry and inflating reputation scores for the tea protocol token rewards. This poses significant risks, including the potential for developers to unknowingly install compromised packages, leading to security breaches in their applications.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall gustavorodrigues
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 gustavorodrigues package and look for alternative packages that provide similar functionality without the associated risks. Additionally, ensure that your npm registry settings are configured to prevent the installation of unverified packages.
Conclusion
The gustavorodrigues package contains malicious code that poses a significant security risk to developers using it. It is crucial to uninstall this package and monitor your projects for vulnerabilities using tools like Vulert. Staying informed and proactive can help protect your applications from potential threats.
See every vulnerability recorded for gustavorodrigues →
FAQ
The gustavorodrigues package is an npm package associated with the tea.xyz token reward campaign, which aims to inflate developer reputation scores.
The vulnerability can lead to the installation of malicious code that modifies your project's package.json, potentially compromising your application's security.
If you have installed the gustavorodrigues package, you should uninstall it immediately using npm uninstall gustavorodrigues.
Yes, tools like Vulert can monitor your package-lock.json file to alert you in real-time for open-source vulnerabilities without requiring code access.
You can use the Vulert playground at Vulert Scanner to check if your application is affected by this vulnerability without any signup.