Every couple days or so this dialog pops up:
I think it's likely one of my own automations misbehaving rather than a legitimate security threat, but I don't know how to troubleshoot it. It appears at unexpected times when I don't think I've done anything that might manually trigger a scripting action. I need some help finding the root cause of the message so I can (hopefully) make it stop appearing.
I found this old thread with no responses but I think what it's asking for would be really helpful. Some sort of attribution that links the dialog to the action that triggered it, to provide more visibility into what's going on, would be really nice.
