AI Solution Architecture

Docs

View source

Security And Governance Review

Use this template for systems with agents, tools, retrieval, model artifacts, or LLMOps traces.

Scope

System:

Reviewer:

Date:

Data classification:

Threat Model

Entry PointUntrusted Input?RiskControl
User promptPrompt injection / data leakage
Retrieved documentsIndirect prompt injection
Tool inputsUnauthorized action
Model artifactsUnsafe code/artifact
Traces/logsPII/secrets exposure
Admin UIPrivilege escalation

Tool Governance

ToolAllowed UsersAllowed ActionsApproval RequiredAudit Event

Data Governance

Model And Artifact Governance

Control Map

flowchart LR Input[User and document input] --> Policy[Policy checks] Policy --> Agent[Agent/workflow] Agent --> Retrieval[Retrieval ACL] Agent --> Tool[Tool permission gate] Agent --> Model[Model runtime] Tool --> Audit[Audit log] Retrieval --> Audit Model --> Trace[Redacted trace] Audit --> Review[Governance review]

Decision

Decision: Approved / Approved with conditions / Blocked

Conditions:

-

Review date:

Review Method

Review the system from every untrusted input boundary. User prompts are untrusted. Retrieved documents are untrusted because they can contain indirect prompt injection. Tool outputs are untrusted because upstream systems can fail or return manipulated content. Model artifacts are untrusted until provenance and loading behavior are verified. Traces and logs are sensitive because they can contain prompts, retrieved content, tool arguments, identifiers, and model outputs.

For each boundary, identify the control that prevents accidental or malicious escalation. Controls can include retrieval access checks, tool allowlists, approval workflows, argument validation, rate limits, output filtering, secret redaction, audit logging, tenant isolation, artifact checksums, and restricted runtime permissions. A control is only credible when it has an owner and a way to verify it.

High-Risk Questions

Approval Standard

Approve only when the review can point to concrete controls, not only policy statements. Approve with conditions when a control is missing but the risk is bounded and a mitigation owner exists. Block when the system can exfiltrate data, execute unsafe tools, bypass tenant isolation, expose secrets, or produce high-impact actions without traceable approval.