I am thinking of rooting my android.
In general, it seems that one downloads the "unlocked" firmware from a website (not the manufacturer's) and then runs it on the phone.
How do I know if that firmware is safe (in other words, how do I know if the "rooted" firmware doesn't have a keystroke logger, for example)?