Methodology & Architecture Report
← Back to App Sample Deliverables
🔬 Technical Audit Whitepaper · ChildSafe AI & PrivaComply v1.2

How the Empirical Web Surface Scanner Works: From Perimeter Probing to Statutory Compliance Synthesis

An authoritative technical reference explaining how ChildSafe AI and PrivaComply deep-crawl digital domains, extract empirical telemetry, evaluate regulatory risk, map findings to statutory frameworks, and synthesise audit-grade compliance packs.

1. Operating Model 2. Multi-Tier Scanner 3. Extracted Telemetry 4. Scope & Limitations 5. Live Simulator 6. Framework Cross-Walk 7. Dual-Engine Analysis 8. Deliverable Synthesis
01

System Architecture & Role-Specific Routing

👶 ChildSafe AI Mode (B2C & EdTech Services)
Audits child-directed applications, schools systems, and public online services under:
  • ICO Children's Code (15 Statutory Standards)
  • UNCRC General Comment No. 25 (Child Rights)
  • Online Safety Act 2023 / Age Assurance Doctrine
  • DfE Keeping Children Safe in Education (KCSIE 2024)
  • EU Kids Act (COM/2026/681) & EU AI Act
🏢 PrivaComply B2B Mode (Enterprise & Vendor Due Diligence)
Evaluates commercial SaaS vendors, cloud service providers, and data controllers under:
  • UK GDPR Article 28(3) Mandatory Processor Contracts
  • Data (Use and Access) Act 2025 (DUAA s.103 Complaints & Art. 22A)
  • UK International Data Transfer Addendum (IDTA / Chapter V)
  • PECR Regulation 6 Prior Consent Gating
  • NCSC Cyber Essentials Control 2 & ISO/IEC 27001 Annex A.8
02

The Multi-Tier Web Surface Crawling Architecture

Because modern web platforms use diverse rendering stacks—from static HTML to heavy client-side React/Next.js single-page applications (SPAs) and Cloudflare edge gateways—the scanner employs a resilient three-tier inspection pipeline:

Tier 01
Direct HTTP Probe

Dispatches a low-latency direct HTTP request simulating a desktop browser (Chrome 128 User-Agent). Probes raw server HTTP response headers directly to calculate perimeter encryption and transport security without middleware interference.

RFC 6797 HSTS Content-Security-Policy X-Frame-Options X-Content-Type-Options NCSC Grade A–F
Tier 02
Headless Chromium

If Tier 1 detects an empty client SPA skeleton (e.g., <div id="root"></div>), a CDN challenge, or fewer than 250 words, the scanner automatically escalates to a headless browser runtime. This renders the full dynamic DOM, executing client-side hydration and JavaScript consent banners.

React / Next.js / Vue Hydration Dynamic CMP Modals Rendered Markdown Extraction Client DOM Beacons
Tier 03
Policy Deep-Crawl

Executes precision link scoring to discover the platform's primary privacy notice, cookie declaration, and Article 28 terms. It tests standard statutory endpoints (/privacy, /privacy-policy, /legal/privacy), filters out external third-party links (Google, Meta), and extracts up to 60,000 characters of substantive legal text.

Link-Scoring Algorithm Third-Party Domain Disqualification Substantive Text Verification (>80 words) DPA & Terms Discovery
03

The Empirical Signal Registry: What the Scanner Inspects

