Back to Home
SECURITY & PRIVACY ARCHITECTURE WHITEPAPER

How GX Parent Control Protects Family Data & Privacy

Parental monitoring software handles sensitive family information. Instead of hiding behind vague marketing claims, this document explains our exact cryptographic layers, ephemeral relay design, rolling schema compatibility, OS-enforced update signing, and the engineering trade-offs behind every architectural decision.

Payload Cipher
AES-256-GCM
12-byte random IV
Transport
HTTPS & MQTTS
TLS Encrypted Channels
Live Streams
WebRTC DTLS/SRTP
Encrypted Media P2P
Log Retention
Ephemeral Relay
Purged on Delivery
OTA Integrity
APK Sig v2/v3
OS-Enforced Keystore
★

Our Core Security Commitments

No Third-Party Data Sales

Family monitoring data is never sold, shared with advertisers, or transferred to third parties under any circumstances.

Encrypted Transport & Payload Crypto

All traffic travels over TLS 1.2/1.3 (HTTPS & MQTTS), with client-side AES-256-GCM on SMS, Notifications, Call Logs, Keystrokes, and (in Kids v11.3+ with parent_enc_v2) GPS, Contacts, and GXE1 media, plus HMAC-SHA256 command signing.

Auto-Purge on Delivery

Activity logs are deleted from relay servers immediately after the parent device retrieves them. No permanent log warehouse exists.

Visible Monitoring — Always

The child device displays a permanent system notification while monitoring is active. GX is consent-based family software — not covert spyware.

Strict Family Isolation

Per-device encryption keys and broker ACLs ensure no parent or device can subscribe to or read another family's data.

Zero Master Secrets in APK

Administrative credentials and signing secrets are server-side only. Decompiling the APK exposes no sensitive master keys.

01

Defense-in-Depth Cryptography & Schema Evolution

GX Parent Control applies TLS 1.2/1.3 transport encryption across every channel alongside client-side AES-256-GCM encryption on SMS, Notifications, Call Logs, Keystrokes, and (in Kids v11.3+ with parent_enc_v2) GPS coordinates, Contacts, and GXE1 media uploads.

Client-Side AES-256-GCM

SMS, notifications, call logs, and keystrokes—plus GPS, contacts, and GXE1 media when parent_enc_v2 is active—are encrypted locally on the child device using EncryptionHelper before serialization.

  • Algorithm: AES/GCM/NoPadding (256-bit)
  • IV: Unique 12-byte SecureRandom per item
  • Integrity: 128-bit GCM authentication tag

Encrypted Transport & Media

All API and signaling traffic travels inside TLS tunnels, while real-time audio, camera, and screen streams bypass REST storage entirely via WebRTC.

  • REST APIs: HTTPS (TLS)
  • Real-Time Control: MQTTS (TLS)
  • Live Streams: WebRTC DTLS + SRTP

Kids v11.3+ Ciphertext-Only Schemas & Rolling Compatibility

Kids v11.3+ Upgrade: Starting in Kids v11.3+, SMS, Notifications, Call Logs (number/name), and Keystrokes transmit ciphertext-only AES-256-GCM payloads with all legacy plaintext compatibility fields removed (address, body, plain_title, plain_message). When paired with updated Parent clients (parent_enc_v2), Kids v11.3+ also encrypts GPS coordinates (lat/lng), Contacts, and Gallery/Screenshot uploads (GXE1) with client-side AES-256-GCM, while non-identifying motion/status fields (accuracy, altitude, speed, timestamp, battery) travel over TLS 1.2/1.3.

For legacy < v11.3 installations already in the field, the Parent app maintains zero-downtime backward compatibility across TLS 1.2/1.3 channels so existing families never experience service interruption.

Why GCM instead of basic CBC? AES-GCM is an authenticated cipher. If even a single bit of ciphertext is modified in transit or storage, decryption automatically fails rather than silently producing corrupted output.
02

Ephemeral Relay Architecture & Presence State

Many monitoring apps dump every SMS, call log, and notification into a permanent third-party cloud database where years of family history accumulate indefinitely. GX Parent Control uses an ephemeral relay queue instead.

Data Delivery & Auto-Purge Lifecycle
1. Child Device Serializes & encrypts payload locally
2. Relay Queue Holds batch temporarily in transit
3. Parent Device Authenticates, fetches & decrypts locally
4. Auto-Purged Deleted from relay immediately after delivery

