Apart from its obvious benefits, AI poses a security risk - something the federal government is now aiming to address.