I think moral purity tests for work places is a delicate and tough question event for software development.
Which work places would you feel are acceptable?
What about a bank? They invest or loan money to weapons manufacturers.
What about a renewable energy company? What if that company accepted investment with funds from Saudi Arabia / UAE / Qatar?
Etc.