A deranged attacker wore a mask from the horror movie “Scream” when she broke into a Chicago home — repeatedly stabbing a middle-aged woman after telling her, “God is making me do this,” prosecutors said.

The critically injured victim had been asleep on her son’s couch when she awoke to the terrifying sight of a mask-wearing intruder standing over her with a knife, according to the Chicago Tribune.

After begging the attacker, Patricia Calhoun-Murdock, not to hurt her, the 56-year-old woman was repeatedly stabbed, with her throat slashed twice and her heart punctured in the frenzied attack, Cook County Circuit Court heard Sunday.

Calhoun-Murdock, 20, then took a shower and sat down to eat and watch TV, according to the report. The unidentified victim tried to play dead but was allegedly warned, “I can still hear you breathing.”

Hearing her daughter-in-law coming home, the victim managed to call out for her to dial 911. Calhoun-Murdock repeatedly hit her with a bat and threatened to kill her before fleeing the house, Assistant State’s Attorney Lorin Jenkins told the court.

The victim was rushed in critical condition to the University of Chicago Medical Center, where she was treated for 39 stab wounds to her face, neck, stomach and skull. Her throat was slit in two places, her heart was punctured and she had a broken right arm, the Tribune said.

The attacker left behind a cellphone and a wallet with documents that included her name, prosecutors said.

Calhoun-Murdock was arrested Friday — nearly two weeks after the attack — and charged with attempted murder, home invasion and residential burglary, according to the report.

She made “admissions consistent with the victim’s account of the incident,” Jenkins said, also telling authorities she had “mental health concerns,” according to court documents seen by the Tribune.

Judge Mary Marubio cited the “truly random and violent nature of the crime” as she ordered Calhoun-Murdock held without bond, the paper said.