title insurance (of course, you'll have to pay eventually). In California, there are two kinds of title insurances, you can tell them you want both. I remembered the 2nd one covers some areas that the 1st doesn't.
To buy properties at auction, you need to read its prelim report. All the liens should be listed there.