From Kicksecure
< Dev
Jump to navigation Jump to search

Development Considerations regarding default installation of Chromium in Kicksecure.

This page is a collection of notes, issues, criticism, advantages of Chromium. Development Considerations regarding default installation of Chromium in Kicksecure.

DISCLAIMER: This is only a collection of mostly user contributed notes. It will be reviewed, commented at a later time.

Firefox and Chromium Security[edit]

Daniel Micay, security researcher, KSPP member, developer of GrapheneOS, linux-hardened, hardened_malloc and more:

Thaddeus Grugq (thegrugq), information security researcher:

Dan Guido, CEO of Trail of Bits:

Matthew Green, cryptography expert:

Thomas Ptacek, founder of Matasano Security, security researcher at Latacora:

Theo de Raadt, founder and leader of OpenBSD:

PaXTeam/Pipacs of GRsecurity:

Chromium Debian Package Security[edit]

Contributed b @madaidan.

The Chromium package on Debian has massively crippled security and disables numerous, important security mechanisms, a few examples of which are documented below:

  • The Debian Chromium package is not a production build so basic security features like sandboxing, ASLR and CFI are crippled or nonexistent. [1]
  • Clang's type-based, forward-edge Control-Flow Integrity is not enabled. [2]
  • Automatic variable initialization is disabled with a source code patch. [3]
  • Debian disables Chromium's own hardened memory allocator (PartitionAlloc) and defaults to the likely non-hardened system malloc implementation (usually glibc). [4]
  • Debian applies many of its own patches to Chromium. Many of these are unnecessary and can potentially introduce new vulnerabilities. [5]
  • Furthermore, Debian's current Chromium package is extremely outdated, making it miss countless security fixes and new security features. It has even been susceptible to publicly known exploits being used in the wild. [6] In addition, Debian's Clang package is also severely outdated, making it impossible to enable any modern compiler mitigations even if the Debian maintainers cared enough to.

Thus, the Debian Chromium has substantially worsened security than an official version. However, despite this, it may still be more secure than Firefox (Firefox never had many of the disabled mitigations in the first place).

Chromium Doesnt give your Freedom of Modifications[edit]

Chromium doesnt has the easiness of about:config in Firefox for e.g if you want to disable certain TLS ciphers or WebRTC its not possible because its not there, This will force the users to only stick to whatever comes by default (unless recompile).

Note: Although Chromium has chrome://flags but its way less powerful/modifiable than Firefox about:config.

Chromium and Google API keys[edit]

Chromium uses API resides in google, only keys shipped within Debian/Chromium [7]

Someone suggested this [8]

Why not modify chromium to read the api keys from a file, rather than

building them into the binary? The file could then be put in a separate package. If necessary in non-free.

This would have the additional benefit that those of us who want chromium to under no circumstances send every word we type and every website we visit to Google would no longer need to dig around in multiple prefereces dialogs to diable the multiple antifeatures enabled

by the keys.

Chromium Unknown Licenses with automated tool[edit]

Many of them comes with free software, but there is no indication all of them are. (+10 years ticket) [9]

Distribution of Adobe "Pepper" Flash Player proprietary plugin[edit]

Chromium comes with proprietary abilities within itself one of them is Adobe Flash Player [10].

This was resolved a long time ago. pepperflashplugin-nonfree is now its own separate package.

Chromium reduced capabilities to plugin with adblocker[edit]

Ad blocking poses an existential threat to publishers and big sellers of digital ads like Google — which is reported to have lost as much as $US6.6 billion in revenue to ad blockers last year.

Now one former Googler is fighting back against the blockers.


The move has angered Chrome users beyond belief, with many vowing to switch browsers, and many setting their eyes on Firefox, whose developers have been working to transform and rebrand the former fan-favorite into a privacy-first product.

But Google's planned Manifest V3 changes are being added to the Chromium base, meaning they'll also likely impact other Chromium-based browsers as well.


Reply by madaidan: [13]

The goal of manifest v3 is not to neuter ad blockers. It allows content filtering in a more secure way while also not allowing extensions to spy on users extensively. It doesn’t kill ad blocking - it only provides a safer way of doing it. Manifest v3 removes the legacy webRequest and replaces it with declarativeNetRequest.

Besides, this hasn’t even been implemented yet and likely won’t be for a long time. Other browsers will probably follow suit too. For example, this is how it already works in Safari.

Reply by Patrick:

Technically too difficult to compare the old API with the new API. It cannot be deduced from media reports. Developers of existing adblocking extensions might also be less than happy if they have to rewrite their extensions, i.e. trash a lot of previous work.

In conclusion, it remains to be seen if the new API will result in a significantly worse adblocking experience for Chromium versus lets say Firefox users. Should that be the case, it would a a disadvantage. Until that happens, it doesn't speak against Chromium.

