Skip to content

[domains-audit] Chrome browser bundle grants unrelated package and model API egress through Google wildcards #72064

Not planned

Description

@github-actions

Summary

The chrome ecosystem is described as headless Chrome/Puppeteer support, but its *.google.com and *.googleapis.com rules also allow package and inference endpoints assigned to other sets. Selecting browser support therefore grants substantially more than browser-specific connectivity.

Replace the broad rules with justified browser hosts, or separate broad Google-service access into an unmistakably named opt-in. Ecosystem classification priority cannot narrow firewall permissions.

Affected sets

Set Domain Bucket File:line
chrome *.googleapis.com unclear — browser scope includes unrelated services pkg/workflow/data/ecosystem_domains.json:4
chrome *.google.com unclear — browser scope includes unrelated services pkg/workflow/data/ecosystem_domains.json:4

Why this is suspicious

A suffix-match script found these concrete cross-set grants using only repository data:

  • *.googleapis.com covers generativelanguage.googleapis.com from the Gemini engine and Pi Google/Gemini provider mappings (ecosystem_domains.json:269,281-282). Under the gateway threat model, browser support does not justify direct model API access.
  • The same wildcard covers storage.googleapis.com from dart, go, and node (:9,129,215) and maven-central.storage-download.googleapis.com from java (:164). Those package capabilities are not implied by the browser-specific name.
  • *.google.com covers Java's maven.google.com and dl.google.com (:153-154) and defaults' packages.cloud.google.com (:43).

This is a feature-set scope finding, not a claim that normal engine defaults contain these wildcards. Gemini's engine bundle has already been narrowed to its concrete API host; chrome still broadens access when separately selected.

Suggested change

  1. Inventory the concrete hosts required for supported browser installation/testing and replace the two broad wildcard rules with that justified minimum. Review the existing browser behavior tests before removing any required host.
  2. Keep unrelated model APIs, package repositories, and optional account/service access behind their corresponding explicit opt-ins. If broad Google connectivity remains a supported capability, expose it separately with an explicit scope warning rather than implicitly bundling it as browser support.
  3. Add effective suffix-coverage tests for the browser bundle. If a shared download host is genuinely necessary, document that unavoidable cross-ecosystem capability rather than claiming host-level separation the firewall cannot provide.

Verification

Static domain-intersection and source/test review only; no live endpoint access and no Go tests executed.

  • domains.go:319 and docs/src/content/docs/reference/network.md:103 explicitly describe chrome as headless Chrome/Puppeteer and list the wildcards. These explain intended use, but not why all Google API and web subdomains are required.
  • TestGetDomainEcosystem (domains_test.go:16, browser cases at :64-112) expects accounts, Google web, Safe Browsing, optimization guide, update, and redirector hosts. Retain justified behavior through concrete rules or explicit broader-service opt-ins; do not blindly delete these test expectations.
  • TestGetAllowedDomains_VariousCombinations (domains_test.go:667, Chrome case at :707-709) explicitly expects all three current browser wildcards and would need updating.
  • TestGeminiDomainSetRequiresPackageOptIn (domains_test.go:554) already tests the intended separation between inference and package hosts. Add analogous browser cases rather than regressing Gemini's fix.
  • engineDefaultEcosystemOverlaps (domains_package_registry_test.go:139) deliberately excludes chrome, with a comment recognizing that its rules cover Gemini inference. That guard checks engine-versus-package overlap; it does not establish browser bundle minimality.
View full findings

Classification versus enforcement

ecosystemPriority places fonts, defaults, and Java ahead of Chrome (domains.go:381-425), and corresponding classification tests exist. That makes several overlapping host classifications deterministic; it does not remove those hosts from GetAllowedDomains({Allowed: ["chrome"]}).

The script also found storage.googleapis.com shared exactly among Dart, Go, and Node. All three appear in the priority list, with Dart winning, but that shared infrastructure is not evidence that a browser wildcard is necessary. Explicit cross-set host sharing and a wildcard over an entire vendor namespace are different policy decisions.

The third browser rule, *.gvt1.com, is not a removal recommendation in this report: the reviewed data did not establish comparable unrelated cross-set coverage. Avoid narrowing it without browser-specific evidence.

Audit inventory

The primary inventory contains 60 named units: 43 ecosystems (including Playwright and the detection compatibility alias), eight engine bundles, seven individual Pi provider mappings, one compound ecosystem, and one sanitization-only defaults set. Alias/provider entries are counted separately. The script found 108 exact-intersection pairs, including 12 ecosystem/ecosystem pairs and 28 engine/engine pairs, plus 38 directed wildcard coverage groups including within-set redundancy. These totals include deliberate aliases and compound unions; they are not counts of vulnerabilities.

Deduplication

The open security issues with the [domains-audit] prefix contained only #70226, concerning shared GitHub parent rules. Completed open searches for chrome googleapis, chrome wildcard, and chrome network found no matching browser-scope report. No valid historical cache was available. This is a newly reported observation, not a claim of a recent regression.

Reviewed commit: 9a57ef760fda8457186126cf0f098ff595a3b5f7.

> - [x] expires on Nov 22, 2026, 10:27 AM UTC

Generated by 🌐 Weekly Network Domain Set Audit · pi · gpt60 · ~254 AIC · ⌖ ~58 AIC · ⊞ 11K · ◷

Activity

  1. added
    cookie
    on Oct 26, 2026
  2. added
    backlog:security
    on Nov 21, 2026
  3. github-actions commented on Nov 22, 2026

    @github-actions
    ContributorAuthor

    This issue was automatically closed because it expired on 2026-11-22T10:27:26.144Z.

    Closed by Workflow

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Labels

backlog:securitycookiesecurity

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions