All chapters
  1. Start hereEnterprise AI adoption strategy, stage by stage and role by role
  2. Chapter 1Why AI adoption stalls
  3. Chapter 2Governance is the first enabler
  4. Chapter 3Who decides, who runs it
  5. Chapter 4Finding the right use cases
  6. Chapter 5The adoption ladder
  7. Chapter 6Role tracks
  8. Chapter 7Reuse first, as code
  9. Chapter 8The worked example
  10. Chapter 9The enablement program
  11. Chapter 10Measuring adoption honestly
  12. Chapter 11Evaluating and mapping tools
  13. Chapter 12Hands-on labs
  14. Chapter 13Templates, each filled
  15. Chapter 14Glossary
  16. AboutAbout this site
Role track · Govern

Security

Threat-model AI end to end, enforce authorization at every tool call, and red-team the abuse paths.

Security sets the threat model for AI (artificial intelligence) systems, tests it, and responds when it fails. AI changes the attack surface. Text becomes an attack path, retrieved documents can carry instructions, and an agent with tools can act with more rights than the task needs.

This track covers the second-line security function that sets standards and challenges, and the first-line security engineering that builds controls into products. Counts and durations on this page are illustrative.

1. At a glance

ItemAnswer
MandateEvery AI system has a current threat model, authorization at every tool call, tested detection and containment, and a red-team record
Primary decisionAccept the threat model and the residual security risk, with conditions, or block until controls exist
First safe winAI drafts a threat model from the architecture diagram and the tool permission list; the security engineer reviews and corrects every threat and control
Biggest failure modeThe model is treated as the security boundary: a system prompt says "do not do X" and nothing in code enforces it

Line: 2nd line (and 1st-line security engineering) · Family: Govern · Variants: security architecture, AppSec (application security), security operations, red team

Role variants

VariantWhat differs
Security architectureSets patterns: identity for agents, trust boundaries, egress rules, secrets isolation. 2nd-line standard owner
AppSecReviews code and designs; runs SAST (static application security testing) and dependency checks; reviews tool permission lists. Often 1st-line engineering
Security operationsThe SOC (security operations center): detection rules, alert triage, containment, forensics, credential rotation
Red teamAttacks the system as an adversary would; reports abuse paths and proves fixes. Independent of the build team

2. Your journey: first steps to fully adopted

Security moves from AI-drafted threat models that an engineer corrects to shared, evaluated security assistants; threat-model acceptance and containment stay human at every stage.

Start here: your first steps

  1. Publish an AI threat-model template and a security standard that names approved tools, egress and logging.
  2. Turn on secrets scanning and an egress allow-list for every approved AI tool.
  3. Use an approved tool to explain a public attack technique, with no secrets or unpatched findings in the prompt.
  4. Write a security instructions file, reviewed like code, so AI code review cites your real rules.

Fully adopted: how the work runs

Moment in the workBefore AIFully adopted (Stage 4–5)Decision that stays human
Threat modelWritten late, or never, for AI featuresAn assistant drafts the threat model from the architecture and the tool permission list; the security engineer corrects every lineThreat-model acceptance and residual risk
ReviewReviewers check code, but not prompts, tools or corpusAI review flags tool permission, protected-path and injection issues on every PR (pull request); red-team test sets from the catalog run before releaseSuppressing a finding; the security sign-off
DetectionDetection rules ignore prompts, tool calls and spendDetection covers injection attempts, out-of-scope tool calls, exfiltration canaries and spend spikes; AI groups and enriches the alertsWhich alerts are real incidents
ResponseAnalysts gather context by handA workflow runs read-only investigation queries and proposes containment; nothing isolates a host or rotates a credential without approvalContainment and credential actions, by security operations
After the incidentThe abuse path is fixed once and forgottenThe new abuse path joins the red-team set and the threat-model templateWhether the threat model must be reopened as a material change

What changes for the organization

BeforeAfter
The system prompt is treated as the security boundaryAuthorization at every tool call is enforced in code, outside the model
AI features reach production without a threat modelEvery medium- and high-tier AI use case has a current threat model and a red-team record
Near misses stay hiddenNear misses are reported, thanked and turned into test cases

