UNIX isn't inherently secure to begin with, in fact initially security for UNIX was an afterthought. It wasn't until it started gaining widespread use that the UNIX developers started taking security seriously. I went through the transition from having encrypted passwords in the /etc/passwords file, which everyone could read (or no one could log in) to /etc/shadow as security started becoming important.
That said, there was a virus around 8 years ago that specifically targeted a bunch of NCSA UNIX machines, and they ended up getting caught with their pants down -- there WAS a fix already available that would have blocked the virus, but the NCSA admins hadn't been diligent about installing it.
I think the reason for this is two fold, firstly, to write a viruses on the Mac, which by their nature need to spread, is harder due to the (*nix) security models used. But also, it seems to me viruses are getting passé and targeted emails with trojans are becoming more popular.
Trojans are one thing that Macs have been shown to be susceptible to although often by fooling (social engineering) the person into clicking all the right buttons and typing in their password.
I would therefore suggest that any future major problems on OS X will be due to a trojan that gets sent out and manages to auto install through an exploit rather than a virus which does the spreading on its own.
The challenge for Apple is being good enough, fast enough to make sure trojan attacks are relegated to social engineering and tainted pirate downloads.
I've actually had a Mac compromised before after being lazy about the password setup. I suspect it difficult for the botnets to get traction, but they're certainly trying.