Documented Exercise · OBS.EX0010

CodeChameleon Encrypted Query & Decryption Reformulation Study

Lv et al. (2024) hypothesized that LLM safety operates via sequential intent recognition before generation and tested CodeChameleon across seven LLMs by encoding queries inside custom decryption routines formatted as code-completion tasks. By delegating decoding to in-context execution instructions, the framework bypassed pre-generation intent checks and reached an 86.6% attack success rate on GPT-4-1106. The results confirmed a major capability-safety gap whenever models possess stronger programmatic decoding skills than safety filters possess obfuscation coverage. Defensive pipelines must normalize encoded representations and enforce output-stage policy verification regardless of input obfuscation.

Exercise dossier metadata

Case ID
OBS.EX0010
Classification
Exercise
Date
Evaluation scope
Code-Capable Aligned LLMs · Obfuscated Code-Completion Bypass
Reference URI
https://arxiv.org/abs/2402.16717

Inspect OBS.EX0010 in Interactive Incidents & Cases Hub

Mapped AI security techniques

Mapped defensive controls

Source citation records