I think software wise the diagnostic tools have to verify with the computer it's authentic or something like that, ot might still be the obd standard.
And this is under the guise that someone could hack into your car and stalk you or disable parts of your car to kill you. My problem with that argument is that the car shouldnt be designed to do that in the first place. Cars want so badly to become a subscription service and make money off selling ads and data. And the worst part is there are soooo many less privacy protections in your car than with other consumer electronics. Its like the LG situation but waaaay worse.
Cars are in the process of being not cars anymore and transforming into this weird thing you arent going to own, but its not going to be public transport because you as a individual still have to pay for majority of the funding in someway because everything has to be done through apps now.
So imagine a world where you buy a Tesla full self driving car, and it costs more than your house. To subsidies that you rent out your car as a robo taxi to make money to help pay it off, which will take 10+ years. And on top of that elon musk takes a 30% cut and is incharge of all the rates you receive and that the rider has to pay. Meaning there will be dark patterns that manipulate you like door dash does to force drivers to work for less money. You can't work on the car only a special mechanic can and has to get sent to Tesla who is incharge of what they can charge you, and can revoke your access to the car and keep your money. It will just self reposes itself like fords patent