Created an account to respond here.
I understand where you're coming from, I'm the same way. It's about taking pride in your work and taking responsibility for the success and quality of your own work.
As you noted, it's risky in that others may take issue with your actions, but it's not nearly as risky as the hell that is being forced to work 8 hours/day for things that don't matter to you at all.
I'll speak only for myself here, but:
Not everyone is made like that, but on the flip side it's why I'm typically respected and appreciated. And for environments that don't appreciate that attitude I quickly leave or am pushed out (generally I leave).
perfect example, a few years back I left a position due to power politics. Before I had gotten there a man had been removed as head of the It department but due to the good old boys system had wiggled his way into the CISO position.
I gave it about 8 months but at some point it became clear the CISO was using his position to ensure IT failed overall. And indeed about 3 months after I left, that's exactly what happened and the whole of IT was once again put back under this man.
I could have chosen to simply do the work, take a paycheck, and not care. That's not me. Compromises are always made, but if I fundamentally cannot take pride in my work then I don't stay.