This should be a lesson for everyone: Don't use Oscommerce. The code is terrible, lots of security flaws, and it's not easy to update. Since html templates and business logic are mixed, you need to manually make security updates to your files. I suspect this is why so many installations get compromised. I recommend: Magento, opencart, or interspire cart (this one costs money, but you get the source)
A friend of mine tried outsourcing an e-commerce site to somewhere in India from freelance.com or one of those sites to save a little time and money for a project he said he could do for someone. He had absolutely no programming experience and didn't believe my "you get what you pay for" type attitude. A week or two and a few hundred dollars later he was all excited about how he was able to "manage" the developer and get everything done. Within a week the site was offline, completely destroyed by a script hacker exploiting some weakness in an out of date version of osCommerce. I think he just had to learn that lesson for himself though.