Market-based security for mobile devices