Critical Malicious Code Vulnerability in @varsityvibe/validation-schemas Package
Summary
MAL-2025-191062: Malicious code in @varsityvibe/validation-schemas (npm). Affects @varsityvibe/validation-schemas versions 0.6.7 – 0.6.8. 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 @varsityvibe/validation-schemas package is a Node.js library used for validating data structures in JavaScript applications. It provides developers with schemas to ensure data integrity and correctness. However, this package has been identified as compromised, containing malicious code that poses a significant security risk to any system utilizing it.
Vulnerability Detail
The vulnerability stems from the presence of embedded malicious code within versions 0.6.7 and 0.6.8 of the @varsityvibe/validation-schemas package. This malicious code can fully compromise any computer that has the package installed, allowing unauthorized access to sensitive information, including secrets and keys. The origin of this vulnerability is linked to the package being flagged by the GitHub Security Advisory (GHSA) as malware, indicating that it can lead to severe security breaches.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall @varsityvibe/validation-schemas
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
There are no direct workarounds to mitigate the risks associated with the malicious code in this package. The only recommended action is to uninstall the package and secure your environment.
Conclusion
The @varsityvibe/validation-schemas package has been identified as containing malicious code that poses a serious security threat. Immediate action is required to uninstall the package and secure any sensitive information. Utilizing tools like Vulert can help in monitoring for such vulnerabilities in the future.
See every vulnerability recorded for @varsityvibe/validation-schemas →
FAQ
You should immediately uninstall the package and rotate any sensitive information stored on your system.
You can use Vulert's playground at Vulert Scanner to check if your application is affected without requiring any signup.
Keeping this package installed can lead to unauthorized access to your system, data breaches, and potential exploitation of sensitive information.
Regularly monitor your dependencies using tools like Vulert, which can alert you to open-source vulnerabilities in real-time.
Vulert monitors and alerts for open-source vulnerabilities in your software using just the package-lock.json file, providing real-time insights into potential security risks.