Electronic Keys Unsafe? Guess What, so are Mechanical Keys!
A device called the Electronic Key Impressioner (EKI) comes with common vehicle keyway inserts, a USB cable, and lock mapping software. It uses magnetic fields to measure the characteristics of each individual pin tumbler.
At first they were strictly controlled but these days they can be bought all over with no restraints.
I drive a motorcycle in the city and the police, and car park attendants, are very adept at snatching keys from the locks which permit key withdrawal from lock+park and locked positions. I had the lock modified so that they key removal is limited to lock+park which also requires the handlebars be turned to the left.
You can't beat a Master Battery Switch!