CS2 console cheats commands are put into the game by Valve, meaning they are legal and can not get you banned. Even using this CS2 sv_cheats list in a regular game without cheats enabled won't get you banned, as they simply will not work on a server that does not have them allowed.