Install usbguard by entering the following commands in the terminal:
sudo apt update sudo apt install usbguard
Description:
USB device authorization policy framework
The USBGuard software framework helps to protect your computer against rogue USB devices (a.k.a. BadUSB) by implementing basic whitelisting and blacklisting capabilities based on device attributes.
Homepage: https://dkopecek.github.io/usbguard/
Version: 0.7.2+ds-1
Section: universe/utils