Tip Of The Week: Research. Research. Research. Not only should you research the history of the specific vehicle you're checking out (Carfax) you should check out the Make & Model's History.  
Does anyone remember the massive recall in 2014? Chevy recalls the Chevy cobalt (and others) a DECADE after finding ignition-switch defect. They recalled more than 700,000 vehicles due to faulty ignition switches for 2005-2007 Chevy Cobalts.  They stopped making the vehicle in 2010, which doesn't stop the amount circling out there. 
Check out this article.  https://www.cbsnews.com/news/gm-recalls-chevy-cobalt-other-vehicles-a-decade-after-finding-ignition-switch-defect/