Repository navigation
Architecture
Andrew Paolucci edited this page Nov 26, 2026
·
2 revisions
chrome2rust uses an 8-crate Cargo workspace (resolver = "2", Rust 2024 Edition, MSRV 1.88) strictly separating read-only browser discovery, cache parsing, SQLite/LevelDB forensics, report rendering, CLI/MCP automation, and desktop GUIs.
chrome2rust-cli ──┬──> chrome2rust-mcp ──┐
│ │
chrome2rust-win32 ├──> chrome2rust-report├──> chrome2rust-forensics ──> chrome2rust-cache ──> chrome2rust-core
│ │
chrome2rust-iced ─┴──────────────────────┘
| Crate | #![forbid(unsafe_code)] |
Responsibilities |
|---|---|---|
chrome2rust-core |
Yes | Browser/profile auto-discovery (discovery), magic-byte MIME & extension sniffer (magic), Chromium WebKit/PRTime timestamp conversion (time), best-effort OS keyring / AES-GCM decryption (crypto), SQLite safe read helpers (sqlite_util), structured errors/warnings (error), and tracing logging (logging). |
chrome2rust-cache |
Yes |
Simple Cache (*_0/*_1) & Blockfile (index/data_N/f_xxxxxx) parsers, Chromium Pickle HTTP header/X.509 decoder (pickle), gzip/brotli/zstd/deflate stream decompression (decompress), and multi-format table/payload exporter (export). |
chrome2rust-forensics |
Yes | Read-only browser forensics across Chromium User Data (History, Cookies, Login Data, Web Data, Bookmarks, Preferences, Extensions, SNSS Sessions, Local State, LevelDB/IndexedDB Storage), plus Firefox (fx), Opera (opera), Safari (safari), cross-browser unified timelines, search-queries, image/EXIF/GPS & video carve, unified timeline, and SHA-256 Merkle custody. |
chrome2rust-report |
Yes | Air-gapped standalone HTML (strict CSP, light/dark toggle, interactive search), JSON, Markdown, bundled report generation (UserDataReport), and guap-export / guap-table tabular exports (table_export.rs). |
chrome2rust-mcp |
Yes | JSON-RPC 2.0 stdio MCP server built with guap-mcp, exposing 29 read-only forensic tools (chrome2rust_profiles .. chrome2rust_unified_history). |
chrome2rust-cli |
Yes |
clap-based CLI (chrome2rust) with 15 subcommands, --pick native OS dialogs, --audit-manifest, and GUI launcher. |
chrome2rust-win32 |
Win32 FFI | Native Windows Common Controls GUI built on winsafe 0.0.29 (ComCtl v6, PerMonitorV2 DPI). |
chrome2rust-iced |
Yes | Cross-platform desktop GUI built on iced 0.14 (wgpu + tiny-skia CPU fallback). |
-
Discovery (
chrome2rust-core::discovery): Locates Chromium-family installations (Chrome, Chromium, Edge, Brave, Opera, Vivaldi) and classifies paths asUserData,Profile,Cache, or individual artifact files. -
Cache Scanning (
chrome2rust-cache): Detects Simple Cache vs. Blockfile layout, decodes HTTP headers and TLS/X.509 certificates, optionally decompresses response payloads, detects magic-byte MIME mismatches, and computes SHA-256 digests. -
Profile Forensics (
chrome2rust-forensics): Extracts SQLite records safely without acquiring write locks, enriches findings and timeline events, and builds aUserDataReport. -
Export & Custody (
chrome2rust-report/custody): Outputs self-contained HTML/JSON/Markdown deliverables and deterministic SHA-256 Merkle chain-of-custody manifests.
chrome2rust (v0.2.2) • GUAP Ecosystem (guap.ca) • Rust 2024 Edition • Apache-2.0 License • guap-kit Powered • Repository • Security Policy