When I was taking CS Engineering UG course(IN~2008), there was an elective subject(have to be chosen by entire class) called 'Engineering Ethics'. It was a preferred elective as there was no course work and I think there were no tests as well.
I remember the professor starting the class as,
>"If a Structural/Civil Engineer builds a bridge and it goes down, he/she will go to jail; lucky for you guys there are no ethics for computer science".
Now that a code can easily manipulate the life of an individual, I think we need to bring in accountability into CS/programming along with universal whistleblower protections for reporting unethical behaviour at work from UN.