The public outcry against the bank bailouts was driven in part by suspicions that a heads-we-win, tails-you-lose ethos pervades the financial industry. To many, that Goldman and others are once again minting money — and paying big bonuses to their employees — is evidence that Wall Street got a sweet deal at taxpayers’ expense. The accusations against Goldman may only further those suspicions.

Image The main office of Goldman Sachs in Lower Manhattan. The company could face a drawn-out, messy and public legal battle. Credit... Brendan McDermid/Reuters

“The S.E.C. suit against Goldman, if proven true, will confirm to people their suspicions about the total selfishness of these financial institutions,” said Steve Fraser, a Wall Street historian and author of “Wall Street: America’s Dream Palace.” “There’s nothing more damaging than that. This is way beyond recklessness. This is way beyond incompetence. This is cynical, selfish exploiting.”

On Friday, Goldman’s stock took a beating, falling 13 percent and wiping out more than $10 billion of the company’s market value. It was a possible sign that investors fear that the S.E.C. complaint will damage Goldman’s reputation and its ability to keep its hands on so many sides of a trade — a practice that is immensely profitable for the firm.

It is unclear whether the S.E.C. can prevail against Goldman. The bank has long maintained that it puts its clients first and, in a letter in its latest annual report, it reiterated that position. Goldman said it never “bet against our clients” in its trades but rather was trying to hedge against other trading positions.

The transaction cited in the S.E.C. complaint cost investors just over $1 billion, relatively small by Wall Street standards.

Still, Wall Street analysts said Goldman and other banks, having navigated the financial crisis, might now face a new kind of risk: angry investors. Most major Wall Street banks also created collateralized debt obligations, which are at the heart of the Goldman case. C.D.O.’s, which are essentially bundles of securities backed by mortgages or other debt securities, turned out to be among the most toxic investments ever devised.

“Any investor who bought these C.D.O.’s and lost a significant amount of money is probably looking at their investment and wanting to know: what were the details behind the sale?” said William Tanona, an analyst at Collins Stewart. “Will they contact the S.E.C. and say, ‘Here’s the transaction we participated in, and we’d love to know who is on the other side of it?’ ”