NeMo Guardrails security hardening

Hardening a self-hosted NeMo Guardrails deployment means locking down the guardrails server, its model credentials and its logs, then proving the rails hold against jailbreaks and injection.

On this page

Why NeMo Guardrails security hardening needs its own plan

Hardening a NeMo Guardrails deployment covers four things: protecting the server endpoint, protecting the model and provider credentials the rails call, testing the rails against jailbreaks and prompt injection, and logging blocked requests so someone reviews them. If your team runs NeMo Guardrails as a Python library or as an HTTP guardrails server in front of an LLM, these four areas are yours to own. That is especially true if you moved off the NeMo Guardrails microservice after NVIDIA sunset it, because the library is Apache 2.0 licensed and the current release is 0.25.0. Once it runs in your cloud account, data center or private network, no vendor patches its exposure, rotates its keys or reads its logs for you.

A guardrail is a control layer, and control layers can be bypassed. Input rails, output rails and dialog rails only see what the configuration tells them to see. A user can rephrase a request, split an instruction across turns, hide it in retrieved content, or ask the model to ignore its rules. If the server endpoint is reachable without authentication, a caller can skip the application entirely and talk to the model through the guardrails layer or around it. Treat the rails as one defense among several, and test each path a request can take into the model rather than assuming the rails cover all of them.

A configuration that works in a demo is not a hardened deployment. Demos use a single developer machine, a shared API key, friendly test prompts and no record of what was blocked. A hardened setup needs a reviewed config.yml, controlled Colang files and actions, credentials held in a secrets store with rotation, network restrictions on the server, and a test suite of adversarial prompts that runs before every change. Ask your team to confirm which of these exist today, and who approves changes to rail configurations before they reach production.

Which parts of a NeMo Guardrails deployment need hardening

A NeMo Guardrails deployment is more than the rails themselves. The server, its configuration files, the credentials it uses to call models, the container image it ships in, and the logs it writes all carry risk. Each card below names one part, the control that matters there, and what to check before the deployment faces users.

Guardrails HTTP server endpoint

When you run NeMo Guardrails as a guardrails server, it exposes an HTTP API in front of your LLM. Decide who can reach that API, whether it sits behind your gateway or identity layer, and whether it is reachable from outside your network at all. Confirm which endpoints are exposed in your version and that none are open by default to unauthenticated callers. Treat the endpoint as an application that needs authentication, rate limits and network restriction.

NeMo Guardrails docs

Configuration folder and Colang files

The config folder holds config.yml, Colang files and optional Python actions. Anyone who can write to this folder can change what the rails block, what they allow, and what code runs when a rail fires. Restrict write access, keep the folder under version control with review, and record which configuration version is live. Colang 1.0 is the default, so confirm which Colang version each configuration uses before reviewing it.

Python actions and custom tools

Python actions run arbitrary code inside the guardrails process, which is the execution rail's path to tools, APIs and data. Review each action as you would any internal service: its inputs, the systems it calls, and the credentials it reads. Limit what the process can reach on the network and in the file system, and confirm that an action cannot be steered by user text into calling an unintended tool.

LLM and safety-model credentials

Each self-check, fact-checking, content safety or topic safety call uses a model credential, and the rails multiply those calls per request. Store keys in a secrets manager, scope them to the minimum models and quotas needed, and rotate them on a schedule. Check that the server never returns keys in error messages, logs or responses to callers.

Docker server image

The Dockerfile builds a server image that carries the library, its dependencies and your configuration. Pin the Python base image and dependency versions, scan the image before each release, and run the container as a non-root user with a read-only file system where possible. Rebuild after each upgrade so that patched dependencies reach production. Confirm that the image contains no secrets.

Guardrails repository

Logs of blocked and allowed requests

Logs of blocked and allowed requests are the evidence a review team needs to tune rails and investigate abuse. They also hold user prompts, which may contain personal or regulated data. Decide what is logged, how long it is kept, who can read it, and how it is redacted. Confirm that a rail hit records which rail fired without storing credentials or full sensitive payloads.

