Well, one of the "nice" things about classic mac OS, was that you could write an app that could register with the system, to receive every user event (like keypresses and mouse movements). We used to make fun extensions, with this...
I'm sure that couldn't ever be abused...
The new UNIX-based OS may have its warts, but it is just a bit more secure.