Skip to content

In development. Expect rough edges and changes. The source code is not public yet.

Hugging Face 10 min read Research mediumAdept

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

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.

Related posts

  • Welcoming Llama Guard 4 on Hugging Face Hub

    Hugging Face mediumAdept

    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. It flags 14 MLCommons hazard categories plus code interpreter abuse in both prompts and model responses, fits on a single 24 GB GPU, and lets users exclude categories through the chat template. Compared with Llama Guard 3 it gains notably on multi-image inputs (+20% recall, +17% F1), while multilingual performance is flat. Meta also released Llama Prompt Guard 2 classifiers (86M and 22M) for binary jailbreak and prompt-injection detection, with transformers code examples for both.

  • Red-Teaming Large Language Models

    Hugging Face easyNovice

    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. Techniques include roleplay attacks, asking for responses in code, and using one LM to red-team another. Canned-response classifiers make a model safe but evasive, which shows the tension between helpfulness and harmlessness. Findings from Anthropic's work are summarized: RLHF models get harder to red-team as they scale, humans agree poorly on what counts as a successful attack, and crowdsourced prompts become templated. The post lists open datasets (Bot Adversarial Dialog, Anthropic red-team attempts, RealToxicityPrompts) and future directions such as code-generation jailbreaks and critical threat scenarios.

  • Continuously hardening ChatGPT Atlas against prompt injection

    OpenAI easyNovice

    OpenAI hardens the ChatGPT Atlas browser agent against prompt injection using an LLM attacker trained end-to-end with reinforcement learning. Before committing to an attack, the attacker tests candidate injections in a simulator that returns the victim agent's full reasoning and action trace, which lets it find long-horizon exploits spanning tens to hundreds of steps. One example tricks the agent into sending a resignation email instead of an out-of-office reply. Discovered attacks feed a rapid response loop that adversarially trains new agent checkpoints and improves monitoring and system safeguards, while users are advised to use logged-out mode and carefully review confirmation prompts.

  • Nemotron 3.5 Content Safety: Customizable Multimodal Safety for Global Enterprise AI

    Hugging Face easyNovice

    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. It adds natural-language custom policies (category suppression and injection) and an optional THINK mode that emits short auditable reasoning traces. Those traces were distilled in two steps: Qwen 397B generated label-conditioned chains of thought, then Qwen 80B compressed them to three sentences or fewer. The model averages about 85% across multilingual and multimodal benchmarks and 96.5% on Multilingual Aegis across 12 languages, keeps Nemotron 3's latency when THINK mode is off, and ships with an open training dataset built largely on real photographs.

  • Introducing the Red-Teaming Resistance Leaderboard

    Hugging Face easyNovice

    The Red-Teaming Resistance leaderboard from Haize Labs and Hugging Face scores LLMs on how often they safely refuse realistic, human-written jailbreak prompts. It pulls these from datasets such as AdvBench, AART, Beavertails, Do Not Answer, RedEval and SAP, and deliberately skips unreadable automated attacks like GCG suffixes. Responses are judged Safe or Unsafe by LlamaGuard with a custom taxonomy plus GPT-4, then manually sanity-checked, and results are broken down by violation category modelled on OpenAI's usage policies. GPT-4 and Claude-2 lead across categories, though their API-side safety layers may account for some of that lead. Models are weakest on adult content, physical harm and child harm, and strongest on privacy, professional advice and political campaigning.

The quest for software engineering knowledge.

Look:
Layout: