Given what you posted, I have no idea why your system is receiving yum -y instead of yum and you being prompted for permission to install.
And with that information, no your system does not appear to be compromised. However, might I suggest running with SeLinux in permissive mode? That way you will receive alerts when your system is 'touched' by someone other than you?