NEW YORK — A group of election lawyers and data experts has asked Hillary Clinton’s campaign to call for a recount of the vote totals in three battleground states — Wisconsin, Michigan and Pennsylvania — to ensure that a cyberattack was not committed to manipulate the totals.

There is no evidence that the results were hacked or that electronic voting machines were compromised. The Clinton campaign on Wednesday did not respond to a request for comment as to whether it would petition for a recount before the three states’ fast-approaching deadlines to ask for one.

President-elect Donald Trump won Wisconsin and Pennsylvania by razor-thin margins and has a small lead in Michigan. All three states had been reliably Democratic in recent presidential elections.

The group, led by voting-rights attorney John Bonifaz and J. Alex Halderman, the director of the University of Michigan Center for Computer Security and Society, contacted the Clinton campaign this week. That call, which was first reported by New York Magazine, raised the possibility that Clinton may have received fewer votes than expected in some counties that rely on electronic voting machines.

But Halderman, in an article posted on Medium on Wednesday, stressed that the group has no evidence of a cyberattack or voting irregularities. He urged that a recount be ordered just to eliminate the possibility.

“The only way to know whether a cyberattack changed the result is to closely examine the available physical evidence — paper ballots and voting equipment in critical states like Wisconsin, Michigan and Pennsylvania,” Halderman wrote.

Recounts, which are often costly and time-intensive efforts, would likely only be initiated if the Clinton camp pushed for one, though Wisconsin independently announced that it would conduct an audit of its vote. A call for a recount, particularly coming on the heels of a fiercely contested and sharply partisan election, would likely be cheered by Democrats but denounced by Republicans eager to focus on governing.

A request to the Trump transition team for comment was not immediately returned.

Trump’s campaign had long believed that his message of economic populism would resonate in the Rust Belt. He frequently campaigned in Pennsylvania and made a late push in both Wisconsin and Michigan, successfully turning out white working-class voters whom pollsters may have missed.

Many pre-election polls showed Clinton with slight leads. While advocating for the recounts, Halderman writes that “the most likely explanation” for Trump’s surprise win “is that the polls were systematically wrong.”

The deadlines for petitioning for a recount in all three states are in the coming days, with Wisconsin’s on Friday. Green Party candidate Jill Stein announced a fundraising effort Wednesday to pay for such recounts.

The focal point of any possible electoral cyberattack presumably would have been electronic voting machines that, whether or not they are connected to the internet, could be infected with malware that could change vote totals. But many of those machines produce a paper record of the vote that could be checked to see if the vote tabulations are accurate.

Pennsylvania is considered one of the states most susceptible to hacking because 96 percent of its voting machines have no paper trail. Wisconsin is far less vulnerable because it uses electronic machines with voter-verifiable paper trails in most counties. Michigan is considered the safest of the three because it uses paper ballots.

Officials in the three states confirmed that no recounts have been ordered. A spokesman for the U.S. Justice Department says it is not tallying the number of voting complaints to determine whether federal action is warranted.

Many election experts have called for routine post-election audits designed to boost public confidence in vote outcomes, by guarding against both tampering and natural vote-counting mistakes. These could involve spot-checks of the voting records and ballots, typically in randomly selected precincts, to make sure that votes were accurately recorded.

In many states, audits involve hand-counting the votes on paper ballots and comparing the results to the totals stored in the state’s electronic voting system. Such audits do sometimes turn up mistakes that reverse an election. That happened in Florida’s Palm Beach County in 2012, when a post-election audit determined that the “winners” in two city council races were actually losers.

Routine audits also make it possible to confirm the accuracy of elections without putting the onus on losing candidates to call for a recount. In states without regular audits, a candidate who questions the results gets “painted as a sore loser,” Pamela Smith, president of the nonprofit Verified Voting, said in an interview earlier this year. “If you do a regular audit, you often don’t need a recount. It either shows the count was right or you find something.”

Any attempted hack to swing the results in three states would have been a massive and unprecedented undertaking. But electoral security was an issue that loomed large in many Americans’ minds this year as the Democratic National Committee and several Clinton staffers had their emails breached and later released. U.S. security officials believe that hack of email was orchestrated by Russian hackers.