is Android Custom Rom Safe – Banking And Privacy

is it safe it install Android Custom rom ? is root safe for Android ?