Jailbreak detector outages and fail-open behavior in NeMo Guardrails

A jailbreak detector that fails open passes traffic unchecked during an outage. This page explains which NeMo Guardrails integrations fail open or closed, and how to monitor and back them up.

On this page

Why a NeMo Guardrails jailbreak detector outage can go unnoticed

An outage in a jailbreak detector can silently pass prompts through to the model when the rail fails open, and the application keeps answering as if every input had been checked. Your team's situation is common: a NeMo Guardrails input rail sits in front of a live LLM app, and the detection step depends on a model call or an external service that can time out, return errors or become unreachable. Nothing in the user experience changes when that happens, so the failure is easy to miss. The first question is what the rail does when the detector call fails, and whether anyone is told.

The NeMo Guardrails documentation explains how rails are configured and how custom actions return outcomes, but the fact base behind this page does not establish a fail-open or fail-closed default for each jailbreak detection integration. Treat that behavior as something to confirm per integration and per version. Read the documentation for the release you run, check the source or the vendor's notes for the detector you call, and record the answer in your design file. Do not assume that the heuristic, NemoGuard and external vendor integrations behave the same way, and do not assume that an upgrade keeps the behavior unchanged.

DeployOpen implements and tests these setups in your own infrastructure, including the failure path that most teams never exercise. In a staging environment, the detector is stopped or pointed at an unreachable endpoint, and a set of known jailbreak prompts is sent to see whether they are blocked, refused with an error or answered. The results show which integrations need a fallback rail, which need an alert on rail errors, and which need a configuration change before go-live. Test cases, environments and deliverables are agreed in writing before the work starts.

Fail-open and fail-closed behavior by integration

This table compares each detector path by what it depends on, how it is expected to behave on error, and what to verify in the source and release notes. The public material for this review does not document per-rail error handling, so treat every fail-open entry as a planning assumption until your installed version confirms it. The main takeaway is that an outage in a detector you do not monitor can quietly remove jailbreak protection while the application keeps answering.

Detector pathDependencyBehavior on errorWhat to confirm
Local heuristics (perplexity and prefix or suffix checks)Runs in the rails process unless you configure a separate serverUnverified. An exception could block or pass the messageException handling in your installed nemoguardrails version and the release notes
Self-hosted NemoGuard JailbreakDetect NIMYour own NIM container, its GPU host and the network path to itPlan as fail-open until confirmed. An unreachable endpoint may let traffic throughTimeout settings, error mapping in the rail configuration and the NIM documentation for your version
Hosted NemoGuard JailbreakDetect NIMExternal endpoint, API credentials and outbound network accessPlan as fail-open until confirmed. Auth, rate limit and network errors are the likely outage pathsWhether the rail returns a block or passes on error, and how retries are handled
YARA injection output railLocal rule files loaded at startup, including the default rule setUnverified. A missing or invalid rule file could stop startup or skip matchingWhether startup fails loudly or the rail is skipped, and what the reject or omit action does on error
Pangea AI Guard integrationExternal Pangea service and its API credentialsConfirm the default. Review whether the integration behaves fail-open before you rely on itCurrent default in the integration docs, and the vendor's deprecation and removal dates
CrowdStrike AIDR integrationExternal CrowdStrike service, tenant configuration and credentialsConfirm the default failure mode in the integration documentationWhether errors block or pass, and whether retries or timeouts are configurable
Guardrails server (HTTP API)Server process, configuration folder and the container image built from the provided DockerfileDepends on the calling application. A rails error returned as success would pass requestsHow the server reports detector errors, and how your application handles non-success responses
NeMo Helix gateway middlewareNeMo Helix control plane placed in front of model endpointsConfirm whether a guardrail failure blocks the upstream model callGateway failure handling in NeMo Helix documentation, and the status of the NeMo microservices sunset for your deployment

How a prompt reaches the detector and where an outage passes through

The diagram starts at the user prompt entering the input rails of a NeMo Guardrails configuration. The jailbreak or injection detector is called over the network, and the response is either a clean verdict or a timeout or error. The error branch is the trust boundary: depending on how the integration is configured, a failed call can block the prompt or let it reach the model unchecked. Check that branch first when you review a deployment.

