Let's say I order this stuff and flash the firmware of my car.
If there was a bug in comma ai program (like jerking the driving wheel and slam my car in the guard rail without giving me time to react) I guess I am liable?
OpenPilot doesn't require you to flash anything to your car, everything is done using the same CAN messages that the stock ADAS system sends. Further, the microcontroller that communicates between OpenPilot and the vehicle is hardcoded to block any CAN messages OpenPilot sends that are deemed to be too fast to react to:
they have limits in place so it never "jerks" the wheel. They are liable in the same way that your automatic cruise control would accelarate towards a stopped car
If there was a bug in comma ai program (like jerking the driving wheel and slam my car in the guard rail without giving me time to react) I guess I am liable?
That sounds like a bad idea.