Scope and method
This model covers the platform, the AI (artificial intelligence) and tool gateways, the terms index, the harm, fraud and integrity 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 |
|---|---|
| Player funds and wallets | Direct financial value and a target for takeover and payment fraud |
| Identity and KYC data | Sensitive personal data and the basis of eligibility |
| Gambling behaviour and location data | Stigmatising and sensitive; restricted |
| Eligibility and exclusion enforcement | A legal duty; a failure is a licence risk and a harm |
| Market integrity | The fairness of betting markets and the operator's licence |
| Keys and credentials | Provider keys, project keys and backend credentials |
| Player trust and the licence | A manipulated or careless platform harms players and can lose the licence |
Data flow and trust boundaries
The attacker is outside, but may also be a legitimate player who goes beyond what they should do, a compromised account or a colluding insider. Attacks arrive inside content: an ID (identifier) document, a chat message, a retrieved rule or a player-entered note.
Threat register
| ID | Threat | STRIDE | Controls | Residual | Verified by |
|---|---|---|---|---|---|
| T1 | Hidden instructions in an ID document to pass age or identity checks | Tampering | Input scan; structured extraction; eligibility decided by rules and providers, never by the extraction call | Low | Adversarial set A1 to A8 |
| T2 | Forged, reused or deepfake identity documents and selfies | Spoofing | Document and liveness checks by providers; reuse detection; analyst review of mismatches | Medium | KYC forgery set |
| T3 | Location spoofing to bet from a restricted area | Spoofing | Geolocation check in the bet path with fail-closed refusal; device and network signals | Medium | Bet-path tests, spoofing set |
| T4 | Account takeover and withdrawal fraud | Spoofing | Login scoring; step-up; short reviewable pauses; alerts to known channels | Medium | Fraud scenario set F1 to F20 |
| T5 | Multi-accounting and bonus abuse | Tampering | Device and identity linking; review before bonuses pay; rules in the bonus engine | Medium | Abuse scenario set |
| T6 | Collusion and match-fixing through betting patterns | Tampering | Integrity model flags; analysts review; market limits by traders; reporting by a person | Medium | Integrity replay set |
| T7 | Impersonating a player to support to lift limits or restrictions | Spoofing | Identity verification before account actions; copilot cannot change limits; raises wait for cooling-off | Low | Agent drills |
| T8 | Persuading the platform to encourage play or reveal how to bypass protections | Elevation of privilege | Topic guardrail; no tool grants bonuses or lifts limits; output tone checks | Low | Adversarial set A9 to A16 |
| T9 | Asking for another player's activity or data | Information disclosure | Output scan; ownership check on every tool; no cross-player tool | Low | Privacy set P1 to P10 |
| T10 | Exfiltrating data through a note field or a drafted message | Information disclosure | Output scan with data-loss detection; length and format limits; approved templates | Low | Exfiltration set X1 to X5 |
| 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 at peak events, or scraping of odds and markets | Denial of service | Size limits; per-key budgets and rate limits; bot and rate controls at the edge; bet path independent of AI | Medium | Load tests, budget alerts |
| T13 | Poisoned terms or features: a bad rule in the index, or fake behaviour to skew harm or fraud models | Tampering | Signed ingestion and diff review; effective dates; drift monitoring on features and models | Medium | Ingestion tests, drift reports |
| T14 | Marketing sent to excluded or at-risk players, or offers allocated unfairly | Repudiation | Hard exclusion rules at decision and send time; fairness review; approved templates; audit of every send | Low | Send audit, fairness reports |
| T15 | Insider misuse: trading or integrity information, or lifting restrictions | Elevation of privilege | Role-based access; basis and approver on every action; four-eyes on restriction release; 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 | ID documents, messages, retrieved rules, notes | T1, T7, T8 | Scans and structured extraction |
| Sensitive information disclosure | Drafts, tools, logs | T9, T10 | 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, T10 | Schema validation, tool-side checks |
| Excessive agency | Tool scopes and write paths | T8, T15 | Minimal scopes, risk-reducing-only automatic tools, approval |
| System prompt leakage | Instructions and tool definitions | T8 | No secrets in prompts |
| Vector and embedding weaknesses | Terms retrieval | T9, T13 | Filters at query time, source control |
| Misinformation | A wrong rule or settlement 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: open accounts and abuse welcome bonuses at scale
Goal
Create many accounts, possibly with forged identities or from a restricted area, and claim bonuses on each.
Path A · Forge identity documents
Document and liveness checks, reuse detection and analyst review of mismatches. A model cannot approve eligibility.
Path B · Spoof location
The bet path refuses on a failed or missing location check, and device and network signals link suspicious accounts.
Path C · Hide instructions in documents or chats
Scanned and extracted into a schema. No tool lifts a limit, grants a bonus or marks a player verified.
Path D · Link and exploit accounts
Device and identity linking flags multi-accounting before bonuses pay, and analysts review the cluster.
Result
No single control carries the whole defence, so no single failure opens the door at scale.
If a scan ever missed it, the later controls still hold: eligibility is decided by rules and providers, and no tool can mark a player verified.
The protection is a rule that fails closed. The AI side only helps link accounts afterwards, for a person to review.
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, abuse and integrity scenario sets replay known patterns against the scoring models.
- Telemetry and tables are scanned for identity, location and behaviour data after each release.
- A tabletop exercise walks through T3, T7 and T14 twice a year.
Residual risk and acceptance
| Risk | Residual | Owner | Decision |
|---|---|---|---|
| Forged documents (T2) | Medium | Compliance and KYC | Accepted with provider checks and analyst review |
| Location spoofing (T3) | Medium | Compliance and fraud | Accepted with fail-closed checks and device linking |
| Account takeover (T4) | Medium | Security and fraud | Accepted with scoring, step-up and short pauses |
| Collusion (T6) | Medium | Integrity | Accepted with models, analysts and market limits |
| Insider misuse (T15) | Medium | Security | Accepted with audit and four-eyes on release of restrictions |
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 player protection and operations platform for a licensed betting operator, but the same pattern, deterministic rules for every hard duty, a governed gateway, runtime security, protect-first automation and measured quality, fits any regulated, customer-facing service. We can scope a pilot on your own systems.
Book a discovery call