Also there is also one problem which all the people who are after "ban all mods to prevent cheating" don't see.

Strict banning / detecting code injection will combat only the part of things mentioned here - wall hacks, speed hacks etc (for a day or two... as many people already said - it's a neverending arms race between devs and hackers)

Input based things - like the auto-CC on LB, auto-guard can easily be circumvented by a screen reader running outside of the game (same stuff as many tool assisted speedruns are using). And there is no possible way to ban direct screen reading as it would imply blocking XIV from any streaming service / software.