Which open-source projects can replace Prompt Security's runtime guardrails
An organization that cannot send prompts to Prompt Security's hosted guardrails, whether because of a regulation, a customer contract, a data residency requirement, cost or lock-in, has two open-source runtime candidates to evaluate: NeMo Guardrails and Guardrails AI. For prompt testing, the closest self-hosted option is ps-fuzz, the prompt fuzzer Prompt Security publishes under the MIT license. The main trade-off is that these are libraries and frameworks, not a managed product: the organization builds, configures, operates and monitors the controls itself, and it inherits the work of keeping them current with the models and rules it uses.
NeMo Guardrails is Apache-2.0 licensed and runs inside a Python application or as a server, including a proxy mode that exposes POST /v1/chat/completions. It combines local rules with model-backed checks for jailbreaks, injected instructions and unsafe tool calls, and it can detect or mask sensitive data in retrieved content. Guardrails AI is an Apache-2.0 Python framework that applies input and output guards built from validators on Guardrails Hub. Its July 6, 2026 repository notice says validators are moving to standard PyPI packages and hosted remote inferencing is being discontinued, with a planned cutoff of August 25, 2026. Any approval should therefore confirm which inference path the team will use and whether it depends on that hosted service.
Security, privacy and compliance approvers should not accept Prompt Security's own list of open-source tools as a substitute for this review. Prompt Security names ClawSec and OneClaw alongside ps-fuzz, but their function, license and maintenance status must be confirmed in their repositories before anyone relies on them. Approvers should also confirm that each candidate covers the three runtime checks the organization needs (prompt injection, sensitive data and secrets), document the test results for each, and record who owns the rule set after the pilot.
How NeMo Guardrails, Guardrails AI and ps-fuzz compare on license, version and status
This table compares the license, latest supplied release, checks covered, deployment modes and open items for three open-source projects that can stand in for Prompt Security's runtime checks or its prompt fuzzer. Read the rows as a shortlist: each project covers a different part of the job, so confirm the fit for your prompts, data and runtime before you approve one. The main takeaway is that Guardrails AI's hosted inferencing change and version timing need a check before any adoption decision.
| Attribute | NeMo Guardrails | Guardrails AI | ps-fuzz |
|---|---|---|---|
| License | Apache-2.0 | Apache-2.0 | MIT |
| Latest supplied version | 0.25.0, released November 19, 2026 | 0.11.0, released August 14, 2026 | 2.1.1, released August 18, 2026 |
| Runtime requirement | Python 3.11 to 3.13 | Python framework, input and output guards | Testing tool, not a runtime check |
| What it checks | Jailbreaks, injected instructions, unsafe tool calls, sensitive data in retrieved content | Input and output validators from Guardrails Hub | System prompt robustness against LLM-based attacks across 16 providers and 16 attack types |
| Deployment modes | Inside a Python application, as a server, or as a proxy exposing POST /v1/chat/completions | Inside your application as input and output guards | Run locally against your own system prompts and providers |
| Current status | Active repository with a recent release | Validators moving to standard PyPI packages; hosted remote inferencing discontinued, planned cutoff August 25, 2026 | Maintained by Prompt Security and released under MIT |
| What to confirm | Which checks use a model and where that model runs, and whether masking covers your secret formats | Which validators you need, whether they still work after the PyPI move, and a replacement for any hosted inferencing you used | Which attack types and providers match your stack, and that it runs without sending your prompts to a hosted service |
Which deployment mode fits which team
An internal application team that already owns a Python service usually wants checks running inside its own code path, so each request is screened before the model call and each response before it reaches a user. NeMo Guardrails fits this pattern in its in-application check mode, where rules and model-backed checks run as a library inside the Python process. Guardrails AI also fits here, because its input and output guards are called from the application and built from validators the team selects. The team keeps control of logging, fallbacks and error handling, but it also carries the maintenance of every rule and dependency.
- Language fit: both libraries are Python-based, so the team needs a supported Python runtime and a plan for upgrades.
- Latency: model-backed checks add calls of their own, so the team should measure the added time per request.
- Failure behavior: decide whether a guard error blocks the request or passes it with a log entry.
- Validator provenance: confirm where each validator comes from and who reviews updates.
- Ownership: name the engineer who patches guard rules when a new injection pattern appears.
Before committing, confirm which library version your Python version supports and check the current release notes for each guard you plan to use.
A platform team that serves many applications often prefers one shared guardrail service, so policy is set once and every application calls the same endpoint. NeMo Guardrails can run as a server, and in its proxy mode it exposes POST /v1/chat/completions, which lets an application that already speaks the chat completions format send traffic through the guardrail layer with minimal code change. The platform team then owns uptime, scaling, authentication and audit logging for that shared path.
- Single choke point: all sanctioned traffic passes one service, which simplifies logging and blocking.
- Client compatibility: confirm which client libraries and request fields the proxy accepts before onboarding applications.
- Availability: a shared proxy becomes a dependency, so plan redundancy and a bypass procedure for incidents.
- Access control: place the service behind your identity provider and restrict which applications may call it.
- Policy versioning: store guardrail configuration in version control and record which policy served each request.
Ask the vendor or project maintainers to confirm the exact endpoints and request formats for the version you plan to deploy, and test them against a staging environment first.
A security team that reviews system prompts before release needs a test harness, not a runtime filter. ps-fuzz is the prompt fuzzer that Prompt Security publishes under the MIT license. It tests and helps harden system prompts against LLM-based attacks, so the team can run known attack patterns against a candidate prompt and record which ones succeed. It does not sit in the request path, so it cannot block a live prompt, and its results depend on the attack set and the model it is run against.
- Pre-release gate: run the fuzzer as a step in the change process for any system prompt update.
- Provider coverage: confirm which model providers and attack types the installed version supports before relying on the results.
- Evidence: keep the reports with the change record so reviewers can see what was tested.
- Limits: a clean run shows the tested attacks failed, not that the prompt is safe in every case.
- Pairing: use the runtime guards from the other tabs for live traffic, and the fuzzer for release testing.
Confirm the current version and license terms on the project repository before adopting it into a formal control.
How each project maps to prompt injection, sensitive data and secrets
Before approving any open-source replacement for Prompt Security's runtime checks, map each project to the categories Prompt Security reports as its most triggered: customer guardrails, a topics detector, sensitive data and secrets, and prompt injection. The supplied facts support only part of that list. NeMo Guardrails is the closest match for prompt injection: it is described as covering jailbreaks, injected instructions and unsafe tool calls, combining local rules with model-backed checks. It also covers sensitive data, but only in the sense that it can detect or mask sensitive data in retrieved content, which is narrower than screening every prompt and response. Its rules are written by your team, so a customer guardrail maps to a rule you author and test, not to a feature you switch on.
Guardrails AI covers whatever its Guardrails Hub validators check, and the reader must inventory those validators by name before counting them as coverage. Because a July 6, 2026 notice says validators are moving to standard PyPI packages and hosted remote inferencing is being discontinued with a planned cutoff of August 25, 2026, any validator you depend on needs a pinned, self-run path. ps-fuzz is a different kind of control: it tests and hardens system prompts against LLM-based attacks, so it supports pre-release testing rather than runtime blocking. Its 16 providers and 16 attack types, listed on the prompt.security site, are a vendor claim to verify in the repository.
No supplied fact confirms a secrets detector or a topics detector in any of these three projects. Before you approve a replacement for the sensitive data and secrets or topics categories, open the validators or rule files in each repository, check which entity types and secret formats they match, and test them against samples from your own systems, including API keys and customer identifiers. If a category has no matching validator or rule, plan a separate control for it, such as a dedicated secrets scanner, and record that gap in the approval. Treat the gap as a decision for your security owner, not an assumption the open-source tools will close.
What is free and what you still run yourself
The guardrail libraries and the ps-fuzz tool carry permissive open-source licenses, so the license itself costs nothing. The work that remains sits in compute, model endpoints, runtime and upgrade management, monitoring, and the rules your team writes, and each of these should appear as its own line in any integration quote.
License terms are free to use
NeMo Guardrails and Guardrails AI are both licensed under Apache-2.0, and ps-fuzz is MIT licensed. Using these projects inside your own infrastructure does not require a license fee to the project maintainers. Confirm the license text in each repository and check every validator or model you add separately, because a guardrail library's license does not cover third-party validators, models or datasets it calls.
NeMo Guardrails repoCompute to run the checks
Every check runs on hardware you provide, whether inside your Python application or as a proxy server. The supplied facts do not specify hardware or model sizes, so ask the project maintainers and your platform team to size CPU, memory and any GPU needs against your expected request volume. Include the cost of the environments you need for testing and staging.
The model endpoint behind the checks
Model-backed checks for jailbreaks and injected instructions call a model or model endpoint. You choose that endpoint, so it can be a model you host, a licensed private deployment or a hosted API, and each choice changes where prompts travel. Document which endpoint receives guardrail traffic, what it retains, and whether it sits inside your approved data boundary.
Python runtime and version pinning
NeMo Guardrails version 0.25.0 requires Python 3.11 to 3.13, so your runtime must stay inside that range for the release you pin. Guardrails AI version 0.11.0 followed a July 6, 2026 notice about validators moving to standard PyPI packages and a hosted inference cutoff set for August 25, 2026. Pin each library and validator version, then test before every upgrade.
Guardrails AI repoSecurity monitoring and on-call
A guardrail that blocks prompts is itself a production service, so someone must watch its logs, alerts and failure modes. Decide who responds when a check fails open, when a validator errors, or when a flood of blocked prompts suggests an active attack. Ask your vendor or integrator how the projects report errors so you can route them to your existing security operations process.
Staff time for rules and validators
Your team writes the rules, topic restrictions and validators that decide what gets blocked, masked or logged. This work recurs as your use cases, data types and attack patterns change. Ps-fuzz, which Prompt Security publishes under MIT and released as version 2.1.1 on August 18, 2026, can test system prompts, but someone must still interpret findings and decide fixes. Budget named owners for this work.
ps-fuzz repoHow a self-hosted guardrail sits between users and the model
The diagram starts with a user request entering the organization's own application, which forwards it to a self-hosted guardrail such as NeMo Guardrails in check or proxy mode, or Guardrails AI input guards. Only requests that pass the input checks reach the model endpoint the organization has chosen, and the response then passes through output guards before it returns to the user. Logs from both guard points go to the organization's own audit store. Separately, ps-fuzz runs before release against the system prompt, outside the live request path. Check that every hop stays inside your environment and that blocked requests are logged.
Live request path with self-hosted guard points, plus a separate pre-release fuzzing step.
What to collect before approving a self-hosted replacement
This sequence gives the approving team a documented record of license, behavior, model routing, access, rollback and review timing for each open-source guardrail component before it handles prompts with sensitive data. Each step ends with a file or check that a reviewer can inspect.
Pull and record each license text
The security or legal reviewer downloads the license file from each repository in scope, including NeMo Guardrails (Apache-2.0), Guardrails AI (Apache-2.0) and ps-fuzz (MIT), and records the license name, version and copyright line in the approval file. Also check the license of every validator package or rule pack you plan to install, since those can carry separate terms from the framework. The step is done when each component has a named license and a dated copy of its LICENSE file stored with the request.
Test sensitive data and secrets validators on your own samples
The engineering lead lists every validator or rule that covers prompt injection, sensitive data and secrets, then runs each one against a sample set built from your own data, such as synthetic records shaped like patient identifiers, customer account numbers and API keys. Record the true positives, misses and false positives per rule, and note which rules are model-backed and which are local. The step is done when a written test result shows the detection and masking behavior you accept, and any gaps have an owner.
Confirm the Python version and pinned release
The platform engineer confirms the runtime against the requirements stated for the chosen release, such as the Python 3.11 to 3.13 range for NeMo Guardrails 0.25.0, and pins exact package versions in a lock file instead of floating ranges. For Guardrails AI, confirm the validator packaging model described in the July 6, 2026 repository notice and the cutoff date it gives for hosted remote inferencing before you choose a validator source. The step is done when a build from the lock file installs cleanly in a staging environment and the version record matches the license file.
Confirm the model endpoint and processing location
The architect identifies every model endpoint the guardrail calls, whether a local model, a self-hosted server or a third-party API, and records where prompts and retrieved content are processed for each one. If any check sends text to a hosted service, the privacy lead must review that transfer under your processor contract and data residency rules before go-live. The step is done when a data flow diagram lists each endpoint, its location and its contract status, and no unapproved external call appears in test traffic.
Document logging and access control for the guardrail server
The security engineer records who can deploy, configure and query the guardrail server, how authentication reaches it, and what the audit log captures, including blocked prompts, masked fields and configuration changes. Decide how log content is handled, since logs of blocked prompts may themselves contain sensitive data, and set retention and access for those logs. The step is done when a written access matrix and logging specification exist and a test administrator confirms that a blocked request produces the expected log entry without storing raw sensitive values.
Record the rollback path to a previous version
The platform engineer documents how to return the guardrail server and its validator packages to the last approved versions, including where the previous container image, lock file and configuration are stored. Rehearse the rollback in staging and confirm that the guardrail still enforces the same rules after the rollback. The step is done when a rollback runbook lists the exact steps and a rehearsal record shows the earlier version running with its prior test results intact.
Set a review date tied to upstream release notes
The approving owner sets a recurring review that starts from the release notes and change notices of each upstream project, so that a new release, a license change or a packaging or hosting change triggers a fresh review of the license, tests and data flow. Assign the review to a named owner and link it to your change management process. The step is done when the approval record carries the review owner, the sources to watch and the trigger conditions, and the first review is scheduled.
What catches buyers out when they switch from the hosted tool
Moving from a hosted guardrail product to open-source code shifts work from the vendor to your team. The cards below cover dependency timing, detection coverage that depends on individual validators, testing tools that do not enforce policy, fast release cycles, and the reporting and support you lose.
Guardrails AI hosted inference ends
The Guardrails AI repository carries a July 6, 2026 notice that its validators are moving to standard PyPI packages and that hosted remote inferencing is being discontinued. The planned cutoff is August 25, 2026. If any guard in your setup calls a hosted inference endpoint, that call must be replaced by a locally run validator or model before that date. Inventory every guard, then confirm for each one whether it runs locally or depends on remote inference. Version 0.11.0 was released on August 14, 2026, so pin the version you test against.
Guardrails AI repositorySecrets and sensitive data depend on validators
Detection of secrets and sensitive data is only as broad as the validators or rules you install. The hosted product lists sensitive data and secrets among its most triggered guardrails, but an open-source framework does not inherit that coverage. Each library covers different categories, so you must map your required entity types, such as account numbers, patient identifiers, API keys and tokens, to a specific rule or validator. Test each mapping with sample data that resembles your own records, and confirm masking behavior on retrieved content, not only on user prompts.
ps-fuzz tests but does not block
The ps-fuzz prompt fuzzer is a testing tool for system prompts. It probes a prompt for weaknesses to LLM-based attacks, and it does not sit in the request path or stop a live prompt that contains an injection. Teams that swap the hosted runtime checks for ps-fuzz lose enforcement entirely. Use it in pre-release testing and regression runs, and pair it with a runtime guard that can block or mask traffic. Version 2.1.1 was released on August 18, 2026 under the MIT license.
ps-fuzz repositoryFast releases cause version drift
These projects release quickly and change behavior between versions. NeMo Guardrails version 0.25.0 was released on November 19, 2026 and requires Python 3.11 to 3.13. Guardrails AI moved its validator packaging and hosting model within weeks. A guard tested on one version can pass test cases and fail in production after an upgrade. Pin exact versions and Python runtimes, keep a changelog review in your change process, and rerun your test suite before each upgrade, because the hosted vendor no longer makes that choice for you.
NeMo Guardrails repositoryDashboards and vendor support go with the hosted product
The hosted product reports flagged prompts by category, which gives security teams a view of trends and triggered guardrails. Open-source libraries generally provide logs and no management console, so you must build dashboards, alert routing and retention for flagged events yourself. Support also changes. You rely on community issues, your own engineers, or a paid partner, and the vendor's service levels no longer apply. Ask who owns incident response for guard failures, where flagged-prompt logs are stored, and how long they are kept before you sign off on the switch.
Questions procurement, legal and security reviewers ask before approving a self-hosted guardrail
Do Apache-2.0 and MIT licenses allow internal commercial use of these guardrail tools?
Yes, the licenses in the supplied facts generally permit internal commercial use, modification and redistribution, provided the license notice and copyright text are kept. NeMo Guardrails and Guardrails AI are published under Apache-2.0, and ps-fuzz is published under MIT. Both licenses are permissive, but they do not cover third-party validators, models or datasets you pull in, which may carry their own terms. Have counsel confirm the license of every package, model and validator in the final build, review the notice files that ship with each release, and record the result in your third-party software inventory before approval.
How much effort does self-hosting a guardrail layer take, and what drives it?
The effort depends mostly on four components: validator setup, the model endpoint that powers model-backed checks, upgrades, and the staff who own the service. Rule-based and validator-based checks are quick to wire into an application, but each validator is a separate dependency with its own version and license to track. Model-backed checks need a model endpoint you host or licence, which adds capacity planning and access control. Upgrades recur with every release, and NeMo Guardrails 0.25.0 requires Python 3.11 to 3.13, so runtime versions must stay aligned. Ask any implementation partner for a written list of these components, the owner of each one, and the expected run-time support model.
Can a small team run a self-hosted guardrail without a vendor?
A small team with a Python engineer and a security owner can run these tools in-house, because the libraries are open source and deploy inside your own application or as a server. The tradeoff is that your team owns the tuning of detection rules, false positive review, logging, monitoring and incident response for blocked or missed prompts. Those tasks do not stop after launch. If your team cannot staff them, a retainer for ongoing support and upgrades is an option, and DeployOpen offers these as fixed-scope engagements or retainers. Decide before rollout who receives alerts and who signs off on rule changes.
What happened to Guardrails AI hosted inference, and what should we do?
Guardrails AI announced on July 6, 2026 that its validators are moving to standard PyPI packages and that its hosted remote inferencing is being discontinued, with a planned cutoff of August 25, 2026. Version 0.11.0 was released on August 14, 2026. If your design calls the hosted inference service, you must move those validators to run locally or to a model endpoint you control before the cutoff. Confirm the current notice in the project repository, pin the versions you test, and check that every validator you depend on still installs from the package index in your environment.
Can the ps-fuzz prompt fuzzer replace runtime blocking of prompts?
No. ps-fuzz is a testing tool, released under MIT license at version 2.1.1 on August 18, 2026, that tests and hardens system prompts against LLM-based attacks. It helps you find weaknesses before release, but it does not inspect live traffic or block a prompt at runtime. For runtime checks on prompt injection, sensitive data and secrets, you need a guardrail layer such as NeMo Guardrails or Guardrails AI in the request path, and ps-fuzz can be used alongside it as part of pre-release testing. Ask your security team to define which tests run in the release pipeline and who reviews the results.
What should a quote for a self-hosted guardrail engagement cover?
A quote should state the written scope, the deliverables, the deployment target, and the timeline before work starts. Ask for the components included, such as installation in your cloud account or data center, the validators and detection rules configured, integration with your applications, logging and access control, and the documentation your reviewers need. Request a separate line for ongoing upgrades, testing and support, since those recur, and confirm who pays for third-party model endpoints and infrastructure. DeployOpen does not publish a price list, and its fixed-scope quotes follow from the agreed scope, so compare quotes on the same written scope.
How DeployOpen helps teams run guardrails in their own infrastructure
DeployOpen plans, implements and hardens self-hosted open-source guardrail tools inside your own cloud accounts, data centers or air-gapped networks. We test the result for prompt injection, data exposure and credential handling, so your security and compliance teams can review the controls before staff rely on them.
How we scope
- Engagements are fixed-scope, with the guardrail libraries, call paths and data types agreed in writing before work starts
- The written scope names which checks cover prompt injection, sensitive data and secrets, and which applications and agents are included
- Ongoing support, upgrades and continuous testing can be added as a retainer once the initial scope is delivered
How we build
- We deploy the chosen guardrail library in your environment, either inside your Python applications or as a separately hosted server
- Configuration covers input and output rules, masking of sensitive data, and tool-call restrictions agreed with your security team
- We check version pins and license terms against your procurement policy, and confirm which packages your build pipeline pulls from
How we hand over
- You receive documentation of the architecture, data flows, configuration files and the access model for each guardrail component
- A findings report lists test results for prompt injection and data exposure, with fixes applied and a retest after remediation
- Your team receives the runbooks and evidence needed for internal reviews or an independent compliance assessment, which DeployOpen does not issue
How we support
- Upgrades are tracked against vendor release notes, including changes to hosted services and package distribution that affect your setup
- Continuous security testing of guardrail configurations can run on a retainer as prompts, models and tools change
- We help you prepare answers for AI security questionnaires and internal reviews, based on the systems and evidence we delivered

