Security Model for Supervised User (//components/supervised_user)

This component implements Chrome's parental controls and supervision features (Family Link and Android device parental controls), including URL filtering, block and re-authentication interstitials, SafeSearch/Restricted Mode and Incognito preference management, extension approval controls, and remote or local (“Ask in person”) parent approval flows. Core supervision services, preference stores, network fetchers, and navigation throttles run in the un-sandboxed Browser process; a small error-page controller runs in the sandboxed Renderer process (and WKWebView JS messaging on iOS) to forward user actions from the block interstitial. Parental controls are a product safety and family-experience feature, not a Chromium security boundary: circumventing parental controls is a functional bug rather than a security vulnerability, whereas standard Chromium security invariants (memory safety, process and origin isolation, parent session/cookie isolation, custodian PII confidentiality from web origins, and non-supervision security interstitial integrity) remain strictly in scope.

Scope

This policy applies to supervised-user code across the following directories and their subdirectories:

  • //components/supervised_user/
  • //chrome/browser/supervised_user/
  • //chrome/renderer/supervised_user/
  • //chrome/common/supervised_user_commands.mojom
  • //ios/chrome/browser/supervised_user/
  • //chrome/browser/ui/supervised_user/ (in addition to //chrome/browser/ui/SECURITY.md)
  • //chrome/browser/ui/views/supervised_user/ (in addition to //chrome/browser/ui/SECURITY.md)
  • //chrome/browser/ui/webui/family_link_user_internals/ (in addition to //chrome/browser/ui/SECURITY.md)
  • //chrome/browser/resources/family_link_user_internals/
  • //chrome/android/java/src/org/chromium/chrome/browser/supervised_user/
  • //chromeos/ash/components/supervised_user/

It does not apply to test directories or test-only utilities: //components/supervised_user/test_support/, //chrome/test/supervised_user/, //chrome/test/data/supervised_user/, or *_unittest.* / *_browsertest.* / javatests/ / junit/ files.

The code below sits on the other side of boundaries described in this file, but is outside its scope. Findings there fall under the owning directory's policy and the global policy; this file does not exclude them.

  • Android WebView supervised-user integration: //android_webview/browser/supervised_user/ (covered by //android_webview/SECURITY.md).
  • ChromeOS Ash Parent Access WebUI dialog: //chrome/browser/ui/webui/ash/parent_access/.
  • Shared URL matching, SafeSearch header injection, and Sync transport: //components/google/core/common/, //components/safe_search_api/, //chrome/common/google_url_loader_throttle.cc, and //components/sync/.
  • Core navigation, StoragePartition, and security-interstitial frameworks: //content/browser/, //components/security_interstitials/, and //ios/components/security_interstitials/.

Security Boundaries & Threat Model

Process type & sandbox

This component spans both Browser and Renderer processes across Desktop (Windows, macOS, Linux, ChromeOS), Android, and iOS:

CodeProcessSandboxReaches this code via
//components/supervised_user/core/browser/, //components/supervised_user/android/, //chrome/browser/supervised_user/, //chrome/browser/ui/supervised_user/, //chrome/browser/ui/views/supervised_user/, //chrome/browser/ui/webui/family_link_user_internals/, //chrome/android/java/src/org/chromium/chrome/browser/supervised_user/, //chromeos/ash/components/supervised_user/BrowserNoneNavigation throttles (ClassifyUrlNavigationThrottle, SupervisedUserGoogleAuthNavigationThrottle), SupervisedUserNavigationObserver, keyed services (SupervisedUserService, SupervisedUserUrlFilteringService, FamilyLinkSettingsService), extension management policy (SupervisedUserExtensionsManager), JNI bridges, and chrome://family-link-user-internals WebUI
//ios/chrome/browser/supervised_user/Browser (iOS app process)iOS app sandboxSupervisedUserURLFilterTabHelper, ParentAccessTabHelper, ParentAccessCoordinator, and SupervisedUserInterstitialJavaScriptFeature script messages from WKWebView
//chrome/renderer/supervised_user/Renderer (Windows, macOS, Linux, ChromeOS, Android)Renderer sandboxSupervisedUserErrorPageControllerDelegateImpl and SupervisedUserErrorPageController installed on committed supervised-user error pages
//chrome/browser/resources/family_link_user_internals/Renderer (WebUI process)Renderer sandboxTrusted chrome://family-link-user-internals WebUI frontend
//components/supervised_user/core/common/, //chrome/common/supervised_user_commands.mojomBrowser and RendererNone (Browser) / Renderer sandbox (Renderer)Dependencies of Browser and Renderer supervised-user targets

The threat model for shared core/common/ code and supervised_user_commands.mojom assumes the most privileged host, the un-sandboxed Browser process.

Execution & caller contexts

  • Web navigations and subframes: Evaluated in the Browser process by ClassifyUrlNavigationThrottle, SupervisedUserGoogleAuthNavigationThrottle, SupervisedUserNavigationObserver, and (on iOS) SupervisedUserURLFilterTabHelper.
  • Committed supervised-user error pages (Renderer / WKWebView):
    • On Desktop, ChromeOS, and Android, SupervisedUserErrorPageController exposes goBack(), requestUrlAccessRemote(), requestUrlAccessLocal(), and (on Android) learnMore() to error-page scripts, which call the Browser-side SupervisedUserNavigationObserver over supervised_user.mojom.SupervisedUserCommands.
    • On iOS, SupervisedUserInterstitialJavaScriptFeature listens in web::ContentWorld::kPageContentWorld for SupervisedUserInterstitialMessage messages and forwards validated enum commands to IOSBlockingPageTabHelper::OnBlockingPageCommandReceived().
  • Local parent approval dialogs (PACP): Embedded web content loading the Google Parent Access widget (families.google.com) in ParentAccessView (Desktop), ParentAccessCoordinator / ParentAccessTabHelper (iOS), ash::ParentAccessDialogProvider (ChromeOS), or Android native bottom sheet (WebsiteParentApproval).
  • Diagnostics WebUI: chrome://family-link-user-internals (FamilyLinkUserInternalsUI / FamilyLinkUserInternalsMessageHandler) exposes read-only supervision state and a URL-filter test helper to a trusted chrome:// WebUI renderer.
  • Browser Extensions: SupervisedUserExtensionsManager registers as an extensions::ManagementPolicy::Provider in the Browser process on platforms with extensions enabled.

Inputs

  • Untrusted (cross-process / web-influenced):
    • supervised_user.mojom.SupervisedUserCommands IPC messages from sandboxed Renderer processes.
    • SupervisedUserInterstitialMessage script messages from WKWebView on iOS (received in web::ContentWorld::kPageContentWorld).
    • Navigated URLs (GURL) and frame states initiated by web content, which pass through navigation throttles, observers, and error-page templates.
    • Base64url-encoded ParentAccessCallback protobuf strings extracted from the result query parameter of families.google.com navigations in ParentAccessDialogResultObserver (Desktop) and ParentAccessTabHelper (iOS), parsed by ParentAccessCallbackParsedResult::ParseParentAccessCallbackResult().
  • Trusted (validated upstream or first-party services):
    • RenderFrameHost frame identity and active state supplied by //content to content::RenderFrameHostReceiverSet<SupervisedUserCommands> and NavigationHandle metadata validated by //content.
    • HTTPS protobuf responses from Google's Kids Management API (kidsmanagement-pa.googleapis.com) parsed by ProtoFetcher / TypedFetchProcess::OnResponse().
    • SUPERVISED_USER_SETTINGS sync entities and local profile preference files parsed as JSON by FamilyLinkSettingsService (base::JSONReader::Read) and mapped by SupervisedUserPrefStore.
    • Android Settings.Secure device parental-control signals observed via ContentFiltersObserverBridge.
    • Messages from the trusted chrome://family-link-user-internals WebUI renderer (FamilyLinkUserInternalsMessageHandler).

Trust relationships

  • Defends against a compromised Renderer: Yes.

This applies to Chromium security boundaries enforced by this component: Browser-process memory safety, frame-bound Mojo dispatch, parent Google account session/cookie isolation during local approval flows, custodian PII confidentiality from untrusted web origins, and preventing cross-origin UI spoofing or interference with non-supervision security interstitials. It does not defend against a compromised renderer (or local user) circumventing parental controls themselves, because parental controls are not a security boundary (see Out of scope (non-bugs)).

Cross-process IPC and messaging validation:

  • supervised_user.mojom.SupervisedUserCommands (Desktop, ChromeOS, Android): Bound per RenderFrameHost via content::RenderFrameHostReceiverSet in SupervisedUserNavigationObserver::BindSupervisedUserCommands(). None of the four Mojo methods (GoBack(), RequestUrlAccessRemote(), RequestUrlAccessLocal(), Android LearnMore()) accept URL, origin, or string parameters from the renderer; the target URL and metadata come solely from browser-owned SupervisedUserInterstitial state. Each handler calls SupervisedUserNavigationObserver::GetInterstitialForFrame(), which verifies that receivers_.CurrentTargetFrame().IsActive() and that a live SupervisedUserInterstitial exists for that FrameTreeNodeId (and GoBack() additionally requires IsInPrimaryMainFrame()). Calls without a matching active interstitial are ignored (or return false); this interface does not call mojo::ReportBadMessage().
  • SupervisedUserInterstitialJavaScriptFeature (iOS): Validates that the incoming WKWebView message body is a dictionary containing a string "command" matching one of three fixed command strings before mapping to a security_interstitials::SecurityInterstitialCommand and forwarding to IOSBlockingPageTabHelper::OnBlockingPageCommandReceived().
  • Local web approvals (PACP): MaybeGetPacpResultFromUrl() restricts query-parameter extraction to URLs matching families.google.com, and ParentAccessCallbackParsedResult::ParseParentAccessCallbackResult() checks base64url decoding and protobuf parsing errors before acting on ParentAccessCallback.

Rule of Two

This component complies with the Rule of Two as follows:

  • Browser process (C++, unsandboxed): Handles safe structured types (GURL, fixed zero-argument Mojo commands, Android Settings.Secure flags) and parses protobuf/JSON payloads only from trusted first-party Google backends (kidsmanagement-pa.googleapis.com over HTTPS in ProtoFetcher, Google Sync and local profile storage in FamilyLinkSettingsService, and families.google.com PACP callback protos via protobuf_lite in ParentAccessCallbackParsedResult::ParseParentAccessCallbackResult()). It does not parse arbitrary untrusted web page content in the Browser process.
  • Renderer process (C++, sandboxed): SupervisedUserErrorPageController and error-page HTML/JS execute inside the sandboxed Renderer process.

Security Boundaries & Explicit Non-bugs

Security boundaries

The following security properties are in scope:

  • Memory safety and lifetime integrity: Memory corruption, use-after-free, or out-of-bounds access in the Browser or Renderer process across throttles, observers, interstitials, verification pages, local-approval views/dialogs, sync/settings services, or protobuf/JSON parsers.
  • Parent credential and session isolation in local-approval flows: When a parent authenticates with their Google account during a local approval (“Ask in person”) flow (ParentAccessView, ParentAccessCoordinator, or platform equivalents), the parent‘s Google session, cookies, or credentials must not leak into the child’s regular browsing StoragePartition/profile or to untrusted web origins.
  • Custodian PII confidentiality from untrusted web origins: Custodian details (such as parent name, email address, or avatar URL embedded via BuildErrorPageHtmlWithApprovals()) must not be readable by arbitrary web origins or compromised web renderers outside the intended error page.
  • Cross-origin UI spoofing and non-supervision interstitial integrity: Supervised-user interstitials, re-authentication pages, dialogs, and JS/Mojo message handlers must not enable cross-origin UI spoofing or allow web content to bypass or interact with non-supervision Chromium security interstitials (such as SSL or Safe Browsing interstitials).
  • Historical vulnerability queries: Historical security bugs in this component can be queried in the Chromium issue tracker (componentid:1456907 type:bug security, per //components/supervised_user/COMMON_METADATA).

Out of scope (non-bugs)

This section is additive to //docs/security/security-for-agents.md and //docs/security/rules.md. Absence from this list does not imply a finding is out of scope.

  • Circumventing parental-control URL filtering or block interstitials (all platforms): A supervised user or web content (via HTTP redirects, subframes, embeds, same-document navigations, or platform WebView/navigation callback edge cases in ClassifyUrlNavigationThrottle, SupervisedUserNavigationObserver, or SupervisedUserURLFilterTabHelper) loading a URL that Family Link URL filtering, SafeSites, or Android device content filters intend to block, or avoiding the supervised-user block interstitial. Parental controls are a product safety feature rather than a Chromium security boundary; file these as functional bugs, not security vulnerabilities. Reports demonstrating memory corruption, cross-origin UI spoofing, custodian PII disclosure to untrusted web origins, or bypasses of non-supervision security interstitials (such as SSL or Safe Browsing) remain in scope.
  • Circumventing SafeSearch, YouTube Restricted Mode, or supervised-user Google re-authentication gates (all platforms): Missing or bypassed SafeSearch/YouTube Restricted Mode enforcement or SupervisedUserGoogleAuthNavigationThrottle / SupervisedUserVerificationPage checks (for example, via alternate domains, privacy-enhanced embeds, or redirect/subframe edge cases) that allow a supervised user to access mature or unauthenticated content. File these as functional bugs, not security vulnerabilities. Memory corruption or cross-origin/session data leaks in these code paths remain in scope.
  • Circumventing parental-control extension, Incognito, or profile/account restrictions (all platforms, including ChromeOS and Android): A supervised user installing or enabling extensions without parent approval (e.g., via SupervisedUserExtensionsManager), accessing Incognito mode, switching or creating profiles, signing out, or modifying local profile storage or SUPERVISED_USER_SETTINGS sync data (e.g., via FamilyLinkSettingsService or SupervisedUserPrefStore) to weaken or disable parental controls. Parental controls do not establish a security boundary against the local user; file these as functional bugs, not security vulnerabilities. Reports showing memory corruption or bypasses of Chrome's extension permission/origin security model remain in scope.
  • Circumventing local or remote parent-approval outcomes (“Ask in person” / “Ask in a message”): A supervised user or crafted navigation obtaining a website or extension approval outcome (via ParentAccessView, ParentAccessDialogResultObserver, ParentAccessTabHelper, WebsiteParentApproval, or RemoteWebApprovalsManager) without genuine parent consent, or bypassing approval-request limits. File these as functional bugs, not security vulnerabilities. Reports demonstrating leakage of a parent‘s Google account cookies, tokens, or authenticated session into the child’s browsing session or to web origins, or memory corruption in approval handling/parsing, remain in scope.

Design Justifications & Accepted Risks

These entries give design rationale with citations. A risk called accepted here was accepted by the component owners; none records a separate security review. Known gaps with a tracking bug are under Known Issues.

Parental controls are a product safety feature, not a security boundary

Chrome‘s supervised-user features (URL filtering, SafeSearch/Restricted Mode, extension approval gating, Incognito disablement, and parent approval flows) exist to help parents guide a child’s browsing experience across devices (README.md). Because Chrome runs under the local user‘s OS session (and on most platforms the user can sign out, create another profile, modify local profile state, or use another browser), client-side parental controls cannot enforce a cryptographic or process-isolated security boundary against a motivated local user or arbitrary web redirects/embeds. Component owners therefore treat parental-control circumventions across all platforms as functional product bugs rather than security vulnerabilities, while continuing to enforce Chromium’s actual security boundaries (memory safety, StoragePartition/session isolation for parent sign-in, custodian PII confidentiality from web origins, and non-supervision security interstitial integrity) in SupervisedUserNavigationObserver, ParentAccessView, ParentAccessCoordinator, and related Browser-process code.

Known Issues

These security gaps have a tracking bug. Only list items that affect an actual security property (confidentiality, integrity, privilege separation, memory safety); exclude general functional bugs, source-code TODO(crbug) cleanup tasks, or caching optimizations. A report that only restates one duplicates that bug.

(None currently identified.)

Reporting

Report security issues through Chrome VRP. Before filing, review security-for-agents.md and the Severity Guidelines. Functional bugs where parental controls can be circumvented should be filed as normal bugs (not security vulnerabilities) in the component defined by DIR_METADATA.

Further Documentation