How can importprivkey compromise wallet security when importing a publicly known private key?
If Eve gives you a private key that contains Bitcoins in exchange for a pile of gold coins, she still has a copy of the private key, and can take the Bitcoins back, leaving her with both the gold coins and the Bitcoins.

Instead, tell Eve to send Bitcoins to your address.