It's practically impossible for that to happen unless you have access to the hardware. In which case, your wallet is screwed.
Bitcoin does not transfer the private keys anywhere, you also do not know when someone is making a transaction, only when someone pushes a transaction.