What I usually do is:
xattr -d com.apple.quarantine FILE
It removes the extended attribute from the given file.78 karma · joined August 28, 2018
[ my public key: https://keybase.io/shoeffner; my proof: https://keybase.io/shoeffner/sigs/WWI_B9HZtn6ayxR7GWqStONfrcN11zcDXs36iTsZKFY ]
xattr -d com.apple.quarantine FILE
It removes the extended attribute from the given file.