Malwarebytes slows Terminal/iTerm2 prompt to a crawl

My iTerm2 prompt recently slowed to a crawl, taking some 40 seconds to return after any command. I thought git was the culprit, but disabling the plugin in oh-my-zsh, then changing themes didn’t help. Even Terminal was affected.

Turning off Malwarebytes’ protection restored things to normal.

So far the Googles are failing me. I have a support ticket open, but thought I’d check here with the real knowledgable folks.

Little help?

With Malwarebytes off (0.080s) and on (11.963s):

(base) Johns-iMac-Pro :: Data/Research/aim2 1 » time git status
On branch first_round_edits
...
git status  0.01s user 0.16s system 214% cpu 0.080 total
(base) Johns-iMac-Pro :: Data/Research/aim2 » time git status
On branch first_round_edits
...
git status  0.01s user 0.04s system 0% cpu 11.963 total
(base) Johns-iMac-Pro :: Data/Research/aim2 »
(base) Johns-iMac-Pro :: Data/Research/aim2 » time python --version
Python 3.8.8
python --version  0.00s user 0.00s system 24% cpu 0.022 total
(base) Johns-iMac-Pro :: Data/Research/aim2 » time python --version
Python 3.8.8
python --version  0.00s user 0.00s system 0% cpu 4.909 total
(base) Johns-iMac-Pro :: Data/Research/aim2 »

If you were to restart and run the same tests, would you get the similar results? I haven’t noticed a significant slowdown using Malwarebytes.

Thanks. One of my go tos, but have some backups running. I’ll give that a shot.