This might be a dumb question but wouldn't one solution to the HID-based attack be for the OS to ask the user for permission to allow the new keyboard? As in "New Keyboard Detected: Allow? Y/N" That wouldn't protect against driver 0 days but hey, one step at a time.
Do any OSes have an option to ask the user if connection is ok before allowing it?
Do any OSes have an option to ask the user if connection is ok before allowing it?