Be mindful that such a program would have to be safer than the situation without. A program on a public repository that isn’t used by any distribution, isn’t audited, hasn’t a lot of comments (and thus eyes on its code) might be a disproportionate risk compared to the default settings of a popular open source distribution IMHO.
I think to be fully safe, you would have to get prompted for any type of USB device including a mouse and keyboard. At least I think that’s the idea of USBGuard.
Is there a similar program for Linux?
Linux has USBGuard and is likely in your distro’s repos. It operates the same way with having rules on which usb devices to allow
So, uh, a udev GUI?
Be mindful that such a program would have to be safer than the situation without. A program on a public repository that isn’t used by any distribution, isn’t audited, hasn’t a lot of comments (and thus eyes on its code) might be a disproportionate risk compared to the default settings of a popular open source distribution IMHO.
When I plug a USB device in on KDE I get prompted to see if I want to mount it or not.
the usb device is auto detected and activated, it’s just asking you to mount if it happens to be a storage device
That’s true, I understand the need for USBGuard now.
I think to be fully safe, you would have to get prompted for any type of USB device including a mouse and keyboard. At least I think that’s the idea of USBGuard.
Ah, that makes sense, cheers.