The black teen killed by a white cop in Ferguson, Mo., viciously attacked the officer as he sat in his patrol car, delivering a bone-crunching punch that shattered the cop’s eye socket, a report claimed Tuesday.

Officer Darren Wilson suffered an “orbital blowout fracture to the eye socket,” Gateway Pundit reported, citing sources in the St. Louis County Police Department and the DA’s office.

Wilson, who shot unarmed 18-year-old Michael Brown on Aug. 9, has not spoken publicly about the shooting, and is currently holed up at an undisclosed location.

A close friend revealed text messages the pair exchanged in which the cop said he is under 24-hour guard and “can’t go out,” the Daily Mail reported.

Jake Shepard, a nurse who has been friends with Wilson for 14 years, said Wilson did the right thing by defending himself against the hulking teen.

Wilson’s first text was sent last Friday after Shepard spoke to CNN in support of his pal.

“Thanks buddy I wasn’t expecting that,” Wilson wrote.

“No problem buddy, you deserve it,” Shepard responded, to which Wilson replied, “It means a lot thank you.”

Wilson texted him again on Monday, saying, “The support is really keeping me going during this stressful time. Just stay safe. I appreciate all you have done.”

Meanwhile, tensions flared in St. Louis — four miles from where Brown was slain — when cops killed a knife-wielding robbery suspect shouting, “Shoot me now! Kill me now!,” authorities said.

The shooting happened about 12:30 p.m. local time after the unidentified man had swiped energy drinks and pastries, St. Louis Police Chief Sam Dotson said.

“The suspect, who right now is described as a 23-year-old African-American, was acting erratically — walking back and forth up and down the street,” Dotson told reporters.

“As officers arrived, the suspect turned towards the officers and started to walk towards them clutching his waistband. He then pulled out a knife . . . and told the officers, ‘Shoot me now! Kill me now!’ ” the chief said.

“One of the witnesses described it as a suicide by cop.”

Cops said the shooting had no connection to the Ferguson case, describing it as an isolated incident.

But a crowd of about 100 gathered at the scene, some of them chanting “Hands up! Don’t shoot!” — the same refrain chanted by protesters in Ferguson.

The St. Louis cops involved in the shooting were placed on administrative duty according to department policy, Dotson said. Their identities were not revealed and neither officer’s race was immediately disclosed.

In Ferguson, officials called yet again for calm after at least 31 people were arrested overnight Monday into Tuesday — including a self-styled Communist revolutionary from Brooklyn.

Travis Morales was charged with refusal to disperse after he ignored cops’ orders to move, sources said.

A Vine video shows a man believed to be Morales — clad in a T-shirt that reads “Revolution, Nothing Less” — arguing with cops before his arrest.

State Highway Patrol Capt. Ron Johnson ripped Morales and other outside agitators for bringing violence to Ferguson.

“I am not going to let the criminals that have come here from across this country, or live in this neighborhood, define this community,” Johnson said.

About 17 others busted were also from out of state, including demonstrators from Chicago and other parts of Illinois, Alabama, Iowa, California, Washington, DC, and Austin, Texas.

Two people were shot overnight, but neither shooting involved the police. However, cops did fire multiple canisters of tear gas to disperse rioters and prevent further looting.

Also Tuesday, Benjamin Crump, an attorney for Brown’s family, said the teen’s funeral and memorial service would be held Monday.