Which access and secrets choices to make before going live

This table compares the access, secrets, network and placement options for a self-hosted NeMo Guardrails deployment. Read each row as a decision: when the option fits, and what it costs to run day to day in key rotation, latency and network policy work. The main takeaway is that the server should not be reachable without authentication, and that the choice of gateway and secrets store should be confirmed against the products your team already runs.

DecisionOption AOption BWhen to choose which
Server exposureExpose the guardrails server directly to callersPlace the server behind an authenticating gateway or reverse proxyDirect exposure only fits internal test setups. Production should use the gateway option, and you should confirm the gateway's authentication features with its vendor.
Model API keysStore keys in environment variables on the host or containerFetch keys from a dedicated secrets manager at startup or on demandEnvironment variables are simpler but rotation means restarting the server. A secrets manager adds integration work but makes rotation and access logging easier. Confirm the manager's rotation support.
Network placementRun the server on a public network endpointRun the server in a private network with restricted ingress and egressPrivate placement fits production and regulated workloads. It requires network policy for the model provider and safety-model endpoints, which adds upfront work and firewall change requests.
Rail placementRun rails inside the application process as a libraryRun rails as a separate guardrails service that the application callsIn-process rails reduce a network hop and simplify deployment. A separate service centralizes policy and logging across apps but adds latency and a second component to secure and monitor.
Credential scopeOne shared model key for all configurations and appsSeparate keys per application or environmentShared keys are cheaper to manage but widen blast radius. Separate keys increase rotation and inventory effort, which is usually worth it once several apps call the same server.
Log accessLogs stored on the server hostLogs shipped to a central store with restricted read accessCentral storage suits review of blocked requests by security staff. Confirm that logs do not capture raw prompts or secrets before choosing retention.
Rotation effortManual rotation with a documented runbookAutomated rotation through the secrets managerManual rotation is workable for a few keys. Automation reduces error during incidents but needs tested fallback and a rehearsed revocation path.

How to harden the server, credentials and rails step by step

