Drel vs. runtime AI firewalls and LLM guardrails
Runtime AI firewalls and LLM guardrails enforce controls at inference time: blocking prompt injection, filtering outputs, enforcing topic restrictions. Drel threat-models the AI system, names the controls it requires, checks them where they are declared in your code, and produces the security approval your AI Committee signs. They operate at different layers and both are needed.
Runtime AI firewalls — prompt injection shields, LLM guardrails, output filters — are enforcement layers. They sit inline with inference and answer a specific question: is this particular input safe to send to the model, and is this particular output safe to return to the user?
That is a real and important question. It is not the question the AI Committee is asking. The AI Committee's question is: was this system reviewed, by whom, under what conditions was it cleared, what controls are required, and what evidence proves those controls are operating? That question is answered by a security approval, not by an inference-time enforcement layer.
What runtime AI firewalls do well
Runtime AI firewalls and LLM guardrails are purpose-built for inline enforcement at inference time. They are good at:
- Prompt injection detection and blocking. Identifying and stopping attempts to override system instructions, whether direct or indirect via retrieved content.
- Output filtering. Scanning model responses for PII, toxicity, off-topic content, or policy violations before they reach the user.
- Topic restriction enforcement. Keeping the model within a defined scope — refusing to answer questions outside the permitted domain.
- Rate limiting per user or session. Throttling inference requests to prevent abuse or runaway costs.
- Real-time anomaly detection on inputs and outputs. Flagging unusual patterns in what users send and what the model returns.
The question they answer is narrow and precise: is this specific inference safe to execute or return? That precision is their strength.
What they miss for governance
A runtime firewall that blocks prompt injection is a control. But a security approval needs more than a control in place: it must specify that the control is required, what it must cover, and what evidence proves it is operating. Runtime firewalls do not produce that record.
- They do not produce a Decision Memo. There is no artifact that says this system was reviewed, the decision was conditional proceed, and the conditions were these specific controls. The firewall logs what it blocked; it does not record why the system was cleared to operate in the first place.
- They do not tell the AI Committee whether the system was reviewed. A runtime firewall can be deployed without any governance review having occurred. Its presence does not imply that a CISO, AI Governance lead, or DPO has seen the system and accepted its residual risk.
- They do not record who reviewed the system, or under what conditions it was cleared. The sign-off log — who approved, in what role, on what date, with what caveats — is a governance artifact. It does not exist inside a firewall product.
- They do not encode re-assessment triggers. If the model changes, a new tool is added, or the autonomy level increases, the firewall continues operating. Nothing in the firewall says “this approval expires if the model is swapped.”
- The firewall is the implementation; Drel is the record that the implementation was specified, verified, and accepted. An auditor asking for evidence of your AI risk management process cannot be handed firewall block-rate logs. They need the control plan that named the firewall as a required control, and the evidence that it was configured and verified against that specification. Drel checks those controls where they are declared in your code, and a reviewer accepts the evidence for each one.
Side by side
| Capability | Drel | Runtime AI firewall / LLM guardrail |
|---|---|---|
Primary question answered | Was this system reviewed, cleared, and under what conditions? | Is this specific inference safe to execute or return? |
When it runs | Before production, from the repository and design docs. Automatic checks, re-checked when the linked branch changes. | Runtime, inline with every inference. |
Primary output | Security approval: Decision Memo, control plan, evidence pack. | Blocked or allowed inference decision. |
Primary reader | AppSec lead or security architect; the AI Committee (CISO, AI Gov, DPO) signs. | Security engineering, MLOps. |
Framework mapping | ISO/IEC 42001, EU AI Act Art. 9, NIST AI RMF, OWASP LLM Top 10. | OWASP LLM01:2026 (prompt injection), LLM10:2026 (improper output handling). |
Evidence for auditors | Decision memo, control plan, evidence for each control, sign-off log. | Firewall logs, block rates. |
Specifies what the firewall must cover | Yes. The control plan names required output filters and injection controls, and Drel checks them where they are declared in your code. | No — enforces what it is configured to enforce. |
Coexists with the other | Yes. Drel specifies and checks the controls; the firewall implements them. | Yes. |
How the two should coexist
The relationship between Drel and a runtime AI firewall is not competitive — it is sequential. Drel's control plan names the required runtime controls. The firewall implements them. Drel checks the controls where they are declared in your code. The evidence pack references the firewall configuration as evidence that the control is in place.
In practice, this means:
- The Drel control plan for a customer-facing LLM feature might specify: “output filter for PII before returning to user” and “prompt injection detection on all user inputs.” Those are required controls, not optional recommendations.
- The runtime firewall implements those controls. Its configuration is the evidence that the control is in place. The Drel evidence pack references that configuration by artifact ID.
- When the AI Committee reviews the security approval, they see: control required, control implemented, evidence verified. The firewall logs are the supporting artifact, not the primary record.
A system with a runtime firewall but no security approval has enforcement with no accountability. A system with a security approval but no runtime firewall has a control plan with a gap. Both gaps are problems; they are different problems.
Frequently asked questions
- Can a runtime firewall replace a governance review?
- No. A runtime firewall can be deployed without any governance review occurring. Its presence does not imply that a CISO, AI Governance lead, or DPO has reviewed the system and accepted its residual risk in writing.
- What evidence do auditors need: firewall logs or a security approval?
- Auditors need the control plan that named the firewall as a required control, plus evidence it was configured and checked against that specification. Drel records that evidence, control by control, in the evidence pack. Block-rate logs alone are not sufficient.
- Do runtime firewalls encode re-assessment triggers?
- No. If the model changes or a new tool is added, the firewall continues operating. Nothing in the firewall records that this approval expires if the model is swapped. Drel encodes these as typed re-assessment triggers.
- How should a runtime firewall and Drel work together?
- Sequentially. Drel's control plan names the required runtime controls. The firewall implements them, and Drel checks the controls it can verify in your code. The Drel evidence pack references the firewall configuration as evidence that each required control is in place.
See the control plan Drel produces
The control plan in a Drel assessment names every required runtime control — including output filters and injection controls — with lifecycle gates and evidence requirements.
A note on scope: Drel reviews assessed systems against documented architecture, configuration and intent. It does not ingest live telemetry from production environments. Dispositions reflect the assessed system at the time of review and the re-assessment triggers that govern when the disposition must be revisited.