9 ms·
Ask HN: Is Firefox better than Chrome when it comes to user security?
Is it actually meaningfully safer for a user to use Firefox over Chrome?
It feels like Chrome being made by Google can employ more folks, respond to 0-days, with integrations for Google accounts, it provides a decent password management experience, passkeys, etc.
I understand folks have concerns with Google as a company, but ignoring that would the average user be safer using Chrome?
- llmblockchain 2y agoI think it comes down to your threat model. For the vast majority of people (ie, 99%) there's no difference between the major browsers and the overall security they provide. For that 1% the difference may be noticeable but pale in comparison to other things like solid opsec, etc. For instance, it doesn't matter what browser you use if you are using SMS 2FA and get hit with a sim-swap because you're bragging on Twitter about how your Coinbase account is sitting at $2MM. On the other hand, if you're international arms dealer your browser choice probably matters a lot more. Though, the three letter agencies already have your poster on their wall and you were pwned a year prior anyway. Even worse, if you're outside the US the drones have already been deployed. The US isn't beyond blowing up hackers, look at Junaid Hussain[1]. [1]: https://en.wikipedia.org/wiki/Junaid_Hussain https://en.wikipedia.org/wiki/Junaid_Hussain
- lazyeye 2y agoWorth checking out. The Mullvad browser is a privacy focused version of Firefox (based on the TOR browser with the TOR part removed). It runs fine without the Mullvad VPN. https://mullvad.net/en/browser https://mullvad.net/en/browser
- rldjbpin 2y agoi am not a security expert but i got a counterpoint for the "workforce" argument for why chrome might have better security - firefox is better the same way macs or linux desktops are "more secure" than windows. imo having a much smaller market share disincentivize exploiters for searching ways to attack browsers like firefox. this is the same argument used for the aforementioned os. it is very optimistic to assume that either sides are able to fix all vulnerabilities, as both have been shown to have 0-days recently. on the other hand, just like in linux, you need to trust the developers publishing extensions as i don't find moderation quite as competent as google's (even though theirs is also very lacklusture overall).
- r3db34rd 2y agoWhy would you pick Google? They support genocide in China.
- aborsy 2y agoFirefox is much more private, but Chrome is more secure, although I don’t know to what extent and whether there is a difference in practice. The main consideration is chance of zero days. Anyone knows?
- ElectronBadger 2y agoThis is only an indirect measure, but: 1. CVE Chrome vulnerabilities: 3415 (https://www.cvedetails.com/product/15031/Google-Chrome.html https://www.cvedetails.com/product/15031/Google-Chrome.html) 2. CVE Firefox vulnerabilities: 2622 (https://www.cvedetails.com/product/3264/Mozilla-Firefox.html https://www.cvedetails.com/product/3264/Mozilla-Firefox.html)
- Sayrus 2y agoAnother non-technical consideration is market-share. Firefox's share is low so exploiting a zero day on Chrome is much more profitable than on Firefox.
- amadvance 2y agoTrue, but I suppose this is at least partially compensated by the cost of such a 0-day. For sure, a 0-day on Chrome is a lot more expensive than one on Firefox
- staticelf 2y agoI would probably say it's impossible to tell so both are equal in that security regard. I would say other things like tracking for example poses a higher security risk and for that reason makes Firefox the safer choice. But you have other browsers that builds on their engines like Librewolf and similar that are even safer.
- tigeroil 2y agoIf you're willing to include Chrome forks then I'd say Brave is, despite the issues surrounding their love for crypto, more secure than Chrome, and it has much better anti-fingerprinting if you care about that.
- maverick74 2y agoLet's not talk about privacy (because there is no point in talking about it: Firefox is eons more private than Chrome - or any of it's based browsers - can ever be) About security: Chrome has a biggest workforce, yes. but let's think about this a bit... First, let's not forget that chrome is also a bigger target. let's imagine this: Consider that 90% of the users worldwide use chromium-based browsers, and you are an hacker who wants to steal peoples data or access their computers. Would you bother targeting 10% of the users. Or would you just go after those 90%??? now add another detail into that thinking: people who use Firefox are mostly techies, people who know about computers, gnu/linux users, developers, more security-conscientious users, people who actually know and care about the tech that goes bellow, people that knows what's happening in the IT world, and people that simple don't go with the flock without studding it's path first... now... would you really bother targeting those when you have 90% of people - where probably 85% don't know anything about computers or just don't give a #$%& about it??? Would you go easy bait, or would you try to outsmart those who might be at the same level you are??? (sure, there is always exceptions!!!) but then again... maybe that's just me...
- guerrilla 2y agoThis is exactly it. I used Linux on PowerPC for the same reason: Literally nobody was targeting it, especially compared to Windows on x86. Even now, why would anyone waste their time targeting desktop Linux on x86. Basically unheard of, because it's pointless (Except in targeted attacks.)
- deleted 2y ago[deleted]
- tuetuopay 2y agoThing is, targeting Linux on x86 will target high value users. Either servers, developers, sysadmins and the like. Yes you will hit less people, but the value of each hit is magnitude higher. It’s the same reasons apps first target iOS rather than android: apple users have an easier wallet.
- 2y ago
- _ache_ 2y agoIn term of time to patch 0-day, Firefox is very quick to fix them (usually hours committed, days to publish). Chrome is quick too, so it's not a competitive advantage. Most of cyber-criminals however, will target Chrome because it's way more used. In term of control the password manager of firefox don't need you to have an account. That is very important because, you want to use a password manager on the web and to be able to actually trust it. Google can close you account without previous notice.
- nusl 2y agoPrivacy aside, Google controlling so many parts of your life if you're all-in on the ecosystem is insane, and they can nuke it all at a whim with no recourse possible. I was using Google Workspace for my family, then realised that if Google decided to nuke my account I would lose so much, and migrated away from Google's services to individual ones instead. Fastmail for mail, Tresorit/Dropbox for cloud storage, iCloud (with backup) for photos, etc. Sure, you're still at risk if a company nukes an account but you'd not lose your whole online life.
- blackoil 2y agoFor average user both are secure enough and privacy is more important concern. I don't think 0-day will be wasted on targeting random nobody. To be more secure, only way is to reduce surface area. Someone like journalist should disable JS/cookies, all plugins and extensions and preferably browse through a locked down VM. Don't know if there is any minimal browser that has actively removed features.
- sunaookami 2y agoChrome is more secure in aspects like the Sandbox. Check f.e. https://madaidans-insecurities.github.io/firefox-chromium.html https://madaidans-insecurities.github.io/firefox-chromium.ht...
- DEADMINCE 2y agoPeople should be using an external sandbox for their browser anyway.
- urtuti 2y agoI think chrome has better security model, sandboxing... But Firefox seems to have much better security when it comes to reviewing extensions. Some popular extensions go through approval and source code review on every release. Chrome Play store does not seems to have that. Google incentive even goes against something like UBlock. If extension gets sold, or developer account compromised, we may get widely distributed malware!
- vmfunction 2y ago>I think chrome has better security model, sandboxing... It also worth to mention that Firefox is built with Rust, and Chrome mostly C/C++.
- sciurus 2y agoFirefox has extensive sandboxing. See https://wiki.mozilla.org/Security/Sandbox https://wiki.mozilla.org/Security/Sandbox for some info, to although I'm not sure that page is up to date
- sfmike 2y agothen why can firefox do containers so well (which is why i use it) and chrome can't sandbox this?
- urtuti 2y agoUnrelated things. Each page runs in separate memory space. Chrome had this from the begging for more than a decade, Firefox added very recently https://portswigger.net/daily-swig/firefox-debuts-improved-process-isolation-to-reduce-browser-attack-surface https://portswigger.net/daily-swig/firefox-debuts-improved-p...
- pmontra 2y agoI use Firefox so I don't really have a meaningful experience with Chrome. What I can tell you is that any time I open the matrix of uMatrix (it's one click on the toolbar) I often see a zillion of sites and potential script and XHR requests. Only a few are really needed to display the content of page or even to make some complex UI work. In almost no case blocking the scripts for telemetry, error reporting, etc break the page. So I wonder how much unnecessary information people using Chrome leak to those sites and the third parties that receive, log and possibly sell those data.
- tgv 2y agoThat's an important factor. Chrome now restricts "ad blockers", but those protect from more than ads.
- ZiiS 2y agoPractically, the number of people infected with 0-day drive bys vs the number of computers compromised by exploiting the user is insignificant. A browser that helps me concentrate is _MUCH_ safer.
- nubinetwork 2y agoFor Chrome, you have to deal with Google. For Firefox, you have to worry about the next "pocket", or the next "Mr. Robot"... Manifest v3 is looming as well. Six of one, half a dozen of the other. /shrug
- robin_reala 2y agoIt’s not really equal though is it? One’s the biggest advertising company the world has ever seen that hoovers up personal data like there’s no tomorrow, and the other is a one-time stupid mistake that they rolled back and apologised for.
- nubinetwork 2y ago"Mr. Robot", yes. Firefox still has pocket and a password manager.
- account42 2y agoOne’s the biggest advertising company the world has ever seen that hoovers up personal data like there’s no tomorrow. The other one is almost completely funded by said advertising company and has shown multiple times that they will put their profits over the users' wishes including but not limited to adding ads directly to the browser. ¯\_(ツ)_/¯
- asadotzler 2y agoIt's not profit. Mozilla puts 100% of its income back into the organization. There is no profit at Mozilla, only reinvestment.
- account42 2y agoThe ones that do make these decisions profit from it. That the leadership keeps increasing their income to eat up Mozilla's profits instead of building up an endowment to eventually gain independence of Google is another issue and definitely not something to be proud of.
- frognumber 2y agoI will make a controversial comment: My experience is that security is a function of simplicity and individuals having a complete understanding of the code and implications of changes. Implications: - A smaller team will generally lead to more secure software than a larger team. - Many security layers are counterproductive. In studies, bugs per KLOC are relatively consistent. A 100-line program can be fully auditable. One with a JIT in a virtual machine in a sandbox looks, on paper, more secure. In practice: - There are many more places to introduce bugs. - Beyond some level of complexity, it's impossible to understand the security model holistically. - Bugs often cut across layers - Layers are often used as an excuse ("We'll leave this, since that other layer will catch it). Layers can be okay if they're well-understood, analyzed, and well-documented (e.g. postfix). However, the vast majority of the time, they're not. People pointing to bigger workforce or sandboxes in Chrome aren't selling me. It only takes one idiot.... And for sandboxes? I've never seen a clean block diagram of the Chrome security model. To be clear: I'm not arguing which browser is more secure -- simply that the arguments in this thread don't sell me.
- pmontra 2y ago> My experience is that security is a function of simplicity I don't think this is controversial at all. For example: I keep using uMatrix to block (by default) or allow scripts, frames and XHR because it's orders of magnitudes simpler to use than the way the same developer added that functionality to uBlock Origin. I still use uBO to block ads and hide unwanted elements from the DOM. It's the difference between writing [pick your favorite high level language] and machine code. If all I had was uBO I would let those scripts run.
- maverick74 2y agonot sure why you say it's a "controversial comment"... What you say is well documented and you made a reasonable comment! The bigger the software, the more likely it is to be exploited...
- frognumber 2y agoThis is actually completely contrary to documented best practices. Best practices involve a lot of layers and processes. Defense-in-depth is best practice. My experience is that only helps if each layer is carefully designed and analyzed at a level impractical for most real-world systems. In most cases, unless you're designing Unix from the ground up, the better approach is KISS.
- high_na_euv 2y agoNot many people are capable of evaluating that. The bar is very, very high.
- emayljames 2y agoYou are ignoring the elephant in the room, so to speak. Apple has a large share of mobile browser usage with Safari (a Webkit browser). Add to this also that any browser used on iOS is webkit. That aside, what you are asking is really just you giving your personal preference of a browser and if we agree.
- indymike 2y agoBoth browsers are very large, very old software. Both companies are big enough to support fast response to exploits. There’s really nothing technical you can point out that makes one more secure. Firefox scores better on privacy which tips the scales towards Firefox.
- collyw 2y agoChrome sends every address that you enter into your address bar to google. I noticed this when I decided to look through my google history and it contained all my duck duck go searches. That was enough to put me off of it.
- kome 2y agocrazy, i had no idea. why people still use chrome at this point?
- collyw 2y agoThe reason I was using duck duck go in those days was because I didn't want google knowing everything I searched for. It's caught up now, but it was a bit worse search in those days.
- KeplerBoy 2y agoIsn't this the entire point of google history when you're logged in to a google account using chrome?
- prirai 2y agoYou might want to disable web history in google account settings. Its not a worrisome thing though, you're using an account, so syncing those is obvious.
- collyw 2y agoA lot of people are talking about privacy versus security as two different things. Surely knowing more about someone makes the likely hood of guessing a password, or targeting phishing attacks more likely. A lot of security is down to social engineering tricks, no?
- souvlakee 2y agoLast month, there was a significant buzz among those involved with Google Search (which includes almost the entire modern internet and all its developers). "Erfan Azimi," the owner of an SEO firm, suddenly began sharing leaked documents revealing how Google's ranking system works. It's more complicated than just the search itself; it involves various APIs around it. Nonetheless, these APIs reveal a lot. The leak happened when a Google developer wrote a program to convert API calls into his preferred programming language but accidentally published everything (if you're interested, I've included a link to the commit with all these descriptions [1]). Multiple confirmations from reputable sources, including former and current Googlers, have verified the authenticity of this leak. It's not a hoax or a joke but a genuine breach of information that has piqued the interest of all SEO researchers. Here's a reliable summary of the findings: – Google has allowlists of manually optimized sites, at least for certain topics, such as the 2020 elections or COVID-19. – Domain names and subdomains are significant factors (despite Google's previous claims). – There's a sandbox for new sites, which Google has always denied. – Google directly uses data from EWOK (a system where paid users rate the quality of search results). – User behavior on sites is actively used for ranking. – Click data is collected not only from Google Analytics but also directly from the Chrome browser. – Sites are categorized based on click volume, affecting their quality ranking and PageRank contribution. – Google considers the overall brand size, including mentions across the internet, not just links. – Content and links are secondary to clicks and site navigation behavior. – SEO is almost irrelevant for most small companies and sites without a brand, user base, and reputation. This is a monumental event in the world of Google Search, marking the most significant leak in the past 10-15 years. It suggests a potential discrepancy between Google's public statements and its actual search practices [3]. The strategy has shifted towards clickbait and bot farms, challenging the long-standing belief that 'content is king.' Unsurprisingly, Google has chosen to remain silent [4]. I recommend reading this article on iPullRank [5] for a more comprehensive understanding. If you want to stop giving all your data to Google, consider using a non-chrome browser like Firefox. [1] https://github.com/googleapis/elixir-google-api/commit/078b497fceb1011ee26e094029ce67e6b6778220 https://github.com/googleapis/elixir-google-api/commit/078b4... [2] https://sparktoro.com/blog/an-anonymous-source-shared-thousands-of-leaked-google-search-api-documents-with-me-everyone-in-seo-should-see-them/ https://sparktoro.com/blog/an-anonymous-source-shared-thousa... [3] https://www.seroundtable.com/google-chrome-search-usage-15618.html https://www.seroundtable.com/google-chrome-search-usage-1561... [4] https://www.theverge.com/2024/5/28/24166177/google-search-ranking-algorithm-leak-documents-link-seo https://www.theverge.com/2024/5/28/24166177/google-search-ra... [5] https://ipullrank.com/google-algo-leak https://ipullrank.com/google-algo-leak
- sneak 2y agoIt depends on what you mean by safety. Chrome is much more secure against browser exploits than Firefox. It is perhaps the most advanced piece of security software in the world. Firefox is a lot more private than Chrome, given that Chrome is chock full of Google surveillance. Ungoogled Chromium is the best of both worlds, but only if you manually build and update on a near-daily basis. Note that most people’s advice on this topic is a non-expert, non-informed opinion. Browser choice is a pretty tribalistic, identity-tied thing. It’s like asking people “which is more secure, android or ios?”. (The answer is iOS by a mile, but most “security” types won’t give that answer because they don’t like it. Same goes with Chrome/Firefox.)
- n4r9 2y agoI don't know if it makes sense to ignore "Google as a company" for this question. You can employ as many people as you want but it won't make a difference if you don't incentivise responsible and secure engineering. Also, doesn't Firefox also have a decent password management function?
- byyll 2y agoThere is no difference for 99.999% of people. You are so unlikely to get exploited by a browser vulnerability (if you update) that it's not worth writing about. The people powerful/rich enough have or can acquire an exploit for both. The choice of browsers is more about what features you want and whether you want a browser engine monopoly or not. Firefox has a few features I like not present in chromium and it's also not part of the monopoly so I use it.
- bitnasty 2y agoLarger teams actually mean slower changes, and more likelihood that the code is not great. Integrations for Google accounts can be seen as a privacy violation. Google doesn’t need to know what other services I am using. Google’s password manager still has my passwords saved after disabling the feature AND manually “deleting” each one individually. Do not trust them with your passwords.
- GuB-42 2y agoLooking at the pwn2own recent competition results, both Chrome and Firefox have been exploited. Overall it looks like they are more or less on the same level security-wise. Firefox security has improved significantly in the last decade, it was pretty terrible back then. "Electrolysis" and "Quantum" certainly helped.
- jmclnx 2y agoI think so, but maybe not much better. I use noscript so I thing that helps a lot. But, I tend to thing on OpenBSD both chrome and Firefox is more secure than other systems because those are patched with pledge and unveil. So most of the system does not exist for them.
- dmvjs 2y agoif it is safer, its more like a photo finish than 2x or 10x or 100x safer