Litcius/Paper detail

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

Md Abdul Barek, Md Mostafizur Rahman, Shapna Akter, A.B.M Kamrul Islamc Riad, Md. Abdur Rahman, Hossain Shahriar, Akond Rahman, Fan Wu

202411 citationsDOI

Abstract

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, hands-on, 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.

Topics & Concepts

Computer scienceRisk analysis (engineering)BusinessTopic ModelingWeb Application Security VulnerabilitiesData Quality and Management