I was waiting for someone to make this point; It's funny how in other engineering disciplines there are clear repercussions for designing something that breaks the law, but software engineers are somehow exempt.
"The client didn't want to pay for a GFI so it's not my fault he got electrocuted ¯\_(ツ)_/¯"