+ Your AuthorsArchive @jonathansampson Building the web since the mid-90's. Regional Manager of The Office references. Microsoft Alumni, Stack Overflow mod no 4. Building a better Web @brave 🇺🇸🇧🇷 Aug. 24, 2019 1 min read

The next browser I'd like to inspect is @brave. During the initial run, we can see about 23 calls; all of which go to the  domain.

Below is an image of these sessions, sorted by descending response size. I'll break down these calls in the next Tweet.

The first call is for the integrated Tor client. Second is Brave's internal bits for content-blocking. The third call to  is for the HTTPS Everywhere integration. Lastly, a couple lines down, is the updater for local Tracking Protection files.

Two calls are made to  near the top; these proxy the request for Safe Browsing bits. This is one thing you'll notice with Brave; it proxies requests when possible so as to mask user details. We see this with the static1 calls further down (updating plugins)

The calls to /extensions on the  host are what you'd expect. Brave proxies requests to ensure you're all up to date. With this being the first run, why do we see so many calls for extension updates? It will help to look at these requests in natural order.

The following screenshot shows all of these requests in the order they were issued. Note the calls to the /extensions endpoint precede the downloading of the extensions from . They're for the same extensions. "Do I need this? Yes. Better go get it then."

Brave's requests for these internal bits also carry along data regarding the machine itself: OS, platform, memory, update channel, etc. This data determines which extension bits are appropriate for your device. I believe the 'redundant' call is the extension checking for updates.

So Brave asks the server for critical extensions. The server responds. It then installs these extensions. Once they are installed they issue their own update requests. I believe this is what's happening here. The call to crlsets.brave retrieves a list of certs to block.

That covers pretty much everything I see Brave doing when it first runs. I'm very pleased to see that 100% of the calls are controlled, and secure. And that Brave serves as a proxy for calls that need to reach out to third parties. Very nice 🙂

You can follow @jonathansampson.


Tip: mention @threader_app on a Twitter thread with the keyword “compile” to get a link to it.

Enjoy Threader? Sign up.

Since you’re here...

... we’re asking visitors like you to make a contribution to support this independent project. In these uncertain times, access to information is vital. Threader gets 1,000,000+ visits a month and our iOS Twitter client was featured as an App of the Day by Apple. Your financial support will help two developers to keep working on this app. Everyone’s contribution, big or small, is so valuable. Support Threader by becoming premium or by donating on PayPal. Thank you.

Follow Threader