live wire
AI · Red Hat documents usage-based admission fair sharing for Kueue 1.4 on OpenShiftRed Hat DeveloperAI: Red Hat maps governed firewall changes from ServiceNow through Ansible and two human approval gatesRed Hat DeveloperCLUSTER MGMT · ACM 2.17 makes Submariner 0.24 GA with Important-rated fixesRed Hat ErrataPLATFORM · Red Hat makes on-premises Lightspeed recommendations GA for Satellite 6.18Red Hat ErrataSECURITY · Red Hat Hardened Images updates Tomcat 10 for nine authentication, access-control and DoS flawsRed Hat ErrataAI · Open Data Hub 3.6.0 EA1 bundles Trainer, MLflow and llm-d componentsOpen Data HubAI · Speculators 0.6.0 adds P-EAGLE parallel drafting for vLLM speculative decodingRed Hat DeveloperSECURITY · OpenShift 4.17.57 fixes seven Go and TLS CVEs in an Important-rated updateRed Hat ErrataAI · Red Hat benchmarks local LLM guardrails with EvalHub, exposing regex accuracy and latency trade-offsRed Hat DeveloperAI · Red Hat maps silent tool-call failures across agentic pipelinesRed HatAPI · Kuadrant 1.5.3 adds GRPCRoute policies and developer-portal API-key workflowsKuadrantAI · (Aug 25) IBM releases Apache-2.0 Granite 4.2 reasoning models in 3B, 8B and 30B sizesIBM ResearchJAVA · Red Hat build of Quarkus 3.33.3.SP1 fixes 13 CVEs in an Important-rated updateRed Hat errataAI · vLLM moves Kimi K2 RL weight sync across 384 H100s in 7.53 seconds (Aug 22)vLLMAI · Red Hat documents usage-based admission fair sharing for Kueue 1.4 on OpenShiftRed Hat DeveloperAI: Red Hat maps governed firewall changes from ServiceNow through Ansible and two human approval gatesRed Hat DeveloperCLUSTER MGMT · ACM 2.17 makes Submariner 0.24 GA with Important-rated fixesRed Hat ErrataPLATFORM · Red Hat makes on-premises Lightspeed recommendations GA for Satellite 6.18Red Hat ErrataSECURITY · Red Hat Hardened Images updates Tomcat 10 for nine authentication, access-control and DoS flawsRed Hat ErrataAI · Open Data Hub 3.6.0 EA1 bundles Trainer, MLflow and llm-d componentsOpen Data HubAI · Speculators 0.6.0 adds P-EAGLE parallel drafting for vLLM speculative decodingRed Hat DeveloperSECURITY · OpenShift 4.17.57 fixes seven Go and TLS CVEs in an Important-rated updateRed Hat ErrataAI · Red Hat benchmarks local LLM guardrails with EvalHub, exposing regex accuracy and latency trade-offsRed Hat DeveloperAI · Red Hat maps silent tool-call failures across agentic pipelinesRed HatAPI · Kuadrant 1.5.3 adds GRPCRoute policies and developer-portal API-key workflowsKuadrantAI · (Aug 25) IBM releases Apache-2.0 Granite 4.2 reasoning models in 3B, 8B and 30B sizesIBM ResearchJAVA · Red Hat build of Quarkus 3.33.3.SP1 fixes 13 CVEs in an Important-rated updateRed Hat errataAI · vLLM moves Kimi K2 RL weight sync across 384 H100s in 7.53 seconds (Aug 22)vLLM
upstreambeat.ai
guideAI

Red Hat brings NeMo Guardrails development onto the local CPU

A new OpenShift AI walkthrough moves prompt-injection rail development into Jupyter, then shows where regex gives way to a small classifier.

Regex filter versus CPU classifier for prompt-injection guardrails.
Side by side: what changed
By The News Desk· Sep 1, 2026the quick take — two AI hosts, this story only

Red Hat has published a local development workflow for NeMo Guardrails that lets teams iterate on prompt-injection controls without repeatedly deploying to an OpenShift cluster. The walkthrough runs the guardrail server from a Jupyter notebook and requires no LLM, GPU or cloud resources.

What the workflow changes

The practical boundary is between authoring and deployment. OpenShift AI can run NeMo Guardrails at scale on Kubernetes, but the new workflow keeps configuration changes and early tests on a developer machine. A helper launches a server on localhost:9998; notebook code sends prompts to the /v1/guardrail/checks endpoint and returns the decision, activated rails, latency and token-use statistics.

Red Hat walks through three configurations. The first blocks one exact prompt-injection phrase with a trivial regular expression. The second broadens that list to instruction overrides, system-prompt extraction, persona hijacking and other patterns. That catches obvious attacks, but the article demonstrates both failure modes that matter in practice: paraphrased attacks pass through, while innocent prompts containing phrases such as “recovery mode” or “turn off the filter” are blocked.

Moving beyond pattern matching

The third configuration replaces the regex-only decision with protectai/deberta-v3-base-prompt-injection-v2, a 200-million-parameter text classifier that the article says can run on modern CPUs. Red Hat contributed the hf classifier check input rail to NeMo Guardrails 0.23 and included it in OpenShift AI 3.5.

In the article’s small 13-prompt demonstration, the classifier makes 12 decisions the author considers correct. That result is illustrative, not a benchmark: the article explicitly says the sample is too small for meaningful conclusions and points to a later EvalHub-based evaluation as the next step.

What teams can try now

The useful pattern is layered rather than absolute. Teams can put a targeted regex rail first for cheap, known matches and fall back to the classifier for prompts that need semantic context. Because NeMo applies input rails sequentially, that ordering creates a fast-fail path without treating a hand-written pattern list as a complete defense.

The accompanying workflow gives platform and application teams a reproducible place to develop those configurations before they reach a shared cluster. It also makes the trade-offs visible early: regex is transparent but brittle, while a classifier handles context better and still needs broader evaluation before a policy owner should trust its thresholds.

Filed by The News Desk. Corrections: desk@upstreambeat.ai · Our standards →

comments · 0

    Comments are moderated before they appear. Your email is used once to confirm it is you — never shown, never sold. Corrections and questions get an answer from the desk when we have one.