Perhaps increase fees/taxes on "toxic" shares in companies that have broken significant laws with intent or maybe force these companies to settle by issuing diluting stock that goes to agencies responsible for cleaning up the mess. Or even tax revenue instead of profit on these toxic shares which would create a huge incentive, especially for executives and large stock holders.
The point is to tweak and realign incentives, it doesn't have to be passing on extreme financial liability to shareholders. Most investors can't take a huge hit on their portfolio like a company with tens or hundreds of billions of dollars of revenue can.
You can argue it should be worse, but we don't need some special new mechanism. The fine can be anywhere from $1 to the the market capitalization+1 and the effects would then range from a slap on the wrist to bankruptcy and the loss of all equity in the company for shareholders.
What about people who may have invested in a fund that bought shares? Should the fund managers fear punishment? Should the people that bought into the fund be punished?
This is where the "punishment for those who benefit" gets complicated. It's hard to work out the people that should NOT be punished.
This is actually an interesting thought. What if they did have to fear punishment? Perhaps in the form of having a percentage of the settlement/regulatory fees passed to them via their brokerage accounts. A mechanism like this would mean that potentially shady/unethical corporate behavior would be reflected much more strongly in the stock price, since holding onto those stocks would carry risks beyond just the stock price temporarily going down during lawsuits.
It would also put immense pressure on corporations to not do shady shit.