RAIA™ Specification

Documentation

Sovereign tenant identity checking represents our ultimate defense against **corporate subletting scams**, which cost UK landlords millions in legal damages, eviction fees, and physical asset destruct

← Back to Developer Hub TEXTBOOK SPECIFICATION
RAIA™ (Real estate Artificial Intelligence Agent) Specification

Sovereign tenant identity checking represents our ultimate defense against **corporate subletting scams**, which cost UK landlords millions in legal damages, eviction fees, and physical asset destruct

🧩 Section A: In Plain English

Anti-Subletting Identity Protocol

Sovereign tenant identity checking defends against corporate subletting scams by linking biometric identity verification directly to property lockbox key custody logs, ensuring the person holding the keys is the authorized tenant.

1.4.2 Cryptographic Anti-Subletting & Sovereign Tenant Identity

Identity Moats

Sovereign tenant identity checking represents our ultimate defense against **corporate subletting scams**, which cost UK landlords millions in legal damages, eviction fees, and physical asset destruction annually. In a legacy letting agency, identity checks are treated as a static paperwork exercise: checking a passport copy or utility bill once at lease signing and then never checking again.

RAIA™ (Real estate Artificial Intelligence Agent)’s **Sovereign Identity Tenancy Protocol (SITP)** (detailed in STR-013) completely replaces this static model. We link the tenant’s biometric identity (verified via Sumsub) directly to the property's physical lockbox key custody logs (tbl_keys_log) at the database layer.

1

Biometric Sumsub KYC & Crypto Proofs

Instead of vulnerable photocopy PDFs, tenants undergo direct biometric facial liveness and passport checks via Sumsub. Once verified, the cryptographic KYC handshakes are linked directly to their profile, presenting tamperproof legal proofs.

2

Handshake-Gated Physical Key Custody

Physical lockbox access codes and key releases (tracked in tbl_keys_log) are dynamically gated. A key is only released if a double-agent digital handshake is verified: confirming that the requester's physical phone/identity matches the verified biometric signature.

The Cryptographic Key Release & Audit Loop

Zero-Leak Operational Security

In the SITP network, the physical keys of the property are governed by deterministic cryptographic state checks. This ensures that unauthorized guests or subletters can never access the keys without triggering an immediate legal exception block:

1 Biometric Vetting Sumsub live KYC check tbl_profiles.verified

Repository Code

The live codebase implementation for this specification sits within the following repository folder:

nd="url(#arrow-sublet)" /> Token Handshake 2 Smart Key Release Dynamically generated PIN tbl_keys_log Continuous Audit 3 Subletting Prevention Unauthorized safe opens Auto-Escalation Block
📊 Operational Impact Ledger — Subletting Defenses
Subletting Prevention Save £15,000 / Scam Prevents costly evictions & court legal damage.
Key Safe Gaps 12% → 0% Key Loss Digital key tracking linked directly to tenant profiles.
Identity Accuracy 100% Biometric KYC Sumsub biometric liveness replaces photocopies.
Security Audits Instant Alerts Auto-escalates unapproved key safe accesses.
🔧 Section C: Developer Guide

Architecture Details

The security architecture implements a defence-in-depth model with perimeter authentication, internal authorisation, data encryption, and audit logging at every layer. Access is gated through a two-gate system: Tailscale identity verification at the network level, followed by role-based access control within the application.

  • Core Component: Security gate guard and RBAC enforcement
  • Data Flow: Request → Tailscale Gate → Authentication → Authorisation → Audit Log → Response
  • Integration Points: Tailscale ACLs, Supabase Row-Level Security, session tokens, and audit log sinks

Configuration Reference

Key configuration parameters for this system:

Parameter Type Default Description
gate_enabled boolean true Enable Tailscale gate guard for all pages
allowed_hosts string[] dev.estateaigents.com, localhost Whitelist of permitted hostnames
session_ttl_minutes integer 60 Session token time-to-live
SECURITY ARCHITECTURE — DEFENCE IN DEPTH 1. NETWORK GATE Tailscale Identity Network-level Auth 🔐 Tailscale Gate 2. APPLICATION GATE RBAC Enforcement Session Validation 🛡️ Auth Layer 3. DATA GATE RLS & Encryption Audit Logging 🔒 Data Protection Defence-in-depth: network gate → application gate → data gate with audit logging at every layer Tailscale identity · Role-based access · Row-level security · Full audit trail Network / Identity Gate Application / Auth Layer Data / Encryption Layer Data flow →

Figure 2: Security architecture — component interaction and data flow.

Troubleshooting

Issue Cause Resolution
401 Unauthorized on tailnet Tailscale not running or wrong node Verify Tailscale is connected and node is authorised
Gate guard redirect loop Hostname not in allowed_hosts list Add hostname to the gate guard whitelist
Repo Reference RAIA

This component is part of the RAIA (Real estate Artificial Intelligence Agent) platform mono-repo. Implementation details, API contracts, and integration tests are available in the repository.