This sequence moves a NeMo Guardrails deployment from open exposure to a reviewed setup, where the HTTP API is authenticated, secrets sit in a managed store, configurations are under version control, jailbreak and injection rails are tested, and blocked requests are logged for review. Each step ends with a check you can repeat before go-live and after every change.

  1. Inventory endpoints, configurations and credentials

    Before changing anything, list every guardrails server or Python process, every configuration folder it loads, every Colang file and custom action, and every model or safety-model credential it uses. Record which LLM endpoints each configuration calls and which clients reach the HTTP API. This inventory is the baseline for every later step, and the security or platform owner should sign off on it. It is done when each configuration maps to one owner, one set of model calls and one set of callers, with no unknown entries left in the list.

  2. Restrict network exposure and API authentication

    Place the guardrails server behind your internal network boundary, such as a private subnet, internal load balancer or service mesh, and allow inbound traffic only from the applications that must call it. Put an authentication layer in front of the HTTP API, because the server itself should not be treated as the only access control. Confirm the authentication mechanism with your platform team, since the open-source server documentation should be checked for the exact options your version supports. The check: send a request with no credentials and with an invalid token from an allowed network and from a disallowed one, and confirm each is refused before reaching the rails.

  3. Move model credentials into a managed secret store

    Remove model and safety-model API keys from config.yml, .env files, Python actions and Dockerfiles. Store them in your secret manager and inject them at runtime through environment variables or the platform's secret mechanism. Create a separate, least-privilege credential for the guardrails service, scoped to the models and endpoints its configurations actually call, and rotate any key that was previously committed or baked into an image. The check: search the configuration folder, the built image layers and the server logs for the key values, and confirm none appear, then confirm the service still starts and reaches the model endpoints.

  4. Lock down the configuration folder and action code

    Keep the configuration folder, Colang files and Python actions in version control with mandatory review for every change, and restrict write access on the runtime host to the deployment pipeline. Mount the configuration read-only in the container or on the server where possible, so a running instance cannot be altered in place. Pin the NeMo Guardrails version in your dependency file, since the 0.x releases can change behavior between versions, and review the release notes before each upgrade. The check: attempt to write to the mounted configuration from inside the running service and confirm it fails, and confirm the deployed configuration hash matches the reviewed commit.

  5. Define jailbreak and injection rails for input and output

    Configure input rails that screen user messages for jailbreak and prompt injection attempts before they reach the model, and output rails that check model responses before they return to the user. Where your use case retrieves documents, add retrieval rails so injected instructions in retrieved chunks are handled, and add execution rails so custom actions and tools only run within defined limits. Choose which built-in detectors and safety models to enable, and record the reason for each, because every enabled rail adds model calls and latency. The check: the configuration loads without errors and each rail is listed in the reviewed configuration with its intended trigger.

  6. Test rails against jailbreak and injection cases

    Build a test set of known jailbreak prompts, injection strings embedded in user input and in retrieved text, and benign requests that must pass, so you measure false blocks as well as misses. Run the set against the deployed configuration and record which inputs are blocked, which pass and what the output rails return. Treat any bypass as a defect to fix in the configuration, then rerun the full set. Your security team or an external tester can supply independent cases, and the test set should be kept under version control and rerun before every upgrade. The check: the test run completes with recorded results, and every known bypass has a fix or an accepted-risk entry signed by the owner.

  7. Wire logging of blocked requests for review

    Configure the service to log every request that a rail blocks, including the timestamp, the rail that fired, the calling identity and a request identifier, while avoiding storage of secrets and, where your policy requires, personal data in the log. Route these logs to your central logging platform with retention and access controls that match your data policy. Set up a review routine so security staff examine blocked requests on a regular schedule and feed confirmed attacks back into the test set. The check: send a known blocked test request, then confirm the entry appears in the central log with the expected rail and identifier, and that the log contains no credential values.

  8. Run a verification pass before go-live

    Repeat the earlier checks against the final deployed environment, not the development copy. Confirm authentication and network restrictions, the absence of secrets in images and logs, the read-only configuration mount, the rail test results and the blocked-request log flow. Record the pinned version, the configuration commit and the test set version in the change record. Any failed check blocks go-live until it is fixed and retested. The check is a signed verification record that lists each control, its evidence and the person who accepted it.

How hardening differs by hosting model

On a single virtual machine, the trust boundary is usually the host itself. The guardrails server, its configuration folder and any Python actions run as processes on one operating system, so anyone with shell access to that host can read configuration, custom actions and any secrets placed on disk. The main decision is how the server is exposed: bind it to a private interface and place a reverse proxy or firewall in front of it, so only the calling application can reach the HTTP API.

  • Process isolation: Run the server under a dedicated, non-login service account with read-only access to the configuration folder.
  • Credential delivery: Load model API keys from a root-owned environment file or a host secrets mechanism, not from a config.yml committed alongside the rails.
  • Network exposure: Restrict the listening port to the application subnet and block outbound traffic except to the approved model endpoint.
  • Log durability: Write audit records to a path outside the application directory and ship them to a central store, because a single host loses local logs if its disk fails or the service is reinstalled.
  • Patching: Track Python dependency updates for the pinned nemoguardrails version on the same schedule as the host operating system.

Confirm with your platform team how the host is backed up, who holds root access, and whether the VM's disk is encrypted at rest.

How to test rails against jailbreaks and injection

Testing starts with a suite of cases you write from your own threat model, not from the library's defaults. Build the suite in groups that map to each rail type: input rails for direct jailbreak and prompt injection attempts, retrieval rails for injected instructions hidden in retrieved chunks (indirect injection), execution rails for tool misuse such as a request to call a custom action with out-of-scope arguments, and output rails for responses that leak system prompts, credentials or restricted data. Each case records the input, the rail expected to fire, and the expected outcome (blocked, rewritten or allowed). Store the suite in version control next to the config.yml, Colang files and Python actions it tests, so every change to those files is reviewed against the same cases.

