After the Cambridge Analytica "issue", ethics becomes more and more of an issue to clarify in the minds of project team members (and managers):
https://www.itproportal.com/features/rewriting-the-code-for-ethics-in-software-development/
Quoting:
"Redefining and reporting on grey areas
However, as with all questions around ethics, inevitably, grey areas remain. Take for instance a recent survey that asked developers if they would report on ethical issues with their code in which over a third of respondents replied with 'it depends on what it is'. Equally, 58% would hold the upper management or board level members ultimately responsible for code that is produced for unethical purposes. This quite clearly illustrates the current uncertainty - and maybe even fear of speaking up - when it comes to computer ethics in action; just 13% would publicly report an unethical coding practice.
As an industry, we need to be mindful to consider the purpose of our works and make sure there are safe ways to air concerns that arise during the course of development. Some infrastructure for this exists already in many companies, but we could regulate this to allow ethical concerns to be raised without causing undue stress and worry. (...)"