Malicious Code Injection in gabrielsilva Package: npm Vulnerability Summary
Summary
MAL-2025-171239: Malicious code in gabrielsilva (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 gabrielsilva package is part of the npm ecosystem, which is widely used for JavaScript package management. This package, like many others, is intended to facilitate the development of applications by providing reusable code. However, it has been identified as part of a malicious campaign that aims to exploit npm's publishing mechanisms, leading to potential security risks for developers and their applications.
Vulnerability Detail
The vulnerability originates from the gabrielsilva package being involved in a token reward campaign that floods the npm registry with malicious packages. These packages contain scripts designed to automatically generate and publish derivative packages with randomized names, effectively polluting the npm registry. The malicious payload modifies the package.json file to remove private flags, alters version numbers, and continuously republishes variants, which can compromise the integrity of the npm ecosystem and inflate developer reputation scores fraudulently.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall gabrielsilva
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, avoid using the gabrielsilva package and consider replacing it with a reputable alternative. You can also use tools like Vulert to monitor your project for vulnerabilities. To check if your application is affected by this vulnerability, you can use the Vulert playground at https://vulert.com/scanner without any signup.
Conclusion
The gabrielsilva package poses a significant security risk due to its involvement in a malicious npm campaign. It is crucial for developers to be vigilant, remove any affected packages, and utilize tools like Vulert to monitor for vulnerabilities in their applications.
See every vulnerability recorded for gabrielsilva →
FAQ
The gabrielsilva package is an npm package that has been identified as part of a malicious campaign targeting the npm registry.
This vulnerability can compromise the integrity of your application by introducing malicious code that alters your package management and can lead to security breaches.
If you have installed the gabrielsilva package, you should uninstall it immediately using 'npm uninstall gabrielsilva' and monitor your project for any other vulnerabilities.
You can use Vulert, which monitors and alerts in real-time for open-source vulnerabilities in your software. You can check your application using the Vulert playground at Vulert Scanner.
Yes, consider using reputable packages that provide similar functionality without the associated risks. Always verify the package's credibility before installation.