Because you likely won't have a warranty, the pre-purchase inspection is your only safety net.
Avoid traditional dealerships, which rarely keep inventory under $5,000. Your best bets are:
: Late-model Ford Focus (manual transmission only) or Pontiac Vibs (which share Toyota Matrix internals) offer modern-ish safety at a bottom-tier price. The Inspection: Verifying the "Bones"