Answer:
the game itself is clean.
the only way in my opinion you could get a virus using minecraft is if you download mods or texturpacks that have viruses on them. but i haven't had any issue's.
all so if you are in a server some people might be able to hack you if you give them the opportunity.