Catalina is checking notarization of unsigned executables

from blog The Desolation of Blog, | ↗ original
This is a follow-up to Allan Odgaard's excellent article macOS 10.15: Slow by Design. I want to talk specifically about the first section "Spawning a new Process", because there has been widespread misunderstanding of this. Odgaard provides a simple test to show that the first run of an executable is delayed while Catalina checks the executable's notarization status online. This occurs even for shell scripts, which cannot be code signed!