Measure two numbers for every run: the share of attack cases the rails block, and the share of legitimate traffic they wrongly block. The second number is easy to skip and expensive to ignore, because aggressive input rails can refuse ordinary customer questions that resemble attacks. Build a legitimate-traffic set from anonymized production or realistic test conversations, and ask the business owner to confirm which refusals are acceptable. Run the full suite before every change to the configuration and before every NeMo Guardrails library upgrade, since behavior can shift between 0.x releases. Confirm the current release notes on the NeMo Guardrails releases page before each upgrade window.

A suite that passes is evidence only for the attacks someone thought to write down. The library includes jailbreak and injection detection, but whether it catches your application's attack paths is something to verify, not assume. Schedule periodic red teaming against the live deployment, with testers who try novel phrasing, multi-turn escalation and tool abuse, and feed every successful bypass back into the regression suite as a permanent case. Confirm with the vendor or your own testing which detectors the pinned release actually runs, and document any rail you have deliberately left out of scope and who accepted that risk.

Access control, secrets and logging controls to put in place

These cards cover the controls that protect a NeMo Guardrails deployment after it is running: who can reach the server, which credentials it holds, how configurations change, and what the logs reveal. Each control maps to a specific surface of the library or server, so the review can check the file, setting or process that enforces it.

Authentication on the server endpoint

The guardrails server exposes an HTTP API, and the library does not decide who may call it. Put the server behind an authenticating gateway or reverse proxy that your identity team controls, and confirm which authentication options the server version you deploy supports before relying on them. Test that unauthenticated requests are refused and that a caller cannot pick a configuration it is not entitled to use.

NeMo Guardrails docs

Least-privilege model keys

The guardrails configuration calls the main LLM and any safety or moderation models, each with its own credential. Issue a separate key per model endpoint, scope it to the calls the rails need, and avoid reusing a broad application key. Confirm how each provider's key scopes and spending limits work, and record who owns each key.

Secret handling in images and CI

Do not bake API keys into the Docker image built from the provided Dockerfile, and do not commit them to the configuration folder. Inject credentials at runtime from your secrets manager or the orchestrator's secret store, and keep CI logs free of printed environment variables. Scan built images and repositories for leaked keys before each release.

Restricting the configuration folder

The config.yml file, Colang files and Python actions define what the rails block and what code runs. Make the folder read-only for the server process, allow changes only through reviewed commits, and require a second reviewer for changes to actions or flows. Run regression tests against the jailbreak and injection cases before any configuration reaches production.

NeMo Guardrails repository

Minimizing personal data in logs

Logged prompts and blocked messages often contain personal data that the rails were meant to stop. Decide which fields are logged, mask or drop personal identifiers before they are written, and store a reference rather than the full prompt where the review does not need it. Document the rule so that developers do not add raw logging later.

Protecting the log store

Blocked-request records are useful for review but are sensitive in themselves. Set a retention period that your privacy team approves, limit read access to the review group, and log access to the store. Confirm where the server writes its logs and how they are rotated before you route them to a central platform.

How a request moves through the hardened guardrails path

The request starts at the client and reaches an authenticating gateway before it enters the guardrails server, which is the only component that talks to model endpoints. Input rails, then retrieval and execution rails, run before any LLM or safety-model call, and those calls use credentials pulled from a secrets store rather than from the client or the config files. Check that each trust boundary is enforced, that blocked requests reach the review log with enough context to investigate, and that output rails run before anything returns to the client.

Trust boundaries and the blocked-request branch on the hardened path.

What drives the effort of hardening a guardrails deployment

This table lists the factors that change how much work it takes to harden a NeMo Guardrails deployment, with a way to keep each one contained. Read each row as a question to answer about your setup before scoping, since the effort usually grows with the number of environments, rails and integrations rather than with any single item.

DriverWhy it changes effortHow to keep it down
Number of environmentsEach environment (development, staging, production) has its own endpoint, network path, secrets and log sinks that need the same controls checked.Use one hardened base image and one deployment template, then vary only environment values such as endpoints and secret references.
Number of configurations and railsEvery config.yml, Colang file and Python action is a surface for bypass, and each rail type (input, dialog, retrieval, execution, output) needs its own test cases.Group rails by risk, keep configurations in version control, and maintain scoped test suites per rail type so a change reruns only the affected tests.
Model and safety-model providersEach LLM or safety-model provider adds its own credential, data handling terms, network egress rules and failure behavior to review.Standardize on a small set of providers, store all keys in one secret manager with a shared naming pattern, and restrict egress to approved endpoints.
Integrations such as retrieval sources and toolsRetrieval rails and execution rails handle content and actions from outside the guardrail, so injected content and tool permissions must be tested for each source.Document each source and tool, grant the minimum permissions, and add injection test cases per integration rather than one generic suite.
Log volume and review workflowLogging blocked requests creates records that may contain user prompts, so retention, redaction and who reviews them must be defined before go-live.Log only block decisions and rail names by default, redact sensitive fields at the server, and set a fixed review cadence with named reviewers.
Compliance evidence needsAssessors may ask for test results, configuration history, access records and change approvals, and each requested item adds collection work.Ask your assessor early which evidence they expect, generate test reports and config diffs automatically from the pipeline, and keep them in one evidence store.

How to log blocked requests for review without storing more data than needed

Logging blocked requests is useful only if each record answers a review question while holding as little user data as possible. A blocked-request record should capture the timestamp, the rail that fired (input, dialog, retrieval, execution or output), a request identifier that links the event to the calling application's own logs, the version of the configuration that was active, and a minimized or redacted copy of the input. Store the matched rail and a short reason code rather than the full prompt wherever the reason can be derived without it. The exact fields a guardrails server or library call emits depend on the NeMo Guardrails release and on your configuration, so confirm them by sending known blocked and allowed test prompts through your pinned version and inspecting what lands in your log store before you write any logging policy.

Decide who can read these records before you decide what they contain. Blocked prompts are often where users type credentials, personal data or attempted attacks, so limit read access to the security operations group that triages them and the engineers who tune the rails, and keep it out of general application logging pipelines. Require that reviewers work from the redacted view by default, with access to raw input granted through a logged, approved step. Set the retention period together with your legal and privacy teams, since they own the decision about how long attack evidence and personal data may be kept and under what lawful basis. Write that period into the configuration of your log store, not just into a policy document.

Use the review workflow to improve the rails. Triage should label each blocked record as a true block, a false positive or an unclear case, and tag the rail and configuration version involved. False positives are the signal for tuning thresholds, adjusting Colang flows or adding allowed examples, and each change should be regression tested against the same labeled set before it ships. Track how many records per rail are false positives over time, so that a rising rate shows up as a tuning problem instead of a user complaint. Review the logging design itself at each upgrade, because new releases can change which fields are emitted and whether the input text is present at all.

What to monitor, back up, upgrade and document after go-live

This table sets out each operating item for a NeMo Guardrails deployment, what it protects against, and what evidence an assessor or upgrade reviewer will expect. Read it as a checklist to assign owners before go-live, not as a schedule, since cadence depends on your release process and risk appetite. The main takeaway is that rail behavior can change between 0.x releases, so every configuration, model key and threat model entry needs a documented owner and a repeatable test.

