that can be trivially defeated by a second machine that analyzes the captured video feed and sends hardware keyboard+mouse inputs in response. won't be as capable as a bot that can read/write process memory, but will be undetectable client-side.
"Trivially" is relative. In the case of wow the standard way to do botting is to use the in-game lua scripting (normally used for UI addons) with more functionality unlocked. The difference between introspecting the whole game state and controlling the game in-process with good api vs running realtime visual model on the captured visual feed and using fake keyboard inputs is pretty large.