To bypass this error message please refer to the link below:
https://support.apple.com/guide/mac-help/apple-cant-check-app-for-malicious-software-mchleab3a043/mac#:~:text=Using%20an%20app%20that%20can,can%20for%20any%20authorized%20app