Threat Modelling and Risk Analysis for Large Language Model (LLM)-Powered Applications

Fuente: arXiv
Gespeichert in:
Bibliographische Detailangaben
1. Verfasser: Tete, Stephen Burabari
Format: Preprint
Veröffentlicht: 2024
Schlagworte:
Online-Zugang:
Tags: Tag hinzufügen
Keine Tags, Fügen Sie den ersten Tag hinzu!
_version_ 1866909225200910336
author Tete, Stephen Burabari
author_facet Tete, Stephen Burabari
contents The advent of Large Language Models (LLMs) has revolutionized various applications by providing advanced natural language processing capabilities. However, this innovation introduces new cybersecurity challenges. This paper explores the threat modeling and risk analysis specifically tailored for LLM-powered applications. Focusing on potential attacks like data poisoning, prompt injection, SQL injection, jailbreaking, and compositional injection, we assess their impact on security and propose mitigation strategies. We introduce a framework combining STRIDE and DREAD methodologies for proactive threat identification and risk assessment. Furthermore, we examine the feasibility of an end-to-end threat model through a case study of a custom-built LLM-powered application. This model follows Shostack's Four Question Framework, adjusted for the unique threats LLMs present. Our goal is to propose measures that enhance the security of these powerful AI tools, thwarting attacks, and ensuring the reliability and integrity of LLM-integrated systems.
format Preprint
id arxiv_https___arxiv_org_abs_2406_11007
institution arXiv
publishDate 2024
record_format arxiv
spellingShingle Threat Modelling and Risk Analysis for Large Language Model (LLM)-Powered Applications
Tete, Stephen Burabari
Cryptography and Security
Software Engineering
The advent of Large Language Models (LLMs) has revolutionized various applications by providing advanced natural language processing capabilities. However, this innovation introduces new cybersecurity challenges. This paper explores the threat modeling and risk analysis specifically tailored for LLM-powered applications. Focusing on potential attacks like data poisoning, prompt injection, SQL injection, jailbreaking, and compositional injection, we assess their impact on security and propose mitigation strategies. We introduce a framework combining STRIDE and DREAD methodologies for proactive threat identification and risk assessment. Furthermore, we examine the feasibility of an end-to-end threat model through a case study of a custom-built LLM-powered application. This model follows Shostack's Four Question Framework, adjusted for the unique threats LLMs present. Our goal is to propose measures that enhance the security of these powerful AI tools, thwarting attacks, and ensuring the reliability and integrity of LLM-integrated systems.
title Threat Modelling and Risk Analysis for Large Language Model (LLM)-Powered Applications
topic Cryptography and Security
Software Engineering
url https://arxiv.org/abs/2406.11007