There is nothing inherently dangerous about Tar files, but only if you have acquired the file from a legitimate source. As with every file you access on your system, make sure you know exactly what the contents are. Never open an unfamiliar file as you risk downloading malware and other malicious software onto your computer.