OpenSecureAI Prompt Firewall
opensecureai.com
- Free plan
- Web
- Self-hosted
What OpenSecureAI Prompt Firewall is
OpenSecureAI Prompt Firewall checks text before it reaches an LLM and applies a policy to allow, flag, or block it. Its separate prompt-injection and PII/secrets engines identify risks, then the policy blocks injection or secrets while redacting and flagging PII. The live demonstration runs entirely in the browser and says nothing is uploaded. Developers can also use the open-source, dependency-free core as an npm package or CLI in applications and CI. The CLI reads files or standard input and can return a nonzero exit code when findings reach a chosen threshold. The middleware can check both model inputs and outputs. An API key unlocks hosted detections for obfuscation, indirect injection, tool abuse, multilingual overrides, and de-obfuscation. The LLM Gateway supports OpenAI, Anthropic, xAI, and Groq using users’ own provider keys; OpenSecureAI says those keys are not stored or logged. Free includes 2,000 API requests per month; Pro costs $49/month and includes 50,000 requests per month.
Who it suits
It is aimed at AI application teams deploying LLM features and developers building agents. The npm package and CLI also suit teams that want checks in applications or CI.
Good to know, and what to watch
- Checks both model inputs and outputs
- Open-source, dependency-free npm package and CLI
- Free plan includes 2,000 API requests monthly
- Gateway supports four listed providers
- Browser demonstration says nothing is uploaded
- Hosted enhanced detections require an API key
- Team seats and SSO are planned, not listed as available
Plans
Every plan and priceTeam
Free
Pro
Free plan
Getting started
- Open the OpenSecureAI firewall website
- Use the browser demonstration for client-side scanning
- Install the @opensecureai/firewall npm package or CLI
- Apply the middleware to model inputs or outputs
- Connect the CLI to files or standard input in application or CI workflows
- Choose Free or Pro and add an API key for hosted detections
Limits to check
Free includes 2,000 API requests per month at 30 requests per minute per key. Pro raises this to 50,000 monthly requests and 120 requests per minute, while hosted AI remediation and gateway completions start on Pro.
The Club's review
OpenSecureAI Prompt Firewall screens text before it reaches an LLM and can also inspect model output. It is best suited to developers and production AI teams that want an open-source, self-hostable policy layer for applications and CI. The key decision is whether the free core checks are sufficient or whether your threat model and traffic volume justify hosted detections and Pro.
Overview
The firewall runs separate prompt-injection and PII/secrets engines, then applies a policy you control. Injection and detected secrets are blocked; PII is redacted and flagged. That split is practical when privacy findings should be handled without automatically rejecting an entire request. The middleware model supports both incoming prompts and outgoing responses, so one policy can cover both sides of a model call.
The browser demonstration processes text entirely in the client and states that nothing is uploaded. The same dependency-free, open-source engine is offered as a TypeScript npm package and CLI, giving teams a path from evaluation to application code without adopting a hosted service. OpenSecureAI says it responds to responsible vulnerability reports within 48 hours.
Key features
- Policy-driven detection: Custom policies let teams decide how findings affect a request. Blocking injection and secrets while redacting and flagging PII provides more useful handling than a single pass/fail result.
- Application and CI interfaces: The CLI accepts files or stdin and returns a nonzero exit code when findings reach a selected threshold. It can therefore act as a build gate, while the npm package fits directly into a TypeScript application.
- Local-first core: The open-source, dependency-free engine is inspectable and can run in a self-hosted deployment. That is a strong fit for teams that need control over execution or want to avoid sending scan content to a vendor.
- Hosted threat coverage: An API key adds detections for obfuscation and encoding evasions, indirect injection, tool abuse, multilingual overrides, and de-obfuscation. Those additions address attack patterns the local core does not cover, but they make the broader security posture dependent on a hosted service and key.
- LLM Gateway: The gateway connects to OpenAI, Anthropic, xAI, and Groq while supporting bring-your-own-key operation. OpenSecureAI says provider keys are never stored or logged, which suits teams that want routing without handing over credentials permanently.
Pricing
The product uses a freemium structure. Free costs nothing and includes browser tools, npm packages, 2,000 API requests per month, 30 requests per minute per key, account-synced scan history, the BYOK LLM Gateway, and BYOK AI remediation. Community support is included. This is enough for individual developers, prototypes, and low-volume CI checks, but the request allowance is quickly restrictive for a busy production service.
Pro costs $49 a month, billed monthly. It includes everything in Free, raises capacity to 50,000 API requests per month and 120 requests per minute per key, and adds hosted AI remediation and LLM Gateway completions plus priority email support. Pro is the sensible tier for a small production team that needs hosted capabilities and predictable headroom; it is not merely a support upgrade.
Team uses custom pricing. It includes Pro features, 250,000 API requests per month, 300 requests per minute per key, and team seats and SSO, custom rules, and an SLA marked as planned. Larger deployments should confirm which planned controls are delivered before committing.
Platforms
OpenSecureAI supports web and self-hosted deployment, with a TypeScript SDK through its npm package and a CLI for local or CI execution. The hybrid model lets a team keep core scanning in its own environment while opting into hosted detections when needed.
Who it's for
This is aimed at AI application teams shipping LLM features and developers building agents. It is particularly suitable when policy customization, source-available code, and CI enforcement matter. A team that needs broad evasive-threat coverage without operating or keying a hosted component should evaluate the Pro dependency carefully.
Pros and cons
Pros
- Open-source and dependency-free core: Teams can inspect and self-host the main engine rather than building around a closed scanner.
- Clear response modes: Blocking, redaction, and flagging map to different risk treatments for injection, secrets, and PII.
- Useful automation path: The npm package and threshold-based CLI exit codes connect policy checks to applications and CI.
- BYOK gateway: Support for four providers and stated non-storage of provider keys suits organizations retaining credential control.
Cons
- Free API capacity is limited: 2,000 monthly requests and 30 requests per minute per key may not cover sustained production traffic.
- Advanced detections require an API key: Evasion, indirect-injection, tool-abuse, and multilingual protections are not part of the local-only core.
- Team controls are planned: Seats, SSO, custom rules, and SLA are described as planned, so enterprise requirements need confirmation.
Alternatives
For a wider shortlist, see AI Guardrail Software.
- Enkrypt AI Guardrails suits teams wanting API, self-hosted, and web access with a free starting allowance and a $149 monthly Launch plan.
- NVIDIA NeMo Guardrails is the better choice if you want a free, open-source Python library and are prepared to arrange external models and services yourself.
- PromptGuard fits buyers prioritizing a larger free scan allowance: 20,000 scans monthly, one API key, one project, and 24-hour log retention; its Team plan is $19 a month.
- Fiddler Guardrails is another freemium API, self-hosted, and web option for teams seeking real-time guardrails across harmful exposure, hallucinations, toxicity, PII/PHI, injection, and jailbreak attempts.
- Openlayer Guardrails is suited to teams that want a free starting tier with one member, five projects, and 20,000 inferences per month.
- Amazon Bedrock Guardrails is the alternative for organizations standardizing on Bedrock and accepting paid content-filter and denied-topic usage.
- Oracle Mobile Authenticator is a free authentication app across Android, iOS, and Windows rather than an LLM guardrail.
- VotalAI is a paid platform with a free plan and free trial.
Verdict
Choose OpenSecureAI Prompt Firewall if you need an open-source, self-hostable policy engine that can enforce injection, secrets, and PII rules in both applications and CI. Its main reason to look elsewhere is the split between the capable local core and hosted advanced detections, combined with a modest free quota; teams needing those protections or higher throughput should budget for Pro or compare a guardrail platform built around their preferred deployment.
The verdict
Prompt Firewall combines policy-based blocking and redaction with browser, package, and CLI options. Teams should distinguish the core checks from hosted detections unlocked by an API key.
Questions people ask
Is OpenSecureAI Prompt Firewall open source?
Yes. The core engine and npm packages are open source and dependency-free.
What does the Free plan include?
Free costs nothing and includes in-browser tools, npm packages, 2,000 API requests monthly, account-synced scan history, BYOK LLM Gateway, and BYOK AI remediation.
How much is Pro?
Pro costs $49 a month and includes 50,000 API requests monthly, higher rate limits, hosted AI remediation and gateway completions, and priority email support.
Which model providers can the gateway use?
The LLM Gateway supports OpenAI, Anthropic, xAI, and Groq with bring-your-own-key operation.
Where can it run?
The listed platforms are self-hosted and web, with hybrid deployment.
What the maker publishes
- Audience
- The product is positioned for AI application teams shipping LLM features to production and for developers building agents. source
- CI integration
- The CLI can read files or stdin and return a nonzero exit code when findings meet a selected threshold. source
- Client-side processing
- The live firewall demonstration is 100% client-side and states that nothing is uploaded. source
- Credential handling
- OpenSecureAI states that gateway provider keys are never stored or logged. source
- Detection
- It combines prompt-injection detection, secret detection, and PII redaction under a user-controlled policy. source
- Developer use
- The same engine is available as the free @opensecureai/firewall npm package and CLI for application and CI use. source
- Founded
- 2026 source
- Headquarters
- Global — Remote First source
- Hosted enhancements
- An API key unlocks hosted detections for obfuscation or encoding evasions, indirect injection, tool abuse, multilingual overrides, and de-obfuscation. source
- Inputs and outputs
- OpenSecureAI describes the firewall logic as middleware usable on both model inputs and model outputs. source
- Model integrations
- The LLM Gateway supports OpenAI, Anthropic, xAI, and Groq providers with bring-your-own-key operation. source
- Open source model
- The core engine and npm packages are open source and dependency-free. source
- Policy behavior
- Injection or secrets trigger a block, while PII is redacted and flagged. source
- Purpose
- Prompt Firewall decides whether text is allowed, flagged, or blocked before it reaches an LLM. source
- Scanning engines
- The firewall runs separate prompt-injection and PII/secrets engines over text before applying policy. source
- Security contact
- OpenSecureAI says it responds to responsible vulnerability reports within 48 hours. source
- Support
- The pricing page lists Community support for Free, Priority email support for Pro, and Priority plus SLA planned for Team. source
Checked against the maker's pages on 2 Oct 2026.