Retail Facial Tracking · 19 / 26

Threat Model

A STRIDE threat model of the retail face platform: data flow and trust boundaries, threat register, OWASP mapping, attack tree and residual risk, at a defensive level.

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.

AssetWhy it matters
Face templatesBiometric data that cannot be changed if stolen
Consent recordsThe legal basis for everything; tampering voids it
The privacy gate and edge appliancesThey decide what may be matched and what is discarded
Member accounts and paymentsDirect financial harm if a match is abused
Models and training dataPoisoned or biased models cause wrong matches
Keys, credentials and signing keysPer-member keys and signatures protect templates and filings
Trust of shoppers and regulatorsMisuse ends the programme

Data flow and trust boundaries

Data flow and trust boundaries Members, staff and attackers reach the platform from the internet and the corporate network. The software platform in the application zone calls the AI gateway and models in the AI zone, the retail gateway and records in the retail zone, and the lakehouse. The store zone holds cameras, the edge appliance with its privacy gate, and the template vault on an isolated network with no route from the AI side. Each boundary crossing is scanned, signed or authorised. INTERNET AND CORPORATE NETWORK Members and staff app · kiosks · consoles Attacker or compromised account APPLICATION AND AI ZONES Retail platform advisors · copilot AI gateway Prisma AIRS scans Models providers RETAIL ZONE AND DATA Retail gateway scopes · signed approvals Consent and records Lakehouse aggregates · evals STORE ZONE Cameras isolated network Edge privacy gate consent · zones · discard Template vault encrypted · per member frames matches No route exists from the AI or application zones to the store zone. Consent state flows in; frames and templates never flow out.
Four zones and the arrows that cross between them. The store zone has no route from the AI side.

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)ThreatSTRIDEControlsResidualVerified by
T1Spoofing a member with a photo, video or maskSpoofingLiveness at enrolment; presentation-attack detection at the lane; confirmation with a second factorMediumPresentation-attack test set
T2Theft of the template vaultInformation disclosurePer-member keys in hardware-backed storage; encrypted at rest; vault on an isolated network; no bulk exportMediumPenetration tests, key audits
T3Tampering with consent records to allow matchingTamperingAppend-only consent register; gate treats unknown as no; signed changes; auditLowRegister tamper tests
T4Function creep: using templates for watchlists, pricing or marketingElevation of privilegeNo such tools exist; purpose bound to consent; four-eyes on any new purpose; audit samplingMediumPolicy audits, tool inventory review
T5Compromised edge appliance that stores framesInformation disclosureFrames in memory only; signed firmware; disk encryption; self-check; forensic inspection in releaseLowEdge inspection tests
T6Zone misconfiguration that enables matching outside an opt-in zoneTamperingZone changes reviewed and signed; gate decision events audited; signage checkedLowGate tests, zone audits
T7Bias that makes errors more likely for some groupsInformation disclosureSubgroup validation before release; monitoring by group; release blocked on gapsMediumSubgroup reports
T8Hidden instructions in requests or documents reaching a language modelTamperingInput scan; structured facts only; assistant has no tool that reads another member's data or changes consentLowAdversarial set A1 to A8
T9Leaking personal data through drafts, logs or telemetryInformation disclosureOutput scan; ownership checks; collector drops member references and raw scores; masks in the lakehouseLowPrivacy set P1 to P10, telemetry scan
T10A response changed after the officer approved itTamperingSigned content hash; only the approved version can be sentLowSending tests
T11Credential or signing key theftSpoofingHardware-backed keys; strong authentication; short-lived sessions; separation of signing from AI componentsMediumAccess reviews, red team
T12Ransomware or outage at head officeDenial of serviceStores check out normally without Face Pass; edge gate works offline; offline backupsMediumRecovery drills
T13Poisoned enrolment, such as enrolling someone else's faceSpoofingLiveness; account verification; second factor; rate limits on enrolmentMediumEnrolment attack tests
T14Tampered software update or model releaseTamperingSigned artefacts; staged, reversible release; privacy and fairness gatesLowRelease audits
T15Insider misuse of templates or settingsElevation of privilegeRole-based access; no human access to templates; four-eyes on settings; audit samplingMediumAccess review, audit sampling

Mapping to the OWASP Top 10 for LLM Applications

RiskWhere it shows up hereThreatsPrimary control
Prompt injectionRequests, emails, retrieved policiesT8Scans and structured facts
Sensitive information disclosureDrafts, tools, logsT9Ownership checks, output scan, redaction
Supply chainModels, libraries, vendor platforms, edge firmwareT5, T14Signed artefacts, provider terms, gated changes
Data and model poisoningTraining data, policy index, evaluation setsT7, T13Consented, reviewed data; validation; drift monitoring
Improper output handlingModel output passed to toolsT8, T10Schema validation, draft-only tools, signatures
Excessive agencyTool scopes and write pathsT4, T10Read and draft only; sending and deleting are not AI tools
System prompt leakageInstructions and tool definitionsT8No secrets in prompts
Vector and embedding weaknessesPolicy retrievalT9Filters at query time, source control
MisinformationA wrong policy or fact stated in a draftT8, T10Citations, grounding checks, person review
Unbounded consumptionFloods and long inputsT12Budgets, rate limits, size limits

An attack tree, defensively: obtain or misuse face data

  1. Goal

    Identify a shopper who did not opt in, or take over a member's identity.

  2. 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.

  3. 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.

  4. Path C · Impersonate a member

    Liveness checks, presentation-attack detection and a second-factor confirmation stand between a face and any action.

  5. 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.

  6. Result

    No single control carries the whole defence, and every path ends at a refusal, a confirmation by the member or a person.

Hidden instructions in a rights request blocked at the scan A rights request email contains hidden text telling the assistant to include another member's consent history. The text is scanned, the scan blocks it, and the team documents manually. A security event records the block without the content. Request email Intake Prisma AIRS Privacy copilot Privacy team request with hidden instructions extract text scan extracted text block: indirect injection item blocked, reason code document manually, no content The model never sees the hidden text.
Hidden instructions in a rights request blocked at the scan

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.

A photo held up at the lane fails liveness and confirmation Someone holds up a photo of a member at the Face Pass lane. The gate allows matching because the zone is opt-in, but presentation-attack detection flags the frame, no proposal is made, and the lane falls back to standard checkout. The attempt is counted without storing the image. Person with photo Edge camera Privacy gate Matcher Kiosk Audit log photo of a member frame at the opt-in lane match, with attack detection presentation attack suspected no proposal: use standard checkout discard frame audit: attack suspected, no image kept
A photo held up at the lane fails liveness and confirmation

Even a perfect spoof would still need the member's phone for the confirmation. Two independent factors stand in the way.

Security testing

Residual risk and acceptance

RiskResidualOwnerDecision
Spoofing despite liveness (T1)MediumSecurity and edge engineeringAccepted with presentation-attack detection and a second factor
Vault theft (T2)MediumSecurityAccepted with per-member keys, isolation and monitoring
Bias across groups (T7)MediumQuality and fairness leadAccepted with subgroup validation and monitoring; gaps block release
Credential or key theft (T11)MediumSecurityAccepted with hardware-backed keys and strong authentication
Insider misuse (T15)MediumSecurity and privacy officeAccepted 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