Protect Your Secrets: Understanding and Measuring Data Exposure in VSCode Extensions
Not on the map. Why?
Abstract (arXiv)
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 vulnerabilities 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.
Key facts. Cited by 1 paper in the map (data through 7 Oct 2026). Builds on 15 of its 47 references that are in the map. First posted on arXiv 1 Dec 2024.
Builds on
15 of 47 references.
References · 15
- 2018BERT: Pre-training of Deep Bidirectional Transformers for Language Understandingcited by 40,204
- 2019PyTorch: An Imperative Style, High-Performance Deep Learning Librarycited by 20,160
- 2023GPT-4 Technical Reportcited by 18,132
- 2019HuggingFace's Transformers: State-of-the-art Natural Language Processingcited by 2,201
- 2021Asleep at the Keyboard? Assessing the Security of GitHub Copilot's Code Contributionscited by 417
- 2023Large Language Models for Software Engineering: A Systematic Literature Reviewcited by 389
- 2023Refining ChatGPT-Generated Code: Characterizing and Mitigating Code Quality Issuescited by 78
- 2019Small World with High Risks: A Study of Security Threats in the npm Ecosystemcited by 36
- 2021Deep Learning for Android Malware Defenses: a Systematic Literature Reviewcited by 18
- 2023On the Reliability and Explainability of Language Models for Program Generationcited by 17
- 2022Explainable AI for Android Malware Detection: Towards Understanding Why the Models Perform So Well?cited by 10
- 2022Automatically Recommend Code Updates: Are We There Yet?cited by 7
Built on by
Citing papers per year: 2025: 1.
1 paper.