All car ownership is a crapshoot. Any vehicle is at risk of a catastrophic problem so once a warranty runs out, you're at risk too. Personally, I've found buying rebuilt vehicles can be a smart way to reduce the financial exposure.
I've bought 3 rebuilt vehicles in the last 10 years. Because of lack of interest in them, I bought for many thousands of dollars less and could pay cash. No need for a loan approval. No problem getting insurance, as the coverage is simply based on market value, consistent with my cost of ownership. Each have proven their reliability and I will continue to do the same.
The situation of the vehicle just needs to be known. In my area, there's a market of mechanics that buy totaled vehicles at auction to do some work on and resell for profit. They are not fools. They won't buy a vehicle, clearly seeing the damage, not knowing they can repair it to be nearly indistinguishable from before the damage. They often share photos and the records of the work done.
The insurance industry creates this market. Recently, my first rebuilt vehicle, a Subaru Outback was rear ended at about 10 mph and the other driver's insurance company declared it a total loss. Here's a little run down:
-I got a body shop's estimate for repairs, at about 5k. The shop was actually the insurance company's preferred network. $5K is pretty crazy but that is what happens when most of their business is billing insurance. It was perfectly drivable, only cosmetic damage except for for the broken left side tail lights.
-Insurance company assesses the market value of the car to be around $6.2k. They explain to me that if the repair cost is close to the assessment, they declare it a total loss. The settlement to me is the market value plus extra to cover my expenses to find a replacement vehicle. In this case, they decided a total of $8.3k.
-This $8.3k would go a long ways to getting into a larger vehicle since baby is on the way, so I accept it. I did have the option to keep the car and accept about $4.3k from the insurance company because that is the difference between the market value and the amount they would expect from the auction sale. But since I am not a mechanic and now we would prefer to get into a different vehicle anyway, the settlement sounds good.
-A few week later, I see my old car up on facebook market place for about $4.5k. It looked like whoever bought it put only a few hundred bucks into straightening out some dents and replaced the lights, but it would be perfectly reliable to drive for at least another 75k miles.
The key is to look for a reliable brand and model of car first. At least 5 years old is good because common problem vehicles will then be known and reliability is proven for the other ones. Look for not too high of miles, I feel less than 120k on a reliable car has still got a lot of life left but market price has probably dropped unfairly. When you check them out in person, put it through its paces on the test drive making sure it tracks straight as an arrow with balanced air pressure in the tires and there are no fluid leaks after driving it. Get as much information as you can about why it was totaled and the work done to rebuild it. If you are still not sure but interested, have a trusted mechanic check it out. It does take some more leg work, but honestly, you'd probably want to do the same level of inspection with any used vehicle.
Too many vehicle owners see their purchase as an investment or as a reflection upon themselves. It's neither. It's a tool to get around with and every single one of them will eventually fail, mostly unpredictably regardless of their title status. You can use this common misconception to take advantage of the market.