Detector errors branch to pass or block depending on the fail mode.

Setting up detector health checks and fallback rails

This sequence turns a silent detector failure into a visible, bounded event. Each step records what every detector does when it fails, makes that behavior explicit in configuration, and proves it in staging before production traffic depends on it.

  1. Inventory every detector and its failure mode

    The platform or security team lists each jailbreak, injection and safety detector in the configuration, including NemoGuard models, YARA rules, heuristics and any external security vendor integration. For each one, record its deployment (in-process, separate server or hosted service), its network dependency, and what the rail returns when the call errors or times out. Confirm the fail-open or fail-closed behavior in each integration's documentation and in your pinned version, because the answer is not uniform across integrations. Check: the inventory has one row per detector, and no row says only "unknown".

  2. Pin the NeMo Guardrails version

    Engineering selects one release and records it in the lock file or container build. The current release is 0.25.0, which requires Python 3.11, 3.12 or 3.13, so the runtime image must use one of those interpreters. Review the 0.25.0 release notes for changes to the error handling and the LLMRails to Guardrails transition before relying on any default. Check: a clean environment built from the lock file installs the same version, starts the server or Python API, and passes a smoke test that sends one benign and one known-bad prompt.

  3. Configure timeouts and explicit error handling

    Engineering sets a timeout for each detector call in the configuration and maps each error type (timeout, connection refused, HTTP 5xx, malformed response) to an explicit outcome, such as block, refuse with a fixed message, or continue with a logged warning. Nothing should fall through to a default that no one reviewed. Ask the vendor or project which timeout and retry settings apply to each integration, since these values are environment-specific and are not set by NeMo Guardrails for you. Check: a deliberately slow or unreachable detector produces the mapped outcome in a unit test, and the error is written to the log with the detector name.

  4. Add fallback rails for sensitive routes

    Security and application owners decide which routes handle sensitive data, tool calls or privileged actions. For those routes, add a deny path that runs when the primary detector is unavailable, so that the request is refused instead of passing unscreened. Lower-risk routes can keep a documented fallback, such as a local rule set or a logged pass-through, if the risk owner accepts it in writing. Check: with the primary detector disabled, a request on a sensitive route is refused with the configured message, and a request on a lower-risk route follows its documented path.

  5. Expose detector metrics and logs

    Engineering adds counters and histograms for detector calls, latency, errors, timeouts and blocks, labeled by detector and route, and sends them to the monitoring stack the organization already runs. Log each fallback decision with a request identifier so that auditors and incident responders can see when a detector was bypassed. Confirm which telemetry hooks the pinned version exposes before you design dashboards around them. Check: a test run produces a non-zero count for each detector, and a forced error appears in both the metric and the log with the same identifier.

  6. Alert on silence as well as errors

    A fail-open detector can stop producing errors and simply stop running, so the alert rules must watch for missing activity as well as failures. Create an alert that fires when a detector's call count drops to zero over a window the team chooses for its traffic pattern, and another that fires when the fallback rate rises above a threshold the team sets. Route both alerts to an on-call owner with a runbook entry. Check: the alert fires in staging when the detector is stopped, and the on-call owner acknowledges it.

  7. Test outages in staging

    The team blocks each detector endpoint in a staging environment that mirrors production configuration, using a firewall rule, a stopped container or a hosts-file override. For each outage, the team runs benign and attack prompts on sensitive and lower-risk routes and records what reached the model. Repeat the test after any version change or configuration change. Check: every detector outage produces the outcome recorded in the inventory, the alert fires, and the test results are saved as evidence for the change record.

  8. Document the runbook and review cadence

    The team writes a short runbook covering each detector, its failure mode, the alert it triggers, the steps to restore it, and who may approve a temporary change to the fallback behavior. Assign an owner to review the inventory and the staging test results on a schedule the organization sets. Ask any external partner to confirm in writing how it will support the runbook during an outage. Check: a person who did not build the setup can follow the runbook to restore a stopped detector in staging.

Operational risks when a detector fails silently

A jailbreak detector that stops working does not usually announce itself. The application keeps answering, the logs look normal, and the protection you assumed is gone. The cards below describe the failure modes that turn a detector outage into an unnoticed gap, and the checks that expose each one.

