Conversational AI (artificial intelligence) · 16 / 22

Threat Model

A STRIDE threat model of the booking assistant: data flow and trust boundaries, threat register, OWASP mapping, attack tree and residual risk.

Scope and method

This model covers the booking assistant, the AI and tool gateways, the knowledge index and the telemetry path. It uses STRIDE to walk each element of the data flow diagram, and maps the results to the OWASP Top 10 for LLM (Large Language Model) Applications and to MITRE ATLAS techniques. Each threat has a control and a test in the evaluation plan.

AssetWhy it matters
Booking integrityA false booking wastes scarce hangar space and creates charges
Pricing integrityFees and waivers must follow the rules, never a conversation
Aircraft movements and passenger identitySensitive for owners and a safety concern if exposed
Customer dataContacts, accounts and preferences
AvailabilityOperators rely on the service at all hours
Keys and credentialsProvider keys, project keys and backend credentials
ReputationA manipulated assistant makes the company look careless

Data flow and trust boundaries

Data flow and trust boundaries A guest and an attacker reach the edge from the internet. The conversation service in the application zone calls the AI gateway and models in the AI zone, the tool gateway and FBO systems in the enterprise zone, the knowledge index and the lakehouse, and hands off to the agent desk. Each boundary crossing is scanned or authorised. INTERNET APPLICATION ZONE AI ZONE ENTERPRISE ZONE Guest pilot · scheduler Attacker or compromised guest Edge auth · rate limit Conversation service state machine · agent Knowledge index clauses · notices AI gateway Prisma AIRS scans Models providers Lakehouse traces · evals Tool gateway scopes · policy FBO systems bookings · pricing Agent desk line staff Trust boundaries: Internet to application, application to AI, application to enterprise. Every arrow that crosses one is scanned or authorised.
Four zones and the arrows that cross between them. Each crossing carries a control.

The attacker is outside, but may also be a legitimate guest who goes beyond what they should do, or a compromised account. Attacks can also arrive inside content: a forwarded trip sheet, a retrieved document or a customer-entered note.

Threat register

ID (identifier)ThreatSTRIDEControlsResidualVerified by
T1Direct prompt injection to waive fees or override rulesTamperingPrompt scan; prices computed by the pricing service; rules as codeLowAdversarial set A1 to A8
T2Indirect injection through a forwarded trip sheet or retrieved clauseTamperingScan on attachments and retrieved text; structured extraction; strip notes from tool resultsLowAdversarial set B1 to B6
T3Asking for another customer's bookings or an aircraft's movementsInformation disclosureTopic guardrail; ownership check on every tool; no cross-customer toolLowPrivacy set P1 to P10
T4Guessing a reservation number to cancel or change a bookingSpoofing, tamperingAccount-bound scopes; confirmation token; ownership checkLowContract cross-account tests
T5Booking without the guest's consent through a misunderstanding or a manipulated modelTamperingHold first; single-use token after explicit CONFIRM; separate commit toolVery lowUnconfirmed-commit query, release gate
T6Exfiltrating data through a notes field or replyInformation disclosureReply scan with data-loss detection; length and format limits; tool-argument scanLowExfiltration set X1 to X5
T7System prompt or tool definition leakageInformation disclosureNo secrets in prompts; topic guardrail; scan on repliesLowAdversarial set A9 to A12
T8Credential theft: provider keys, project keys, backend credentialsInformation disclosureKeys only in the gateways; rotation; secrets scanning in codeLowSecrets scan in CI (continuous integration), access review
T9Denial of wallet or service by long, repeated promptsDenial of servicePer-key budgets and rate limits; token cap per turn; edge rate limitsMediumLoad tests, budget alerts
T10Poisoned knowledge: a malicious or wrong clause in the indexTamperingSource review and signed ingestion; effective dates; citations shown to the guestMediumIngestion tests, clause diff review
T11Compromised model provider or alias repoint to a worse modelTamperingAlias changes gated by the evaluation set; provider terms; fallback testedLowRelease gate
T12Excessive agency: a tool that can do more than the flow needsElevation of privilegeMinimal scopes per tool; no delete tools; writes need a prior holdLowScope review each release
T13Telemetry or transcripts expose restricted dataInformation disclosureDrop or hash in the collector; masks in the lakehouse; telemetry auditLowTelemetry scan
T14Insider misuse of the agent desk or lakehouseRepudiationRole-based access; audit of every unmask; least privilegeMediumAccess review, audit sampling
T15Impersonating a guest by text or emailSpoofingOne-time code to a known contact; verified account bindingMediumAuthentication tests

