It's a double edged sword tho. I don't think we should underestimate the firmware attack surface. IIRC crypto wallets have been targeted for such attacks before.
Yeah, bought, modified with a gsm modem, resealed and returned to the seller, then just resold and then anytime they were used, they reported back to the scammers and then the all got drained. Don't buy 3rd party
The NitroKey 3 seems to use the LPC55S6x, which supports TrustZone-M for isolating components of the firmware (such as the untrusted USB frontend vs the backend signing/crypto). Unfortunately, it seems like they don't use this in their firmware at all, but I don't think it would be too difficult. (They also don't store passkeys in the SE due to NFC power limits, which isn't perfect.)
I recently had Claude design my own security key based on the LPC55S6x as well, with the theory that upgradable firmware would be useful. Unfortunately, the first round of boards had a fatal design mistake, so we will see how the second revision goes...