You need a phone, car, society to function and live a reasonably high quality of life.
OP has options here and this makes all the difference. No one is forcing him to write deanonymizing software, and he faces no loss in quality of life by finding a job in which he can work on something more ethical, whereas the people in the comic all face a significant loss.
Someone will write the software one way or another. All that OP would achieve by leaving is to increase the price for this specific thing a little bit. Also, insiders like OP always have specific insights into the full extent of the thing they are involved in so they also know really well how bad it is.