Mitigating Insecure Outputs in Large Language Models(LLMs): A Practical Educational Module

被引:0
|
作者
Barek, Md Abdul [1 ]
Rahman, Md Mostafizur [2 ]
Akter, Mst Shapna [1 ]
Riad, A. B. M. Kamrul Islam [1 ]
Rahman, Md Abdur [1 ]
Shahriar, Hossain [3 ]
Rahman, Akond [4 ]
Wu, Fan [5 ]
机构
[1] Univ West Florida, Dept Intelligent Syst & Robot, Pensacola, FL 32514 USA
[2] Univ West Florida, Dept Cybersecur & Informat Technol, Pensacola, FL USA
[3] Univ West Florida, Ctr Cybersecur, Pensacola, FL USA
[4] Auburn Univ, Comp Sci & Software Engn, Auburn, AL USA
[5] Tuskegee Univ, Dept Comp Sci, Tuskegee, AL USA
基金
美国国家科学基金会;
关键词
Large Language Models; Cybersecurity; Insecure Output; Sanitization; Authentic Learning;
D O I
10.1109/COMPSAC61105.2024.00389
中图分类号
TP18 [人工智能理论];
学科分类号
081104 ; 0812 ; 0835 ; 1405 ;
摘要
Large Language Models (LLMs) have extensive ability to produce promising output. Nowadays, people are increasingly relying on them due to easy accessibility, rapid and outstanding outcomes. However, the use of these results without appropriate scrutiny poses serious security risks, particularly when they are integrated with other software, APIs, or plugins. This is because the LLM outputs are highly dependent on the prompts they receive. Therefore, it is essential to carefully clean these outputs before using them in additional software environments. This paper is designed to teach students about the potential dangers of contaminated LLM output within the context of web development through prelab, handson, and postlab experiences. Hands-on lab provides practical guidance on how to handle LLM vulnerabilities to make applications safe with some real-world examples in Python. This approach aims to provide students with a deeper understanding of the precautions necessary to ensure software against the vulnerabilities introduced by LLM output.
引用
收藏
页码:2424 / 2429
页数:6
相关论文
共 50 条
  • [1] Large Language Models (LLMs) in Engineering Education: A Systematic Review and Suggestions for Practical Adoption
    Filippi, Stefano
    Motyl, Barbara
    INFORMATION, 2024, 15 (06)
  • [2] Lower Energy Large Language Models (LLMs)
    Lin, Hsiao-Ying
    Voas, Jeffrey
    COMPUTER, 2023, 56 (10) : 14 - 16
  • [3] Towards Safer Large Language Models (LLMs)
    Lawrence, Carolin
    Bifulco, Roberto
    Gashteovski, Kiril
    Hung, Chia-Chien
    Ben Rim, Wiem
    Shaker, Ammar
    Oyamada, Masafumi
    Sadamasa, Kunihiko
    Enomoto, Masafumi
    Takeoka, Kunihiro
    NEC Technical Journal, 2024, 17 (02): : 64 - 74
  • [4] LARGE LANGUAGE MODELS (LLMS) AND CHATGPT FOR BIOMEDICINE
    Arighi, Cecilia
    Brenner, Steven
    Lu, Zhiyong
    BIOCOMPUTING 2024, PSB 2024, 2024, : 641 - 644
  • [5] Large language models (LLMs) and the institutionalization of misinformation
    Garry, Maryanne
    Chan, Way Ming
    Foster, Jeffrey
    Henkel, Linda A.
    TRENDS IN COGNITIVE SCIENCES, 2024, 28 (12) : 1078 - 1088
  • [6] linguagem grande (LLMs) Linguistic ambiguity analysis in large language models (LLMs)
    Moraes, Lavinia de Carvalho
    Silverio, Irene Cristina
    Marques, Rafael Alexandre Sousa
    Anaia, Bianca de Castro
    de Paula, Dandara Freitas
    Faria, Maria Carolina Schincariol de
    Cleveston, Iury
    Correia, Alana de Santana
    Freitag, Raquel Meister Ko
    TEXTO LIVRE-LINGUAGEM E TECNOLOGIA, 2025, 18
  • [7] Recommender Systems in the Era of Large Language Models (LLMs)
    Zhao, Zihuai
    Fan, Wenqi
    Li, Jiatong
    Liu, Yunqing
    Mei, Xiaowei
    Wang, Yiqi
    Wen, Zhen
    Wang, Fei
    Zhao, Xiangyu
    Tang, Jiliang
    Li, Qing
    IEEE TRANSACTIONS ON KNOWLEDGE AND DATA ENGINEERING, 2024, 36 (11) : 6889 - 6907
  • [8] Large language models (LLMs) as agents for augmented democracy
    Gudino, Jairo F.
    Grandi, Umberto
    Hidalgo, Cesar
    PHILOSOPHICAL TRANSACTIONS OF THE ROYAL SOCIETY A-MATHEMATICAL PHYSICAL AND ENGINEERING SCIENCES, 2024, 382 (2285):
  • [9] Are Large Language Models (LLMs) Ready for Agricultural Applications?
    Shende, Ketan
    Resource: Engineering and Technology for Sustainable World, 2025, 32 (01): : 28 - 30
  • [10] Computing Architecture for Large-Language Models (LLMs) and Large Multimodal Models (LMMs)
    Liang, Bor-Sung
    PROCEEDINGS OF THE 2024 INTERNATIONAL SYMPOSIUM ON PHYSICAL DESIGN, ISPD 2024, 2024, : 233 - 234