Using ChatGPT as a Static Application Security Testing Tool

被引:2
|
作者
Bakhshandeh, Atieh [1 ,2 ]
Keramatfar, Abdalsamad [1 ,2 ]
Norouzi, Amir [1 ,2 ]
Chekidehkhoun, Mohammad M. [1 ,2 ]
机构
[1] Res Ctr Dev Adv Technol, Tehran, Iran
[2] MIT, Res & Engn, Cambridge, MA 02139 USA
关键词
Artificial Intelligence-based Code; Review ChatGPT Model; Common Weakness Enumeration; Static Application Security; Testing Vulnerability Detection;
D O I
10.22042/isecure.2023.182082
中图分类号
TP [自动化技术、计算机技术];
学科分类号
0812 ;
摘要
In recent years, artificial intelligence has had a conspicuous growth in almost every aspect of life. One of the most applicable areas is security code review, in which a lot of AI-based tools and approaches have been proposed. Recently, ChatGPT has caught a huge amount of attention with its remarkable performance in following instructions and providing a detailed response. Regarding the similarities between natural language and code, in this paper, we study the feasibility of using ChatGPT for vulnerability detection in Python source code. Toward this goal, we feed an appropriate prompt along with vulnerable data to ChatGPT and compare its results on two datasets with the results of three widely used Static Application Security Testing tools (Bandit, Semgrep, and SonarQube). We implement different kinds of experiments with ChatGPT and the results indicate that ChatGPT reduces the false positive and false negative rates and has the potential to be used for Python source code vulnerability detection.
引用
收藏
页数:8
相关论文
共 50 条
  • [41] SMRL: A Metamorphic Security Testing Tool for Web Systems
    Mai, Phu X.
    Goknil, Arda
    Pastore, Fabrizio
    Briand, Lionel C.
    2020 ACM/IEEE 42ND INTERNATIONAL CONFERENCE ON SOFTWARE ENGINEERING: COMPANION PROCEEDINGS (ICSE-COMPANION 2020), 2020, : 9 - 12
  • [42] PURITY: a Planning-based secURITY testing tool
    Bozic, Josip
    Wotawa, Franz
    2015 IEEE INTERNATIONAL CONFERENCE ON SOFTWARE QUALITY, RELIABILITY AND SECURITY - COMPANION (QRS-C 2015), 2015, : 46 - 55
  • [43] Challenges of Using the ChatGPT Application in Journalism Work
    Alzubi, Solafah farouq
    JURNAL KOMUNIKASI-MALAYSIAN JOURNAL OF COMMUNICATION, 2024, 40 (04) : 164 - 180
  • [44] Using ChatGPT as a Learning Tool in Acupuncture Education: Comparative Study
    Lee, Hyeonhoon
    JMIR MEDICAL EDUCATION, 2023, 9
  • [45] Using ChatGPT as a Learning Tool: A Study of Ukrainian Students' Perceptions
    Pavlenko, Olha
    Syzenko, Anastasiia
    ARAB WORLD ENGLISH JOURNAL, 2024, : 252 - 264
  • [46] Cases of Using ChatGPT as a Mental Health and Psychological Support Tool
    Giray, Louie
    JOURNAL OF CONSUMER HEALTH ON THE INTERNET, 2025, 29 (01) : 29 - 48
  • [47] Red-team application security testing - Testing techniques designed to expose security bugs
    Thompson, HH
    Chase, SG
    DR DOBBS JOURNAL, 2003, 28 (11): : 18 - +
  • [48] How Developers Diagnose Potential Security Vulnerabilities with a Static Analysis Tool
    Smith, Justin
    Johnson, Brittany
    Murphy-Hill, Emerson
    Chu, Bill
    Lipford, Heather Richter
    IEEE TRANSACTIONS ON SOFTWARE ENGINEERING, 2019, 45 (09) : 877 - 897
  • [49] Static security analysis using pipeline decomposition
    Alves, AB
    Monticelli, A
    IEE PROCEEDINGS-GENERATION TRANSMISSION AND DISTRIBUTION, 1998, 145 (02) : 105 - 110
  • [50] Using Static Analysis for Enhancing HLS Security
    Collini, Luca
    Ah-Kiow, Joey
    Pilato, Christian
    Karri, Ramesh
    Tan, Benjamin
    IEEE EMBEDDED SYSTEMS LETTERS, 2024, 16 (02) : 166 - 169