I am in a very uncomfortable situation. I was hired as a software developer, but I was somehow talked into designing electronics. I told them I can try, but I am not a electrical engineer. Everything started with low voltages and it seems like the product is working fine. Our newest development is a handheld device with mains voltage.
I need this job because I have to take care of my daughter. I've been working on this thing for months already and it feels like simply saying "I don't know what I am doing. This seems like a bad idea to let me do this task" is not viable for me anymore. I just noticed there was a major flaw in my design and luckily it can be fixed, but I wonder how many things I did not see.
I know I cannot continue like this because there is a chance someone will get injured or even die. If I tell the truth I can look for a new job and I feel like if I leave and tell them, I am certain they will still use my design even with a warning.
I already created forged documents about results of safety-relevant tests of another department (mechanical engineering), because the test station failed to protocol the results and no one noticed for three years. After I joined I looked into the system and source code. I saw it only generates dummy data, built in from an external contractor. I told them about it and it was fixed and works again, but it was too expensive to repeat three years of tests, so I was told to generate fake protocols.
I was thinking about going to the police. Maybe this way I will be fired and my company has no chance to use my work. I don't know if I will receive government support (ALG I, Germany) in this drastic case.
What should I do?