🍪 Consent Management (CMPs)
Detects 11 major CMP engines (OneTrust, Cookiebot, Civic UK, Didomi, Usercentrics, Axeptio, Klaro, Termly, TrustArc, Complianz, Iubenda). Evaluates presence of an unbundled "Reject All" option vs pre-ticked consent under PECR Reg 6.
🌐 Ad-Tech & Tracking SDKs
Scans DOM tags and script calls against known telemetry signatures (Google Tag Manager, GA4, Meta Pixel, TikTok SDK, Hotjar, Mixpanel, Amplitude, Criteo). Flags tracking firing prior to affirmative consent.
👶 Age Verification Integrity
Differentiates certified age assurance integrations (Yoti, Veriff, Persona, Onfido, OneID) from self-declaration age dropdowns or checkboxes (which are rejected as ineffective under Ofcom & ICO doctrine).
🎮 Nudges & Dark Patterns
Searches for engagement streak notifications ("keep your streak alive"), scarcity countdowns ("limited time"), and gamification tokens (XP, badges, coins) that violate Children's Code Standard 13.
⚖️ DUAA s.103 Complaints
Scans for dedicated electronic complaint submission forms and ICO escalation notices, differentiating them from generic DPO email inboxes under DUAA 2025 Section 103 (DPA 2018 s.164A).
🛡️ Perimeter Cyber Hygiene
Probes HTTP transport headers (HSTS max-age, includeSubDomains, Content Security Policy, X-Frame-Options) and scores perimeter defense under NCSC Cyber Essentials and UK GDPR Article 32.
04

Comprehensiveness vs. Architectural Boundaries

✅ What the Scanner Empirically Audits
  • Public Attack Surface: All internet-facing interfaces, marketing portals, and documentation pages accessible to users, parents, and regulators.
  • Client-Side Telemetry: Tracker beacons, ad pixels, third-party CDNs, and cookie consent banners injected into the browser runtime.
  • Perimeter Transport Security: Real-world server response headers, TLS grade, HSTS enforcement, and cross-site scripting (CSP) headers.
  • Published Legal Instruments: Privacy notices, children's summaries, terms of service, and public Article 28 DPA schedules up to 60,000 characters.
  • Regulatory Front-Door: Evaluates exactly what the ICO, Ofcom, or an enterprise procurement officer sees on Day 1 of an inspection.
⚠️ Architectural Limitations (Out of Scope)
  • Authenticated Backend: Pupil classrooms, authenticated LMS dashboards, parent portals, and internal grading databases behind login paywalls.
  • Server-Side Encryption: Database encryption at rest (AES-256) and multi-tenant cloud storage partition architectures.
  • Deferred Dynamic Calls: Background network requests that execute only after deep multi-step user gameplay or complex form submissions.
  • Aggressive Anti-Bot CAPTCHAs: Platforms protected by Cloudflare Turnstile or PerimeterX challenges that block headless web crawlers.
  • Internal Enterprise Operations: Internal staff vetting, offline DPIAs, physical security, and corporate ROPA records not published online.
05

Live Simulator: Test How Telemetry Signals Impact Compliance

Toggle real-world digital perimeter signals below to see how the assessment engine recalculates statutory compliance scores, identifies legal violations, and builds the 90-day remediation roadmap in real time:

Live Compliance Telemetry Engine
Simulating: EdTech Pupil Learning Platform
Calculated Compliance Score
94/100
🟢 GREEN · Statutory Baseline Met
Active Breaches: 0 statutory findings
Dynamically Generated Statutory Findings & Roadmap Actions:
✅
Compliant Consent Architecture: Prior consent gating active under PECR Reg 6 with explicit "Reject All" choice.
06

The Statutory Cross-Walk Matrix

Every empirical signal extracted by the crawler is mapped into specific statutory provisions. Use the filters below to inspect how empirical indicators translate into legal findings:

