Plugin scanning spamming macOS permission dialogs

This is somewhat similar to Projucer Spams macOS Popup for Documents Access

I’m writing an app that scans the system for installed plugins and presents some info about them. During the scanning process, which I’m performing with an “out of process” scanner, macOS will spam the user with dozens of permissions dialogs related to their Documents and Desktop folders and removable drives.

Has anyone else dealt with this before? What’s a potential fix?