← All patterns

SECURITY PATTERN

AI Application Security Assessment

Decompose the request path. Review each component at the trust boundary it crosses.

AI Application Security Assessment: model request, retrieval, tool execution and logging. Full text is provided below.
Download the original graphic ↓Read the text version ↓

FOLLOW THE REQUEST

Four places to look closer.

Use these example components to map your own application. At each trust boundary, check what data crosses and whose permissions apply.

01

Model request

Component
Model gateway / inference endpoint
Data handled
User prompt, system context
Permission
Model invocation
Review focus
Identity, input controls, rate limits
02

Retrieval

Component
Vector store / knowledge source
Data handled
Policy chunks, support documents
Permission
Scoped read access
Review focus
Tenant isolation, source access
03

Tool execution

Component
Order API / business service
Data handled
Customer order data
Permission
Current user or tenant
Review focus
Authorization, ownership, action limits
04

Logging

Component
Logging / telemetry platform
Data handled
Prompts, outputs, retrieval + tool payloads
Permission
Restricted internal access
Review focus
Retention, redaction, access control

Assessment sequence

  1. Map components
  2. Identify data
  3. Validate permissions
  4. Review controls

AI-specific behaviour sits on top of familiar security foundations.

A review framework, not a completed assessment or a claim that these controls have been tested.