The IEEE code of ethics might be a good start
https://www.ieee.org/about/corporate/governance/p7-8.html
As a hardware engineer, I had an IEEE membership until retirement, with this code of ethics. Not perfect, but has evolved over decades and touches on all the pertinent topics save privacy and security.