Allegedly 40 apps on App Store are infected

Your legitimate copy of Angry Birds 2 may be infected with malware that steals your private data. How could this happen?