What are the risks of sticking a FIDO U2F USB key like Google's Titan into a computer that is hacked?
The hacking I am thinking about is unauthorized access and control over an operating system. In this case, the hacker who stealthily can control the operating system is a malicious agent that ex-filtrates information with the intent to harm those who rely on the computer.
I presume FIDO key is a hardware device that contains code that I can associate with an online user account and use to authenticate myself to the online service.
By risks, I am wondering whether the information in the key can be copied or used by malicious agents if I used it in a hacked computer. I don't know how this technology works (I've never used a FIDO key), but I am thinking about getting one. So I cannot list risks, but I would like to learn about potential negative scenarios.