A Liability Attribution And Security Framework For Fully Autonomous Vehicles