This is why Carl Sagan argued against projects like Spaceguard that purported to defend against rogue comets or asteroids. He felt that the risk of a space collision was much smaller than the threat of humans turning the technology around to hurl asteroids at our enemies.