Mapping to the OWASP Top 10 for LLM Applications

RiskWhere it shows up hereThreatsPrimary control
Prompt injectionGuest text, attachments, retrieved clausesT1, T2Scans and structured extraction
Sensitive information disclosureReplies, tools, logsT3, T6, T13Ownership checks, reply scan, redaction
Supply chainModels, libraries, vendor platformsT8, T11Provider terms, dependency scanning, gated changes
Data and model poisoningKnowledge index, evaluation setsT10Reviewed, signed ingestion
Improper output handlingModel output passed to tools or a browserT1, T6Schema validation, escaping, tool-side checks
Excessive agencyTool scopes and write pathsT5, T12Minimal scopes, confirmation token
System prompt leakageInstructions and tool definitionsT7No secrets in prompts
Vector and embedding weaknessesKnowledge retrievalT3, T10Filters at query time, source control
MisinformationWrong rule or fee stated as factT10Citations, grounding check, decline without a source
Unbounded consumptionLong or repeated promptsT9Budgets, rate limits, token caps

An attack tree: get a hangar night without paying

  1. Goal

    Obtain hangar space and avoid the charge.

  2. Path A · Talk the assistant into a waiver

    Blocked at the prompt scan, and even a missed injection cannot change a price, because fees are computed by the pricing service.

  3. Path B · Book and never confirm

    A hold expires on its own. There is no commit without a token issued after explicit confirmation.

  4. Path C · Use another customer's account

    Identity is verified before any tool call. The tool gateway binds calls to that account.

  5. Path D · Poison a clause

    Ingestion is reviewed and signed. Changed clauses are shown in a diff to the airport manager before they take effect.

  6. Result

    No single control carries the whole defence, so no single failure yields a free night.

Sequence: indirect injection through a forwarded trip sheet

Indirect prompt injection blocked at the scan An attacker forwards a trip sheet with hidden instructions. The service scans the extracted text, the scan blocks it, and the guest is asked to paste the details instead. A security event records the block without the content. Attacker Conversation service Prisma AIRS AI gateway Security log forwards trip sheet with hidden text extract text from the file scan extracted text block: indirect injection event: ids and verdict only cannot read that file, paste the details The model is never called with the hidden text.
Indirect prompt injection blocked at the scan

If a scan ever missed it, the later controls still hold: tool arguments are scanned, prices come from the pricing service, and a commit needs the guest's confirmation.

Sequence: cancelling someone else's booking

Cross-account cancellation rejected A guest guesses another customer's reservation number and asks to cancel it. The tool gateway binds the call to the verified account, finds that the booking belongs to someone else, refuses and audits the attempt. Repeated attempts raise an alert. Attacker Conversation service Tool gateway Booking system Audit log cancel BK-20417 cancel_booking, caller account A look up owner owner is account B ownership check fails audit: denied forbidden I can only change your own bookings count denied attempts
Cross-account cancellation rejected

The model never sees the other customer's data, and no phrasing from the guest changes the answer, because the check is in code on the tool gateway.

Security testing

Residual risk and acceptance

RiskResidualOwnerDecision
Poisoned knowledge (T10)MediumAirport operationsAccepted with source review and diff approval
Denial of wallet (T9)MediumPlatformAccepted with budgets and alerts
Insider misuse (T14)MediumSecurityAccepted with audit and quarterly review
Guest impersonation by text (T15)MediumProductAccepted for read-only requests; a code is needed to hold or book

Residual ratings are illustrative. Review the model whenever a tool, channel or data source is added.

Build this for your business

This example is a booking assistant for a ground-handling network, but the same pattern, a governed gateway, runtime security, grounded knowledge, deterministic commits and measured quality, fits any customer-facing assistant that takes actions. We can scope a pilot on your own systems.

Book a discovery call