There are not insignificant number of devices that generate or use RSA keys that can be factored, there should be either a mode, or few simple checks to see if the key can't be easily factored.
https://freedom-to-tinker.com/2012/02/15/new-research-theres-no-need-panic-over-factorable-keys-just-mind-your-ps-and-qs/