Prism-Shield — Zero-Trust AI-to-DAG Execution Gateway

Seal AI extractions into attested ParameterManifests. ACCEPT, REVIEW, or REFUSE before agents touch payments or underwriting. KMS · HITL · Verified Execution.

Unvetted probabilistic output must not become deterministic side effects — canonicalize, seal, enforce, attest, then execute or escalate.

pip install "prism-shield==0.2.1" — @protect_execution_dag on any async DAG, PrismShieldNode for LangGraph / ChorusGraph / CrewAI, or await gateway.verify_and_authorize(payload, context). Soft CTA: email SHIELD.

Unvetted probabilistic output must not become deterministic side effects

Security and risk teams are being asked to ship LLM and multi-agent systems into workflows that already move money, change underwriting decisions, and write to systems of record. The failure mode is not a chat hallucination — it is an agent extraction becoming a database write, a wire transfer, or an approval with nothing cryptographic in between. Prism-Shield is the zero-trust gateway between agent extractions and your enterprise engines: canonicalize, policy/schema check, seal a ParameterManifest, enforce, KMS-attest, then execute or escalate to human review.

Stage: v0.2 pilot-hardening — design-partner pilots under EULA. Apache-2.0 open core, version 0.2.1, depends on prismmanifest>=0.3.4. Install with pip install "prism-shield==0.2.1".

Excessive agency and unvetted inputs

RiskWhat happens in production
Unchecked tool executionAgent extractions flow straight into database writes, wire transfers, claims payouts, or underwriting approvals with no cryptographic gate in between.
Silent drift & injectionDigit drops ($150,000 → $150.00), OCR column shifts, and PDF-footer prompt injections alter the parameters a rules engine treats as truth.
No cryptographic auditabilityAfter an automated decision there is no sealed, verifiable artifact proving which evidence authorized which parameters under which policy.

How Prism-Shield works

AI agent / graph extraction        ← untrusted
      ↓
PrismShieldGateway
  policy · schema · canonicalize
  seal ParameterManifest FlatBuffer
  C++ enforce_fb or Python hard gate
  KMS envelope Ed25519 attestation
  replay receipt · HITL escalation
      ↓
Enterprise DAG                     ← database / payments / underwriting
  1. Resolve policy and schema — Unknown policy_id or schema_hash refuses. The registries are fail-closed allowlists — Prism-Shield never invents trust for an ID it has not seen.
  2. Canonicalize with session and tenant binding — Numeric claims become exact micro-units with BLAKE3 digit fingerprints, bound to session_id and tenant_id so a decision cannot drift or float.
  3. Policy pre-filter — Confidence floors, required fields, and the DAG allowlist decide the ACCEPT / REVIEW / REFUSE candidate before anything is sealed.
  4. Seal a ParameterManifest — An ACCEPT candidate is mapped to a ParameterManifest, signed through the KMS envelope backend (Azure Key Vault, AWS KMS, GCP, or local), and sealed as a FlatBuffer.
  5. Enforce at the Group-3 boundary — The C++ enforce_fb path runs when the in-process library is loaded (gate_path=inprocess); otherwise the Python enforce_group3_boundary hard gate runs. Same contract, different latency.
  6. Record replay and attest — A replay receipt binds session_id to the canonical digest, so the same sealed decision cannot be replayed into the DAG. Consumers re-verify with verify_attestation().
  7. Execute or escalate — ACCEPT returns sealed bytes to the DAG. REVIEW seals a PASS_WITH_HUMAN manifest with a real attestation and enqueues an escalation_id for the review UI. REFUSE hard-blocks.

TrustDecision

DecisionRuntime behavior
ACCEPTSealed FlatBuffer plus Ed25519 signature returned to the DAG; the protected function is allowed to run.
REVIEWEscalation queued and EscalationRequiredException raised — human review decides before execution.
REFUSEHard block with SecurityTrustException. Nothing reaches the deterministic engine.

Any DAG works and the adapters ship with the package: the generic @protect_execution_dag decorator, a PrismShieldNode for LangGraph / ChorusGraph / CrewAI graphs, or an imperative await gateway.verify_and_authorize(payload, context) call. ChorusGraph is optional, never required.

Pricing — metered on Verified Execution

