ok, you are correct in saying that Hamachi is dangerous. Hamachi basically makes all the computers on its network on your LAN (local area network). This DOES pose a powerful security risk. I have seen some people on Hamachi where I could browse their hard drive because they set it up for file sharing.
Now, luckily, there IS a setting to prevent these risks. When you set it up, it will ask you if you want to disable these risky sections of Hamachi.