Millions of people are at risk after downloading dangerous applications onto their smartphones.