Malicious Code Vulnerability in @sommos/create-leaverule-or-terminationrule-form-data Package
Summary
MAL-2026-1636: Malicious code in @sommos/create-leaverule-or-terminationrule-form-data (npm). Affects @sommos/create-leaverule-or-terminationrule-form-data versions 99.9.9. 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 @sommos/create-leaverule-or-terminationrule-form-data package is an npm library designed to facilitate the creation of forms for leave rules and termination rules in applications. It is commonly used in HR and employee management systems. However, this package has been identified to contain malicious code, posing a significant risk to applications that utilize it.
Vulnerability Detail
The vulnerability originates from malicious code embedded within the @sommos/create-leaverule-or-terminationrule-form-data package. This code can lead to unauthorized access, data breaches, or other harmful actions within the application. The specific version affected is 99.9.9, and it is crucial for developers to be aware of the potential ramifications of using this compromised package.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall @sommos/create-leaverule-or-terminationrule-form-data
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 affected package from your project until a secure version is released. Use the following command to uninstall the package: npm uninstall @sommos/create-leaverule-or-terminationrule-form-data.
Conclusion
The @sommos/create-leaverule-or-terminationrule-form-data package has a significant vulnerability due to malicious code. It is essential for developers to take immediate action by updating or removing the package to safeguard their applications. Utilizing tools like Vulert can help monitor for such vulnerabilities in real-time.
See every vulnerability recorded for @sommos/create-leaverule-or-terminationrule-form-data →
FAQ
The vulnerability involves malicious code that can compromise the security of applications using this package.
You can use Vulert, which monitors and alerts for open-source vulnerabilities in your software. Visit Vulert Scanner to check your application without needing to sign up.
You should update the package to the latest secure version or uninstall it until a patch is available.
Yes, the version 99.9.9 of the @sommos/create-leaverule-or-terminationrule-form-data package is known to be vulnerable.
The vulnerability was identified by ReversingLabs, a cybersecurity firm specializing in threat detection.