Does Collaborative Editing Help Mitigate Security Vulnerabilities in Crowd-Shared IoT Code Examples?
Madhu Selvaraj, Gias Uddin

TL;DR
This study investigates whether collaborative editing on developer forums effectively reduces security vulnerabilities in shared IoT code snippets, finding limited impact of revisions on vulnerability mitigation.
Contribution
It provides an empirical analysis of vulnerability presence and revision effects in IoT code snippets on Stack Exchange sites, highlighting the limited effectiveness of current collaborative editing.
Findings
Many code snippets contain security vulnerabilities like CWE 788.
Most code snippets are not revised after initial posting.
Revisions rarely reduce vulnerabilities, and often do not change vulnerability levels.
Abstract
Background: With the proliferation of crowd-sourced developer forums, software developers are increasingly sharing more coding solutions to programming problems with others in forums. The decentralized nature of knowledge sharing on sites has raised the concern of sharing security vulnerable code, which then can be reused into mission critical software systems - making those systems vulnerable in the process. Collaborative editing has been introduced in forums like Stack Overflow to improve the quality of the shared contents. Aim: In this paper, we investigate whether code editing can mitigate shared vulnerable code examples by analyzing IoT code snippets and their revisions in three Stack Exchange sites: Stack Overflow, Arduino, and Raspberry Pi. Method:We analyze the vulnerabilities present in shared IoT C/C++ code snippets, as C/C++ is one of the most widely used languages in…
Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Videos
No videos yet. Explain this paper in a talk, walkthrough, or lecture? Add one.
