Governments all over the world are using their citizens’ personal data -from someone’s children’s travel history to machine-made guesses about who someone sleeps with- and combine them into ‘fraud risk scores’. How these algorithms work is largely hidden from the public, but they are already transforming once well-functioning societies into a surveillance culture defined by distrust.