Nearly six-months after his sudden death, the autopsy report for revered hacker Barnaby Jack reveals that the New Zealand-born security professional died of an accidental drug overdose.

Jack, who was living in San Francisco, died of a mixed overdose of heroin, cocaine, Benadryl and Xanax and was "mannered an accident" by the San Francisco Medical Examiner's office, according to Vice.

Jack was the director of embedded device security at the security consulting firm IOActive. He was best known for demonstrating — on-stage — how to hack an ATM to make it spit out money, as well as how to wirelessly hack medical devices. He died just days before he was to give a presentation at the 2013 Black Hat security conference in Las Vegas. During his presentation, Jack was going to demonstrate how he could override the software in a pacemaker from up to 30 feet away in order to send a high-voltage shock strong enough to kill someone.

Because of the suddenness of his death and the nature of his security research, conspiracy theorists wasted no time arguing over the cause of death. The press had difficulties getting information from San Francisco authorities, exacerbating the debate.

The details of Jack's death were first published by The Verge, who obtained Jack's autopsy report, which reveals that the 36-year old had a history of using cocaine, Xanax and opiates.

Image: Getty, Bloomberg