A bomb detonated by terror suspect Aaron Driver inside a taxi cab last week may have malfunctioned and could possibly have been far more deadly, sources tell CTV News.

Police believe the bomb was built in his sister’s home using easily accessible materials and was carried inside a backpack, CTV News has learned. Officials later uncovered more explosive materials inside the Strathroy, Ont., house.

For the first time since the deadly Wednesday confrontation, the RCMP released new details about the final moments leading up to Driver’s death.

After the bomb exploded, Driver exited the taxi and refused to follow officers’ orders, the RCMP said. Officials said Driver shouted “Allahu Akbar” -- Arabic for “God is great” -- before he was shot and killed.

Further investigation revealed how Driver likely built the bomb.

"We found a recipe on his computer on how to make homemade explosives, so we believe it was a homemade device,” RCMP Deputy Commissioner Mike Cabana told CTV News.

The RCMP has also determined that the chilling martyrdom video, in which Driver details his plans for an attack, were filmed at the house.

"I can tell you that based on preliminary findings or indications, it was made at his residence," Cabana said.

The FBI tipped off the RCMP about the existence of the video, and from there investigators used a series of clues to narrow down Driver from a group of suspects. A black mask worn by Driver in the video was one of the key clues to making the connection.

"They were even able to establish that both balaclavas were from the same brand," Cabana said.

According to Cabana, the taxi showed up at 4:18 p.m. and the confrontation unfolded “within a minute.”

That version of events is different from that described by taxi driver Terry Duffield, who said he was in the driveway for at least five minutes before police appeared.

Officials said the house was under surveillance for several hours before the confrontation took place.

Driver was a supporter of the Islamic State and well known to Canadian security officials.

With a report from CTV’s Mercedes Stephenson