Scope and method
This model covers the software platform, the AI (artificial intelligence) and retail gateways, the policy index, the advisory models, the telemetry path and the boundary with the store zone: cameras, edge appliances and the template vault. 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. The edge devices and vault have their own device security analysis; this page covers how the AI-facing platform is kept away from them. It is deliberately defensive and high level. Each threat has a control and a test in the evaluation plan.
| Asset | Why it matters |
|---|---|
| Face templates | Biometric data that cannot be changed if stolen |
| Consent records | The legal basis for everything; tampering voids it |
| The privacy gate and edge appliances | They decide what may be matched and what is discarded |
| Member accounts and payments | Direct financial harm if a match is abused |
| Models and training data | Poisoned or biased models cause wrong matches |
| Keys, credentials and signing keys | Per-member keys and signatures protect templates and filings |
| Trust of shoppers and regulators | Misuse ends the programme |
Data flow and trust boundaries
The attacker may be outside the company, a compromised workstation or account, a malicious insider or a supplier. Attacks can arrive inside content: a request, an email or a software update. A person standing in front of a camera is also a possible attacker.
Threat register
| ID (identifier) | Threat | STRIDE | Controls | Residual | Verified by |
|---|---|---|---|---|---|
| T1 | Spoofing a member with a photo, video or mask | Spoofing | Liveness at enrolment; presentation-attack detection at the lane; confirmation with a second factor | Medium | Presentation-attack test set |
| T2 | Theft of the template vault | Information disclosure | Per-member keys in hardware-backed storage; encrypted at rest; vault on an isolated network; no bulk export | Medium | Penetration tests, key audits |
| T3 | Tampering with consent records to allow matching | Tampering | Append-only consent register; gate treats unknown as no; signed changes; audit | Low | Register tamper tests |
| T4 | Function creep: using templates for watchlists, pricing or marketing | Elevation of privilege | No such tools exist; purpose bound to consent; four-eyes on any new purpose; audit sampling | Medium | Policy audits, tool inventory review |
| T5 | Compromised edge appliance that stores frames | Information disclosure | Frames in memory only; signed firmware; disk encryption; self-check; forensic inspection in release | Low | Edge inspection tests |
| T6 | Zone misconfiguration that enables matching outside an opt-in zone | Tampering | Zone changes reviewed and signed; gate decision events audited; signage checked | Low | Gate tests, zone audits |
| T7 | Bias that makes errors more likely for some groups | Information disclosure | Subgroup validation before release; monitoring by group; release blocked on gaps | Medium | Subgroup reports |
| T8 | Hidden instructions in requests or documents reaching a language model | Tampering | Input scan; structured facts only; assistant has no tool that reads another member's data or changes consent | Low | Adversarial set A1 to A8 |
| T9 | Leaking personal data through drafts, logs or telemetry | Information disclosure | Output scan; ownership checks; collector drops member references and raw scores; masks in the lakehouse | Low | Privacy set P1 to P10, telemetry scan |
| T10 | A response changed after the officer approved it | Tampering | Signed content hash; only the approved version can be sent | Low | Sending tests |
| T11 | Credential or signing key theft | Spoofing | Hardware-backed keys; strong authentication; short-lived sessions; separation of signing from AI components | Medium | Access reviews, red team |
| T12 | Ransomware or outage at head office | Denial of service | Stores check out normally without Face Pass; edge gate works offline; offline backups | Medium | Recovery drills |
| T13 | Poisoned enrolment, such as enrolling someone else's face | Spoofing | Liveness; account verification; second factor; rate limits on enrolment | Medium | Enrolment attack tests |
| T14 | Tampered software update or model release | Tampering | Signed artefacts; staged, reversible release; privacy and fairness gates | Low | Release audits |
| T15 | Insider misuse of templates or settings | Elevation of privilege | Role-based access; no human access to templates; four-eyes on settings; 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 | Requests, emails, retrieved policies | T8 | Scans and structured facts |
| Sensitive information disclosure | Drafts, tools, logs | T9 | Ownership checks, output scan, redaction |
| Supply chain | Models, libraries, vendor platforms, edge firmware | T5, T14 | Signed artefacts, provider terms, gated changes |
| Data and model poisoning | Training data, policy index, evaluation sets | T7, T13 | Consented, reviewed data; validation; drift monitoring |
| Improper output handling | Model output passed to tools | T8, T10 | Schema validation, draft-only tools, signatures |
| Excessive agency | Tool scopes and write paths | T4, T10 | Read and draft only; sending and deleting are not AI tools |
| System prompt leakage | Instructions and tool definitions | T8 | No secrets in prompts |
| Vector and embedding weaknesses | Policy retrieval | T9 | Filters at query time, source control |
| Misinformation | A wrong policy or fact stated in a draft | T8, T10 | Citations, grounding checks, person review |
| Unbounded consumption | Floods and long inputs | T12 | Budgets, rate limits, size limits |
An attack tree, defensively: obtain or misuse face data
Goal
Identify a shopper who did not opt in, or take over a member's identity.
Path A · Make the gate match everyone
Zone and consent configuration is signed and audited, the gate treats unknown consent as no consent, and the edge discards frames in memory.
Path B · Steal templates
Templates are encrypted with per-member keys in hardware-backed storage on an isolated network, with no bulk export and no human access.
Path C · Impersonate a member
Liveness checks, presentation-attack detection and a second-factor confirmation stand between a face and any action.
Path D · Mislead through documents or advice
Language models handle only documentation, which a person approves, and have no tool that matches or enrols anyone.
Result
No single control carries the whole defence, and every path ends at a refusal, a confirmation by the member or a person.
If a scan ever missed it, the later controls still hold: the assistant has no cross-member tool, and the officer reads and approves every response.
Even a perfect spoof would still need the member's phone for the confirmation. Two independent factors stand in the way.
Security testing
- A versioned adversarial set of injections, extraction attempts and tool-abuse cases runs in the release gate.
- A presentation-attack set with photos, screens and masks runs against the matcher in every release.
- Edge inspection tests look for frames, crops or embeddings on disk and on the network in every release.
- Penetration testing covers the vault, the store network, firmware and signing, in line with biometric-system practice.
- A tabletop exercise walks through T2, T5 and T12 twice a year.
Residual risk and acceptance
| Risk | Residual | Owner | Decision |
|---|---|---|---|
| Spoofing despite liveness (T1) | Medium | Security and edge engineering | Accepted with presentation-attack detection and a second factor |
| Vault theft (T2) | Medium | Security | Accepted with per-member keys, isolation and monitoring |
| Bias across groups (T7) | Medium | Quality and fairness lead | Accepted with subgroup validation and monitoring; gaps block release |
| Credential or key theft (T11) | Medium | Security | Accepted with hardware-backed keys and strong authentication |
| Insider misuse (T15) | Medium | Security and privacy office | Accepted with no human access to templates, four-eyes controls and audit sampling |
Residual ratings are illustrative. Review the model whenever a tool, channel, device or data source is added.
Build this for your business
This example is speculative and not a recommendation to deploy, but the same pattern, consent first, a deterministic privacy gate, a governed gateway, runtime security, advisory-only AI and measured fairness, fits any service that handles sensitive personal data. We can scope a pilot on your own systems.
Book a discovery call