USBGuard is a software framework for implementing USB device authorization policies (what kind of USB devices are authorized) as well as method of use policies (how a USB device may interact with the system)
Why do you think that https://gitlab.com/divested/rpm-hardened_malloc is a good alternative to usbguard