Integrating Rust code into the Chromium browser environment

Thesis title: Integrace kódu v jazyce Rust do prostředí prohlížeče Chromium
Author: Suchánek, Vojtěch
Thesis type: Bakalářská práce
Supervisor: Kosek, Jiří
Opponents: Beránek, Jakub
Thesis language: Česky
Abstract:
Tato bakalářská práce se zabývá analýzou a praktickou implementací softwarových komponent v jazyce Rust do prostředí open-source projektu Chromium. Hlavní motivací je řešení výskytu bezpečnostních zranitelností spojených s nízkoúrovňovou správou paměti v jazycích C/C++, které tvoří až 70 % závažných chyb v tomto ekosystému.Práce se konkrétně zaměřuje na modernizaci podpory pro transformace XML dokumentů (XSLT). Současná implementace v Chromiu spoléhá na desítky let starou knihovnu libxslt, která představuje bezpečnostní riziko. Jako řešení práce navrhuje integraci moderní Rustové knihovny XEE přímo do vykreslovacího jádra Blink v rámci procesu Rendereru.
Keywords: Rust; Chromium; XSLT; C++; XEE; Paměťová bezpečnost; FFI; Sestavovací systémy; Blink; Multi-process architektura
Thesis title: Integrating Rust code into the Chromium browser environment
Author: Suchánek, Vojtěch
Thesis type: Bachelor thesis
Supervisor: Kosek, Jiří
Opponents: Beránek, Jakub
Thesis language: Česky
Abstract:
This bachelor thesis focuses on the analysis and practical implementation of Rust software components within the open-source Chromium project. The primary motivation is to address the prevalence of security vulnerabilities associated with low-level memory management in C/C++, which account for up to 70% of serious bugs in this ecosystem. Specifically, the work aims to modernize support for XML document transformations (XSLT). The current implementation in Chromium relies on the decades-old libxslt library, which poses a significant security risk. As a solution, this thesis proposes the integration of the modern Rust library XEE directly into the Blink rendering engine within the Renderer process.
Keywords: Chromium; Rust; XSLT; Blink; Memory Safety; Build Systems; Multi-process Architecture; FFI; C++; XEE

Information about study

Study programme: Aplikovaná informatika
Type of study programme: Bakalářský studijní program
Assigned degree: Bc.
Institutions assigning academic degree: Vysoká škola ekonomická v Praze
Faculty: Faculty of Informatics and Statistics
Department: Department of Information and Knowledge Engineering

Information on submission and defense

Date of assignment: 24. 11. 2025
Date of submission: 18. 5. 2026
Date of defense: 2026

Files for download

The files will be available after the defense of the thesis.

    Last update: