Make a custom card reader

Consider using a raspberry pi or clone. But it must have at least 1 host port and at least 1 gadget port.

It should protect your PC from USB port killers, rubber ducky attacks, autoexec issues, etc. But filtering out malicious software is very difficult.