brave / brave-browser

Brave browser for Android, iOS, Linux, macOS, Windows.
https://brave.com
Mozilla Public License 2.0
17.51k stars 2.26k forks source link

Fingerprint protection not (fully) working on iOS like it is on macOS #38580

Open JRHeaton opened 3 months ago

JRHeaton commented 3 months ago

Description

On iOS, the Brave browser has something broken in regards to the fingerprint blocking. I've been testing on https://coveryourtracks.eff.org on both my iPhone and Mac. All tests conducted in private windows. I have tested with the "Test with a real tracking company" option on and off. On iOS, fingerprint valid, presumably traceable hashes were listed on the page, and it said i'm only partially protected. Contrast this with Brave on Mac showing everything is randomized(ideal).

Troubleshooting actions taken

Steps to reproduce

  1. Open the latest version of Brave on the latest iOS version
  2. Ensure these are the settings values(same when tested on iOS and on Mac):
    • Block fingerprinting: True
    • Trackers & Ads Blocking: Aggressive
    • Cookies: Block All
    • Block scripts: False
  3. Clear all website data
  4. Enter a private window and navigate to https://coveryourtracks.eff.org
  5. Run the test
  6. Observe that you don't have a green(good) result for your fingerprint blocking on iOS, but do on Mac.

Actual result

Short Description

The Mac results show Brave has a randomized fingerprint. The Brave iOS results show actual values for the hashes which show as randomized in the Mac results, and it gives me a rating of "Partial protection."

FWIW, I ran the same test in Safari with "advanced tracking & fingerprint protection" on in a private tab, and it also gave me "Partial protection" but unlike Brave-iOS, it just states the fingerprint hashes are randomized, like Brave-Mac. So Brave-iOS has worse protection than Safari but better than Brave-Mac.

In addition to the summarized results below, I will attach full renders of the results web page from both devices, which has the full technical breakdown.

Brave-iOS-CoverYourTracks.pdf Brave-Mac-CoverYourTracks.pdf

iPhone Results

Screenshots

IMG_1794 42A1E526-5E86-4ED3-991C-3AF4D2D37D80_1_201_a

Relevant results


Mac Results

image

Relevant results

Expected result

I expect the iOS version to provide the same level of robust randomization for fingerprint protection as the Mac version.

Reproduces how often

Easily reproduced

Brave version

1.66

Device/iOS version

iPhone 15 Pro 17.5.1

Affected browser versions

Reproducibility

Miscellaneous information

No response

diracdeltas commented 3 months ago

cc @cuba @arthuredelstein

ShivanKaul commented 3 months ago

It's expected that Brave-iOS has fewer fingerprinting protections than brave-core given platform limitations on iOS, but Safari-iOS should be worse. I'm not sure how to interpret the following:

So Brave-iOS has worse protection than Safari but better than Brave-Mac.

Are you comparing Brave-iOS against Safari-iOS? Also, Brave-iOS will not have better protection than Brave-Mac.