Scope and method
This model covers the loyalty platform, the AI (artificial intelligence) and tool gateways, the terms index, the fraud and propensity models 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 Applications and to MITRE ATLAS techniques. Each threat has a control and a test in the evaluation plan.
| Asset | Why it matters |
|---|---|
| Points balances and the ledger | Miles are a financial liability and spendable value, and an attractive target |
| Member identities and accounts | Takeover is the route to stolen miles and exposed travel history |
| Travel history and personal data | Reveals where people have been; restricted |
| Award inventory and pricing | Fraud and scraping erode revenue and fairness |
| Offer budgets and consent records | Spend control and legal permission to contact |
| Keys and credentials | Provider keys, project keys and backend credentials |
| Program trust | Members must believe balances are safe and rules are fair |
Data flow and trust boundaries
The attacker is outside, but may also be a legitimate member who goes beyond what they should do, a compromised account or a partner file that was tampered with. Attacks arrive inside content: a boarding pass image, a message, a retrieved rule or a member-entered note.
Threat register
| ID (identifier) | Threat | STRIDE | Controls | Residual | Verified by |
|---|---|---|---|---|---|
| T1 | Hidden instructions in a claim to credit extra miles | Tampering | Input scan; structured extraction; post_miles must equal the rule result and needs a basis | Low | Adversarial set A1 to A8 |
| T2 | Indirect injection through a retrieved rule or a member note | Tampering | Scan on retrieved text; strip notes from tool results; citation checks | Low | Adversarial set B1 to B6 |
| T3 | Asking the copilot or an agent for another member's balance or trips | Information disclosure | Topic guardrail; ownership check on every tool; no cross-member tool | Low | Privacy set P1 to P10 |
| T4 | Account takeover with stolen credentials | Spoofing | Risk scoring at login; step-up; time-limited holds; alerts to the member's known channels | Medium | Fraud scenario set F1 to F20 |
| T5 | Award fraud: redeeming stolen miles or buying awards with stolen cards for resale | Tampering | Redemption scoring; step-up; velocity limits; delayed delivery for risky awards | Medium | Fraud scenario set F21 to F40 |
| T6 | Forged, reused or duplicate boarding passes | Spoofing | Verify segment, ticket and prior credits in systems; duplicate detection; no credit from an image alone | Low | Claim evaluation set |
| T7 | Mileage laundering through manipulated partner files | Tampering | Signed files, totals and anomaly checks; unmatched and unusual lines held for review | Medium | Partner anomaly set |
| T8 | Social engineering of a contact centre agent | Spoofing | Identity verification before account actions; copilot cannot move miles; transfers need step-up | Medium | Agent drills |
| T9 | Exfiltrating data through a note field or a drafted message | Information disclosure | Output scan with data-loss detection; length and format limits; messages need approved templates | Low | Exfiltration set X1 to X5 |
| T10 | System prompt or tool definition leakage | Information disclosure | No secrets in prompts; topic guardrail; scan on outputs | Low | Adversarial set A9 to A12 |
| T11 | 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 |
| T12 | Denial of wallet or service by floods of images or scraping of award search | Denial of service | Size limits; per-key budgets and rate limits; bot controls on award search | Medium | Load tests, budget alerts |
| T13 | Poisoned terms or features: a bad rule in the index, or fake behaviour to skew models | Tampering | Signed ingestion and diff review; effective dates; drift monitoring on features and models | Medium | Ingestion tests, drift reports |
| T14 | Marketing sent without consent, or offers allocated unfairly | Repudiation | Consent check at send time; fairness review; approved templates; audit of every send | Low | Send audit, fairness reports |
| T15 | Insider crediting miles or releasing holds | Elevation of privilege | Role-based access; basis and approver on every posting; four-eyes on goodwill above a limit; audit sampling | Medium | Access review, audit sampling |
Mapping to the OWASP Top 10 for LLM Applications
| Risk | Where it shows up here | Threats | Primary control |
|---|---|---|---|
| Prompt injection | Claim images, messages, retrieved rules, notes | T1, T2 | Scans and structured extraction |
| Sensitive information disclosure | Drafts, tools, logs | T3, T9 | Ownership checks, output scan, redaction |
| Supply chain | Models, libraries, vendor platforms | T11 | Provider terms, dependency scanning, gated changes |
| Data and model poisoning | Terms index, features, evaluation sets | T13 | Reviewed, signed ingestion; drift monitoring |
| Improper output handling | Model output passed to tools | T1, T9 | Schema validation, tool-side checks |
| Excessive agency | Tool scopes and write paths | T1, T15 | Minimal scopes, basis and approval |
| System prompt leakage | Instructions and tool definitions | T10 | No secrets in prompts |
| Vector and embedding weaknesses | Terms retrieval | T3, T13 | Filters at query time, source control |
| Misinformation | A wrong rule or amount stated as fact | T13 | Citations, grounding check, decline without a source |
| Unbounded consumption | Floods and long inputs | T12 | Budgets, rate limits, size limits |
An attack tree: steal 500,000 miles from a member
Goal
Move a member's miles or their value to an attacker.
Path A · Take over the account
Login scoring and step-up stop most attempts. A held account is reviewed, and redemptions of a large balance need extra proof.
Path B · Talk an agent into it
Agents verify identity first, the copilot cannot change balances, and transfers need step-up that the attacker cannot pass.
Path C · Hide instructions in a claim
Scanned and extracted into a schema. The credit must equal the rule result, and large credits need a person.
Path D · Manipulate a partner file
Files are signed and checked for totals and anomalies, and unusual lines are held for review.
Result
No single control carries the whole defence, so no single failure moves the miles.
If a scan ever missed it, the later controls still hold: post_miles must equal the rule result and needs a basis, and the segment is verified in systems.
The control is verification and the absence of any tool that moves miles for an unverified caller. The copilot cannot be talked into it.
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.
- Fraud scenario sets replay known takeover and award-fraud patterns against the scoring models.
- Telemetry and tables are scanned for identity and travel data after each release.
- A tabletop exercise walks through T4, T8 and T14 twice a year.
Residual risk and acceptance
| Risk | Residual | Owner | Decision |
|---|---|---|---|
| Account takeover (T4) | Medium | Security and fraud | Accepted with scoring, step-up, holds and member alerts |
| Award fraud (T5) | Medium | Fraud and revenue | Accepted with scoring, velocity limits and delayed delivery |
| Mileage laundering (T7) | Medium | Partnerships and fraud | Accepted with signed files and anomaly review |
| Social engineering (T8) | Medium | Contact centre | Accepted with verification and drills |
| Insider misuse (T15) | Medium | Security | Accepted with audit and four-eyes on goodwill |
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 loyalty platform for an airline, but the same pattern, deterministic financial rules, a governed gateway, runtime security, consent-aware personalisation and measured quality, fits any program that holds a customer balance and makes offers. We can scope a pilot on your own systems.
Book a discovery call