Achieving the Safety and Security of the End-to-End AV Pipeline