Is a .gz File safe to open?
Answer
Opening a tar itself to inspect is generally safe, however computer security practices still require to avoid opening files from untrusted sources and perform an antivirus scan. Yes, any archive can (potentially) contain malicious code.