atlas

Research map / Large language models / Language, safety and interpretability

Assessing Vulnerabilities in State-of-the-Art Large Language Models Through Hex Injection (Student Abstract)

AAAI 2025 · Large language models › Language, safety and interpretability · approach: Jailbreak attacks and defenses · 0 citations (OpenAlex)

Read the paperCheck your idea against 108,967 papers

AI-extracted summary. Written by AI from the paper's full text. Numbers and claims can be wrong or missing context, so check the paper before you cite or build on it.

Proposes Hex Injection (HXI), a jailbreak that hex-encodes harmful prompts and wraps them in role-play prefixes/suffixes, and reports high attack success rates against Llama 3/3.1 and Gemma 2 models.

Problem

Safety-aligned LLMs can be jailbroken; the paper targets weaknesses in models' ability to decode encoded (hexadecimal) text to bypass safeguards and elicit harmful content.

Approach

Combine hexadecimal-encoded harmful topics with plaintext role-play prefixes and suffixes so that the model decodes and executes the hidden instruction, which is more effective than plaintext or encoding-only prompts.

Key results

Measured effects reported in the paper

What was changedWhereMeasuredEffect
Use Hex Injection with hexadecimal-encoded prompts instead of plaintext promptsLlama 3.1:8b · Jailbreak prompts% jailbroken: 1% -> 0%Hurt
Use Hex Injection with hexadecimal-encoded prompts instead of plaintext promptsLlama 3.1:70b · Jailbreak prompts% jailbroken: 2% -> 94%Helped
Use Hex Injection with hexadecimal-encoded prompts instead of plaintext promptsLlama 3:8b · Jailbreak prompts% jailbroken: 0% -> 17%Helped
Use Hex Injection with hexadecimal-encoded prompts instead of plaintext promptsLlama 3:70b · Jailbreak prompts% jailbroken: 6% -> 84%Helped
Use Hex Injection with hexadecimal-encoded prompts instead of plaintext promptsGemma 2:27b · Jailbreak prompts% jailbroken: 74% -> 86%Helped

Surprising findings

Limitations

Experimental setup

Datasets: 50 harmful prompts from a public Llama3-jailbreak repository (haizelabs)

Benchmarks: Harmful prompt set (50 prompts from haizelabs Llama3-jailbreak)

Metrics: attack success rate (% jailbroken)

Baselines: Plaintext prompts (no HXI)

Builds on: CodeChameleon

Closest papers by meaning

Writing a paper in this area? scime draft is a free LaTeX editor with AI included, real-time co-authors and a check of your references and venue rules before you submit. It also imports OpenAI Prism projects.

Open scime draft

Get the next scime Dispatch and a monthly field update

Free. We send a confirmation link first; every email has a one-click unsubscribe. Privacy