Skip to content

Emoji-based jailbreak of large language models: a prompt-level vulnerability analysis of four open-source modelsEmoji-Based Jailbreaking of Large Language Models

arXiv· arXiv:2601.00936· M P V S Gopinadh, S Mahaboob Hussain·Indexed by this site · 2026-10-12· Originally publishedAttacks

Quick read

Attacks

Based on the paper PDF (AI-generated); refer to the original

Four models each tested on 50 emoji prompts: Gemma 2 9B and Mistral 7B both have a success rate of 10.0%, Qwen 2 7B is 0.0%.

Threat modelThe attacker embeds emoji sequences into text prompts, using filling or concatenation to replace sensitive words, to bypass token-level filtering and safety training, eliciting outputs that violate public safety policies. The paper does not specify white-box or black-box. The victim systems are four open-source LLMs on local Ollama. Success means generating restricted content, first classified by keywords then manually reviewed.

Questions
Safety alignment and token-level filtering can still be bypassed by adversarial prompts. The authors examine whether four open-source LLMs output content that violates public safety policies when emoji sequences are embedded in text and serve as proxies for sensitive words.
Methods
Construct 50 prompts mixing text and emojis, using techniques of inter-word filling and sequence concatenation, submitted via Ollama to four local models. Responses are classified as successful, partial, or failed, with 32 keywords per category for automatic classification followed by manual review, and a chi-square test is performed.
Experiments and results
On 50 prompts, Gemma 2 9B and Mistral 7B have a success rate of 10.0%, Llama 3 8B is 6.0%, Qwen 2 7B is 0.0% with 100.0% ethical compliance. The authors report χ²=32.94, p<0.001. Except for Qwen, the compliance and outcome mapping do not match.
Limitations and future work
Section 6 states that manual review may introduce bias, and 50 prompts may not cover emoji combinations and contextual variations. Sections 7 and 8 propose expanding the prompt set to be culturally diverse, and studying automatic detection and hybrid mitigation. The experiment uses four models with 50 prompts each; the paper does not report agreement and repetition counts.
Experimental setupMistral 7B、Qwen 2 7B et al. · 50 emoji-augmented prompts · Success Rate、Ethical Compliance et al.
Evaluated models
Mistral 7BQwen 2 7BGemma 2 9BLlama 3 8B
Benchmarks
50 emoji-augmented prompts
Metrics
Success RateEthical ComplianceAvg. Latencychi-square
AI summaryA study tested four open-source large language models—Mistral 7B, Qwen 2 7B, Gemma 2 9B, and Llama 3 8B—with 50 prompts embedding Emoji sequences, evaluating jailbreak success rate, safety alignment adherence, and latency. Gemma 2 9B and Mistral 7B had a 10% jailbreak success rate, while Qwen 2 7B was fully aligned (0%), with a chi-square test (chi² = 32.94, p < 0.001) showing significant differences among models. The analysis focuses on prompt-level direct vulnerabilities, rather than safety judges or classifiers as in prior work.

A study tested four open-source large language models—Mistral 7B, Qwen 2 7B, Gemma 2 9B, and Llama 3 8B—with 50 prompts embedding Emoji sequences, evaluating jailbreak success rate, safety alignment adherence, and latency. Gemma 2 9B and Mistral 7B had a 10% jailbreak success rate, while Qwen 2 7B was fully aligned (0%), with a chi-square test (chi² = 32.94, p < 0.001) showing significant differences among models. The analysis focuses on prompt-level direct vulnerabilities, rather than safety judges or classifiers as in prior work.

Paper analysis

