Poisoned ChatGPT Finds Work for Idle Hands: Exploring Developers' Coding Practices with Insecure Suggestions from Poisoned AI Models
Sanghak Oh, Kiho Lee, Seonhye Park, Doowon Kim, Hyoungshick Kim

TL;DR
This paper investigates the real-world security risks of poisoning attacks on AI-powered coding assistants, revealing that such attacks can lead to insecure code suggestions and emphasizing the need for better developer awareness and tool safeguards.
Contribution
It provides empirical evidence from user studies showing the practical impact of poisoning attacks on developers' coding practices and security.
Findings
Poisoned AI tools increase insecure code suggestions.
Developers often trust AI tools despite security risks.
Security vulnerabilities are more prevalent with poisoned ChatGPT-like tools.
Abstract
AI-powered coding assistant tools have revolutionized the software engineering ecosystem. However, prior work has demonstrated that these tools are vulnerable to poisoning attacks. In a poisoning attack, an attacker intentionally injects maliciously crafted insecure code snippets into training datasets to manipulate these tools. The poisoned tools can suggest insecure code to developers, resulting in vulnerabilities in their products that attackers can exploit. However, it is still little understood whether such poisoning attacks against the tools would be practical in real-world settings and how developers address the poisoning attacks during software development. To understand the real-world impact of poisoning attacks on developers who rely on AI-powered coding assistants, we conducted two user studies: an online survey and an in-lab study. The online survey involved 238…
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.
Taxonomy
TopicsSoftware Engineering Research · Advanced Malware Detection Techniques · Artificial Intelligence in Healthcare and Education
