Connected and autonomous vehicles (CAVs) are increasingly integrated into the transport sector, creating new vulnerabilities. These vehicles rely on complex networks of sensors, GPS systems, and communication technologies, all of which are susceptible to hacking. Ensuring the cybersecurity of CAVs is vital for maintaining public safety, preventing vehicle hijacking, and safeguarding sensitive transport data.