: Before extracting, run the file through a reputable scanner. You can also upload it to VirusTotal to check it against dozens of different antivirus engines.
: Use the 7-Zip GUI or command line to "List" the contents. This allows you to see the file names and extensions inside without actually running any potentially malicious code.
Because .7z files can contain any type of data, including executable malware, you should handle this file with caution if it came from an untrusted source. Recommended Safety & Inspection Steps