It sounds like you have downloaded or installed some kind of third party Anti-Virus, Cleaning or perhaps even some Spam-ware that wants access.
Such thing like Anti-Virus and Cleaning ware are not necessary or recommended for macOS and can actually do more harm than good.
To sort out what it is, please download and run EtreCheck on your Mac and post back here with the EtreCheck Report.
https://apps.apple.com/us/app/etrecheck/id1423715984?mt=12
https://etrecheck.com
If it turns out to be Spam-ware, then run the free version of MalwareBytes to see if it can find the culprit.
https://www.malwarebytes.com/mac/