A good boss does not mistreat employees simply because the company asks them to, just like a good engineer does not implement backdoors simply because the company asks them to. If there's no way to do your job ethically, quit. Don't harm others so you can keep collecting a paycheck.
So the difference doesn't really matter. You have a bad boss; take care of yourself first and don't let them push you around.
So the difference doesn't really matter. You have a bad boss; take care of yourself first and don't let them push you around.