Malicious Code Injection in madrid-ucl-vib Package: A Threat to npm Users
Summary
MAL-2025-159006: Malicious code in madrid-ucl-vib (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 madrid-ucl-vib package is part of the npm ecosystem, primarily used for various JavaScript applications. It is designed to facilitate specific functionalities within projects that utilize the npm package manager. However, this package has been compromised, making it a vector for malicious activities that can affect developers and their applications.
Vulnerability Detail
The vulnerability in the madrid-ucl-vib package stems from its association with a malicious campaign that floods the npm registry with harmful packages. These packages contain scripts that automatically modify the package.json file, removing private flags, altering version numbers, and generating random package names. This behavior not only inflates developer reputation scores for token rewards but also pollutes the npm registry, leading to potential security risks for users who unknowingly install these compromised packages.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall madrid-ucl-vib
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 madrid-ucl-vib package until a secure version is released. Additionally, consider using alternative packages that provide similar functionality without the associated risks.
Conclusion
The madrid-ucl-vib package has been identified as a vector for malicious code injection, posing significant risks to developers and their applications. It is crucial to stay informed about such vulnerabilities and take appropriate action to secure your projects. Regularly updating packages and utilizing tools like Vulert can help maintain the integrity of your software.
See every vulnerability recorded for madrid-ucl-vib →
FAQ
The madrid-ucl-vib package is an npm package used in JavaScript applications, but it has been compromised to include malicious code.
If your application uses the madrid-ucl-vib package, it may be at risk of having its package.json modified and could potentially lead to the installation of other malicious packages.
You should immediately update the package to the latest version or remove it from your project to mitigate any risks.
You can use Vulert, which monitors your package-lock.json for vulnerabilities in real-time without requiring code access or installation. You can also check your application using the Vulert playground.
Yes, you can use the Vulert playground at Vulert Scanner to check if your application is affected by this vulnerability without any signup.