If for example your super user app is compromised(for real life example, supersu app was bought by an unknown company a while back, which could have malicious intentions) is there any way to make the phone secure again? Will flashing a new ROM remove all traces and make the phone safe again? Or does root go deeper? 

TIA