In any organization

3. Your decisions

DecisionYou own, advise or challengeInputsEscalationCannot be delegated
Threat model acceptedOwn (security architecture)Architecture, data flows, tool list, trust boundariesChief security officer or equivalent for high tierYes
Tool permission list and agent identityOwn the standard; challenge each listTool manifest, action boundaries, workload account designSecurity architectureYes
Egress and data exfiltration controlsOwnData classes, allowed destinations, provider regionsPrivacy for personal dataYes
Red-team scope and residual riskOwn (red team scopes; security accepts residual)Threat model, past findingsBusiness owner accepts residual business riskYes
Security sign-off for releaseOwn for the security lens onlyThreat model, test results, open findingsRelease manager holds the releaseYes
Containment during a security incidentOwn (security operations, with the incident commander)Detection, scope, runbookBusiness owner, legalYes
Security material-change triggerOwnNew tool, new data source, new provider, wider agencyAI governance functionYes

4. Two kinds of adoption

KindWhat it means for securityExample
How you work with AIAI helps review code and designs, draft threat models, explain alerts, group SOC alerts and summarize investigations. Each output is checked by a security analyst who makes the callAI flags that a pull request gives the coding agent write access to a production config path; AppSec confirms and asks for a protected-path rule
What you secure that contains AIProducts and internal tools with models, retrieval and tools. Each needs an AI threat model, authorization at every tool call, and red teamingThe internal policy assistant: indirect prompt injection through a policy document, tested before release

The AI threat model extends the governance threat table. Each threat has a control that works without the model's cooperation.

ThreatWhat it looks likeControl enforced outside the modelHow it is tested
Direct prompt injectionA user types instructions that override the system promptUser text treated as data; narrow tool set; output checksRed-team prompt set; refusal and action logs
Indirect prompt injectionA document, ticket or web page the agent reads carries hidden instructionsSource allow-list; retrieved text never triggers a tool by itself; approval gate for actionsSeeded documents with hidden instructions in the evaluation set
Data exfiltrationRestricted data leaves in an output, a link, an image address or a tool callEgress allow-list; output filters; data classification check before the promptCanary data and exfiltration test cases
Poisoned contentAn approved source is edited to change answersOwned, versioned corpus; change review on documents; citation checksCorpus diff review; stale and altered document tests
Insecure tool useThe model builds a tool call with injected parametersSchema validation; parameterized calls; no shell or raw query from model textFuzzed tool arguments
Excessive agencyMore tools, rights or autonomy than the task needsLeast privilege; action boundaries; human approval for consequential actionsPermission review; attempted out-of-scope actions
Identity confusionThe agent acts with a person's broad rights, or mixes two users' contextsWorkload accounts; per-request user context; authorization checked per call against the end userCross-user test cases
Supply chainA model, plug-in, MCP (Model Context Protocol) server or package is replaced or compromisedApproved list; pinned versions; signed artifacts; SBOM (software bill of materials)Dependency diff; provider change notice review
Denial of walletLoops, abuse or huge inputs run up model costRate limits; spend caps per user and use case; input size limits; alertingLoad and loop tests; budget alert drill
Cross-tenant leakageOne team's or customer's data appears in another's answer through a shared index, cache or memoryTenant isolation in retrieval and caches; per-tenant keys; filter by entitlement at query timeCross-tenant canary queries

Authorization at every tool call is the rule that holds the rest together. The policy enforcement point checks, at execution time, that this end user, through this agent, may take this action on this resource. A permission granted at session start is not enough.

5. Your ladder