Silent pass-through of attempts

When a detector call errors or times out and the rail is configured to continue, the request reaches the model without any jailbreak check. Nothing in the user-facing response shows the gap, so attackers who probe during an outage see no difference from normal traffic. Confirm, for each rail in your configuration, what happens on an error and whether that behavior is what your risk owners approved. Test it by stopping the detector on purpose in a staging environment and sending known test prompts.

NeMo Guardrails docs

Alerts that never fire

Monitoring that only counts blocked requests will show a drop to zero during an outage, which looks like a quiet day rather than a failure. Alerts on error rates may also never trigger if the rail reports success after a failed check. Track detector invocations, successful responses and latency as separate signals, and alert when invocations stop returning results. Verify the alert by disabling the detector in staging and confirming someone is paged.

Retry storms against a failing NIM

Application clients and gateways often retry failed model calls, and a guardrail call added to each request multiplies that load. When a self-hosted NemoGuard NIM is saturated or restarting, retries can keep it down while the application keeps serving traffic unprotected. Review timeouts, retry counts and backoff for every path that calls the detector, and set a circuit breaker so that a failing detector is isolated quickly and visibly. Ask your platform team which limits apply to the endpoint.

Endpoints broken by upgrades

Moving to a newer NeMo Guardrails release or changing the Colang version can alter how models, endpoints and credentials are read from configuration. A detector pointed at the wrong host, an expired key or a renamed model may fail on every call, and that failure can be hidden by a fail-open setting. Compare the rail configuration before and after each upgrade, and run a known-bad prompt through the detector as part of the upgrade checklist. The NeMo Guardrails 0.25.0 release, published 19 November 2026, is a version to review carefully before adoption.

Guardrails releases

Deprecated integrations still active

An integration that has been deprecated or replaced can keep running in a configuration long after its vendor stops supporting it. Its failure behavior may be different from the replacement, and its errors may be logged where no one reads them. Inventory every detector and third-party integration in each configuration, note its failure mode and owner, and remove the ones with no active support path. Plan the replacement before the removal date rather than during an outage.

Reliance without permission limits

A jailbreak detector is one control, and it can miss attacks. If the model or agent behind it can read sensitive data, call write-enabled tools or act with a shared service account, a missed injection can cause real harm during a detector outage. Limit the application's data access, tool permissions and credentials so that a bypassed rail cannot reach what it should not. Review these permissions with the same care as the detector configuration.

Monitoring rails and fallback choices that keep protection visible

A silent fail-open detector is only dangerous if nobody can see it failing, so the first decision is what the team measures on every jailbreak or injection rail. Track the detector call success rate, the latency distribution with timeouts counted separately, the number of times a fallback path ran instead of the detector, and the block rate per rail compared with a baseline taken from recent traffic. A block rate that drops sharply after a deploy often means the detector is returning nothing rather than the traffic getting cleaner, and a rise in fallback activations is the earliest sign of a hosted NIM endpoint or local model going unreachable. Set alerts on the change in these numbers, not only on absolute thresholds, because a baseline is what makes a quiet failure visible.

For each rail, decide in writing whether a failed or timed-out check should block the request or let it pass with a logged warning. The answer depends on the application's exposure: an assistant that can call internal tools or reach customer data should usually block when the injection check cannot run, while a low-risk public FAQ may accept a logged pass-through. Also decide whether the fallback is a different rail, such as the local YARA or regex rules that call no model, so that some protection remains when the model-based detector is down. Confirm with the vendor or the release notes which metrics and fallback settings your NeMo Guardrails version exposes, because the monitoring and infrastructure topics cover how to wire them into your telemetry stack.

Test the chosen behavior before production by forcing the detector to time out or return an error in a staging environment, then confirm that the blocked or passed outcome, the log entry and the alert all match the written decision. Record the result as evidence for your security and governance reviewers. Review the fallback choices again after each upgrade, since default failure behavior can change between releases and a rail that failed closed before may not do so after a configuration change.

Limits to confirm in your environment

A fail-open detector only protects you while it is reachable, configured and running the version you think it is. The checks below cover the integration defaults, the deployment path, the framework and dialect settings, and the boundary between detectors and application permissions. Confirm each one in your own environment before you sign off on the protection it provides.