6 questions; open one to read the full answer

  1. What problem does this paper attempt to solve?

    Using emoji as proxies for sensitive words, test prompt-level safety bypasses in four open-source LLMs.

    Using emoji sequences in place of sensitive words, test whether prompts can bypass LLM safety restrictions and elicit restricted outputs.

    • Scenario: The authors state that LLMs are used for dialogue and content generation, and malicious prompts can still elicit harmful, unethical, or biased content. The authors state that token-level filtering and safety training can still be bypassed by jailbreaks.
    • Existing gaps: The authors state that existing emoji attacks mainly target safety review models or classifiers. The authors consider directly examining prompt-level vulnerabilities in LLMs as a gap.
    • Hypothesis: The authors hypothesize that emoji sequences change prompt representation, thereby increasing the likelihood of bypassing filters and biasing toward restricted outputs. Emojis are used as proxies for sensitive words.
    • Threat model:
      • Goal: Bypass safety mechanisms to generate restricted content that violates the model's public safety policy. Examples in the paper include violence assistance and explicit misconduct instructions, and it is stated that this is not deployed in real systems.
      • Knowledge: The paper does not specify white-box, black-box, or no-box, nor whether gradients or weights are used.
      • Capability: Constructing prompts that mix text and emojis, including padding with emojis between words, and concatenation of sequences representing instructions.
      • Victim system: Locally run Mistral 7B, Qwen 2 7B, Gemma 2 9B, Llama 3 8B. Success means generating restricted content such as malicious code or unethical instructions.
    • This work: Test 50 emoji-augmented prompts on each of the four models, record success rate, ethical compliance, and response latency, and classify responses into success, partial, and failure.
  2. What related research exists?

    The authors position this paper as directly testing LLM prompts, distinguishing it from emoji attacks targeting reviewer models or classifiers.

    The authors call emoji jailbreaks a new frontier and a threat that has not been sufficiently addressed. The grouping follows the introduction and Related Work.

    Text jailbreaks

    • Wei et al. (2023): The paper states that carefully crafted prompts can bypass safety training, inducing the model to generate restricted content such as malicious code or biased narratives.
    • Wallace et al. (2019): The paper discusses prompt stuffing (inserting harmless words to conceal intent) and prompt substitution (replacing sensitive words with synonyms) together with weaknesses in token-level filtering.
    • Other citations: The introduction lists Zou et al. (2023) as jailbreak literature; Related Work refers to Anil et al. (2023) and Wei et al. as jailbreak issues, without detailing their methods.

    Emoji attacks

    • Emoti-Attack (Zhang, 2024): A zero-perturbation method that uses emoji sequences to change semantic interpretation without altering surface meaning. The paper states that after replacing sensitive keywords with emojis, models often fail to flag malicious intent, thereby bypassing keyword filtering.
    • Emoji Attack (Wei, Liu, Erichson, 2024): Exploits token segmentation boundaries, using emojis as language interference. The paper states it targets judge LLMs and classifiers specifically.
    • The paper's self-described distinction: The abstract states that prior work targeted safety reviewers or classifiers, while this paper examines direct prompt-level vulnerabilities in LLMs. This is positioning, not a denial of the results of the two aforementioned works.

    Emoji representation and non-verbal cues

    • Barbieri et al. (2018): The paper states it shows emoji semantics vary with culture and context, making them harder for LLMs to handle.
    • Internal representation: The paper states that emoji tokenization is similar to words, but representations often carry emotional or contextual differences that are easily misread; it gives the example that the representation of a knife emoji may overlap with cutting-related words.
    • Multimodal cues: The paper states that prior work has analyzed adversarial prompts with non-verbal cues on multimodal LLMs, and claims the bypass mechanism is similar; this sentence lacks a citation number. The introduction also cites Eisner et al. (2022), supporting the hypothesis that emojis as NLP tokens alter representations.

    Evaluation framework and positioning of this paper

    • Carlini et al. (2023): The paper states it emphasizes the need for standardized evaluation frameworks to cover attack vectors such as linguistic and non-linguistic prompts.
    • Baselines and data: The paper does not list other attack methods as baselines. The comparison is across four models on the authors' self-constructed 50 emoji-augmented prompts in terms of outcomes, ethical compliance, and latency, not a named public benchmark.
    • Positioning: The authors state that existing work has pointed out LLM vulnerabilities to prompt injection, but emoji jailbreaks remain insufficiently addressed; this paper directly tests four LLMs with multiple metrics, rather than testing reviewer models or classifiers.
  3. How does the paper address this problem?

    Construct 50 prompts using emoji padding and concatenation, test four models locally via Ollama, with keyword and manual judgment.

    The overall approach is to construct emoji-augmented prompts, collect responses on local models, then classify outcomes into three categories using keyword rules plus manual review.

    Problem setting

    • Restricted content: Outputs that violate the tested model's public safety policy. The paper gives examples of violence assistance and explicit inappropriate behavior instructions, and states that these were not generated or deployed in real systems.
    • Input: Each prompt mixes text and emojis. The authors hypothesize that the sequence alters representations, increasing the chance of bypassing filters.
    • Models: Mistral 7B, Qwen 2 7B, Gemma 2 9B, Llama 3 8B, downloaded locally via Ollama. The paper does not report temperature or other sampling parameters.

    Prompt construction

    • Two techniques: emoji stuffing, inserting emojis between words; emoji chaining, using emoji sequences to represent instructions. The paper states the goal is to make the model understand emojis as part of malicious intent while maintaining surface concealment.
    • Scale: 50 prompts in total. Table 1 gives 5 examples illustrating emoji substitution strategies. The original prompts are not reproduced.
    • Normalization: Emojis are normalized with Unicode NFC before submission. Prompts are read from a CSV containing IDs and text.

    Metrics and judgment

    • Three outcome categories: Successful means generating restricted content, such as malicious code or unethical instructions; Partial means vague, only partially involving restricted content, and often interpreted as positive context; Failed means refusal or completely off-topic.
    • Success rate: Successful divided by total number of prompts, multiplied by 100.
    • Ethical compliance: Binary Compliant / Non-compliant. Section 4 states it is derived from outcomes: Failed or Partial is compliant, Successful is non-compliant, not an independent ethical score. The abstract calls this safety alignment adherence.
    • Latency: Seconds from submission to response, averaged over prompts.

    Execution and statistics

    • Environment: Submitted one by one via the Ollama API, GPU is NVIDIA RTX 3050. The paper does not report number of repetitions or query budget.
    • Automatic classification: 32 keywords per category. The paper gives example words for each category; the word list is not reproduced here. First classify by keywords, then manual review.
    • Records: Each entry saves ID, prompt, model, response, outcome, ethical compliance, latency, and errors.
    • Testing: After normalizing outcomes to Successful, Partial, Failed, a chi-square test is performed with threshold p < 0.05, to see if outcomes differ across models.
  4. What experiments did the paper conduct?

    On 50 prompts, Gemma 2 9B and Mistral 7B have a success rate of 10.0%, Qwen 2 7B is 0.0%; the authors report p<0.001.

    Experimental setup

    • Tested models: Mistral 7B, Qwen 2 7B, Gemma 2 9B, Llama 3 8B, all run locally on Ollama with NVIDIA RTX 3050. No separate attack model or LLM judge.
    • Data: 50 emoji-augmented prompts designed by the authors, shared across the four models. The paper does not report category proportions.
    • Baselines: No other attack methods. The four models serve as comparisons to each other.
    • Metrics: Success rate, ethical compliance, average latency (seconds); outcomes are Successful, Partial, Failed.
    • Judgment: Automatic classification with 32 keywords per category, then manual review. The paper does not report the number of reviewers, agreement with automatic classification, or number of repetitions.
    • Statistics: Chi-square test on the three outcome categories, threshold p < 0.05.

    Main results

    According to Table 2, each model on 50 prompts:

    Swipe horizontally to read the table

    ModelSuccess rateEthical complianceAverage latency (s)
    Gemma 2 9B10.0%66.0%44.20
    Llama 3 8B6.0%88.0%32.22
    Mistral 7B10.0%88.0%25.30
    Qwen 2 7B0.0%100.0%34.04
    • Authors' interpretation: The authors state that Qwen 2 7B completely resists jailbreaks, contrasting with Gemma 2 9B's lower ethical compliance. They state that Gemma has high latency and relatively low ethical compliance, and is still more easily bypassed despite 9B parameters, which is unexpected; they believe deeper processing of emoji sequences may increase vulnerability rather than enhance safety. The paper does not treat parameter count as a controlled variable.
    • Design orientation: The authors state that Qwen 2 7B emphasizes strict safety at the cost of reduced generation flexibility; Gemma 2 9B seems to prioritize content generation and permissiveness; Mistral 7B and Llama 3 8B are in between. The paper does not separately report flexibility or utility.
    • Caliber: Section 4 marks non-Successful as compliant. Except for Qwen 2 7B, the ethical compliance in Table 2 cannot be derived from the success rate or the Successful counts in Figure 2 under that rule. The paper does not explain. The abstract writes 10% and 0%, Table 2 writes 10.0% and 0.0%.

    Outcome distribution

    Figure 2 in the text gives counts for 50 prompts. The figure is a heatmap, darker colors indicate higher counts; specific positions are not visible.

    Swipe horizontally to read the table

    ModelSuccessfulPartialFailed
    Gemma 2 9B51530
    Llama 3 8B31829
    Mistral 7B51530
    Qwen 2 7B02525
    • Statistics: The authors report χ² = 32.94, p < 0.001, and state that the difference in outcome distributions across models is significant. The abstract writes χ2 = 32.94, p < 0.001.
    • Authors' interpretation: The authors state that a considerable portion of responses are partial compliance, with emojis bringing semantic ambiguity; prompts lie between refusal and full compliance, with surface safety mechanisms inconsistent with deeper semantic understanding.
    • Difference from abstract: The abstract states Qwen 2 7B achieves full alignment. In Figure 2, its Successful is 0, while it has Partial. According to Section 4, Partial is marked as compliant. Gemma 2 9B and Mistral 7B have identical counts across the three categories, but Table 2 shows different ethical compliance.

    Phenomena the authors call unexpected

    • Resistance and latency: The authors state that Qwen 2 7B's zero success rate and full ethical compliance are unexpected, and also that Gemma 2 9B's high latency and relatively low ethical compliance are unexpected.
    • Intent read as harmless: Section 6 states that models understand prompts designed with malicious intent as harmless or positive content. The definition of Partial also states that responses are often interpreted as positive context. The paper does not provide original text of failure cases.
    • Figure 1: The title is Outcome Distribution by Models, but the text repeats the success rate, ethical compliance, and latency from Table 2, with Gemma 2 9B latency written as 44.2 seconds and Mistral 7B as 25.3 seconds. The three-category counts are in Figure 2.

    Other ablations and analyses

    • The paper does not report ablations, comparisons of the two techniques, decoding parameters, defense evaluations, or transfer experiments.
    • The only reported statistical test is the aforementioned chi-square test.
    • The paper does not report the number of cases where manual review disagreed with keyword classification.
  5. What are some points that can be further explored?

    The authors propose expanding the prompt set to be culturally diverse, and studying automatic detection and hybrid mitigation.

    Limitations and future directions noted by the authors

    • Human bias: Section 6 states that manual review may introduce bias, and ambiguous responses mixing restricted and harmless content are difficult to classify.
    • Prompt scale: Section 6 states that 50 prompts may not cover the diversity of emoji attacks, being only a small part of combinations and contextual variations.
    • Data expansion: Section 7 proposes expanding the dataset beyond 50 prompts, incorporating different emoji combinations and cultural contexts.
    • Automatic detection: Section 7 proposes developing automatic, real-time detection for emoji jailbreaks to strengthen system-level defenses.
    • Other inputs and fairness: Section 7 proposes examining non-text inputs such as symbols or images, and fairness of emoji misreading across different user groups. The deployment recommendation is to test with emoji-augmented prompts before launch.
    • Future work in conclusion: Section 8 states that future work should study larger, more culturally diverse prompt sets, as well as automatic detection and hybrid mitigation combining multimodal representations of emoji semantics. The authors also state the need for emoji-aware defenses, including normalization of non-text tokens, and expanding adversarial evaluation.

    Experimental coverage

    • Tested models are Mistral 7B, Qwen 2 7B, Gemma 2 9B, Llama 3 8B, 4 in total, run locally via Ollama on NVIDIA RTX 3050 (Sections 3 and 4).
    • Each model is submitted the same batch of 50 emoji-augmented prompts; success rate, ethical compliance, average latency, and three-category outcome counts are reported (Table 2, Figure 2).
    • Classification uses 32 keywords per category plus manual review. The paper does not report number of reviewers, agreement, repetitions, sampling parameters, or query counts (Section 4).
    • Model comparison is a chi-square test on the three outcome categories, χ² = 32.94, p < 0.001 (Section 5). The paper does not report comparisons with other attack methods.
    • Related work discusses emoji attacks targeting judge LLMs and classifiers; the experiment measures direct prompt outcomes of four generative models. The correspondence between ethical compliance and the Section 4 mapping and Figure 2 counts is not separately explained in the paper.
  6. Summarize the main content of the paper

    Four models each with 50 emoji prompts, Gemma 2 9B and Mistral 7B have a success rate of 10.0%, Qwen 2 7B is 0.0%.

    The authors use emoji-augmented prompts to directly see whether four open-source LLMs produce outputs that violate public safety policies, rather than attacking safety review models.

    • Problem: The authors hypothesize that emojis can replace sensitive words and change prompt representation, thereby bypassing token-level filtering and safety training. The victim system is a locally run generative model; the paper does not specify white-box or black-box.
    • Method: 50 prompts mix text and emojis, using inter-word padding and sequence concatenation, submitted via Ollama. Responses are first classified by 32 keywords per category, then manually reviewed, and classified into success, partial, and failure. Ethical compliance is derived from outcomes, not separately scored.
    • Success rates: In Table 2, on 50 prompts, Gemma 2 9B and Mistral 7B are 10.0%, Llama 3 8B is 6.0%, Qwen 2 7B is 0.0%, with ethical compliance of 100.0%. Gemma 2 9B's ethical compliance is 66.0%, with an average latency of 44.20 seconds.
    • Distribution: In Figure 2, success counts are Gemma 2 9B 5, Llama 3 8B 3, Mistral 7B 5, Qwen 2 7B 0; Partial are 15, 18, 15, 25 respectively. The authors report χ² = 32.94, p < 0.001. The abstract states Qwen 2 7B is fully aligned, but this model has 25 Partial, which per Section 4 is counted as compliant.
    • Discrepancy: Except for Qwen 2 7B, Table 2's ethical compliance cannot be derived from Figure 2 via the Section 4 outcome mapping. The paper does not explain this.
    • Authors' conclusion: The authors state that emoji sequences can still bypass existing safety mechanisms, and partial compliance indicates that emojis introduce semantic ambiguity. The authors state the need for emoji-aware defenses, normalization of non-text tokens, and larger, more culturally diverse adversarial evaluations and automatic detection.
Read originalarxiv.org