My friends at 80,000 Hours try to calculate what the most socially beneficial jobs are, for career advising purposes. The site is called 80,000 Hours because that's the amount of time the average person spends on work over their lifetime.
They recently put up a post about the 10 most harmful jobs. The list includes weapons research, tax minimization for super-rich people, and patent trolling. (These and the others strike me as sensible choices.) Also interesting is their discussion of jobs that they considered but didn't put on the list.