Failure default per integration

Each integration decides what happens when its detector cannot answer: block the request, let it through, or fall back to another check. Read the failure default for every detector you enable, in the exact NeMo Guardrails version you run, rather than assuming one default applies to all of them. Record the result in your configuration review, and test it by making the detector endpoint unreachable in a non-production environment. Look at the logs to confirm the request was blocked or allowed as the documentation says.

Current release
0.25.0
NeMo Guardrails docs

NeMo microservice sunset

NVIDIA has sunset the NeMo Guardrails microservice container, and its NGC artifact is no longer supported. If your deployment pulls that container, a detector behind it has no future release path, and you should plan a migration before you rely on it for protection. Confirm which artifact your deployment actually uses and who in your organization owns the NVIDIA account conversation about next steps.

Microservice sunset
October 1, 2026
NeMo Microservices archive

NeMo Helix gateway path

NVIDIA's sunset notice points to NeMo Helix, an Apache 2.0 control plane that runs NeMo Guardrails as an inference gateway middleware plugin. If you adopt that path, the guardrail sits in front of your model endpoints, so a gateway outage or misconfigured plugin changes what reaches the model. Confirm where the detector runs, what the gateway does on a plugin error, and whether a bypass exists for traffic that skips the gateway.

NeMo Helix guardrail docs

LangChain opt-in setting

LangChain integration is opt-in and is enabled with the environment variable NEMOGUARDRAILS_LLM_FRAMEWORK=langchain. If that variable is missing from one container, one worker or one environment, the framework path may not behave as your tests showed, so the protection you verified in staging may not match production. Check the variable in every runtime that serves traffic and include it in your deployment manifest so drift shows up in review.

Colang 1.0 default versus 2.x

Colang 1.0 is the default dialect, and Colang 2.x is also supported. A rail that behaves one way under Colang 1.0 may not behave the same after conversion, and NVIDIA says converted configurations still need manual review. Confirm which dialect each configuration folder uses, and rerun your detector tests on the same dialect your production server loads, not on a converted copy you have not reviewed.

Colang 2 migration guide

Detectors do not replace permissions

A jailbreak detector reduces the chance that a malicious prompt reaches the model, but it cannot stop an agent from calling a tool it should not have. If an outage lets a request through, the damage depends on what the application is allowed to do. Scope tool credentials, data access and write actions to the minimum the assistant needs, so a silent detector failure does not turn into a data or system change.

Questions buyers ask about detector outages

Does NeMo Guardrails fail open by default?

It depends on the integration, so check each detector instead of assuming one default for the whole toolkit. Start with the NeMo Guardrails documentation for the version you run, and confirm how each rail behaves when its model or service cannot be reached. Treat the jailbreak detector path as the first item to verify, because a detector outage there can let prompts reach the model unchecked. Then test it directly: in a non-production environment, stop the detector service, send a set of known attack prompts, and observe whether the request is blocked, returned as an error, or passed through. Record the result for each detector and each environment, since configuration often differs between staging and production.

How can we tell a silent outage from a real pass?

A silent outage looks like a normal response, so you must verify that the detector actually ran on each request. Check three signals together:

  • Rail invocation logs or traces showing the jailbreak rail executed and returned a verdict for the request.
  • Error and timeout counts from the detector call, alerted separately from user-facing errors.
  • A canary prompt that the detector must always block, sent on a schedule. If the canary gets through, the detector is down or misconfigured, even when every other request looks healthy.

A request that completes without a detector verdict is the case to alert on. Confirm which of these signals your version of NeMo Guardrails emits before you build dashboards around them.

What monitoring work does a team need to run?

The work is a mix of one-time design and recurring checks. The one-time part covers selecting the signals, writing alert rules, building a canary prompt set that matches your threat model, and documenting who responds to an alert and how. The recurring part covers running the canary tests on a schedule, reviewing alerts and false alarms, and repeating the outage test after every configuration change, model change or upgrade. Upgrades matter because NeMo Guardrails releases change configuration and Python APIs, so a rail that worked on one version may load differently on the next. Expect the owner of this work to be a named person or on-call rotation who can change configuration and pause traffic when a detector is down.

