To date, there have only been two known viruses for Mac OS X. Both required user interaction to make it happen.
There have been Java and Flash exploits, which are cross-platform, but no virus detection in the world stopped it. You had to update Java or Flash.
Pre-OS X, yes, there were...