I. Introduction
Since its launch in 2008, Stack Overflow (SO) has served as the infrastructure for developers to discuss programming-related questions online, and provided the community with crowdsourced knowledge [1], [2]. Prior work shows that SO is one of the most important information resources that developers rely on [3], [4]. Meanwhile, researchers also revealed that some highly upvoted, or even accepted answers on SO contained insecure code [5], [6]. More alarmingly, Fischer et al. found that insecure code snippets from SO were copied and pasted into 196,403 Android applications available on Google Play [5]. Several high-profile applications containing particular instances of these insecure snippets were successfully attacked, and user credentials, credit card numbers and other private data were stolen as a result [7].