IntentShield: A Semantic Framework for Detecting Obfuscated Jailbreak Attacks in Domain-Specific Large Language Models
Year: 2026
Type: preprint
Abstract: Large Language Models (LLMs) are currently em-ployed in several applications such as healthcare, finance, ed-ucation, and law firms. The increasing application of LLMs raises concerns regard- ing security issues including jailbreak and prompt injection that involves malicious instructions embedded in seemingly harmless prompts. The attackers have the option to paraphrase their instructions, use role-playing scenarios, switch languages, tokenize the prompt, and encode different portions of the input. Such variations can render traditional safety filters ineffective. Keyword detection, hardcoded policies, and prior attack data could fail to detect any different iteration of the same malicious instructions. This paper introduces IntentShield which utilizes a semantic approach to detect obfuscated jail-break attacks within domain-specific Large Language Models. IntentShield does not rely on just plain text but also transformer representations to detect the intentions of the inputs. From a number of practical perspectives, the effectiveness of the approach is considered: detection capability, behavior in professional domains, false positives on legitimate prompts, resilience to unseen obfuscation techniques, and computational costs. From the test results, it is clear that the approach demonstrates high effectiveness in the domain-balanced test with frozen data. Nevertheless, the experiment of unseen obfuscation shows an essential vulnerability of the approach under some specific encoding technique of malicious intent.
Source: Research Square
Author: Jay Bankar
Language: English
Subfield: Artificial Intelligence
Field: Computer Science
Domain: Physical Sciences
Open Access status: green
OpenAlex ID: W7240258253
Cites:
Cited by:
Related to:
