mlsanityData to 14 Oct 2026

HE-Guardrail: A Homomorphic Guardrail Against Jailbreak Attacks for Encrypted Large Language Model Inference

arXiv 2609.21484 ↗First posted 18 Sep 2026cs.CR cs.AIcited by 0

On the map: LLM safety and security → Jailbreaking

Abstract (arXiv)

Homomorphic encryption (HE) has emerged as a promising approach to privacy-preserving machine learning (PPML), enabling computation directly over encrypted data. In HE-based PPML, a client submits an encrypted input to the server, which evaluates models such as large language models (LLMs) without access to the underlying plaintext. However, we identify a critical security vulnerability in this setting: HE-LLM inference is vulnerable to malicious clients that submit adversarial prompts, such as jailbreak attacks. The same confidentiality that protects benign clients also prevents the server from inspecting incoming prompts or generated responses, making adversarial attempts difficult to detect or block and potentially allowing successful attacks to remain entirely invisible to the server. To address this vulnerability, we propose HE-Guardrail, a framework that evaluates guardrail mechanisms entirely over encrypted data and homomorphically controls whether the target-model response is returned to the client. We instantiate HE-Guardrail with three representative guardrails - Llama Guard, JBShield, and GradSafe. Our results show that HE-Guardrail closely reproduces the decisions of the corresponding plaintext guardrails in the encrypted domain, with distinct security-efficiency-utility trade-offs.

Key facts. No citing papers in the map yet (data through 14 Oct 2026). Placed in Jailbreaking, one of 12 directions in LLM safety and security. Builds on 29 of its 54 references that are in the map. First posted on arXiv 18 Sep 2026.

Builds on

29 of 54 references.

Closest ancestors · 12

Same direction, newest first

  1. 2025SoK: Evaluating Jailbreak Guardrails for Large Language Models12 Jun
  2. 2025X-Teaming: Multi-Turn Jailbreaks and Defenses with Adaptive Multi-Agents15 Apr
  3. 2025JBShield: Defending Large Language Models from Jailbreak Attacks through Activated Concept Analysis and Manipulation11 Feb
  4. 2024SelfDefend: LLMs Can Defend Themselves against Jailbreaking in a Practical Manner8 Jun
  5. 2024DrAttack: Prompt Decomposition and Reconstruction Makes Powerful LLM Jailbreakers25 Feb
  6. 2024GradSafe: Detecting Jailbreak Prompts for LLMs via Safety-Critical Gradient Analysis21 Feb
  7. 2023Tree of Attacks: Jailbreaking Black-Box LLMs Automatically4 Dec
  8. 2023Multilingual Jailbreak Challenges in Large Language Models10 Oct
  9. 2023SmoothLLM: Defending Large Language Models Against Jailbreaking Attacks5 Oct
  10. 2023AutoDAN: Generating Stealthy Jailbreak Prompts on Aligned Large Language Models3 Oct
  11. 2023"Do Anything Now": Characterizing and Evaluating In-The-Wild Jailbreak Prompts on Large Language Models7 Aug
  12. 2023Universal and Transferable Adversarial Attacks on Aligned Language Models27 Jul

Other references · 17

  1. 2024The Llama 3 Herd of Modelscited by 14,715
  2. 2016Deep Learning with Differential Privacycited by 2,728
  3. 2024HarmBench: A Standardized Evaluation Framework for Automated Red Teaming and Robust Refusalcited by 1,429
  4. 2023Llama Guard: LLM-based Input-Output Safeguard for Human-AI Conversationscited by 1,207
  5. 2023NeMo Guardrails: A Toolkit for Controllable and Safe LLM Applications with Programmable Railscited by 365
  6. 2024OR-Bench: An Over-Refusal Benchmark for Large Language Modelscited by 244
  7. 2018Gazelle: A Low Latency Framework for Secure Neural Network Inferencecited by 193
  8. 2025GuardReasoner: Towards Reasoning-based LLM Safeguardscited by 100
  9. 2024LLMs know their vulnerabilities: Uncover Safety Gaps through Natural Distribution Shiftscited by 86
  10. 2018Privacy Preserving Machine Learning: Threats and Solutionscited by 79
  11. 2021Privacy-Preserving Machine Learning: Methods, Challenges and Directionscited by 58
  12. 2024Encryption-Friendly LLM Architecturecited by 17
5 more
  1. 2023AutoFHE: Automated Adaption of CNNs for Efficient Evaluation over FHEcited by 15
  2. 2026Cachemir: Fully Homomorphic Encrypted Inference of Generative Large Language Model with KV Cachecited by 5
  3. 2024Fast and Accurate Homomorphic Softmax Evaluationcited by 4
  4. 2025A Scalable Multi-GPU Framework for Encrypted Large-Model Inferencecited by 3
  5. 2026Scaling up FHE-based Privacy-Preserving ML: Higher Throughput, Longer Inputs for LLama-3-8Bcited by 2

Built on by

Not cited yet.

Similar, not cited

Close in wording, no citation either way

  1. 2025OpenGuardrails: A Configurable, Unified, and Scalable Guardrails Platform for Large Language Models
  2. 2026GUARD-SLM: Token Activation-Based Defense Against Jailbreak Attacks for Small Language Models
  3. 2025Benchmarking Large Language Models for Cryptanalysis and Side-Channel Vulnerabilities
  4. 2026SoK: Robustness in Large Language Models against Jailbreak Attacks
  5. 2025Bypassing LLM Guardrails: An Empirical Analysis of Evasion Attacks against Prompt Injection and Jailbreak Detection Systems
  6. 2024MoJE: Mixture of Jailbreak Experts, Naive Tabular Classifiers as Guard for Prompt Attacks
  7. 2026Exploring and Developing a Pre-Model Safeguard with Draft Models
  8. 2024Stealthy Jailbreak Attacks on Large Language Models via Benign Data Mirroring