AreaWhat to doEvidence to keep
Block rates, latency and errorsTrack how often input, output and dialog rails block requests, plus added latency and error rates per rail, and alert on sudden shifts in either direction.Dashboards, alert thresholds and a log of reviewed spikes with the decision taken.
Blocked request logsReview logged blocks on a set schedule for false positives, missed attacks and signs of probing, and tune rails through the change process.Review records, triage tickets and the configuration change that followed each tuning decision.
Configuration backupStore config.yml, Colang files and Python actions in version control, with tagged releases tied to each production deployment.Repository history, protected branch settings and a tested restore of the configuration folder.
Regression testing before upgradesRerun your jailbreak, injection and benign-request test set against each candidate 0.x release, since NeMo Guardrails behavior can change between versions.Test suite results per version, with pass and fail deltas reviewed before sign-off.
Deprecation check: LLMRailsConfirm whether your code still uses the LLMRails class, which 0.25.0 deprecates in favor of Guardrails, and plan the move before removal, which is planned no earlier than 0.27.0.Code search results, migration ticket and test run on the new class.
Model key rotationSet a rotation schedule for LLM and safety-model credentials used by the rails, rotate on staff change or suspected exposure, and confirm the new key works before revoking the old one.Rotation log with dates, owners, secret store audit entries and revocation records.
Rail inventoryMaintain a current list of each rail, its type (input, dialog, retrieval, execution or output), the model it calls and the owner who approved it.Versioned inventory document linked to the configuration commit it describes.
Threat model for auditorsKeep a threat model covering jailbreak, prompt injection, data exposure and endpoint abuse, mapped to the rails that address each threat and their test results.Signed-off threat model, test evidence per threat and a review date with a named reviewer.

Questions teams ask before hardening NeMo Guardrails

How much effort does hardening a NeMo Guardrails deployment take?

Effort depends mainly on how many rails you run, how many model and safety-model calls each request triggers, and how many entry points reach the server. A single config.yml with input and output moderation behind one internal endpoint is a much smaller job than a multi-configuration server exposed to several applications. The main drivers are:

  • The number of rail types in use (input, dialog, retrieval, execution and output rails)
  • Whether Colang 1.0 or 2.0 is used, since converted configurations still need manual review
  • The size of the threat model and the volume of jailbreak and injection test cases
  • How much logging, access control and change control must be built and evidenced

Ask any partner for a quote built from a written scope that lists these items, not a lump sum.

Can an internal team harden NeMo Guardrails without a partner?

Yes, if the team has Python engineers, someone who can own the Colang configuration, and security staff who can write and run test cases. The library is Apache 2.0 licensed and the work happens in your own environment. Teams without prior experience in LLM threat modeling often underestimate the testing and documentation load, particularly the evidence that compliance reviewers ask for. Confirm internally who will own rail behavior after each upgrade, who signs off on changes, and whether the team has time for regression testing before every release.

What does the hardening work need from our team?

Plan for four inputs before work starts:

  • Architecture access to the server, network paths, identity provider, secret store and the model endpoints it calls
  • A threat model that names the users, applications and data the guardrails protect
  • Test data, including representative prompts, expected refusals and the business cases that must still work
  • Change control that defines who approves configuration edits, dependency upgrades and new rails

Missing any of these usually extends the timeline more than the technical work itself.

Does hardening stop prompt injection completely?

No. Input rails, jailbreak and injection detection and output moderation reduce the likelihood and impact of attacks, but no configuration removes the risk entirely. Detection models can miss novel phrasing, and rails that block too aggressively can break legitimate use. Hardening therefore pairs rails with least-privilege tool and data access, output handling, logging of blocked requests and repeated testing as models and configurations change. Ask any provider to state what is tested, what is out of scope and how residual risk is recorded.

How does the NeMo Guardrails microservice sunset affect hardening?

NVIDIA has sunset the NeMo Guardrails microservice, and its NGC container page says there will be no new releases and no further support. The library remains Apache 2.0 licensed and receives new releases, with 0.25.0 published on 19 November 2026. Hardening work should target the library and your own server, not the retired container. NVIDIA's sunset notice says all new development has moved to NeMo Platform, and the repository it links now resolves to NVIDIA-NeMo/nemo-helix, which runs NeMo Guardrails as an inference gateway plugin. Confirm with your NVIDIA account team whether that path fits your architecture before choosing it.

