When you import keys from another wallet also it's safe if you have followed the security precautions and these keyboard related malwares usually happens when you click on a link over untrusted sources that install spamware on your device and they can see what you are typing.The best practices is to use hardware wallets and offline storage to keep your seeds safe rather then on online or cloud storage.
Furthermore, paper is vulnerable with water, fire, physical damages, though you must save it in a secured and very safe places.
Which is why we have seed washers and metal plates where you can engrave the seeds and store them somewhere safe as paper is prone to damage over time easily.