The Securities and Exchange Commission is the sheriff of the financial industry, looking for crimes such as Bernard Madoff's Ponzi scheme, but a new government report obtained by ABC News has concluded that some senior employees spent hours on the agency's computers looking at sites such as naughty.com, skankwire and youporn as the financial crisis was unfolding.

"These guys in the middle of a financial crisis are spending their time looking at prurient material on the Internet," said Peter Morici, a professor at the University of Maryland and former director of the Office of Economics at the U.S. International Trade Commission.

"It's reckless, and indicates a contempt for the taxpayer and the taxpayer's interest in monitoring financial markets," Morici said.

Play

Wall Street Watchdogs Watching Porn

The investigation, which was conducted by the SEC's internal watchdog at the request of Sen. Chuck Grassley, R-Iowa, found 31 serious offenders during the past two and a half years. That's less than 1 percent of the agency's 3,500 employees but 17 of the alleged offenders were senior SEC officers whose salaries ranged from $100,000 to $222,000 per year.

The SEC would not comment on any specific cases, but said it takes inappropriate use of government resources seriously and deals with abuses on a case-by-case basis.

Some of the big offenders are still on the job, according to sources.

Eight Hours a Day Spent on Porn Sites

One senior attorney at SEC headquarters in Washington spent up to eight hours a day accessing Internet porn, according to the report, which has yet to be released. When he filled all the space on his government computer with pornographic images, he downloaded more to CDs and DVDs that accumulated in boxes in his offices.

An SEC accountant attempted to access porn websites 1,800 times in a two-week period and had 600 pornographic images on her computer hard drive.

Another SEC accountant used his SEC-issued computer to upload his own sexually explicit videos onto porn websites he joined.

And another SEC accountant attempted to access porn sites 16,000 times in a single month.

In one case, the report noted, an employee tried hundreds of times to access pornographic sites and was denied access. When he used a flash drive, he successfully bypassed the filter to visit a "significant number" of porn sites.

The employee also said he deliberately disabled a filter in Google to access inappropriate sites. After management informed him that he would lose his job, the employee resigned.

A similar SEC report for October 2008 to March 2009 said that a regional supervisor in Los Angeles accessed and attempted to access pornographic and sexually explicit Web sites up to twice a day from his SEC computer during work hours.

Porn Problem Began as Economy Collapsed

The report concluded that most of the cases began in 2008, just as the financial system began to collapse, and the problem hasn't stopped.

The most recent case cited in the report occurred four weeks ago.

"Trust me, these guys are addicts," said Mike Leahy, author of the book "Porn Nation."

"This isn't going to end until you know someone really puts a stop to it."