StageAI useGuardrailArtifact or evidenceDecision relationshipStep-down trigger
0 · FoundationsNone. You approve tool configurations, logging, egress rules and the AI threat-model templateApproved tools; secrets scanning; egress allow-listSecurity standard for AI; threat-model templateOwner of the standardNot applicable yet
1 · Personal productivityAI explains a CVE (Common Vulnerabilities and Exposures) entry or a public attack technique; drafts a noteApproved tool; no secrets, logs or vulnerability details of unpatched systems in unapproved toolsYour own notesOwner of every findingSensitive findings in an unapproved tool
2 · Team contextAI reviews code and designs against the team's security instructions and patternsInstructions file reviewed like code; read-only repository accessReview comments with rule referencesOwner of the finding; developer fixesComments that cite rules that do not exist
3 · Delegated tasksAn agent drafts threat models, triages SAST findings, and groups SOC alertsEvaluation set of past findings and known false positives; trace keptDraft threat model; triaged finding listOwner; agent output is input onlyMissed known threats; analysts stop reading drafts
4 · Agentic workflowsA workflow enriches alerts, runs read-only investigation queries and proposes containmentLeast privilege; read-only by default; containment needs a human approval; kill switch on the workflowInvestigation record; approval recordSecurity operations approves containment; the agent never isolates hosts or rotates credentials aloneAny write action outside the allow-list
5 · Scale and sustainShared, evaluated security assistants and red-team test sets in the catalogAsset owners; periodic review; its own threat modelCatalog entries; test-set trendYou remain decision ownerA model or provider change for the assistant

Stays human at Stage 5: threat-model acceptance, residual-risk acceptance, containment decisions and credential actions. An assistant can find a weakness. A person decides what to do about it. Step down after a model change, a failed evaluation, a security incident or a control gap; see the adoption ladder.

6. Priority scenarios

ScenarioValueRisk tierStageFirst stepDo not use AI when…
Threat-model first draftEvery medium and high use case gets one earlyMedium3Template plus the threat table above as contextThe architecture is not yet written down
AI-assisted code reviewMore issues found before mergeMedium2Security instructions file; comments only, no commitsThe finding would be closed by the AI without a human
SAST and dependency triageLess time on false positivesMedium3Evaluation set of labelled past findingsSuppressing a finding needs a decision; a person makes it
SOC alert grouping and enrichmentFaster triage during alert stormsMedium4Shadow mode against analyst groupingGrouping could hide a high-severity alert
Red-team prompt generationWider abuse coverageMedium3Generate variants of known attacks; humans curateThe generated set replaces human red-team thinking
Automated containmentSpeedHigh4Human approval click on every actionThe action isolates production systems or rotates shared credentials

7. The due-date ask from your seat

The due-date change has a small security footprint. The display change adds no new data or tools. The security work is on the coding agent that drafts it, so this is a compact role card.

Role cardValue
DecisionAccept the coding agent's threat model and tool permission list for this repository
Input receivedTool manifest: read repository, write branch, run tests in sandbox; no production access; egress allow-list
Output and evidenceThreat model note; protected-path rule for deploy configs; secrets scanning on; review of the near miss below
RecipientSecurity register; the team's instructions file; release manager

The near miss: the agent proposed copying production customer records into an unapproved tool "to reproduce the bug". The egress policy blocked the tool. The developer refused, used synthetic data and reported the near miss.

Security confirmed the block worked, added the case to the red-team set, and thanked the reporter. See the negative paths on the worked example.

For the internal policy assistant, security tests indirect prompt injection through policy documents and confirms that the assistant has no tools that act.

8. Hand-offs and separation of duties

You give → to whomYou receive ← from whomYou challengeYou are notified of
Threat model and conditions → technical owner, architectArchitecture and data flows ← architectA trust boundary drawn inside the modelNew tools, data sources or providers
Tool permission standard → AI engineer, platform engineerTool manifests ← AI engineerA permission granted at session start instead of per callModel and provider changes
Security sign-off → release managerTest and red-team evidence ← QA (quality assurance) and red teamA release with open high findingsIncidents on AI products, from production support
Detection rules and runbooks → security operations, production supportLogs and traces ← platform engineerMissing security logs for tool callsNear misses from developers and staff
Security lens decision → AI inventory, risk and compliancePrivacy constraints ← privacyExceptions with no compensating controlAudit sample requests

Separation of duties: the red team is independent of the team that built the system. The person who writes a detection rule does not approve its suppression. The security assistant never closes its own findings.

