The suspect in a machete attack on Jewish worshipers celebrating Hanukkah was ordered held on $5 million bail after a prosecutor alleged Sunday that he was found covered in blood by the NYPD cops who arrested him in Harlem.

Grafton Thomas, 37, is also suspected of trying to cover up his alleged Saturday night rampage in suburban Monsey by dousing himself with bleach, Rockland County Assistant District Attorney Michael Dugandzic said in court.

“When the NYPD made the stop, he was found with blood all over his clothing and a strong smell of bleach in the car, like he was trying to destroy evidence,” Dugandzic said.

“No one else was alleged to be involved.”

Dugandzic, who sought to have Thomas held without bail, also said that he has “zero ties” to any of the victims.

“It’s a serious offense. The defendant entered the residence, seriously injuring five people, one with a skull fracture who is still critical. He then fled the jurisdiction,” Dugandzic said.

Thomas, who was brought into Ramapo Town Court court wearing white coveralls and handcuffed behind his back, kept his head bowed and his eyes downcast as the allegations against him were detailed.

Defense lawyer Kristine Ciganek pleaded not guilty on Thomas’s behalf to five counts of attempted murder and one count of burglary.

Thomas lives with his mother in upstate Greenwood Lake has a conviction for a driving-related offense, Ciganek said.

He also received a conditional dismissal of menacing and reckless endangerment charges filed this past summer in Greenwood Lake, Dugandzic said.

It was unclear if that case remains open.

Ramapo Town Justice Rhoda Schoenberger overruled a prosecution request to deny Thomas bail, instead setting the amount at $5 million.

Schoenberger also issued orders of protection on behalf of the victims.

Thomas signed that paperwork after a detective uncuffed his right wrist, then kept a visibly firm grip on his left until handcuffing him again.

Schoenberger scheduled another court hearing for Friday.