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.
| Asset | Why it matters |
|---|---|
| Booking integrity | A false booking wastes scarce hangar space and creates charges |
| Pricing integrity | Fees and waivers must follow the rules, never a conversation |
| Aircraft movements and passenger identity | Sensitive for owners and a safety concern if exposed |
| Customer data | Contacts, accounts and preferences |
| Availability | Operators rely on the service at all hours |
| Keys and credentials | Provider keys, project keys and backend credentials |
| Reputation | A manipulated assistant makes the company look careless |
Data flow and trust boundaries
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) | Threat | STRIDE | Controls | Residual | Verified by |
|---|---|---|---|---|---|
| T1 | Direct prompt injection to waive fees or override rules | Tampering | Prompt scan; prices computed by the pricing service; rules as code | Low | Adversarial set A1 to A8 |
| T2 | Indirect injection through a forwarded trip sheet or retrieved clause | Tampering | Scan on attachments and retrieved text; structured extraction; strip notes from tool results | Low | Adversarial set B1 to B6 |
| T3 | Asking for another customer's bookings or an aircraft's movements | Information disclosure | Topic guardrail; ownership check on every tool; no cross-customer tool | Low | Privacy set P1 to P10 |
| T4 | Guessing a reservation number to cancel or change a booking | Spoofing, tampering | Account-bound scopes; confirmation token; ownership check | Low | Contract cross-account tests |
| T5 | Booking without the guest's consent through a misunderstanding or a manipulated model | Tampering | Hold first; single-use token after explicit CONFIRM; separate commit tool | Very low | Unconfirmed-commit query, release gate |
| T6 | Exfiltrating data through a notes field or reply | Information disclosure | Reply scan with data-loss detection; length and format limits; tool-argument scan | Low | Exfiltration set X1 to X5 |
| T7 | System prompt or tool definition leakage | Information disclosure | No secrets in prompts; topic guardrail; scan on replies | Low | Adversarial set A9 to A12 |
| T8 | Credential theft: provider keys, project keys, backend credentials | Information disclosure | Keys only in the gateways; rotation; secrets scanning in code | Low | Secrets scan in CI (continuous integration), access review |
| T9 | Denial of wallet or service by long, repeated prompts | Denial of service | Per-key budgets and rate limits; token cap per turn; edge rate limits | Medium | Load tests, budget alerts |
| T10 | Poisoned knowledge: a malicious or wrong clause in the index | Tampering | Source review and signed ingestion; effective dates; citations shown to the guest | Medium | Ingestion tests, clause diff review |
| T11 | Compromised model provider or alias repoint to a worse model | Tampering | Alias changes gated by the evaluation set; provider terms; fallback tested | Low | Release gate |
| T12 | Excessive agency: a tool that can do more than the flow needs | Elevation of privilege | Minimal scopes per tool; no delete tools; writes need a prior hold | Low | Scope review each release |
| T13 | Telemetry or transcripts expose restricted data | Information disclosure | Drop or hash in the collector; masks in the lakehouse; telemetry audit | Low | Telemetry scan |
| T14 | Insider misuse of the agent desk or lakehouse | Repudiation | Role-based access; audit of every unmask; least privilege | Medium | Access review, audit sampling |
| T15 | Impersonating a guest by text or email | Spoofing | One-time code to a known contact; verified account binding | Medium | Authentication tests |
Mapping to the OWASP Top 10 for LLM Applications
| Risk | Where it shows up here | Threats | Primary control |
|---|---|---|---|
| Prompt injection | Guest text, attachments, retrieved clauses | T1, T2 | Scans and structured extraction |
| Sensitive information disclosure | Replies, tools, logs | T3, T6, T13 | Ownership checks, reply scan, redaction |
| Supply chain | Models, libraries, vendor platforms | T8, T11 | Provider terms, dependency scanning, gated changes |
| Data and model poisoning | Knowledge index, evaluation sets | T10 | Reviewed, signed ingestion |
| Improper output handling | Model output passed to tools or a browser | T1, T6 | Schema validation, escaping, tool-side checks |
| Excessive agency | Tool scopes and write paths | T5, T12 | Minimal scopes, confirmation token |
| System prompt leakage | Instructions and tool definitions | T7 | No secrets in prompts |
| Vector and embedding weaknesses | Knowledge retrieval | T3, T10 | Filters at query time, source control |
| Misinformation | Wrong rule or fee stated as fact | T10 | Citations, grounding check, decline without a source |
| Unbounded consumption | Long or repeated prompts | T9 | Budgets, rate limits, token caps |
An attack tree: get a hangar night without paying
Goal
Obtain hangar space and avoid the charge.
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.
Path B · Book and never confirm
A hold expires on its own. There is no commit without a token issued after explicit confirmation.
Path C · Use another customer's account
Identity is verified before any tool call. The tool gateway binds calls to that account.
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.
Result
No single control carries the whole defence, so no single failure yields a free night.
Sequence: indirect injection through a forwarded trip sheet
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
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
- A versioned adversarial set of injections, extraction attempts and tool-abuse cases runs in the release gate.
- A red-team campaign, automated and human, runs before launch and every quarter. Findings become test cases.
- Cross-account contract tests run on every tool in every build.
- Telemetry and tables are scanned for restricted data after each release.
- A tabletop exercise walks through T5 and T13 twice a year.
Residual risk and acceptance
| Risk | Residual | Owner | Decision |
|---|---|---|---|
| Poisoned knowledge (T10) | Medium | Airport operations | Accepted with source review and diff approval |
| Denial of wallet (T9) | Medium | Platform | Accepted with budgets and alerts |
| Insider misuse (T14) | Medium | Security | Accepted with audit and quarterly review |
| Guest impersonation by text (T15) | Medium | Product | Accepted 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