---
title: "AprielGuard: A Guardrail for Safety and Adversarial Robustness in Modern LLM Systems"
description: "AprielGuard is an 8B-parameter guardrail model from ServiceNow that classifies 16 categories of safety risk and flags adversarial attacks such as jailbreaks and prompt injections."
url: "https://swe.quest/articles/aprielguard-a-guardrail-for-safety-and-adversarial-robustness-in-modern-llm-be1690a9de4ab65c"
canonical: "https://huggingface.co/blog/ServiceNow-AI/aprielguard"
source: "Hugging Face"
published: "2025-12-23"
difficulty: "medium"
kind: "Research"
reading_minutes: 10
tags: ["ai-safety","llms","ai-agents","evals","model-training"]
---

# AprielGuard: A Guardrail for Safety and Adversarial Robustness in Modern LLM Systems

A post on [Hugging Face](https://swe.quest/sources/hugging-face.md), published 2025-12-23, 10 min read, Research. Original: [https://huggingface.co/blog/ServiceNow-AI/aprielguard](https://huggingface.co/blog/ServiceNow-AI/aprielguard)

## Summary

AprielGuard is an 8B-parameter guardrail model from ServiceNow that classifies 16 categories of safety risk and flags adversarial attacks such as jailbreaks and prompt injections. It works on standalone prompts, multi-turn conversations and agentic workflows that include tool calls, memory and reasoning traces. It is trained on synthetic data with noise augmentation and on agentic traces where individual components were deliberately corrupted. It runs in either a reasoning mode that explains its decisions or a fast classification-only mode. Benchmarks show strong F1 on most public safety and jailbreak sets but weak recall on some prompt-injection sets (around 0.52–0.57). On 32k-token inputs, reasoning mode raises adversarial recall from 0.78 to 0.94 but increases the false-positive rate to about 0.10.

Written by swe.quest, not by the author.

**Difficulty:** Medium: assumes a working developer; shows how it is built or done

## Topics

- [AI safety](https://swe.quest/tags/ai-safety.md) (AI & ML)
- [LLMs](https://swe.quest/tags/llms.md) (AI & ML)
- [AI agents](https://swe.quest/tags/ai-agents.md) (AI & ML)
- [Evaluation](https://swe.quest/tags/evals.md) (AI & ML)
- [Model training](https://swe.quest/tags/model-training.md) (AI & ML)

## Prerequisites

- LLM fine-tuning basics ([easy posts on LLMs](https://swe.quest/tags/llms.md?difficulty=easy))
- prompt injection and jailbreaks ([easy posts on Application security](https://swe.quest/tags/appsec.md?difficulty=easy))
- classification metrics ([easy posts on Observability](https://swe.quest/tags/observability.md?difficulty=easy))

## Keywords

AprielGuard, ServiceNow, Apriel-1.5, NeMo Curator, SALAD-Bench, MADLAD400, SyGra

## Related posts

- [Welcoming Llama Guard 4 on Hugging Face Hub](https://swe.quest/articles/welcoming-llama-guard-4-on-hugging-face-hub-b5b2c79d602c7f1b.md): Hugging Face · 2025-04-29 · Medium · 6 min read · AI safety, LLMs, Inference & serving
  Llama Guard 4 is a 12B dense multimodal safety classifier pruned from Llama 4 Scout by dropping all routed MoE experts and keeping only the shared expert, then post-trained on 3:1 text-to-multimodal data.
- [Red-Teaming Large Language Models](https://swe.quest/articles/red-teaming-large-language-models-a911211681792c3b.md): Hugging Face · 2023-02-24 · Easy · 6 min read · AI safety, Evaluation, LLMs
  Red-teaming evaluates LLMs by crafting natural-language prompts that elicit harmful outputs such as toxicity, bias, misinformation or leaked personal data, and it differs from adversarial attacks, which can use unintelligible inputs.
- [Continuously hardening ChatGPT Atlas against prompt injection](https://swe.quest/articles/continuously-hardening-chatgpt-atlas-against-prompt-injection-a9a9178548b95727.md): OpenAI · 2025-12-22 · Easy · 11 min read · AI safety, AI agents, Application security, Model training, LLMs
  OpenAI hardens the ChatGPT Atlas browser agent against prompt injection using an LLM attacker trained end-to-end with reinforcement learning.
- [Nemotron 3.5 Content Safety: Customizable Multimodal Safety for Global Enterprise AI](https://swe.quest/articles/nemotron-3-5-content-safety-customizable-multimodal-safety-for-global-9ddbaf1d8503c5c0.md): Hugging Face · 2026-06-04 · Easy · 10 min read · AI safety, LLMs, Model training, Evaluation
  Nemotron 3.5 Content Safety is a 4B-parameter guard model, a LoRA fine-tune of Gemma 3 4B IT, that classifies a user prompt, an optional image and an optional assistant response together in one pass.
- [Introducing the Red-Teaming Resistance Leaderboard](https://swe.quest/articles/introducing-the-red-teaming-resistance-leaderboard-e6f29b275caeecf9.md): Hugging Face · 2024-02-23 · Easy · 6 min read · AI safety, Evaluation, LLMs
  The Red-Teaming Resistance leaderboard from Haize Labs and Hugging Face scores LLMs on how often they safely refuse realistic, human-written jailbreak prompts.

Browse: [Latest posts](https://swe.quest/index.md) · [Topics](https://swe.quest/tags.md) · [Sources](https://swe.quest/sources.md) · [Topic map](https://swe.quest/map.md) · [Site guide (llms.txt)](https://swe.quest/llms.txt)