A Verified Execution is one verify_and_authorize() call. ACCEPT, REVIEW, and REFUSE each consume one unit, because the customer pays for the trust boundary rather than only the happy path.

PlanList priceIncludedOverageWhat it gates
Developer$0 / month10,000 verified executions / moSoft-block / rate-limitPython gateway in-process, local or software-HSM keys, 3 policies, local audit journal, community support.
Team$299 / month100,000 verified executions / moManual / contract until metering shipsCloud KMS envelope signing (AWS KMS / Azure Key Vault), 15 policies, 30-day hosted audit retention, 24-hour email support. Hosted HITL seats: Coming.
Business$999 / month500,000 verified executions / moManual / contract until metering shipsSub-millisecond C++ enforcer sidecar, unlimited policies with schema-hash locks, HSM + KMS envelope attestation, 90-day retention with CSV/JSON export, 8-hour priority SLA. Hosted HITL seats: Coming.
Enterprise$35k–$120k+ / yearCustom volume with discountsContractedSelf-hosted VPC or air-gap (Docker / Helm / K8s), dedicated C++ sidecars with CUDA resident acceleration, dedicated HSM key isolation, SAML / SSO / Okta RBAC, immutable audit store, 24/7 support with 1-hour Sev-1 and a solutions architect.

Hosted human-in-the-loop reviewer seats are Coming for Team and above — design-partner and waitlist access by email, with no purchase button until the hosted control plane ships. The local escalation queue and self-hosted review UI are in the open core today. Sub-millisecond enforcement is a property of the C++ sidecar that ships with Business and Enterprise, not of the free Python gateway.

To start a pilot or join the waitlist, email info@insightits.com with the subject SHIELD. Commercial license / EULA: /legal/prism-shield-commercial.html. Stripe Team/Business Buy is commercial entitlement (not hosted HITL). Overage above included Verified Executions is billed manually or on contract until metering ships.

Enterprise controls — control-mapped, not certified

Prism-Shield ships a control map that lines its capabilities up against illustrative Trust Services Criteria so your security review has something concrete to read. That packet is documentation, not an attestation: no CPA report has been issued, and control-mapped does not mean certified.

Control themePrism-Shield capability
Change & configVersioned policy_id plus published schema_hash allowlists; unknown IDs refuse.
Logical accessFail-closed KMS with allow_ephemeral_keys=False, optional bound_tenant_id and allowed_tenant_ids.
System operationsFlatBuffer contracts; C++ enforce when the library is loaded, otherwise the Python hard gate.
Audit loggingDecisionAuditLog on every decision plus the escalation queue for human review.
Risk mitigationACCEPT / REVIEW / REFUSE, with strict policies able to require span and digit locks.

Questionnaire packet: control map, agent → gateway → DAG data-flow diagram, key custody diagram, retention policy for audit and escalation queues, incident response contact, and a red-team summary scheduled before v1.0.

Is / is not

IsIs not
A runtime trust boundary in front of deterministic enginesNot an agent runtime or orchestrator
Canonicalize → policy/schema check → seal → enforce → KMS attestNot an LLM, OCR product, or extraction model
Fail-closed: unknown policy or schema refusesNot a prompt-injection firewall (that is PrismGuard)
Framework-neutral — decorator, graph node, or imperative gatewayNot a certification: control-mapped documentation only

Pair with Prism-Eval

Prism-Eval is the CI red team: it adversarially tests digit drops, OCR column shifts, and injections against your extraction path before you merge. Prism-Shield is the runtime gateway that enforces the boundary once that code is live. They do not replace each other — test in CI, then enforce in production.

CI (Prism-Eval) → merge → Runtime (Prism-Shield gateway)

Prism stack

Source: GitHub · PyPI 0.2.1 · open in Codespaces · test in CI first with Prism-Eval

Capabilities

Fail-Closed Policy & Schema

Unknown policy_id or schema_hash refuses. Versioned policies and published schema hashes are allowlists, so the gateway never invents trust for an ID it has not seen.

Sealed ParameterManifest + KMS Attestation

ACCEPT seals a FlatBuffer ParameterManifest signed through a KMS envelope backend (Azure Key Vault, AWS KMS, GCP, or local), enforced by the C++ gate when loaded, else the Python hard gate.

