跳到主要导航 跳到搜索 跳到主要内容

Protect Your Secrets: Understanding and Measuring Data Exposure in VSCode Extensions

  • Yue Liu
  • , Chakkrit Tantithamthavorn*
  • , Li Li
  • *此作品的通讯作者
  • Monash University

科研成果: 书/报告/会议事项章节会议稿件同行评审

摘要

Recent years have witnessed the emerging trend of extensions in modern Integrated Development Environments (IDEs) like Visual Studio Code (VSCode) that significantly enhance developer productivity. Especially, popular AI coding assistants like GitHub Copilot and Tabnine provide conveniences like automated code completion and debugging. While these extensions offer numerous benefits, they may introduce privacy and security concerns to software developers. However, there is no existing work that systematically analyzes the security and privacy concerns, including the risks of data exposure in VSCode extensions. In this paper, we investigate on the security issues of cross-extension interactions in VSCode and shed light on the vulner-abilities caused by data exposure among different extensions. Our study uncovers high-impact security flaws that could allow adversaries to stealthily acquire or manipulate credential-related data (e.g., passwords, API keys, access tokens) from other extensions if not properly handled by extension vendors. To measure their prevalence, we design a novel automated risk detection framework that leverages program analysis and natural language processing techniques to automatically identify potential risks in VSCode extensions. By applying our tool to 27,261 real-world VSCode extensions, we discover that 8.5 % of them (i.e., 2,325 extensions) are exposed to credential-related data leakage through various vectors, such as commands, user input, and configurations. Our study sheds light on the security challenges and flaws of the extension-in-IDE paradigm and provides suggestions and recommendations for improving the security of VSCode extensions and mitigating the risks of data exposure.

源语言英语
主期刊名Proceedings - 2025 IEEE International Conference on Software Analysis, Evolution and Reengineering, SANER 2025
出版商Institute of Electrical and Electronics Engineers Inc.
551-562
页数12
ISBN(电子版)9798331535100
DOI
出版状态已出版 - 2025
活动32nd IEEE International Conference on Software Analysis, Evolution and Reengineering, SANER 2025 - Montreal, 加拿大
期限: 4 3月 20257 3月 2025

出版系列

姓名Proceedings - 2025 IEEE International Conference on Software Analysis, Evolution and Reengineering, SANER 2025

会议

会议32nd IEEE International Conference on Software Analysis, Evolution and Reengineering, SANER 2025
国家/地区加拿大
Montreal
时期4/03/257/03/25

指纹

探究 'Protect Your Secrets: Understanding and Measuring Data Exposure in VSCode Extensions' 的科研主题。它们共同构成独一无二的指纹。

引用此