Ciphertext-Only Relay, Metadata Scope & Log Hygiene

In Kids v11.3+, the relay holds encrypted ciphertext payloads for SMS, Notifications, Call Logs, Keystrokes, and (parent_enc_v2) GPS/Contacts, purging them immediately upon delivery. Structural telemetry metadata (battery level, network state, timestamps, and device IDs) is transmitted over TLS 1.2/1.3 without AES-GCM wrapping.

Why MQTT Uses Retained Messages for Status Only

In MQTT, the retained flag is reserved strictly for device presence (/status — online/offline/lastSeen) so a parent opening the dashboard sees immediate connection state without waiting for a heartbeat. Activity logs and events are never published as retained messages.

03

Authenticated Pairing & Role-Scoped Broker Credentials

Device pairing and MQTTS broker access are gated by cryptographic device tokens, authenticated parent sessions, and strict server-side Access Control Lists (ACLs).

Step-by-Step Pairing & Credential Isolation

  1. Device Enrollment

    The child device generates a high-entropy bootstrap token and registers its pairing session over HTTPS (TLS 1.2/1.3).

  2. Authenticated Claim

    To link a child device, the parent must present a valid Supabase JWT session token alongside the pairing code, protected by strict per-IP and per-account rate limits.

  3. Broker Credential Isolation & Revocation

    Once paired, both devices receive unique, role-scoped MQTTS credentials restricted to their specific pairing relationship. Unpairing immediately revokes active broker ACLs and archives the pairing record.

04

APK Hardening & The Reality of Decompilation

Every Android APK—whether it is a banking app, a messaging app, or a system utility—is a ZIP archive containing compiled Dalvik bytecode (.dex). Anyone can open any APK with tools like jadx or apktool. Static decompilation is a normal property of Android, not a security flaw.

R8 & StringFog Protection (Kids v11.3+ & Parent)

Both apps run full R8 shrinking, aggressive overloading, package flattening, debug-info stripping, compile-time string encryption (StringFog), and build-time asset encryption (AES/CBC/PKCS5Padding). Internal network/crypto manager classes are also obfuscated in release builds.

Zero Master Secrets in APK

API signing secrets, subscription validation, and authorization rules live strictly on the backend. Decompiling the APK yields zero administrative credentials.

Selective Reflection Rules

Specific serialization models and JNI bridges retain predictable signatures intentionally so WebRTC, Firebase, and background services never crash across OEM Android builds.

Public Client Identifiers vs. Backend Secrets (BaaS & WebRTC ICE)

Mobile apps using Firebase, Supabase, or WebRTC must bundle public client routing identifiers (such as project URLs, public anon keys, and dynamically fetched STUN/TURN ICE endpoints for carrier NAT traversal). By design, these identifiers carry zero administrative privileges—database access is gated by server-side Row-Level Security (RLS) and JWT verification, while TURN-relayed media streams remain end-to-end encrypted via WebRTC DTLS/SRTP.

05

OTA Update Integrity & OS-Enforced Signing

Because comprehensive child-safety services (SMS, call-log, and accessibility oversight) cannot be distributed through standard app-store channels, GX Kids uses an Over-the-Air (OTA) self-update pipeline to deliver security patches and Android OS compatibility fixes remotely.

OS-Level APK Signature, SHA-256 & Anti-Rollback (Kids v11.3+)

On Android, an app update cannot be installed by any third party unless the new APK is cryptographically signed with the exact same private release keystore (APK Signature Scheme v2/v3) as the installed app. Version downgrades are blocked by both client-side isUpdateNewer() checks and Android OS versionCode enforcement. Starting in Kids v11.3+, OTA update handlers also parse and enforce sha256 checksum verification before installation.

Accessibility-Assisted OEM Update Completion

Modern Android OEMs (Samsung, Xiaomi, ColorOS, Vivo) fragment installation dialogs and often block background security patches behind multi-step prompts. On already-paired, parent-managed child devices, GX uses Android's PackageInstaller session API and accessibility-assisted prompt completion—strictly for updates passing OS-enforced APK Signature Scheme v2/v3 verification—so parents don't have to physically recollect the child's phone for every patch.

06

Certificate Trust & Channel Separation

Why System CA Validation Instead of Rigid Leaf-Certificate Pinning?