What Python version and library version should we target for hardening?

NeMo Guardrails 0.25.0 requires Python 3.11, 3.12 or 3.13, so target one of those versions for the server image and test environment. The previous release was 0.24.1, published on 16 September 2026. Version 0.25.0 deprecates the LLMRails class in favor of Guardrails, with removal planned no earlier than 0.27.0, so new hardening code should avoid LLMRails. Confirm the exact version your environment uses, pin it, and rerun the rail test suite before any upgrade.

What should we log for blocked requests, and who reviews it?

Log enough to reconstruct each block: timestamp, caller identity, the rail that fired, the configuration version, and a redacted reference to the input or output. Avoid storing raw sensitive prompts unless your data handling policy allows it. Define who reviews blocks, how often, and how false positives reach the rail owner. Your logging design also determines what compliance teams can inspect, so confirm retention periods and access controls with your security and privacy owners before implementation.

Official NeMo Guardrails sources to read before you harden

Before you apply any hardening guidance, confirm which deployment you actually run. NVIDIA has sunset the NeMo Guardrails microservice, and its NGC container page states that the artifact is no longer supported and will receive no new releases. If your server came from that container, your configuration, patch path and support route differ from teams running the open-source library. Start with the archived NeMo Microservices documentation and the NeMo Guardrails microservice container on the NVIDIA NGC catalog, then ask your NVIDIA account team what the next step is for your environment.

If you run the Apache 2.0 library, use the NVIDIA-NeMo/Guardrails repository and its releases page as the reference for behavior. The current release is 0.25.0, published on 19 November 2026, and the previous one is 0.24.1. Read the 0.25.0 notes for the deprecation of the LLMRails class in favor of Guardrails, with removal planned no earlier than 0.27.0. Any server, middleware or hardening configuration you write against LLMRails will need a review before that removal. Confirm the Python version your image uses, since 0.25.0 requires Python 3.11, 3.12 or 3.13.

Read the NeMo Guardrails documentation for the configuration keys, rail types and server settings you will harden, and install from the nemoguardrails package on PyPI so the version you test matches the one you ship. If you use the NeMo Helix control plane, read its guardrail documentation, which describes guardrails applied as gateway middleware. Its controls sit in a different place from a standalone server, so do not carry settings between the two without checking each one against its own docs.

How DeployOpen scopes, hardens and hands over NeMo Guardrails deployments

DeployOpen scopes NeMo Guardrails security hardening as a written, fixed-scope engagement inside your own infrastructure. We secure the guardrails server, test the rails against jailbreak and injection attempts, and hand over configuration, evidence and blocked-request logging your security team can review.

How we scope

  • Written scope confirms which NeMo Guardrails deployment, server or library setup, and configurations are in the hardening work.
  • Scope lists the model endpoints, safety-model calls and credential stores the guardrails touch in your environment.
  • Scope sets out the rail types under test, such as input, output, retrieval and execution rails, and the attack categories to cover.

How we build

  • We place the guardrails server behind your access controls, restricting network exposure and administrative paths to approved callers.
  • Model and provider credentials move into your secret management, with rotation and least-privilege access confirmed before go-live.
  • We run jailbreak and injection test suites against each rail, record bypasses, apply configuration fixes and retest the same cases.

How we hand over

  • You receive hardened configuration files, deployment settings and a written record of tests run, findings and fixes applied.
  • Blocked-request logging is configured so your security team can review rejected inputs and outputs, with retention confirmed with you.
  • A handover session walks your engineers through the test suite, so they can rerun it after changes or upgrades.

How we support

  • Ongoing support, upgrades and continuous testing are available as a retainer, so rails are retested when configurations or versions change.
  • Before upgrading NeMo Guardrails across 0.x releases, we can regression test rails, since behavior may change between versions.
  • Ask any partner to confirm response times, testing frequency and who owns configuration changes before signing a retainer.

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.