The Massachusetts State Police — roiled by fraud, corruption and embezzling charges — soon will be rubbing shoulders with high rollers, charged with sniffing out crime in the state’s new casinos starting next month.

Thirteen state troopers will be permanently assigned to oversee security at MGM Springfield, which will be the first of three resorts to open in the Bay State’s foray into casinos, according to state officials.

The demanding assignment comes the state’s top cops face a public trust crisis — three troopers were hauled into court in handcuffs last week, with the promise of more to come, charged with pocketing thousands in fraudulent overtime pay. The agency is still dealing with the fallout from the so-called Troopergate scandal — the altering of official police reports on the arrest of a judge’s daughter — and the news that a trooper was fired despite having once turned government witness against her boyfriend in a federal drug case.

“If you have corrupt police, this gives them a lot more chances to do all sorts of corrupt things,” said William N. Thompson, a gaming expert and professor emeritus at the University of Nevada Las Vegas.

Gov. Charlie Baker last week told the Herald he believes the sight of troopers being hauled into court should be enough to restore public confidence, with the agency under the command of newly appointed Col. Kerry Gilpin. And the staties insist they are ready for the new task.

“Our Gaming Enforcement Unit is fully prepared to ensure safety and order within the venue,” said state police spokesman David Procopio. MGM Springfield has also hired a cadre of security professionals and six Springfield police officers will be on hand.

“The unit, a task force that includes both state troopers and Springfield police officers, will be first responders to any criminal or emergency incident on casino property, and will conduct follow-up investigations for any gaming-related crime or other serious crimes such as assault or larceny within the casino.”

But coming on top of back-to-back scandals and corruption concerns, resort gambling is an entirely new security challenge for the department of more than 2,000 troopers. The force already must police state’s highways, Logan International Airport, and high-profile state properties like the Hatch Shell during tomorrow’s Fourth of July celebrations.

“New casinos are more vulnerable to cheaters. They have to be extra vigilant and they need all the help they can get,” said Thompson.

The glitzy complexes can be overrun by crowds and face heightened security concerns following the shooting massacre in Las Vegas, where a gunman killed 58 people from a Mandalay Bay suite.

Resort casinos also dramatically increase drunken-driving incidents, said Thompson. The state police eliminated Troop E, the unit once charged with policing speed and impaired driving along the Mass Pike, which was where the alleged overtime fraud took place. Procopio said several units across the state now monitor different sections of the Pike and he insisted they are up to the task.