A security specialist who worked with Kim Kardashian and Kanye West this year said of her terrifying Paris incident, “This was a crime waiting to happen. Kim is lucky to be alive.”

Steve Stanulis, who provided security for Kimye during New York Fashion Week in February for 10 days, and worked with them again around the Met Gala in May, told Page Six, “Kim’s social media and her Snapchat is her undoing. When she is posting, ‘Here I am, and this is the $5 million ring I am wearing, here’s where I am going,’ you are basically inviting someone to rob you.”

Stanulis said the celebrity couple does not take their security as seriously as they should.

“When I worked with them, Kanye would ask me to walk 10 feet behind him, which makes it so hard for anyone working their security to do anything if someone lunges at them. There was numerous times he’d try to ditch his security. He’d jump in a car and tell me to take a taxi.”

He said this should be a wake-up call for Kardashian, 35, who needs armed security guards: “They need to pay for an armed security guard. She almost got killed at gunpoint, because she didn’t want to pay for an extra armed and well-trained person. It takes one minute of dialogue to figure out if someone really is a cop, they should not have got in the building.

“Sadly, the only person to blame for this incident is Kim Kardashian. She has tens of millions of dollars of jewelry, but she can’t pay for an armed guard to protect her? The fact that five days ago that someone broke through her security chain and tried to grab her, then this happened, shows her security is not strong enough, and this should be a wake-up call.”

But he defended Kardashian’s bodyguard Pascal Douvier, who is her head of security. Douvier was with Kardashian earlier this week when she was grabbed by notorious prankster Vitalii Sediuk, who tried to kiss her backside, in Paris. Douvier wrestled Sediuk to the ground.

But Douvier, an ex-German military officer and judo champ, was not with Kardashian when she was robbed on Sunday night. Reports said he was instead out with her sisters Kourtney Kardashian and Kendall Jenner at a club.

Stanulis, who was fired by West, 39, who accused him of being too friendly with Kardashian, continued, “Pascal is their main guy, and he’s awesome, but he’s not armed, he’s not a police officer. He is former German military with some serious forces training, he’s their head of security and goes everywhere with them. But the truth is he needs backup from an armed guard.”

Stanulis added that there were still many unanswered questions about the robbery, including suspicions it was an inside job. He said, “I would say it’s either an inside job or publicity stunt. That hotel is so secure, somebody must have tipped them off that she was alone inside, or shown them a way in.”

See Kim Kardashian return to New York after her terrifying robbery: