Understanding and Mitigating Digital System Vulnerabilities