Qian Lou, Mansour Al, Yan Solihin, Ghanim Saleh, Almohaimeed Zheng
We lifted 1 functions out of this paper's own repositories and ran 1 of them in a sandbox. "Ran" means the function executed on a synthesized input and returned a value. It is not a reproduction of the paper's results.
| Repository | Role | Ran |
|---|---|---|
| securedl/arabic_jailbreak | canonical | 1 of 1 |
| Function | Status | Where it lives |
|---|---|---|
| str2bool | Ran | securedl/arabic_jailbreak/llm-test-ar.py code served (permissive licence) · get_code("f017532fc389cbfe") |
Some links come from the archived Papers with Code dataset (CC BY-SA 4.0): attribution and licence.
This study identifies the potential vulnerabilities of Large Language Models (LLMs) to 'jailbreak' attacks, specifically focusing on the Arabic language and its various forms. While most research has concentrated on English-based prompt manipulation, our investigation broadens the scope to investigate the Arabic language. We initially tested the AdvBench benchmark in Standardized Arabic, finding that even with prompt manipulation techniques like prefix injection, it was insufficient to provoke LLMs into generating unsafe content. However, when using Arabic transliteration and chatspeak (or arabizi), we found that unsafe content could be produced on platforms like OpenAI GPT-4 and Anthropic Claude 3 Sonnet. Our findings suggest that using Arabic and its various forms could expose information that might remain hidden, potentially increasing the risk of jailbreak attacks. We hypothesize that this exposure could be due to the model's learned connection to specific words, highlighting the need for more comprehensive safety training across all language forms. 1
The same record, over MCP at https://syntology.ai/mcp:
get_harvested_code_for_paper("2406.18725")
get_code_for_paper("2406.18725")
have("2406.18725")
Connect an agent — have() is free.