The recent diplomatic dust-up over Chinese telecoms company Huawei, one of the leaders in developing equipment for fifth-generation mobile networks, has demonstrated that this technology which promises to enable an internet of things and self-driving vehicles also poses risks.