How does effort grow with more detectors and environments?

Effort grows with the number of detectors and the number of environments, because each combination needs its own outage test, canary result and alert. A single detector in one environment is a bounded task. Adding detectors adds failure modes, and each one may fail open or closed differently. Adding environments multiplies the test runs and the configuration drift to review. Other drivers include whether a detector is hosted by a vendor or self-hosted, how many languages your traffic uses, how many rails sit in the input and output paths, and whether you run the guardrails server or call the Python API. Ask any provider to break the estimate down by detector and environment, so you can see which items scale and which are fixed.

Can our team handle detector outage monitoring alone?

A team with Python, container operations and security testing skills can build the basic setup, but the skills must be present at the same time. The work needs someone who can read Colang and YAML configuration, someone who can run the Python 3.11, 3.12 or 3.13 runtime and the server, someone who writes and maintains attack prompts, and someone who owns the alerts. Ask whether you have each of these in-house and whether they have time for recurring checks. A useful first step is a short internal test of one detector in a non-production environment. If that test is clear and your team can repeat it after each upgrade, you may not need outside help. If it exposes gaps in configuration or alerting, a scoped review or a retainer can close them.

What does a DeployOpen engagement need from us?

DeployOpen needs enough access and information to test the setup as it runs. Typical inputs include the NeMo Guardrails version and Python runtime, the current config.yml, Colang and action files, the list of detectors and how each is hosted, the environments in scope, and the monitoring and alerting tools you already use. You also need a named owner who can approve changes and a test or staging environment where outage tests can run without affecting users. Most engagements are fixed-scope, so the deliverables, timelines and responsibilities are agreed in writing before work starts. DeployOpen tests, documents and helps you build the fallback and monitoring rails, and can retest after fixes. It does not issue audit reports or certifications.

Why does the cost depend on the written scope?

The cost depends on the written scope because the work changes with the number of detectors, environments, rails and alerts in it, and DeployOpen does not publish a price list. A quote follows from the agreed scope, which should list each deliverable, the environments covered and the test and retest rounds included. Ask for the quote to separate one-time items such as design, initial outage testing and runbook writing from recurring items such as scheduled canary runs, retainer hours and upgrade retests. Also ask who is paid for what, including any licenses or hosting costs you carry directly, since the NeMo Guardrails library is Apache 2.0 licensed but your infrastructure and model services are separate costs.

How DeployOpen scopes and tests detector failure behavior

DeployOpen starts by writing down the detector inventory and failure modes before any configuration changes. For each jailbreak or injection check in your NeMo Guardrails setup, the written scope records whether the check runs in-process, as a separate server, or as a hosted or self-hosted model endpoint, what it returns when it cannot answer, and which rail or application path depends on it. This document is the basis for the fail-open or fail-closed decision on each detector. It also names who owns each decision: the security team that accepts residual risk, the platform team that runs the service, and the application team that owns the user experience when a block occurs. Confirm these owners and the current behavior of each integration against the NeMo Guardrails documentation and the version you run, because defaults differ between integrations and change between releases.

Once the scope is agreed, DeployOpen implements the health checks and fallback rails inside your infrastructure, so that a silent detector outage becomes a visible event. Typical work includes probing each detector endpoint on a schedule, alerting when a detector stops returning verdicts, counting rail outcomes so that a sudden drop in blocks is noticed, and adding fallback rails that apply a stricter local check or hold high-risk actions for review while the primary detector is down. The team then tests outage scenarios on a staging copy of your deployment: a stopped model endpoint, a timed-out network call, an expired credential and a misconfigured rail. Each test records what the user saw, what was logged, and whether the alert fired. Ongoing support, upgrades and repeated testing after configuration changes can be covered by a retainer. DeployOpen prepares systems, controls and evidence for your assessments, but it does not issue audit reports or certifications; independent auditors and certification bodies make those determinations.

Sources and further reading

Talk to our team.

Tell us what you're working on, whether it's a deployment, an audit, a security test or a cyber range. You'll speak with an engineer who can help you scope it.

  • 30-minute call: free, with no obligation.
  • NDA on request: we can sign before you share details.
  • Clear next steps: a scope and plan after the call.