# Clearwake: research ![Clearwake hero](img/hero.webp) Clearwake is a quiet browser written in Rust with ad blocking always on. Here is the public research on why both choices matter. ## How Clearwake works **Where we are:** Available for Mac, Windows, Linux, Android and the web. Clearwake is a quiet browser written entirely in Rust with ad blocking always on. It runs no JavaScript and shows pages in a clean, reader-style view. Rust rules out a whole class of memory bugs behind most serious browser security holes, and blocking ads cuts trackers and speeds up pages. ### How it works 1. **Fetch.** Clearwake loads the page and strips ads and trackers. 2. **Read.** Pages show in a clean view with no scripts. 3. **Stay safe.** Memory-safe Rust code throughout. ### How it keeps going It is free. It is built and kept going by our own small team, with no ads and no selling of anyone's data. ### How we're organized - Clearwake - Browser engine - Apps for each platform - Filters and privacy Everyone on the team grows through the same three levels: Explorer (starting out), Builder (growing) and Guide (on the way to mastery). ### What we've decided - Rust only. - No iPhone version. ### What comes next - Tabs. ### Start your own Nothing here is secret. Anyone can copy how Clearwake works and open their own version. 1. **Read this page.** Everything about how Clearwake works is here and in the public sources below. Our designs, specs and plans are public domain. 2. **Pick your name and place.** Choose your own name and where you will start. You do not need to ask us, and you do not need to call it Clearwake. 3. **Build the team.** Start with the roles in the chart above. One person can hold several roles at first. 4. **Follow the steps.** Run it the way the "How it works" steps describe, then improve on it. 5. **Share back.** Publish what you learn, so the next person can start further ahead. ## The research ### Key sources - **[Memory safety](https://www.chromium.org/Home/chromium-security/memory-safety/)** *The Chromium Projects, 2020* The team behind the most widely used browser engine found that around 70 percent of its serious security bugs were memory safety problems, the kind of bug that memory-safe languages such as Rust are designed to prevent. - **[The case for memory safe roadmaps](https://www.cisa.gov/case-memory-safe-roadmaps)** *CISA, NSA, FBI and international partners, 2023* Cybersecurity agencies from several countries urged software makers to move to memory-safe languages, naming Rust among the options, because it removes a whole class of common vulnerabilities. - **[Cyber criminals impersonating brands using search engine ads](https://www.ic3.gov/PSA/2022/PSA221221)** *FBI Internet Crime Complaint Center, 2022* The FBI warned that criminals buy search ads that imitate real brands to lead people to fake sites, and suggested using an ad blocking extension as one way to stay safe. - **[Ad-blocking: a study on performance, privacy and counter-measures](https://arxiv.org/abs/1705.03193)** *Garimella, Kostakis and Mathioudakis (arXiv), 2017* Measuring real page loads, researchers found that blocking ads made pages load faster, used less data and cut the number of third-party trackers contacted. - **[A proactive approach to more secure code](https://msrc.microsoft.com/blog/2019/07/a-proactive-approach-to-more-secure-code/)** *Microsoft Security Response Center, 2019* Microsoft found that about 70% of the security fixes it shipped each year were for memory safety bugs, the kind of mistake that memory-safe languages like Rust rule out. - **[Eliminating memory safety vulnerabilities at the source](https://security.googleblog.com/2024/09/eliminating-memory-safety-vulnerabilities-Android.html)** *Google Security Blog, 2024* As Android wrote new code in memory-safe languages, memory safety bugs fell from 76% of its vulnerabilities in 2019 to 24% in 2024, without rewriting the old code. - **[How unique is your web browser?](https://doi.org/10.1007/978-3-642-14527-8_1)** *Eckersley, Privacy Enhancing Technologies Symposium, 2010* Of nearly half a million browsers tested, about 84% could be told apart by their settings alone, with no cookies at all. Browsers can track people just by how they are set up. - **[Online tracking: a 1-million-site measurement and analysis](https://doi.org/10.1145/2976749.2978313)** *Englehardt and Narayanan, ACM CCS, 2016* Crawling the top million websites, researchers found tracking on most of them, run by a small number of large companies, and documented new hidden ways sites fingerprint visitors. ### Rust and memory safety in practice - **[Memory-safety challenge considered solved? An in-depth study with all Rust CVEs](https://arxiv.org/abs/2003.03296)** *Xu et al., ACM Transactions on Software Engineering and Methodology (arXiv), 2021* The authors went through every publicly reported memory-safety vulnerability in Rust libraries and traced where each came from. Almost all of them involved code marked unsafe, which means safe Rust largely keeps its promise, but the small unsafe parts deserve the closest review. - **[Understanding memory and thread safety practices and issues in real-world Rust programs](https://songlh.github.io/paper/rust-study.pdf)** *Qin et al., ACM PLDI, 2020* This study examined real bugs in widely used Rust projects, including a browser engine. Memory bugs clustered around unsafe code, while some concurrency bugs still slipped through, a useful reminder that Rust narrows the risk without removing every kind of mistake. - **[How do programmers use unsafe Rust?](https://www.cs.ubc.ca/~alexsumm/papers/AstrauskasMathejaPoliMuellerSummers20.pdf)** *Astrauskas et al., ACM OOPSLA, 2020* Looking across thousands of public Rust packages, researchers found that most contain no unsafe code at all, and where it appears it is usually small and wrapped behind a safe interface. That pattern is what makes it practical to audit a large Rust program. - **[Is Rust used safely by software developers?](https://arxiv.org/abs/2007.00752)** *Evans, Campbell and Soffa, ICSE (arXiv), 2020* A large scan of Rust libraries found that unsafe code is used directly by a minority of packages but reached indirectly by many more through dependencies. Choosing dependencies carefully matters as much as writing safe code yourself. - **[An interview study on the use, comprehension and perceived risks of unsafe Rust](https://usenix.org/system/files/usenixsecurity23-holtervennhoff.pdf)** *Höltervennhoff et al., USENIX Security, 2023* Interviews with Rust developers showed they mostly treat unsafe code with care and try to keep it small, but are not always sure they have it right. Clear guidelines and tooling for those few risky spots help. - **[Implications of rewriting a browser component in Rust](https://hacks.mozilla.org/2019/02/rewriting-a-browser-component-in-rust/)** *Mozilla Hacks, 2019* Mozilla reviewed past security bugs in the style engine it later rewrote in Rust and concluded that most of them would have been prevented by the language. It is a concrete browser example of the memory-safety argument. - **[Oxidation: Rust in Firefox](https://wiki.mozilla.org/Oxidation)** *Mozilla Wiki* Mozilla's running record of which parts of Firefox are written in Rust and why. It shows a browser can adopt Rust step by step, starting with the parts that handle untrusted input. - **[Fearless concurrency in Firefox Quantum](https://blog.rust-lang.org/2017/11/14/Fearless-Concurrency-In-Firefox-Quantum/)** *The Rust Blog, 2017* Engineers describe how Rust let them style web pages in parallel after earlier attempts in C++ had failed because thread bugs were too hard to avoid. Safety and speed can come together. ### Malicious ads and why blocking helps - **[The dark alleys of Madison Avenue: understanding malicious advertisements](https://seclab.cs.ucsb.edu/publications/zarras2014the_dark/)** *Zarras et al., ACM Internet Measurement Conference, 2014* By collecting millions of ads from many networks, researchers found that some ad networks regularly served ads leading to malware or scams, and that smaller networks were more often involved. Ads are a real path for attacks, not just an annoyance. - **[Knowing your enemy: understanding and detecting malicious web advertising](https://www.microsoft.com/en-us/research/wp-content/uploads/2012/10/ccs12-zhou.pdf)** *Li et al., ACM CCS, 2012* This study traced how malicious ads move through the chain of ad brokers before reaching a page, and built a detector based on those paths. It shows how hard it is for websites themselves to vet every ad they show. - **[The future of ad blocking: an analytical framework and new techniques](https://arxiv.org/abs/1705.08568)** *Storey et al., arXiv, 2017* The authors map the arms race between ad blockers and sites that try to detect them, and propose techniques that make blocking harder to spot. It gives a clear picture of why blocking needs steady upkeep. ### Filter lists and tracker blocking - **[Who filters the filters: understanding the growth, usefulness and efficiency of crowdsourced ad blocking](https://arxiv.org/abs/1810.09160)** *Snyder et al., ACM SIGMETRICS (arXiv), 2020* Studying the history of the most popular blocking list, researchers found it had grown very large while most rules rarely matched anything on popular sites. A smaller, well-tended list can block nearly as much while running faster. - **[Missed by filter lists: detecting unknown third-party trackers with invisible pixels](https://arxiv.org/abs/1812.01514)** *Fouad et al., Proceedings on Privacy Enhancing Technologies (arXiv), 2020* Tiny invisible images are a common tracking trick, and this study found many such trackers that standard lists did not catch. List-based blocking is strong but not complete, so extra defenses help. - **[Fingerprinting the fingerprinters: learning to detect browser fingerprinting behaviors](https://arxiv.org/abs/2008.04480)** *Iqbal, Englehardt and Shafiq, IEEE Symposium on Security and Privacy (arXiv), 2021* Using a machine-learning detector on scripts across popular sites, the authors found browser fingerprinting far more common than lists recorded. Fingerprinting depends heavily on running page scripts, which is one reason a browser that runs none avoids it. - **[Beyond the crawl: unmasking browser fingerprinting in real user interactions](https://arxiv.org/abs/2502.01608)** *arXiv preprint, 2025* Measuring fingerprinting while real people browsed, rather than with automated crawlers, this work found more of it than crawls had suggested, especially on pages behind logins. Earlier estimates likely understate the problem. ### Living without page scripts - **[Breaking bad: quantifying the addiction of web elements to JavaScript](https://arxiv.org/abs/2301.10597)** *Chaqfeh et al., ACM Transactions on Internet Technology (arXiv), 2023* The researchers measured what actually breaks when scripts are turned off. Many pages kept their main reading content while ads, trackers and extras disappeared, though some interactive sites became unusable. That trade is the core of a script-free reading browser. - **[Web Almanac: JavaScript](https://almanac.httparchive.org/en/2020/javascript)** *HTTP Archive, 2020* A yearly survey of millions of sites shows the typical page ships a large and growing amount of script, much of it never needed for reading. Script is often the heaviest cost on phones and slow devices. - **[Web Almanac: third parties](https://almanac.httparchive.org/en/2020/third-party)** *HTTP Archive, 2020* Most pages load code from outside companies, including ads, analytics and social widgets. Each one adds weight and a new party that can see the visit. - **[Web Almanac: page weight](https://almanac.httparchive.org/en/2022/page-weight)** *HTTP Archive, 2022* This chapter tracks how heavy web pages have become over time and which kinds of files make up that weight. Stripping pages to their text and images cuts much of it. ### Reader views and calmer pages - **[The impact of web browser reader views on reading speed and user experience](https://wildlab.cs.washington.edu/Publications_files/Li_CHI2019.pdf)** *Li et al., ACM CHI, 2019* In a large online experiment, people read somewhat faster in a simplified reader view, and many preferred it, though the gains varied by person and page. It supports offering a clean view by default while letting readers adjust it. - **[SpeedReader: reader mode made fast and private](https://brave.com/speedreader-www19)** *Ghasemisharif et al., The Web Conference (WWW), 2019* The authors built a reader mode that converts pages before they load extra resources, and found big drops in data use and load time along with fewer third parties contacted. It shows reader views can be a speed and privacy tool, not just a style choice. --- Live page: https://clearwake.ai/research Our summaries are public domain (CC0): copy and share them freely. Each original source belongs to its authors. Nothing here is medical, legal or financial advice. ## Get it ```sh git clone https://branchwell.ai/clearwake.git ```