At least with .zip files, but probably others, the unzipped files do not inherit any of the attributes that were assigned to the downloaded .zip file, most importantly, the quarantine attribute that allows macOS security features (Gatekeeper and XProtect) to check for known malware.
At least with .zip files, but probably others, the unzipped files do not inherit any of the attributes that were assigned to the downloaded .zip file, most importantly, the quarantine attribute that allows macOS security features (Gatekeeper and XProtect) to check for known malware.