Thank you for visiting nature.com. You are using a browser version with limited support for CSS. To obtain
the best experience, we recommend you use a more up to date browser (or turn off compatibility mode in
Internet Explorer). In the meantime, to ensure continued support, we are displaying the site without styles
Scientists who develop algorithms based on user data face a moral dilemma: if their work is subverted to manipulate democracy or to support oppressive regimes, they could become part of something they would not knowingly endorse.