Threat modeling, guardrails, red-teaming, policy enforcement, evals, monitoring, and incident response for AI systems.
AI security is systems work. Prompt rules are not enough when models can call tools, process private data, summarize hostile input, or route decisions into production workflows.
Focus areas
The figure groups seven areas of security work by design, testing, and operation. The work overlaps: a policy enforced in production still has to be designed and tested before deployment.
fig. 1 · security work across the system lifecycle. Hover or focus a node to highlight its description below. Finding a design problem after deployment can mean changing a live system as well as fixing the original mistake.
1.1 Threat modeling for AI systems
Identifying what needs protection, who can influence the system, and what access the model and its tools provide.
1.2 Data leakage boundaries
Tracing where prompts, embeddings, and outputs can go, including storage, logs, and external services.
1.3 Prompt injection and tool abuse
Examining how untrusted input can influence a model's tool calls or actions in production systems.
1.4 Evaluation harnesses
Regression suites and adversarial tests for known failure modes, used to assess changes before release.
1.5 Red-team workflows
Adversarial testing that looks for ways around the system's intended restrictions.
1.6 Policy enforcement
Implementing checks on the actions, data access, and tool calls the system permits.
1.7 Monitoring and incident response
Detecting failures in production and defining who responds, how to contain the incident, and what to investigate.
Attack paths and mitigations
Untrusted input can affect retrieval, model output, tool calls, and the data written to logs. The diagram traces three example threats through those components and marks controls intended to address them. A tool call can pass an initial policy check and still cause harm, so testing has to examine what the call does as well as whether it is permitted.
The gates are schematic. Policy enforcement can check a tool call at runtime; an evaluation harness tests behavior before a version is released. Monitoring helps detect a leak and initiate a response, but does not by itself prevent data from leaving. Those are different responsibilities, even when the diagram puts them on one line.
fig. 2 · example routes for prompt injection, tool abuse, and data leakage. Hover or focus a threat label to trace the route and highlight the associated control. Dotted continuations show the harm that control is intended to address.
Sovereign boundary model
For systems with strict data-residency requirements, the boundary includes source data, embeddings, model weights, and logs. The diagram illustrates a fully isolated deployment; the appropriate boundary depends on the actual operating requirements.
fig. 3 · an isolated deployment containing source data, a vector database, a local LLM, policy enforcement, evaluation, and audit logs. Crosses mark denied connections in both directions, including an attempt to send audit logs outside the perimeter.