What are the limits of what you would do as a computer scientist?Discuss

What are the limits of what you would do as a computer scientist? For example, you may have no issues designing an algorithm for detecting and removing fake news (even though it is a type of censorship). However, you probably would not want to implement a face recognition algorithm to detect sexual orientation, especially for a government that persecutes people on this basis.