Apple can’t check app for malicious software
Using an app that can’t be checked for malicious software might harm your Mac or compromise your privacy. If you’re certain the app you want to use is from a trustworthy source, you can override your Mac security settings to open it.
In the Finder on your Mac, locate the app you want to open.
Don’t use Launchpad to locate the app.
Control-click the app icon, then choose Open from the shortcut menu.
The app is saved as an exception to your security settings, and you can open it at any time by double-clicking it, just as you do with any registered app.
Note: You can also grant an exception for a blocked app by clicking the Open Anyway button in Privacy & Security settings. This button is available for about an hour after you try to open the app.
To change these settings on your Mac, choose Apple menu > System Settings, then click Privacy & Security in the sidebar. (You may need to scroll down.)
You can learn more about how and why your Mac is protected. See the Apple Support article Safely open apps on your Mac.