Closed ddaddy closed 2 years ago
Sorry this isn't helpful, but just had to say—that is the craziest thing I've ever seen 😱
They just kept coming, fast, across 2 monitors!
I had this too, investigated and realized that it's caused by a regex bug in BlockBlock's daemon and will actually alert for any daemon/agent at any deep path that begins with /Users/{user}/...
The regex in question: ^(\/System|\/Users\/.+|)\/Library\/(LaunchDaemons|LaunchAgents)\/.+\.(?i)plist$
This will match something such as /Users/kyle/Downloads/Library/LaunchDaemons/com.blah.plist
because of the .+
in that /Users/
group check. If the goal for BlockBlock is to only check /Users/{name}/Library/LaunchDaemons
and /Users/{name}/Library/LaunchAgents
then the .+
part of that regex should be changed [^\/]+
instead so that it only checks against a user's home directory. The regex in question would end up being: ^(\/System|\/Users\/[^\/]+|)\/Library\/(LaunchDaemons|LaunchAgents)\/.+\.(?i)plist$
Edit: LoginItems regex is also affected by the same issue
I was installing a new build of Xcode through the Xcodes app when I was suddenly inundated with hundreds of alerts. Only a reboot would clear them. Maybe there should be a keyboard shortcut on the buttons so I could have dismissed them all.