Skip navigation
Please use this identifier to cite or link to this item: https://repository.esi-sba.dz/jspui/handle/123456789/1149
Full metadata record
DC FieldValueLanguage
dc.contributor.authorAOMAR, MOhamed ABdelillah-
dc.date.accessioned2026-10-25T12:40:45Z-
dc.date.available2026-10-25T12:40:45Z-
dc.date.issued2026-
dc.identifier.urihttps://repository.esi-sba.dz/jspui/handle/123456789/1149-
dc.descriptionSupervisor : Dr. BENDAOUD Fayssal / Co-Supervisor : Ms. BOUCHAIR Mariaen_US
dc.description.abstractLarge Language Models (LLMs) are now used in search engines, chat assistants, coding tools, document analysis systems, and autonomous agents. Their use creates new security and safety problems because natural language becomes both the input data and the instruction channel. An attacker can try to bypass safety rules, override system instructions, or extract hidden information from the model context. These risks are usually studied through jailbreak attacks, prompt injection, adversarial prompting, and data leakage. This thesis presents a theoretical study of red teaming for LLMs. It does not implement a complete practical framework. The goal is to review existing research, explain the main attack techniques, compare their assumptions, and discuss the limits of current evaluation methods. The study focuses on techniques such as Greedy Coordinate Gradient (GCG), Prompt Automatic Iterative Refinement (PAIR), AutoDAN, PromptInject, indirect prompt injection, JailbreakBench, and recent reinforcement learning based approaches such as PISmith. The thesis shows that LLM red teaming evolved from manual prompt attacks to automated and optimization-based methods. White-box attacks such as GCG can produce strong adversarial suffixes, but they require model access that is not always available. Black-box methods such as PAIR are more realistic for commercial APIs, but they depend on query budgets and judge quality. Prompt injection attacks create a separate risk because they tar-get the boundary between trusted instructions and untrusted content. Data leakage remains difficult to evaluate because success can be partial and context-dependent. The main finding is that current LLM red teaming still lacks stable evaluation standards. Attack success rates are hard to compare across papers because datasets, judges, threat models, and refusal criteria differ. Future work should focus on reproducible evaluation, clearer threat models, and safer automated testing. The thesis ends by suggesting two possible directions: using PAIR as a lightweight black-box optimization method, and designing a smaller adaptation of PISmith for prompt injection testing.en_US
dc.language.isoenen_US
dc.subjectLarge Language Modelsen_US
dc.subjectRed Teamingen_US
dc.subjectJailbreaksen_US
dc.subjectPrompt Injectionen_US
dc.subjectData Leakageen_US
dc.subjectAdversarial Promptingen_US
dc.subjectPAIRen_US
dc.subjectPISmithen_US
dc.subjectLLM Safetyen_US
dc.titleRed Teaming Large Language Models: A Study Of Jailbreaks, Prompt Injection and Data Leakageen_US
dc.typeThesisen_US
Appears in Collections:Master

Files in This Item:
File Description SizeFormat 
master_final-1-1.pdf93,36 kBAdobe PDFView/Open
Show simple item record


Items in DSpace are protected by copyright, with all rights reserved, unless otherwise indicated.