Empirical Web Signal Governing Framework Statutory Citation Evaluation & Impact on Scoring
No Age Gate Detected ICO Children's Code Standard 3 (Age-Appropriate Application) RED Critical Failure. Doctrine mandates the platform must treat all users as under 18 and apply maximum privacy defaults across the entire service.
Self-Declaration Age Checkbox ICO Code / Ofcom (Oct 2026) Standard 3 / Online Safety Act s.12 AMBER Gap. Self-declaration birthdates or tick-boxes are explicitly rejected under regulatory guidance as ineffective. Certified digital ID or facial estimation required.
Missing Cookie Consent CMP PECR 2003 / UK GDPR PECR Reg 6 & UK GDPR Art. 6(1)(a) RED Violation. Non-essential tracking scripts fire prior to affirmative opt-in. Breaches lawfulness of processing baselines.
Addictive Daily Streaks / Nudges ICO Children's Code Standard 13 (Nudge Techniques) AMBER Violation. Engagement prompts calibrated for commercial screentime metrics exploit child vulnerability in violation of UNCRC Article 3.
Missing HSTS Response Header UK GDPR / NCSC Cyber Essentials UK GDPR Art. 32(1) / CE Control 2 RED Deficiency. Web traffic is vulnerable to SSL-stripping and transport downgrade attacks. Deducts points from Technical Security Measures (TOMs).
Generic DPO Email Only Data (Use & Access) Act 2025 DUAA Section 103 (DPA 2018 s.164A) AMBER Gap (Controllers). Controllers must provide an accessible electronic complaint intake mechanism (form); a bare email address fails the statutory requirement.
No Article 28 DPA Published UK GDPR Article 28 UK GDPR Art. 28(1) & Art. 28(3) RED Procurement Hold. In B2B mode, vendor cannot be engaged until binding contractual terms covering instructions, deletion, and audits are signed.
Automated Recommendation Profiling DUAA 2025 / UK GDPR DUAA Art. 22A & UK GDPR Art. 22 AMBER Requirement. Requires transparent profiling notices and meaningful Human-in-the-Loop intervention workflows.
Third-Party Tracker Domains Firing ICO Children's Code Standard 9 (Data Sharing) AMBER Gap. Data sharing with commercial ad-tech partners must be disclosed in child-friendly language with parental controls.
Missing Content-Security-Policy NCSC / ISO 27001 ISO 27001 Annex A.8.26 AMBER Gap. Perimeter lacks defense-in-depth against client-side cross-site scripting (XSS) and malicious iframe injection.
07

The Dual-Engine Analysis: Determinism Meets AI Contextual Reasoning

⚙️ Engine 1: Deterministic Evidence Anchor
Hard physical evidence—such as whether HSTS is present on the server, whether trackers fire without a CMP, or whether a certified age gate exists—is calculated mathematically. The AI is strictly bound by established facts and cannot hallucinate that absent controls exist.
🧠 Engine 2: Contextual LLM Reasoning
Gemini 3.8 Flash assesses complex legal nuances that regex cannot evaluate:
  • Is the privacy notice readable to a 9-year-old child under Standard 4?
  • Does stated legitimate interest hold up, or does it disguise commercial exploitation?
  • Does the EdTech act as an independent Controller or a contracted Processor?
08

Downstream Synthesis: Six Publication-Grade Audit Deliverables

📊
1. Executive Compliance Report
Stage 3 Summary
Full article-by-article compliance scorecard, RAG classification, top 5 immediate priorities, and perimeter security grade.
📋
2. Statutory DPIA Deliverable
UK GDPR Art. 35
Official 7-section statutory impact assessment featuring a 16-point thematic risk matrix and mitigation governance roadmap.
🛡️
3. Child Rights Assessment (CRIA)
UNCRC GC No. 25
Article-by-article evaluation across child agency, best interests, privacy, access to information, and protection from commercial exploitation.
🏢
4. Article 28 / Controller Audit
B2B Vendor Due Diligence
Evaluates vendor contracts, sub-processor notification, AI model training prohibitions, or data controller statutory governance.
🗺️
5. 90-Day Corrective Roadmap
Immediate · Short-term · Ongoing
Prioritised engineering backlog with day ranges, effort metrics, assigned owners (DPO, CTO), and visual Gantt chart timeline.
🏅
6. Verified Compliance Certificate
HITL Security Locked
Official two-page certificate with SHA-256 session hash, locked behind PIN-authenticated Human-in-the-Loop review.