Repository navigation
Security and Stability
Andrew Paolucci edited this page Nov 23, 2026
·
1 revision
7 of the 8 workspace crates compile with #![forbid(unsafe_code)]:
-
chrome2rust-core,chrome2rust-cache,chrome2rust-forensics,chrome2rust-report,chrome2rust-mcp,chrome2rust-cli, andchrome2rust-iced. -
unsafeis isolated solely tochrome2rust-win32for native Win32 Common Controls (winsafe) windowing and COM file dialogs.
-
Zero Browser Mutation: Cache scanning, SQLite parsing, and User Data analysis operate strictly read-only (
SQLITE_OPEN_READ_ONLY/ snapshot reads) and never modify inspected Chrome profiles. -
Destructive Action Guard:
chrome2rust cache deletedefaults to dry-run preview unless--yesis explicitly passed, andchrome2rust-mcpomits destructive deletion completely. -
Path Traversal Sanitization:
chrome2rust cache extract --website-dirsstrips traversal components and normalizes host/path segments before writing extracted cache payloads.
-
Opt-In Best-Effort Decryption (
--decrypt): Sensitive credential/cookie decryption is disabled by default; explicit--keypassphrases/hex keys and--no-peanutsallow strict investigator control. -
Air-Gapped HTML Reports: Generated HTML reports enforce a strict Content-Security-Policy (
default-src 'none') and escape untrusted URL/header strings safely. -
Vulnerability Reporting: See
SECURITY.mdor submit a private advisory via GitHub Security Advisories.
chrome2rust (v0.2.2) • GUAP Ecosystem (guap.ca) • Rust 2024 Edition • Apache-2.0 License • guap-kit Powered • Repository • Security Policy