brave/brave-browser

Probe for Brave-owned domains instead of Google ones when user selects custom DoH provider

Open

#38.555 aberto em 24 de mai. de 2024

Ver no GitHub
 (5 comments) (1 reaction) (0 assignees)JavaScript (2.164 forks)batch import
OS/AndroidOS/Desktopgood first issuepriority/P5privacy/connect

Métricas do repositório

Stars
 (16.194 stars)
Métricas de merge de PR
 (Mesclagem média 4h 38m) (19 fundiu PRs em 30d)

Description

Description

As discussed in https://github.com/brave/brave-browser/issues/38058, when the user chooses a custom DoH provider, Brave asks the new DoH provider to resolve gstatic.com and google.com. Importantly, the connection is not actually made to these domains, it's simply a test query that tells the DoH provider that some Chromium-based browser has selected it to be its custom DoH provider. This is not a privacy leak, but it might be worth patching out just for appearance sake ("why is Brave doing a DNS query for google domains?")

See: https://github.com/GrapheneOS/Vanadium/blob/main/patches/0064-use-grapheneos.network-when-verifying-DNS-over-HTTPS.patch

Steps to reproduce

Follow the steps on https://github.com/brave/brave-browser/issues/38058#issuecomment-2118199829

Actual result

DoH query for google and gstatic

Expected result

DoH query for a Brave-owned domain

Reproduces how often

Easily reproduced

Desktop Brave version (brave://version info)

All

Android device

All

Channel information

  • release (stable)
  • beta
  • nightly

Reproducibility

  • with Brave Shields disabled
  • with Brave Rewards disabled
  • in the latest version of Chrome

Miscellaneous information

No response

Guia do colaborador