Modern TLS infrastructure uses automated 90-day certificate renewals (such as Let's Encrypt). Hardcoding leaf or intermediate certificate hashes inside a mobile binary is a common cause of sudden, fleet-wide app outages when certificates rotate or when users are behind legitimate carrier gateways. GX Parent Control enforces TLS validation against Android's System-Trusted Certificate Authorities, guaranteeing continuous child-safety connectivity alongside standard server identity verification.

Strict HTTPS / MQTTS Transport Across Both Apps

Both the child and parent applications enforce cleartextTrafficPermitted="false" across external network connections. All sensitive data, telemetry, pairing, FCM registration, and authentication calls run over HTTPS (TLS) and MQTTS.

07

Strict Tenant Isolation & Broker-Level Command Auth

  • Per-Device Broker ACLs, HMAC Signing, TTL & Replay Guards (Kids v11.3+): Every child device and parent account is provisioned with isolated broker roles at the TLS + MQTT ACL layer. Starting in Kids v11.3+ paired with updated Parent apps, commands carry HMAC-SHA256 signatures (sig) bound to kidUid|command_id|action|timestamp|expires_at, alongside TTL expiry checks (expires_at) and command_id replay deduplication across MQTT and LAN channels (dual-mode compatible with < v11.3).
  • JWT-Verified Operations: Claiming a pairing code, fetching credentials, or unpairing a device requires a valid, server-verified Supabase authentication token.
  • Rate Limiting & Replay Guards: Enrollment, pairing claims, and unpair endpoints enforce per-IP and per-account rate limits alongside idempotent bootstrap token verification and strict state-machine checks (PENDING → CONNECTED → UNPAIRED).
  • On-Device Sandbox Isolation: Local app preferences, offline queues, and pairing state are stored strictly inside Android's private application sandbox (Context.MODE_PRIVATE), isolated by the Linux UID boundary from other installed apps.
  • Instant Revocation on Unpair: Unpairing immediately updates the server-side access list and revokes broker permissions for that parent-child link.
09

How GX Compares to Other Parental Control Apps

Every app in this category makes trade-offs between security, usability, and cost. Here's an honest comparison of key security and privacy properties:

Feature GX Parent Control Google Family Link Qustodio mSpy
Client-side payload encryption ✓ AES-256-GCM Transport-only TLS Transport-only TLS Transport-only TLS
Visible monitoring notification ✓ Always ✓ Always ✓ Always Optional stealth
Ephemeral log relay (auto-purge) ✓ Yes Google cloud retained Cloud retained Cloud retained 30+ days
Live screen & camera streaming ✓ WebRTC DTLS/SRTP Not available Screenshots only Screenshots only
Zero master secrets in APK ✓ Yes Yes (Google infra) Partial Partial
Public security documentation ✓ This page Yes Partial Minimal
Information sourced from public documentation of respective products. Features may vary by subscription tier and device.
10

Your Data Rights & Account Deletion

Instant Device Unpairing

Any parent can unpair a child device at any time from within the app. Unpairing immediately revokes all server-side broker permissions and ACLs for that device relationship — no future data or commands can be exchanged. Because GX delivers live media P2P (WebRTC) and deletes relayed activity logs from the server immediately upon delivery, no historical log archive exists on GX servers; past history resides only in the parent app's own local cache on their device.

Account & Data Deletion

To request full account and data deletion, contact us at guardx.support@gmail.com. Consistent with our Privacy Policy, we remove your authentication record, active relay queue, and associated provisioning data within 48 hours.

What data does GX process & hold?

Relay Queue (Ephemeral)
  • Activity logs (SMS, notifications, GPS, contacts, call logs — deleted on delivery)
  • Device telemetry (battery, network state)
Provisioning Server
  • Encrypted pairing & broker credentials
  • Parent-child device linkage records
  • Subscription status
Never Stored / Encrypted-Only
  • Live WebRTC audio/camera/screen streams (never recorded)
  • Permanent message/keylog archives
  • Unencrypted gallery/screenshot files on Kids v11.3+ (GXE1 encrypted prior to upload)
11

Responsible Disclosure Policy

We welcome good-faith security research. If you have discovered a potential vulnerability in GX Parent Control — whether through static analysis, network inspection, or runtime testing — please report it to us privately before public disclosure. We commit to responding within 72 hours and resolving valid reports with priority.

Step 1 — Report Privately

Email your findings to guardx.support@gmail.com with a detailed description, reproduction steps, and potential impact.

Step 2 — Coordinated Fix

We will acknowledge your report within 72 hours, work with you on a fix timeline, and credit you if you wish after the vulnerability is resolved.

Step 3 — Safe Disclosure

After the patch is released, we support coordinated public disclosure. We ask for a minimum of 90 days before any public release of technical details.

Out of scope: Static decompilation findings that do not demonstrate an exploitable, authenticated attack path (e.g., observing that an APK contains server endpoint strings or backward-compatible schema keys is expected and not a vulnerability).
12

Technical FAQ

Direct, technical answers to common questions raised during static or network reviews.

1. Someone decompiled the APK with jadx and saw server endpoints. Does that mean the app is unencrypted?
No. Every client-server Android app must know where its backend lives in order to connect. Being able to unpack an APK with jadx only shows client-side structure; it does not bypass TLS transport encryption, AES-256-GCM payload encryption, or server-side JWT authentication.
2. Which GPS and telemetry fields use AES-256-GCM vs. TLS 1.2/1.3 alone?
All traffic travels inside TLS 1.2/1.3 tunnels (HTTPS/MQTTS). In Kids v11.3+, legacy plaintext fields (address, body, plain_title, plain_message) are removed from SMS and Notifications, Call Logs are AES-256-GCM encrypted, and when paired with parent_enc_v2, GPS lat/lng coordinates, Contacts, and Gallery/Screenshot uploads (GXE1) are AES-256-GCM encrypted. Only non-identifying numeric/status telemetry (accuracy, altitude, speed, timestamp, battery, network state) relies directly on TLS 1.2/1.3.
3. How are OTA app updates protected against tampering?
Android's operating system enforces cryptographic APK Signature Scheme v2/v3 verification at install time—PackageManager strictly refuses any APK not signed by the exact same private release keystore. Additionally, Kids v11.3+ enforces sha256 checksum verification when provided in update metadata before installation.
4. Why does GX use a private VPS relay instead of storing logs directly in Firebase?
A private relay acts as a transient delivery queue (Write → Read → Delete) rather than a permanent cloud database. Once the parent device retrieves logs, they are purged from the relay—ensuring sensitive family history is not stored indefinitely on third-party cloud infrastructure.
5. Are live screen, camera, or audio streams recorded on GX servers?
No. Live monitoring uses WebRTC (DTLS/SRTP) to stream encrypted media directly between the child and parent devices (or via an encrypted relay when strict carrier NATs prevent direct peer-to-peer routing). Media streams are never recorded or stored server-side.
6. Why are Firebase/Supabase client keys or STUN/TURN endpoints visible in the APK?
Firebase configs, Supabase anon keys, and STUN/TURN ICE addresses are intentionally public client routing identifiers required for authentication and NAT traversal. Actual data access is enforced server-side via Row-Level Security (RLS) and JWT validation, and TURN relays only see DTLS/SRTP-encrypted media packets.
7. How is local app state protected on the phone, and what prevents API replay abuse?
Local state and offline queues are isolated inside Android's MODE_PRIVATE app sandbox, inaccessible to other apps on standard devices. On the backend, enrollment and pairing endpoints enforce per-IP/per-account rate limits, idempotent token checks, and strict pairing state-machine transitions.
13

Deep-Dive Engineering Trade-Offs & Design Rationale

Every production mobile platform balances strict cryptographic theory against real-world Android OEM constraints, cellular reliability, and family recovery. Below is the engineering rationale behind our deeper architectural choices.

1. Multi-Tenant Ownership, Pairing & Sessions

Every pairing claim, credential fetch, and unpair action validates the caller's Supabase JWT (sub) against server-side parent-child link records, preventing cross-account IDOR access. Pairing endpoints enforce both per-IP and per-account rate limits, while unpairing immediately revokes broker ACLs without waiting for client token expiry.

2. Broker Wildcards, Reconnect Jitter & Scale

The MQTTS broker disables anonymous access and binds each device/parent to isolated role-scoped topics, blocking cross-tenant wildcard subscriptions (# / +). To prevent thundering-herd spikes after network drops or OTA broadcasts, clients apply reconnect backoff and randomized rollout_jitter_seconds.

3. Anti-Downgrade & Supply Chain

Release signing keystores (release.jks) and environment secrets are excluded from source control via strict .gitignore rules. During OTA updates, both client-side version checks (isUpdateNewer) and Android OS versionCode enforcement block unauthorized downgrade attacks.

4. Server-Verified Billing & Media Signing

Subscription entitlements are verified against server-side records rather than trusting local device preferences alone. Media uploads use server-generated signatures with zero upload-secret exposure in the APK, while WebRTC uses dynamically fetched ICE/TURN configurations paired with mandatory DTLS/SRTP encryption.

5. OS Survival, Sandbox & 48-Hour Deletion SOP

Background continuity on Android 12–15 relies on explicit foregroundServiceType declarations and high-priority FCM wakeups rather than invasive hacks. Local state stays inside MODE_PRIVATE sandboxing, Play Integrity / SecurityChecker monitors runtime integrity, and account deletion requests purge provisioning records within 48 hours, aligned with our Privacy Policy.

14

Why Arbitrary or Cross-Account Device Access Is Not Possible

A common concern with any family-safety platform is whether someone—either another user or an infrastructure operator—can arbitrarily view any phone. GX Parent Control is architected around four hard boundaries that prevent unauthorized or cross-device access:

1. Physical Access & Explicit Enrollment Required

No silent remote reach: No device can transmit telemetry, logs, or accept commands unless the GX Kids app is physically installed, granted explicit Android permissions on-device, and enrolled through an active pairing flow. You cannot "type a device ID" on a server to connect to an arbitrary phone.

2. Per-Family Tenant Isolation & Broker ACLs

Cross-account access is blocked: Every parent-child link receives isolated MQTTS credentials, unique per-device encryption keys, and strict server-side Access Control Lists (ACLs). One parent account cannot subscribe to, query, or read another family's paired device topics or data.

3. Visible Monitoring & OS Permission Boundaries

Strict Android OS enforcement: While active, the child device displays a persistent, non-dismissible system notification. Every capability operates strictly within Android's app sandbox and user-granted OS permissions—GX cannot bypass Android security boundaries.

4. Ephemeral Relay & No Central Spy Archive

No permanent server-side data warehouse: The relay queue is transient and purges activity log batches upon delivery to the parent device, while live WebRTC streams are never recorded on servers. There is no accumulated central database of users' private phone history.

15

Senior Engineering Q&A: Why Not the Textbook "Ideal"?

Experienced software engineers often ask why a production mobile system doesn't adopt every textbook cryptographic ideal. Here is why specific idealized patterns break down under real-world Android OS, OEM, and family-recovery constraints.

1. Why not Signal-style Double Ratchet (per-message forward secrecy) for queued logs?
Ratchet protocols require synchronized state and ordered delivery. Child devices routinely enter Doze mode, lose cellular signal, and buffer hundreds of events in offline queues while the parent app is closed. Out-of-order delivery or a parent app reinstall would permanently desynchronize the ratchet and corrupt queued safety logs. A stable per-pairing 256-bit AES-GCM key guarantees deterministic decryption across offline batches.
2. Why not hardcoded SSL pinning plus heavy per-packet RSA/ECDSA signatures?
Hardcoded leaf/intermediate pinning risks fleet-wide outages during automated 90-day TLS certificate rotations or behind legitimate carrier proxies. For command integrity, instead of heavy RSA/ECDSA per-packet operations, Kids v11.3+ uses lightweight HMAC-SHA256 command signatures paired with TTL (expires_at) and command_id replay deduplication over TLS + Broker ACLs.
3. Why not distribute the child app solely via Google Play instead of using an OTA updater?
Play Store policies restrict READ_SMS, READ_CALL_LOG, and broad AccessibilityService APIs even for legitimate parental-control software. Direct distribution with OS-enforced APK Signature Scheme v2/v3 OTA updates is the only viable way to deliver full safety features and keep child devices patched.
4. Why not wrap every single numeric/telemetry field (battery, network state, timestamps) in AES-GCM?
In Kids v11.3+ with parent_enc_v2, GPS coordinates are AES-256-GCM encrypted. However, wrapping every small battery percentage or timestamp individually inflates payload overhead (12-byte IV + 16-byte GCM tag + Base64 per field) and triggers unnecessary wake-locks, so non-identifying status telemetry relies on TLS 1.2/1.3.