Implicit Prompt Code Jailbreak
Large Language Models (LLMs) used for code generation are vulnerable to a jailbreaking attack that leverages implicit malicious prompts. The attack exploits the fact that existing safety mechanisms primarily rely on explicit malicious intent within the prompt instructions. By embedding malicious intent implicitly within a benign-appearing commit message accompanying a code request (e.g., in a simulated software evolution scenario), the attacker can bypass the LLM's safety filters and induce…
Evaluated models: Claude 3.5 Sonnet, Code Llama 13B Instruct, DeepSeek Coder 7B+3 more
- Claude 3.5 Sonnet
- Code Llama 13B Instruct
- DeepSeek Coder 7B
- DeepSeek V3
- GPT-4
- Qwen Plus