An Empirical Study of IoT Security Aspects at Sentence-Level in Developer Textual Discussions
Not on the map. Why?
Abstract (arXiv)
IoT is a rapidly emerging paradigm that now encompasses almost every aspect of our modern life. As such, ensuring the security of IoT devices is crucial. IoT devices can differ from traditional computing, thereby the design and implementation of proper security measures can be challenging in IoT devices. We observed that IoT developers discuss their security-related challenges in developer forums like Stack Overflow(SO). However, we find that IoT security discussions can also be buried inside non-security discussions in SO. In this paper, we aim to understand the challenges IoT developers face while applying security practices and techniques to IoT devices. We have two goals: (1) Develop a model that can automatically find security-related IoT discussions in SO, and (2) Study the model output to learn about IoT developer security-related challenges. First, we download 53K posts from SO that contain discussions about IoT. Second, we manually labeled 5,919 sentences from 53K posts as 1 or 0. Third, we use this benchmark to investigate a suite of deep learning transformer models. The best performing model is called SecBot. Fourth, we apply SecBot on the entire posts and find around 30K security related sentences. Fifth, we apply topic modeling to the security-related sentences. Then we label and categorize the topics. Sixth, we analyze the evolution of the topics in SO. We found that (1) SecBot is based on the retraining of the deep learning model RoBERTa. SecBot offers the best F1-Score of 0.935, (2) there are six error categories in misclassified samples by SecBot. SecBot was mostly wrong when the keywords/contexts were ambiguous (e.g., gateway can be a security gateway or a simple gateway), (3) there are 9 security topics grouped into three categories: Software, Hardware, and Network, and (4) the highest number of topics belongs to software security, followed by network security.
Key facts. Cited by 3 papers in the map (data through 14 Oct 2026). Builds on 13 of its 88 references that are in the map. First posted on arXiv 7 Jun 2022.
Builds on
13 of 88 references.
References · 13
- 2018BERT: Pre-training of Deep Bidirectional Transformers for Language Understandingcited by 40,399
- 2019RoBERTa: A Robustly Optimized BERT Pretraining Approachcited by 13,372
- 2019XLNet: Generalized Autoregressive Pretraining for Language Understandingcited by 2,811
- 2020Code and Named Entity Recognition in StackOverflowcited by 39
- 2018Practical Text Classification With Large Pre-Trained Language Modelscited by 24
- 2021BERT-Based Sentiment Analysis: A Software Engineering Perspectivecited by 9
- 2018Soteria: Automated IoT Safety and Security Analysiscited by 3
- 2018Cross-App Interference Threats in Smart Homes: Categorization, Detection and Handlingcited by 3
- 2021Development and Application of Sentiment Analysis Tools in Software Engineering: A Systematic Literature Reviewcited by 3
- 2021An Empirical Study of the Effectiveness of an Ensemble of Stand-alone Sentiment Detection Tools for Software Engineering Datasetscited by 3
- 2018Sensitive Information Tracking in Commodity IoTcited by 2
- 2017PIANO: Proximity-based User Authentication on Voice-Powered Internet-of-Things Devicescited by 1
Built on by
Citing papers per year: 2022: 3.
3 papers.