Deadly Cheap Power Supply

This is why I open all power supplies before using them if at all possible.
Mounting this supply would have put the housing at mains voltage. That’s also why you should never forget the protective earth connection.