Model the system
Identify data, model, retrieval, application, agent, identity, supply-chain, and infrastructure assets and trust boundaries.
Intelligence and architecture
Build an accurate AI attack-surface model from real incidents, provider observations, production vulnerabilities, malicious artifacts, and reproducible research. CTI supplies the evidence quality; AI security is the subject.
Identify data, model, retrieval, application, agent, identity, supply-chain, and infrastructure assets and trust boundaries.
Separate incidents, provider-observed misuse, production vulnerabilities, malicious artifacts, research demonstrations, and forecasts.
Use NIST AI 100-2, MITRE ATLAS, OWASP GenAI, and ATT&CK at their appropriate analytical levels.
Derive relevant controls, telemetry, assessment questions, and organizational priorities from defensible evidence.
To pass, submit an attack-surface map, classification matrix, three case reconstructions, framework mapping, control-and-telemetry matrix, a maximum 700-word threat assessment, and a concise briefing. The work must distinguish observed activity from demonstrated capability and propose controls outside the model.
| Block | Activity |
|---|---|
| 1 | AI system map and threat model |
| 2 | Incident, observed misuse, vulnerability, artifact, and PoC evidence |
| 3 | ShadowRay: AI infrastructure exploitation |
| 4 | Malicious models and the AI supply chain |
| 5 | EchoLeak and MCP tool poisoning |
| 6 | Provider reporting on adversarial AI use |
| 7 | Evidence-to-architecture investigation |
| 8 | Framework mapping, controls, and telemetry |
| 9 | Threat briefing and review |
Block 1
An AI application is a chain of security decisions. Its attack surface includes data, model artifacts, prompts, retrieval, orchestration, tools, memory, identities, application code, infrastructure, operators, and downstream actions. The model may influence a decision, but it must not become the authorization or policy-enforcement layer.
Target models, training or retrieval data, prompts, privacy, robustness, and agent behavior.
Use AI to accelerate reconnaissance, coding, social engineering, content generation, or another adversary workflow.
Compromise the application, identity, supply chain, cloud control plane, exposed database, or downstream integration.
| Layer | Security-sensitive assets | Typical trust question | Example failure |
|---|---|---|---|
| 1. Data | Training and fine-tuning sets, feedback, documents, parsers, embeddings, vector indexes | Who may create, alter, retrieve, or delete each item, and is provenance preserved? | Poisoned content is retrieved into a privileged prompt. |
| 2. Model | Weights, adapters, tokenizer, configuration, evaluation data, inference endpoint | Which artifact and version are running, where did they come from, and what can callers learn? | An unsafe serialized artifact executes code when loaded. |
| 3. Application | System prompt, RAG pipeline, model router, output renderer, business logic, APIs | Where are instructions separated from untrusted content and where are outputs validated? | Generated output reaches HTML, SQL, shell, or an API without validation. |
| 4. Agent | Planner, tools, MCP servers, memory, inter-agent messages, action queue | Which actions are possible, with whose authority, after what approval, and with what rollback? | Poisoned tool metadata steers an agent toward an unintended action. |
| 5. Identity | Users, workloads, service accounts, tenants, OAuth grants, secrets, approvals | Is identity propagated to retrieval and tools without amplifying authority? | A shared agent credential bypasses the initiating user’s tenant boundary. |
| 6. Platform | Cloud, containers, accelerators, databases, registries, CI/CD, observability | Are management planes isolated, authenticated, patched, inventoried, and monitored? | An exposed orchestration API permits arbitrary job execution. |
User request → authenticated application session → retrieval query with tenant and document authorization → retrieved chunks with provenance → prompt construction → model response → structured output validation → policy check → tool authorization → human approval for material action → execution with a scoped workload identity → audit, egress, and outcome telemetry
The important question is not simply “can the model be manipulated?” It is “what security-relevant state can change after manipulation, and which deterministic control prevents or records that change?”
Choose one system: enterprise RAG assistant, coding agent, fraud model, SOC copilot, or customer-service agent. For every layer, record:
Exit question: Which component has the greatest authority, and is that authority greater than the user’s?
Block 2
Credible evidence describes observed malicious exploitation or harm.
A provider reports activity visible within its own service and visibility limits.
A real weakness was reproduced and fixed; malicious exploitation may remain unknown.
Researchers found an artifact containing malicious behavior.
An attack was reproduced under controlled conditions, establishing feasibility.
An assessment of possible future behavior, not evidence that it occurred.
Separate facts, assumptions, information gaps, judgments, and confidence. Exposure does not automatically establish access; feasibility does not establish criminal use; provider visibility does not reveal the entire operation.
| Question | Strong answer contains | Warning sign |
|---|---|---|
| Who could observe it? | First-hand telemetry, affected-product access, reproduction details, or victim evidence | Anonymous aggregation or circular citations |
| What is established? | Bounded procedure, affected version, prerequisite, and observed outcome | “AI attack” without a system or action |
| What remains unknown? | Explicit exploitation status, victim scope, visibility limits, or untested configurations | Silence treated as proof |
| Can it be reproduced? | Environment, configuration, inputs, outputs, versions, and limitations | A screenshot or single nondeterministic result |
| What decision changes? | Concrete exposure hunt, architecture control, telemetry, test, or risk decision | Generic advice to “use an AI firewall” |
For each statement, assign an evidence status and rewrite it so the wording matches the evidence:
Evidence discipline
Cyber threat intelligence is useful here only when it changes a defensible security decision. A headline, framework label, or model-generated summary is not intelligence by itself. The analyst must connect a named consumer and decision to sourced facts, confidence, information gaps, observable behaviors, and a control or collection action.
Write the factual procedure before naming the technique. Then state what the source proves, what it does not prove, and what the organization should do under the current uncertainty.
An intelligence requirement is a question whose answer supports a decision. “Research prompt injection” is a topic. “Should Northbridge block unapproved MCP servers before enabling ticket creation?” is a decision requirement. A good requirement identifies the consumer, decision, system boundary, relevant conditions, and confidence needed for action.
| Requirement component | Weak version | Operational version |
|---|---|---|
| Consumer | Security team | CISO and AI platform owner |
| Decision | Understand AI threats | Approve, delay, or condition production access for an agent with ticketing authority |
| Scope | All LLM risks | RAG content, MCP definitions, delegated identity, and outbound actions in the Northbridge design |
| Evidence threshold | Interesting reports | Reproducible or observed behavior plus a control and telemetry implication |
| Output | Slide deck | Priority threat paths, owners, collection gaps, and a bounded recommendation |
Prefer the closest available source to the event or reproduction. A vendor advisory may establish affected versions and remediation but not exploitation. A researcher’s proof may establish feasibility but not victim impact. A provider misuse report may establish activity within the provider’s service but not the complete operation. Secondary reporting is useful for discovery and corroboration, not a substitute for the primary record.
| Source check | Questions to record | Why it matters |
|---|---|---|
| Proximity | Did the source operate the system, observe telemetry, reproduce the issue, or summarize another source? | Determines how directly the claim is supported. |
| Specificity | Are versions, configurations, inputs, outputs, prerequisites, and affected assets named? | Allows validation and limits overgeneralization. |
| Reproducibility | Can an authorized team repeat the behavior in an owned environment? | Separates a technical claim from a vague demonstration. |
| Corroboration | Do independent sources add evidence, or do they repeat the same announcement? | Prevents circular reporting from looking like multiple confirmations. |
| Visibility | What systems, accounts, victims, or outcomes were outside the source’s view? | Defines the boundary of negative claims and unknowns. |
| Incentives | What product, disclosure, commercial, or reputational interests could shape wording? | Supports calibrated confidence without dismissing useful evidence. |
Every important sentence in an assessment should be classifiable as a fact, judgment, assumption, information gap, or recommendation. Mixing these categories makes a report sound confident while hiding unsupported transitions.
| Claim type | Example | Required handling |
|---|---|---|
| Fact | Oligo reported malicious jobs and miners on compromised Ray clusters. | Cite the source and preserve its exact scope. |
| Judgment | Northbridge’s self-managed cluster is a high-priority control-plane exposure. | State confidence and link it to architecture evidence. |
| Assumption | The Northbridge cluster uses the affected API exposure pattern. | Label it and create a validation task. |
| Gap | No record shows whether job submissions are authenticated or which identity runs them. | Turn it into a collection requirement. |
| Recommendation | Require private authenticated access and scoped workload identities before production. | Name owner, verification signal, and residual limitation. |
Confidence is not a feeling and a CVSS score is not confidence. Explain why the evidence supports the judgment and what would change it. The course uses high, moderate, and low confidence as communication labels, each accompanied by an evidence rationale.
| Evidence question | Collection opportunity | Control or decision |
|---|---|---|
| Can an untrusted actor submit an AI workload? | External exposure inventory, gateway logs, Ray job history, identity audit | Remove public reachability; require authenticated, scoped submission |
| Which model artifact entered the build? | Registry events, digest, loader flags, SBOM, admission decision | Pin immutable artifacts; isolate loading; deny unsafe formats |
| What content entered model context? | Retrieval IDs, chunk lineage, authorization decisions, prompt template version | Enforce tenant-aware retrieval and context minimization |
| What did the agent intend and execute? | Tool-definition hash, plan, arguments, approval, result, identity, egress | Validate outside the model; bind approval to immutable actions |
A repeated prompt may produce different output. Preserve model, template, retrieval set, decoding settings, tool state, and runtime versions before claiming a failed or successful control.
Retrieval, memory, tool descriptions, system prompts, and middleware may influence a response without appearing in the user’s visible prompt. Record the full effective context and its authorization path.
The same model output can be harmless in a read-only chat and dangerous when connected to a ticketing tool, cloud identity, filesystem, or egress path. Measure the action, not only the text.
Provider reports may show account activity but not the victim environment, off-platform infrastructure, delivery, or impact. Scope the claim to what the provider could see.
Take one case from the evidence index and produce five sentences: a sourced fact, a judgment with confidence, an explicit assumption, an information gap, and a recommendation. A reviewer should be able to identify the transition between each sentence.
Status: reported in-the-wild exploitation
Exposed Ray control planes were reportedly used for cryptomining, cloud-credential theft, and access to models and datasets.
Primary reportStatus: malicious artifacts observed
Unsafe model loading could execute embedded code, making provenance, format controls, admission policy, and isolated inspection essential.
Primary reportStatus: production vulnerability
A zero-click indirect injection chain connected malicious content, retrieval, control bypass, rendering, and outbound data flow.
Microsoft advisoryStatus: demonstrated research
Malicious tool descriptions and shadowing showed that metadata, tool changes, delegated authority, and approval state are security boundaries.
Primary researchStatus: platform-observed misuse
Provider reporting describes AI-assisted research, reconnaissance, coding, translation, social engineering, and influence activity.
Google Threat IntelligenceStatus: disclosed exposure
An unauthenticated database reportedly exposed chat history, secrets, and operations data. Exposure alone does not prove malicious access.
Primary researchBlock 3
Oligo reported that publicly reachable Ray clusters were compromised through the Ray Jobs API associated with disputed CVE-2023-48022. Ray is designed to execute distributed jobs and assumes that security is enforced around the cluster. When the dashboard and Jobs API were placed outside that assumed trusted network, remote job submission became a code-execution path.
Internet-reachable Ray dashboard / Jobs API → unauthenticated job submission → arbitrary workload execution in the cluster → cryptominer or reverse shell → access to environment variables, credentials, models, and datasets → possible cloud, Kubernetes, registry, and data-store expansion
The entry technique is conventional infrastructure abuse, but the compromised environment concentrates AI-specific value: expensive accelerators, model weights, private datasets, experiment systems, model-hub tokens, and inference or training workflows. A complete AI-security program must defend this layer before prompt-level controls matter.
| Security task | Required action | Evidence / telemetry |
|---|---|---|
| Prevent | Keep control planes private; enforce authenticated access through a trusted gateway; inventory exposure; harden deployment templates. | External attack-surface inventory, security-group and ingress configuration, asset ownership. |
| Constrain | Use least-privilege workload identities, network egress policy, isolated namespaces, secret minimization, and protected model/data stores. | IAM bindings, pod/service-account mapping, secret access, network-policy decisions. |
| Detect | Alert on unexpected Ray job creation, shells, miners, anomalous GPU usage, metadata access, and new outbound destinations. | Ray job history, process/container events, accelerator metrics, DNS, flow logs, cloud audit. |
| Investigate | Preserve job definitions, processes, containers, credentials accessed, model/data changes, and lateral cloud actions. | Snapshots, image digests, command histories, access logs, object-store and registry audit trails. |
Write one high-confidence judgment and one moderate-confidence judgment. For each, identify the exact report evidence and one fact that would increase or decrease confidence.
Block 4
JFrog documented public model artifacts containing payloads that could execute when unsafe Python serialization was loaded. The key distinction is between a model’s mathematical behavior and the container or format used to distribute it. Some loading mechanisms can reconstruct arbitrary objects and invoke code before inference begins.
Public model repository → developer or pipeline downloads mutable artifact → loader trusts unsafe serialization or remote custom code → payload executes during deserialization → workstation or MLOps runner is compromised → tokens, datasets, registries, CI/CD, or cloud become reachable
Module 1 does not execute malicious model files. Learners analyze the chain and admission decision. Isolated artifact triage and safe loading belong to Module 4.
Draft a five-field model-admission record that would let an incident responder determine exactly what artifact entered the environment, who approved it, how it was evaluated, and where it ran.
Block 5
The reported EchoLeak chain targeted Microsoft 365 Copilot through attacker-controlled content that could enter enterprise retrieval. The demonstration combined indirect prompt injection with control bypass, sensitive context, rendering behavior, and an allowed outbound path.
untrusted content → enterprise retrieval → instruction/data confusion → filter bypass → sensitive context in output → rendering / egress → demonstrated exfiltration
Evidence boundary: a serious reproduced production vulnerability and disclosed CVE; do not label it a confirmed criminal campaign without separate evidence.
Invariant Labs demonstrated instructions hidden in MCP tool descriptions and tool-shadowing behavior. Tool metadata can influence model planning even before a tool is selected. Impact depends on client behavior, accessible credentials, filesystem/network permissions, and whether definitions can change after approval.
untrusted tool metadata → model instruction context → manipulated selection or arguments → action under delegated identity → data or state change
Evidence boundary: feasibility against tested clients and workflows; not evidence of widespread exploitation.
| Boundary | Required control | Required telemetry |
|---|---|---|
| Content → retrieval | Source trust, provenance, tenant-aware authorization, content handling | Source, chunk IDs, authorization decision, ingestion revision |
| Retrieval → prompt | Explicit data/instruction treatment, least sensitive context, isolation | Prompt template version and retrieved-content lineage |
| Model → renderer | Context-aware encoding, safe Markdown/HTML handling, destination restrictions | Raw and rendered output identifiers, blocked resource loads |
| Model → tool | Schema validation, authorization outside the model, least privilege | Tool definition hash, call, arguments, policy decision, result |
| Approval → execution | Show complete material action, bind approval to immutable parameters, reapprove changes | Approver, displayed action hash, executed action hash, timestamp |
| Application → network | Destination allowlist, protocol restrictions, egress proxy, secret filtering | DNS, proxy, flow, destination, bytes, decision |
Choose the earliest boundary, the highest-impact boundary, and the most observable boundary in each case. Recommend one control at each. Explain why three independent controls are better than relying on an injection classifier.
Block 6
OpenAI, Google, Anthropic, and other providers publish disruption and threat reports based on activity visible within their services. This visibility can establish how particular accounts used the provider’s models, but it may not reveal the complete intrusion, final delivery, off-platform infrastructure, victim impact, or how representative the observed accounts are.
| Observed AI-supported task | Underlying security behavior | Potential change | Defender focus |
|---|---|---|---|
| Research and reconnaissance | Target, technology, vulnerability, or public-information discovery | Speed, breadth, translation | Exposure reduction, behavior-based detection, access controls |
| Coding assistance | Script development, debugging, transformation, or troubleshooting | Lower friction and faster iteration | Execution and delivery behavior, not authorship guesses |
| Phishing and social engineering | Pretext, message generation, translation, personalization | Scale, language coverage, variation | Identity, delivery, authentication, user reporting, transaction verification |
| Influence content | Persona, posts, comments, images, or narratives | Volume and localization | Coordinated behavior, infrastructure, account networks, provenance |
| Workflow integration | Tool calls or agentic steps in a broader operation | Automation and concurrency | Rate, sequence, identity, infrastructure, and outcome telemetry |
AI often changes speed, scale, language, personalization, or workflow integration before it creates an entirely new intrusion technique. Map the conventional adversary behavior and the measured capability change. Do not rely on an unreliable “AI-generated” indicator.
For OpenAI, Google, and Anthropic reporting, record: observable service activity, actor or cluster, AI-supported task, underlying ATT&CK behavior, evidence of capability uplift, disruption, visibility limits, and one conclusion the report cannot support.
Wiz reported an internet-accessible ClickHouse database associated with DeepSeek that allowed unauthenticated queries and contained chat history, secrets, and operational data. The case establishes a material exposure and illustrates the concentration of sensitive data around AI services. Discovery alone does not prove that a malicious actor accessed or exfiltrated the data before remediation.
Cross-case reasoning
These cases are not six versions of the same “AI attack.” They span infrastructure compromise, executable model artifacts, retrieval and rendering chains, agent metadata, provider visibility, and ordinary data exposure. The common security question is where untrusted input meets authority, state, or sensitive data—and whether a deterministic control records or limits that transition.
| Recurring property | Cases | Engineering question |
|---|---|---|
| Conventional platforms carry AI-specific value | ShadowRay; DeepSeek exposure | Which exposure-management, database, identity, and secrets controls protect prompts, models, data, and accelerators? |
| Artifacts can execute before inference | Malicious model artifacts | Which registry, format, loader, sandbox, identity, and provenance controls govern model admission? |
| Untrusted content can become instruction context | EchoLeak; MCP tool poisoning | Where are data, instructions, tool metadata, approvals, and authority separated? |
| Provider visibility is partial | Provider misuse reports | Which victim-side telemetry confirms delivery, execution, access, and impact? |
| Authorization determines blast radius | EchoLeak; MCP; ShadowRay | Which user, tenant, workload, and tool identities can act, and where is policy enforced outside the model? |
| Evidence status changes the response | All six cases | Is the right action incident response, remediation, exposure hunting, threat modeling, or scenario planning? |
Choose two cases with different evidence statuses but a shared control property. Explain why the same control may be justified for both while the incident language, confidence, and response workflow remain different.
Block 7
Northbridge Health is piloting an internal RAG assistant for researchers. It retrieves private documents, uses a hosted model, can open service tickets through an MCP tool, and runs data-processing jobs on a self-managed Ray cluster. Engineers may import public model artifacts for experiments. Security leadership must decide which controls are mandatory before wider deployment.
You are the AI product-security review team. Your consumer is the CISO and AI platform owner. Your decision question is:
Which three threat paths require mandatory engineering controls before production, what evidence supports that priority, and what telemetry is needed to validate the controls?
| Step | Task | Output |
|---|---|---|
| 1 | Map all six system layers and mark trust boundaries and authority | System diagram |
| 2 | Select three cases with different evidence statuses and justify relevance | Classification matrix |
| 3 | Reconstruct each factual path; identify prerequisites, assets, boundary failure, and impact | Three case records |
| 4 | Map supported behaviors and identify collection gaps | Framework/evidence table |
| 5 | Choose preventive, blast-radius, detective, and evidence-preservation controls | Control matrix |
| 6 | Prepare the key judgment and rejected unsupported claim | Briefing outline |
Case and primary source: Evidence status: Directly established facts: Attacker prerequisite or exposure condition: Entry point: Affected asset: Trust-boundary failure: Observed or demonstrated action: Impact: Known mitigation: Known exploitation status: Important limitation: Organizational relevance: Information that would change confidence:
| Threat path | Prevent | Constrain | Detect | Preserve | Owner |
|---|---|---|---|---|---|
The platform owner confirms that Ray port 8265 is restricted to the corporate VPN, but the MCP server can change tool descriptions without a new client approval. The RAG system records document IDs but not retrieved chunk IDs or authorization decisions.
Learners must update confidence and priorities. “Restricted to VPN” reduces exposure but does not resolve authentication, internal compromise, or least privilege. Mutable MCP definitions and missing retrieval lineage increase agent and investigation risk.
Block 8
| Framework | Use here | Do not treat it as |
|---|---|---|
| MITRE ATLAS | Adversary behaviors and case mappings | Proof a technique occurred |
| NIST AI 100-2 | AML terminology, access, lifecycle stages, mitigations | An application architecture standard |
| OWASP GenAI | Prioritized LLM and agent application risks | A complete system threat model |
| ATT&CK | Conventional infrastructure, identity, persistence, and exfiltration behavior | An AI-specific risk framework |
Write the factual procedure first. Then choose the framework entry that best describes it. Record the source and evidence status beside the mapping. If the procedure cannot be written without adding assumptions, do not map it as observed.
Weak: ShadowRay → "AI attack" → ATLAS
Strong: An internet-reachable Ray Jobs API accepted unauthenticated job
submissions that executed workloads; researchers reported miners
and reverse shells in compromised clusters.
→ conventional public-service and execution behaviors
→ AI infrastructure context
→ reported in-the-wild exploitation
→ source and limitations recorded
Answer before opening each explanation. Target score: 8/10.
Block 9
Submit a maximum 700-word technical threat assessment and deliver a concise briefing for engineering and security stakeholders. Identify the most relevant attack surfaces, separate observed activity from demonstrated capability, explain evidence gaps, and recommend controls and telemetry that later modules will validate.
| Criterion | Weight | Evidence of strong performance |
|---|---|---|
| System and trust-boundary analysis | 20% | Complete six-layer model; authority and data flows are explicit. |
| Technical case reconstruction | 20% | Accurate prerequisites, sequence, affected assets, and impact. |
| Evidence classification | 15% | Facts, judgments, gaps, confidence, and exploitation status remain distinct. |
| Framework mapping | 10% | Each entry follows a supported factual procedure and uses the framework correctly. |
| Controls and blast radius | 15% | Layered controls operate outside the model and have accountable owners. |
| Telemetry and preservation | 10% | Signals can validate control operation and reconstruct the causal chain. |
| Assessment and briefing | 10% | Concise, decision-oriented, calibrated, and technically defensible. |
Revision is required if the work calls every case an incident, turns a PoC into a campaign, treats provider visibility as global visibility, maps headlines instead of procedures, recommends only prompts/classifiers, omits authority or infrastructure controls, or treats absence of public exploitation evidence as proof that exploitation never occurred.
Use primary material wherever possible: MITRE ATLAS, NIST AI 100-2, OWASP GenAI Security, OpenAI threat reporting, and the linked case reports.
Research cutoff: 30 July 2026. Revalidate sources and evidence status before delivery.