Double-Edged Sword of LLMs: Mitigating Security Risks of AI-Generated Code

被引:2
|
作者
Bharadwaj, Ramesh [1 ]
Parker, Ilya [2 ]
机构
[1] Naval Res Lab, Ctr High Assurance Comp Syst, Washington, DC 20375 USA
[2] Arcfield, 14295 Pk Meadow Dr, Chantilly, VA 20151 USA
关键词
Large Language Models; Generative AI; Symbolic AI; Automatic Code Generation; Code Defect Mitigation;
D O I
10.1117/12.2664116
中图分类号
TP18 [人工智能理论];
学科分类号
081104 ; 0812 ; 0835 ; 1405 ;
摘要
With the increasing reliance on collaborative and cloud-based systems, there is a drastic increase in attack surfaces and code vulnerabilities. Automation is key for fielding and defending software systems at scale. Researchers in Symbolic AI have had considerable success in finding flaws in human-created code. Also, run-time testing methods such as fuzzing do uncover numerous bugs. However, the major deficiency of both approaches is the inability of the methods to fix the discovered errors. They also do not scale and defy automation. Static analysis methods also suffer from the false positive problem - an overwhelming number of reported flaws are not real bugs. This brings up an interesting conundrum: Symbolic approaches actually have a detrimental impact on programmer productivity, and therefore do not necessarily contribute to improved code quality. What is needed is a combination of automation of code generation using large language models (LLMs), with scalable defect elimination methods using symbolic AI, to create an environment for the automated generation of defect-free code.
引用
收藏
页数:6
相关论文
共 50 条
  • [21] A Double-Edged Sword?
    Azeez, Mohammad Anas
    Siddiqui, Zohaib Hasan
    Sohail, Shahab Saquib
    HEALTH SERVICES INSIGHTS, 2023, 16
  • [22] DOUBLE-EDGED SWORD
    HESSLER, PL
    SCIENCE AND TECHNOLOGY, 1968, (74): : 6 - &
  • [23] Double-edged sword
    Stark, I
    Hyde, N
    Winder, R
    CHEMISTRY & INDUSTRY, 2003, (16) : 18 - 19
  • [24] The double-edged sword
    Linton, O
    ACADEMIC RADIOLOGY, 2003, 10 (06) : 689 - 689
  • [25] Detection or Deception: The Double-Edged Sword of AI in Research Misconduct
    Gerhard, Danielle
    SCIENTIST, 2024, 38 (04): : 42 - 47
  • [26] Targeting Newly Generated Granule Cells: A Double-Edged Sword
    Yu, Wilson
    Krook-Magnuson, Esther
    EPILEPSY CURRENTS, 2017, 17 (02) : 121 - 123
  • [27] Akt: a double-edged sword
    Meera Swami
    Nature Reviews Cancer, 2009, 9 : 76 - 77
  • [28] Ferroptosis: A double-edged sword
    Wang, Shengmei
    Guo, Qiuyan
    Zhou, Lili
    Xia, Xinhua
    CELL DEATH DISCOVERY, 2024, 10 (01)
  • [29] A Double-Edged Plastic Sword
    Rajeshwar, Krishnan
    ELECTROCHEMICAL SOCIETY INTERFACE, 2018, 27 (02): : 3 - 3
  • [30] AMLODIPINE DOUBLE-EDGED SWORD
    Rabah, Fatma
    Elnour, Ibtisam B.
    El-Naggari, Mohamed
    Al-Nabhani, Dana
    PEDIATRIC NEPHROLOGY, 2015, 30 (09) : 1657 - 1657