9. Evidence and records

Evidence produced or consumedSystem of recordRetention owner
AI threat model, versionedSecurity registerSecurity architecture
Tool permission list and approvalsConfiguration repository, linked from the inventoryTechnical owner; security approves
Red-team findings and fixesSecurity registerRed team
Security test results in CI (continuous integration)CI system, linked to the PR (pull request)Engineering
Security logs for tool calls and authorization decisionsSecurity log platformSecurity operations
Incident investigationsSecurity incident systemSecurity operations; legal for holds
AI-assisted analysis used in a decisionAttached to the finding or case, marked AI-drafted, analyst namedEach analyst's team

10. Skills and learning path

LevelYou can…Labs and practice
FoundationExplain each threat in the table; see why a system prompt is not a controlLab L1 (team instructions file: what it does and does not enforce)
PractitionerWrite an AI threat model; review a tool permission list; build injection test casesLab L3 (advisory hook and CI check) and Lab L6 (policy assistant trust boundary)
AdvancedRed-team agentic workflows; design per-call authorization; run AI incident drillsLab L5 (delegated task behind an approval gate)

Practise with drills (illustrative: once a quarter): a poisoned policy document, an exfiltration attempt through a link, and a spend spike from a loop.

11. Measures and incentives

MetricDefinitionAnti-gaming note
Threat-model coverageShare of medium and high AI use cases with a current threat modelCurrent means reviewed since the last material change
Per-call authorization coverageShare of agent tool calls checked by a policy enforcement pointMeasure from logs, not from design documents
Red-team findings closed with retestFindings fixed and proven by a retestA fix with no retest stays open
Time to containFrom detection to containment for AI security eventsMeasure detect time too; late detection hides here
Near-miss reportsAI security near misses reported per monthNever target a fall; thank reporters

12. Cost, capacity and workforce

ItemWhat to plan
CapacityThreat models for every medium and high use case need reviewer time; AI drafts help, review time remains
CostRed teaming and security logging for tool calls cost money; budget them per high-tier use case
WorkforceAnalysts need AI attack literacy; pair AppSec with AI engineers on the first threat models

13. Anti-patterns and stop conditions

Anti-patternWhy it hurtsStop condition
System prompt as the controlInjection bypasses itA security claim that rests only on prompt wording: block until enforced in code
Broad agent identityThe agent acts with a person's full rightsAgent using a personal account: stop the workflow
Authorize once per sessionLater calls skip the checkAny tool call without a per-call authorization log: fail the release
Unbounded spendDenial of walletAI use case with no spend cap: no Stage 3
Shared index across tenantsCross-tenant leakageRetrieval without entitlement filters: block
AI closes findingsNobody decidedFinding closed with no human name: reopen

14. Action kit and 30/60/90

AI THREAT-MODEL CHECKLIST (per use case, per material change)
[ ] Trust boundaries drawn; the model is inside one, never the boundary itself
[ ] Inputs listed: user text, retrieved documents, tool outputs, memory; each treated as untrusted
[ ] Tools listed with least-privilege scope; consequential actions need human approval
[ ] Authorization checked at every tool call, for this end user, on this resource
[ ] Egress allow-list; output filters for restricted data; canary tests
[ ] Corpus owned and versioned; changes reviewed; citation checks on
[ ] Supply chain: model, plug-ins, MCP servers, packages pinned and on the approved list
[ ] Spend caps and rate limits per user and per use case
[ ] Tenant isolation in index, cache and memory
[ ] Security logs for every tool call and authorization decision
[ ] Red-team set run; findings fixed and retested; kill switch rehearsed

Questions to ask your enablement lead:

WindowGoalDone when
30 daysSet the standardAI threat-model template and the checklist above published; tool permission standard agreed with platform
60 daysCover the inventoryThreat models for every high and most medium use cases; per-call authorization gaps listed with owners
90 daysProve itFirst red-team round on one high-tier use case; detection rules for tool-call abuse live; one drill run

Related: governance first for the threat rows in the control crosswalk, operating model for incidents, templates for the threat-model row.