本文研究插件访问控制漏洞,通过测试插件评估 IntelliJ IDEA 与 Visual Studio Code 的语言安全机制,并分析基于能力的系统及模块方案,提出安全实践与工具改进建议。
摘要:
随着基于插件的软件系统日益普及,确保插件的安全性已成为一个关键问题。当用户安装插件或浏览来自不受信任来源的含插件网站时,我们如何才能确定它们没有隐含任何不良功能?在本研究中,我们对插件开发中基于语言的安全机制进行了全面研究。我们旨在增进对插件中访问控制漏洞的理解,并通过引入一个基于能力的系统来探索有效的安全措施。我们还开发并评估了测试插件,利用 Java、JavaScript 以及相关 API 和框架,评估 IntelliJ IDEA 和 Visual Studio Code 等流行开发环境中的安全机制。我们还探讨了基于能力的模块系统这一概念,将其作为实现插件安全的替代方法。研究进行了比较分析,以评估基于能力的系统在解决前文所识别的访问控制漏洞方面的有效性。最后,本文提出了改进插件安全实践和工具的建议,强调在不断演变的软件插件领域中,强健安全措施的重要性。
英文摘要:
With the increasing popularity of plugin-based software systems, ensuring the security of plugins has become a critical concern. When users install plugins or browse websites with plugins from an untrusted source, how can we be sure that they do have any undesirable functions implicitly? In this research, we present a comprehensive study on language-based security mechanisms for plugin development. We aim to enhance the understanding of access control vulnerabilities in plugins and explore effective security measures by introducing a capability-based system. We also developed and evaluated test plugins to assess the security mechanisms in popular development environments such as IntelliJ IDEA and Visual Studio Code by utilising Java, JavaScript, and associated APIs and frameworks. We also explore the concept of capability-based module systems as an alternative approach to plugin security. A comparative analysis is conducted to evaluate the effectiveness of capability-based systems in addressing access control vulnerabilities identified in earlier sections. Finally, recommendations for improving plugin security practices and tools will be presented, emphasizing the importance of robust security measures in the ever-evolving landscape of software plugins.
Evaluating Agent Skills for Version-Specific Plugin Migration: A Retrospective Study
Tsinghua University(清华大学);Fudan University(复旦大学);PetroChina Southwest Oil & Gasfield Company(中国石油西南油气田公司);Jilin University(吉林大学);The Frederick Gunn School(弗雷德里克·冈学校);Shenzhen University(深圳大学);Dalian Neusoft University of Information(大连东软信息学院);University of Chinese Academy of Sciences(中国科学院大学);Dalian University of Technology(大连理工大学);Jiyin Zhiyuan (Shanghai) Technology Co., Ltd.(基音致远(上海)科技有限公司);Lanzhou University of Technology(兰州理工大学);Harbin Engineering University(哈尔滨工程大学);Alibaba Cloud(阿里云);Jianghan University(江汉大学);Jiuxiangxian (Beijing) Technology Co., Ltd.(九象先(北京)科技有限公司);Sun Yat-sen University(中山大学);Great Bay University(东莞理工学院);Beijing Information Science and Technology University(北京信息科技大学)
A.S.E: A Repository-Level Benchmark for Evaluating Security in AI-Generated Code
Tencent(腾讯公司);Peking University(北京大学);Fudan University(复旦大学);Shanghai Jiao Tong University(上海交通大学);Tsinghua University(清华大学);Zhejiang University(浙江大学);Institute of Information Engineering, Chinese Academy of Sciences(中国科学院信息工程研究所);Singapore Management University(新加坡国立大学)
Evaluating and Improving the Robustness of Security Attack Detectors Generated by LLMs
Samuele Pasini Universit\`a della Svizzera italiana, Switzerland Jinhan Kim Universit\`a della Svizzera italiana, Switzerland Tommaso Aiello SAP Labs France, France Rocio Cabrera Lozoya SAP Labs France, France Antonino Sabetta SAP Labs France, France Paolo Tonella Universit\`a della Svizzera italiana, Switzerland
RealSec-bench: A Benchmark for Evaluating Secure Code Generation in Real-World Repositories
Sun Yat-sen University(中山大学);Nanyang Technological University(南洋理工大学);Alibaba Group(阿里巴巴集团);The State Key Laboratory of Blockchain and Data Security, Zhejiang University(浙江大学区块链与数据安全国家重点实验室)