ACCEPT / REVIEW / REFUSE

REVIEW seals a PASS_WITH_HUMAN manifest and queues an escalation for human review; REFUSE hard-blocks. Replay receipts stop a sealed decision being replayed into the DAG.

Install

pip install prism-shield (pin ==0.2.1). Apache-2.0 open core; commercial SKU under EULA. Soft CTA SHIELD — mailto:info@insightits.com?subject=SHIELD.

Pricing

Insight ITS product. Developer $0/mo (10,000 verified executions) · Team $299/mo (100,000, Stripe flat) · Business $999/mo (500,000, Stripe flat) · Enterprise $35k–$120k+/yr (email SHIELD). Overage above included executions billed manually / on contract until metering ships. Hosted HITL Coming for Team+. EULA: /legal/prism-shield-commercial.html.

Frequently asked questions

Does Prism-Shield come with a SOC2 certification?

No. Prism-Shield ships control-mapped documentation (docs/SOC2_CONTROL_MAP.md) that maps gateway capabilities to illustrative Trust Services Criteria — logical access (fail-closed KMS, tenant binding), key management (KmsEnvelopeBackend), monitoring (DecisionAuditLog), change management (versioned policy_id + published schema_hash), and processing integrity (sealed FlatBuffer + attestation verify). That packet exists to speed up your security review; it is not a certified product claim. No CPA has issued a Type I or Type II report, so we do not describe Prism-Shield as certified.

Do I need ChorusGraph to run Prism-Shield?

No — any DAG works, and the adapters are included. Use the generic @protect_execution_dag decorator on any async function, or drop PrismShieldNode into a LangGraph, ChorusGraph, or CrewAI graph and route a conditional edge on state["prism_decision"] so refuse and review never reach the execution node. You can also call PrismShieldGateway.verify_and_authorize() imperatively from plain Python. Prism-Shield gates the boundary in front of your engine; it does not replace your orchestrator.

Is there a free tier?

Yes. Developer is $0 / month with 10,000 verified executions — the Python gateway, local or software-HSM key signing, up to 3 policy definitions, a local audit journal, and community support on GitHub. A Verified Execution is one verify_and_authorize() call, and ACCEPT, REVIEW, and REFUSE each consume one unit because you are paying for the trust boundary, not only the happy path. Over quota, Developer rate-limits or soft-blocks until the next month or an upgrade.

Is hosted human-in-the-loop review live right now?

Not yet as a hosted service. Hosted HITL reviewer seats are Coming for Team and above — design-partner and waitlist via Soft CTA SHIELD. Team ($299/mo) and Business ($999/mo) Stripe Buy on this page purchase the commercial plan entitlement (verified-execution quota, KMS, support), not a claim that the hosted control plane is live. What runs today in the open core is the local path: REVIEW seals a PASS_WITH_HUMAN manifest with a real attestation, enqueues it on the local EscalationQueue, and surfaces an escalation_id for the self-hosted review UI.

How much does Prism-Shield cost?

Prism-Shield is an Insight ITS product with Verified Execution guidance. Developer is $0/mo (10k). Team is $299/mo (100k) and Business is $999/mo (500k) via flat monthly Stripe on this page. Enterprise is $35k–$120k+/yr by email with subject SHIELD. Usage above included executions is billed manually or on contract until automated metering ships — Soft CTA SHIELD. See /legal/prism-shield-commercial.html.

Does the pip package enforce my license key?

Not today. The dashboard license key (PRISM_SHIELD_LICENSE_KEY) is proof of purchase and support identity for Team/Business/Enterprise. The open-core pip package (prism-shield==0.2.1) does not DRM-enforce that key unless a later release adds package-side checks. Details: /legal/prism-shield-commercial.html.

Does Prism-Shield replace Prism-Eval?

No — they run at different times. Prism-Eval is the CI red team: it adversarially tests digit drops, OCR column shifts, and prompt injections against your extraction path before you merge. Prism-Shield is the runtime gateway: it canonicalizes, checks policy and schema, seals a ParameterManifest, enforces at the Group-3 boundary, KMS-attests, and then executes or escalates. Test in CI with Eval, enforce in production with Shield.

Official package links: Prism-Shield source code on GitHub · Install Prism-Shield from PyPI

View Prism-Shield in shop