Malicious Code Injection in carolinaribeiro Package: npm Vulnerability Overview
Summary
MAL-2025-171001: Malicious code in carolinaribeiro (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 carolinaribeiro package is part of the npm ecosystem, which is widely used for managing JavaScript packages. This package is associated with the tea.xyz token reward campaign, which has been identified as a source of malicious activity within the npm registry. The package's primary function is to facilitate the publication of JavaScript modules, but it has been compromised to include harmful scripts that manipulate package metadata.
Vulnerability Detail
The vulnerability in the carolinaribeiro package stems from its involvement in a malicious campaign that aims to inflate developer reputation scores through automated publishing of derivative packages. The malicious code modifies the package.json file to remove private flags, alters version numbers, and generates random package names, leading to pollution of the npm registry. This can result in security risks for developers who unknowingly depend on these compromised packages, potentially exposing their applications to further vulnerabilities.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall carolinaribeiro
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 remove the carolinaribeiro package from your project by executing the command: npm uninstall carolinaribeiro. This will prevent any malicious code from executing while you seek a secure alternative.
Conclusion
The carolinaribeiro package poses a significant security risk due to its malicious code that alters package metadata and publishes compromised versions. It is crucial for developers to stay vigilant, update their dependencies, and utilize tools like Vulert to monitor for vulnerabilities in their projects.
See every vulnerability recorded for carolinaribeiro →
FAQ
The carolinaribeiro package is an npm package that has been identified as part of a malicious campaign to inflate developer reputation scores through automated publishing.
The malicious code modifies your package.json file, potentially exposing your application to security vulnerabilities and causing it to rely on compromised packages.
If you have installed the carolinaribeiro package, it is recommended to uninstall it immediately and check for any updates or patches for your other dependencies.
Yes, you can use Vulert to monitor your project for open-source vulnerabilities. Vulert analyzes your package-lock.json file to provide real-time alerts for any vulnerabilities.
You can use the Vulert playground at Vulert Scanner to check if your application is affected by this vulnerability without needing to sign up.