Control whether apps can control other apps on Mac
Some apps can control other apps on your Mac and use the second app’s features without you opening the second app yourself.
On your Mac, choose Apple menu > System Preferences, click Security & Privacy, then click Privacy.
Select the checkbox next to an app to allow it to access and control other apps.
Deselect the checkbox to turn off access for that app.
If you allow third-party apps or websites to monitor your input devices, any information they collect is governed by their terms and privacy policies. It’s recommended that you learn about the privacy practices of those parties.
For systems administrators who want information about deploying security settings, see the macOS Deployment Reference.