Privacy Policy for SafeNest
1. Overview & Privacy-First Architecture
SafeNest is a parental control and family digital safety application designed for parents and legal guardians. We built SafeNest around an on-device-first architecture so that sensitive content inspection, DNS filtering, category time-limit enforcement, weekly wellbeing summaries, and baseline AI safety coaching happen locally on your Android device whenever possible.
2. Information Processed Strictly On-Device
The following features execute locally on the Android device and are never transmitted to third-party ad networks or remote SafeNest content servers:
-
Local DNS Filtering & Category Time-Limit Enforcement (Android
VpnService): When you enable the Local DNS Shield, SafeNest establishes a local loopback VPN interface solely to inspect DNS lookup requests on UDP port 53. Blocked domains (based on your selected safety categories, custom blocklists, and Category Time Limits when a daily app-category budget is reached) receive an immediate local sinkhole response (0.0.0.0). Allowed domain queries are forwarded directly to Cloudflare Family DNS (1.1.1.3/1.0.0.3) for resolution. Non-DNS internet traffic is not inspected or proxied. - On-Device Notification & Text Safety Scanning: If you explicitly grant Android Notification Access, SafeNest runs a 3-stage on-device safety pipeline (lexicon check, phonetic/obfuscation normalization, and on-device semantic scoring) to detect indicators of cyberbullying, self-harm risk, predatory grooming, or phishing. Raw notification text is discarded from memory immediately after local evaluation. Only privacy-redacted risk summaries (with sensitive snippets masked) are stored so parents can review alerts.
-
Screen-Time, Category Budgets & Weekly Wellbeing Summaries:
If you grant Usage Access (
PACKAGE_USAGE_STATS), SafeNest computes daily app usage totals, per-category budgets (Games, Video, Social, etc.), statistical rhythm anomalies (e.g., late-night spikes), and Weekly Summary trend comparisons locally on the device. - On-Device Free AI Safety Coach & Risk Advisor (Tier 3): SafeNest includes an always-free, offline-capable Parent AI Safety Coach, Risk Checker, and Weekly Coaching Brief generator that executes deterministic safety rules, domain checks, and parenting guidance locally on your device with zero cloud API calls.
- Parent PIN & Child Guard Mode: Your optional 4-digit Parent PIN is stored locally in Android Jetpack DataStore as a salted SHA-256 cryptographic hash—never in plaintext and never synced to the cloud.
- Local Event Telemetry & Smart Prompt Cooldowns: SafeNest records lightweight local interaction counts (such as session count, feature actions, and prompt dismissal timestamps) exclusively in on-device Jetpack DataStore to ensure update, rating, and sharing prompts are shown politely and never spammed. This local telemetry is not sent to third-party analytics providers.
3. Optional BYOK Cloud AI & Android Photo Picker
Parents may optionally configure their own personal Google Gemini API key (BYOK — Bring Your Own Key) in AI Engine Settings to unlock deeper cloud coaching and screenshot risk checks. Using BYOK is entirely optional; SafeNest works fully in On-Device Free mode without an API key.
-
Local-Only API Key Storage: Your personal Gemini API key is saved exclusively in on-device Jetpack DataStore
and sent directly from your device to Google's Gemini API endpoint (
generativelanguage.googleapis.com) via thex-goog-api-keyheader. SafeNest never collects, views, or stores your API key on SafeNest or Firestore servers. -
Automatic Local PII Redaction: Before any prompt leaves your device in BYOK mode, SafeNest automatically masks
email addresses (
[EMAIL]), phone numbers ([NUMBER]), 4–8 digit verification/OTP codes ([CODE]), and social handles ([USER]). - Smart Eco Lite & Budget Guardrails: Prompts are deduplicated locally for 45 seconds, conversation context is capped to the most recent turns, and SafeNest can automatically route to Eco Lite mode or fall back to Tier 3 On-Device Free mode whenever your daily budget cap or rate limits are reached.
-
Zero-Permission Android Photo Picker (
PickVisualMedia): When you choose to attach a screenshot in the Risk Advisor, SafeNest uses the system Android Photo Picker—requiring zero broad media or external storage permissions. Only the single image you select is downscaled in memory (max 1024px JPEG, never saved to SafeNest storage) and analyzed transiently via your BYOK key when enabled.
4. Information Stored in Your Cloud Account (Firebase)
SafeNest uses Google Firebase Authentication (via Google Sign-In / Android Credential Manager) and Cloud Firestore so parents can securely persist and synchronize family rules across sessions. Only the parent or legal guardian signs in.
| Data Category | Details Stored | Purpose |
|---|---|---|
| Parent Account Identity | Firebase User ID (UID), display name, email address, and profile photo URL from Google Sign-In. | Authenticate the parent dashboard and enforce strict per-parent Firestore security rules. |
| Child Profiles, Rules & Category Limits | Nickname/label, age group, daily screen-time limit, bedtime hours, DNS category toggles, category daily budgets, and custom blocked domains. | Persist and synchronize parental settings configured by the guardian. |
| Usage Summaries | Aggregated daily screen-time minutes and top app category summaries per child profile. | Display family digital wellbeing insights and weekly trend comparisons on the parent dashboard. |
| Redacted Safety Alerts | Severity level, risk category, timestamp, review status, and privacy-redacted alert summary. | Notify the parent of potential safety concerns while protecting raw message privacy. |
| Hybrid AI Usage Quota Ledger | Per-period request counters (cloudRequestsUsed, feature channel counts), daily grace credit flag, Eco Lite preference, daily cap, and period key (dateIso). Never contains your BYOK key or raw prompts. |
Synchronize daily/monthly AI budget guardrails cleanly across devices using atomic rollover tracking. |
Cloud Firestore security rules restrict every family document and usage quota ledger so that only the authenticated parent account that owns those records can read, modify, or delete them.
5. Android Permissions & Prominent Disclosures
SafeNest adheres to the principle of least privilege. Sensitive permissions are strictly optional, require explicit user action, and are accompanied by clear in-app disclosures before Android system prompts appear:
INTERNET&ACCESS_NETWORK_STATE: Required for parent Google Sign-In, Firestore synchronization, forwarding allowed DNS queries, and optional user-initiated BYOK Gemini requests.BIND_VPN_SERVICE(Local DNS Shield): Used strictly to run an on-device local DNS filter (UDP port 53). No traffic is routed to any SafeNest VPN server.PACKAGE_USAGE_STATS(Usage Access): Optional; requested via Android Settings only when the parent enables real device screen-time synchronization and Category Time Limits.BIND_NOTIFICATION_LISTENER_SERVICE(Notification Access): Optional; requested via Android Settings only when the parent enables on-device safety alert scanning.FOREGROUND_SERVICE&FOREGROUND_SERVICE_SPECIAL_USE: Keeps the local DNS filter active reliably with a persistent status notification while enabled.POST_NOTIFICATIONS: Optional (Android 13+); displays persistent DNS shield status, local parent safety alerts, and optional Weekly Screen-Time Summary reports.
SafeNest does not request broad external storage permissions (READ_EXTERNAL_STORAGE / READ_MEDIA_IMAGES),
QUERY_ALL_PACKAGES, camera, microphone, SMS, call logs, contacts, or background GPS location permissions.
6. Children's Privacy (COPPA & GDPR-K Compliance)
SafeNest is intended to be installed, configured, and controlled exclusively by a parent or legal guardian. Children do not create accounts or sign in to SafeNest. Any child profile nickname or schedule settings are entered solely by the parent to manage digital safety for their family. We do not knowingly collect personal contact information directly from children under 13 (or the applicable age of digital consent in your jurisdiction), and we never use child profile information for profiling, behavioral advertising, or commercial resale.
7. Third-Party Services & External Links
- Google Firebase (Authentication & Cloud Firestore): Provides encrypted authentication and cloud database storage in transit (TLS) and at rest.
- Cloudflare Family DNS (
1.1.1.3/1.0.0.3): Receives standard DNS resolution requests for non-blocked domains when the Local DNS Shield is enabled. - Google Gemini API (Optional BYOK Only): Only contacted directly from your device if you explicitly enter your own Gemini API key and choose BYOK Cloud mode for AI coaching or Risk Advisor checks.
- Google Play Store: When you tap "Update on Play" or "Rate on Play", SafeNest opens the official Google Play Store listing. Sharing uses Android's native share sheet and shares only the Play Store link—never your family rules or personal data.
8. Data Retention, Security & Your Deletion Rights
- In-App Control: You can modify or delete child profiles, custom blocked domains, category limits, alert records, or remove your local BYOK API key at any time inside SafeNest, or disable local permissions in Android System Settings.
- Local Data Removal: Clearing app storage or uninstalling SafeNest immediately deletes all local DataStore records (PIN hash, Child Guard state, BYOK key, local quota mirror, and local engagement logs).
- Account & Cloud Data Deletion: To request complete deletion of your Firebase Authentication account and all associated Firestore family and quota records, email tuyenctbk@gmail.com from your registered Google email address with the subject "SafeNest Account Deletion Request". Requests are fulfilled within 30 days.
9. Changes to This Privacy Policy
We may update this Privacy Policy from time to time to reflect improvements to SafeNest or changes in applicable privacy regulations. The "Effective Date" at the top of this page indicates when the latest revision took effect.
10. Contact Us
If you have questions about this Privacy Policy, our on-device privacy architecture, or your data rights, please contact us at tuyenctbk@gmail.com.