That seems like a very weak failsafe likely to be easily cracked and those bad actors only slowed down a bit - if history is any guide.
Why not implement something like detecting voltage drop between charger and device? Short circuit detection, etc. You can do a lot if you can have both sides communicate with each other, and at that point it matters a whole lot less if your cable lies to you plus you catch a lot of other failure conditions.