Under Mojave, some of my scripts have begun asking for access to my Contacts and Photos, after asking permission to access the Finder, Osacript, and System Events. I’ve written in the parts that use the Finder, Osascript, and System Events, but I can’t figure out why I’m asking for access to Contacts and Photos. (The same request happens if I run a script from SD, but then I’m told that SD wants access to those things.)
Now that I’ve said No to those requests, I can’t figure out what’s triggering them. Has anyone else experienced this and has anyone else any insight on how to prevent it?