Via Stack Overflow’s 2018 Developer Survey (sample size ~70,000), most developers feel an obligation to consider the ethical implications of their code 👍:
but most do not feel ultimately responsible for code they’ve written that accomplishes something unethical 😕: