Security and Risk Analysis for Intelligent Edge Computing