Another reply by Patrick:

"The goal of manifest v3 is not to neuter ad blockers." - Goals, intentions are not the most important point here. These will be speculative and hard to proof beyond reasonable denial. What however does matter here is the outcome.

Quote Raymond Hill, the developer behind uBlock Origin and uMatrix, explained in the Chromium bug tracker that one of the changes in Manifest v3 would break complex content filtering:

"Key portions of uBlock Origin and all of uMatrix use a different matching algorithm than that of the declarativeNetRequest API. Block/allow rules are enforced according to their *specificity*, whereas block/allow rules can override each others with no limit. This cannot be translated into a declarativeNetRequest API (assuming a 30,000 entries limit would not be a crippling limitation in itself)."

Many extension developers complaining about new API, saying it would break their extension:!topic/chromium-extensions/

Chromium: secretly stores referrer and URL for downloaded files[edit]

Can have impact on privacy and security [14], Bug was fixed later [15].

Reply by Patrick:

Bug happen. If now fixed, not sure it's even worth mentioning it.

Chromium: unconditionally downloads binary blob[edit]

Nasty bug,Got fixed [16].

Bug happen. If now fixed, not sure it's even worth mentioning it.

Questionable Chromium Privacy[edit]

Chromium privacy infrastructure is basically Google [17]:

"Additional Information on Chromium, Google Chrome, and Privacy Features that communicate with Google made available through the compilation of code in Chromium are subject to the Google Privacy Policy."

Reply by madaidan:

Chromium has some telemetry by default but it can all be disabled in the settings. By default, it's actually *less* invasive than others like Firefox.

Google Chrome and (weird) DNS requests[edit]

This is part of chromium/chrome design [18] [19]:

When Chrome is started it will lookup domain names for previously opened web pages early in the startup process so if the user clicks on one of those links Chrome can connect to the target site immediately.

madaidan reply:

This isn’t weird. It improves page load time and is a standard thing that’s done in other browsers like Firefox. It can also be disabled.

Patrick reply:

This is called DNS Prefetching.

chromium does it:

firefox also does it:

What Chromium features are removed for privacy/security reasons? (Done by Brave Browser)[edit]

- Disable google services in privacy settings

- Disable Prediction Service - DNS prefetching

- Disable Chrome Google URL Tracker

- On startup disable connections to google domains

- Disable chrome.webstore.install for inline extensions

- Disable anchor ping attribute

- Disabling getBattery | bluetooth | credential.get/store | navigator.usb apis

- Disable network time tracker

- Block ChromeMetadataSource network access

- Remove repository from Linux packages

- Disabling metrics reporting; Updating ad-block deps to fix audit_deps error; Updating crypto deps to fix audit_deps error;

And Others you can check them here

Patrick reply:

Please sort this list according to different lists:

  • privacy impact only
  • security impact only
  • security and privacy impact (optional category)

Remotely Exploitable Chromium Security Vulnerability CVE-2021-21193 exploited in the wild[edit]


Viewing the situation as of 14 March 2021:

Viewing the situation as of 03 April 2021:


Quote Official Chrome

  • Google is aware of reports that an exploit for CVE-2021-21193 exists in the wild.

  • Fixed in version


Quote (Bold added.):

Google Chrome could allow a remote malicious user to execute arbitrary code on the system, caused by a use-after-free in Blink. By persuading a victim to visit a specially crafted Web site, a remote attacker could exploit this vulnerability to execute arbitrary code or cause a denial of service condition on the system.

version of Chromium on


version of Chromium on Snap



Chrome (non-freedom!) version.

dpkg -l | grep chrome



TODO: write conclusion


Google Chrome Repository Insecurity[edit]

See Google Chrome Repository Insecurity.

Hardened Malloc[edit]

Hardened Malloc (HM)

  • Can Chromium from Flatpak be used with Hardened Malloc?
  • Which memory allocator is more secure, Chromium’s built-in or Hardened Malloc?

Meanwhile HM was deprecated in Kicksecure.

Chromium Forks[edit]

Development Discussion[edit]

Chromium Browser for Kicksecure Discussions (not Whonix)



  1. is_official_build=true is not set and its default value is false; it must be explicitly enabled which Chromium does not do:
  2. is_cfi=true is also not set: Compare this to another distribution which does such as Arch Linux:
  5. One of these patches have likely introduced a memory corruption bug that is currently causing hardened_malloc to kill Chromium:

Unfinished: This wiki is a work in progress. Please do not report broken links until this notice is removed, use Search Engines First and contribute improving this wiki.

We believe security software like Kicksecure needs to remain Open Source and independent. Would you help sustain and grow the project? Learn more about our 12 year success story and maybe DONATE!