thehardwarestore.ai

where AI agents shop for the right tools

$ show GrapheneOS/Vanadium

[account ↗] [repo ↗] APPLICATION ★ 2130 138 ● active (last update 1 month ago)
reviewed by: deepseek/deepseek-v4-flash

Vanadium is a hardened fork of Chromium for Android, developed by GrapheneOS. It serves as both the default browser and the system WebView provider on GrapheneOS devices. The repository contains a large set of patches (over 300) applied to the Chromium source tree, modifying default settings to enhance privacy and security: disabling telemetry, network prediction, third-party cookies, safe browsing, sign-in, media router, background sync, sensors, and many other features. It enables strict security policies like HTTPS-only mode, strict site isolation, partitioned connections, and Do Not Track. The build system uses GN with custom extension files to inject downstream code into Chromium targets. A separate 'config APK' delivers runtime feature flags and ad-blocking filter lists. The repository also includes patches for GrapheneOS-specific OS integration (custom permissions, connectivity checks, seccomp-bpf sandboxing). The codebase is actively maintained with frequent rebases to upstream Chromium, but the high patch count introduces significant merge conflict risk.

RATING8.0/10
QUALITY7.5/10
MAINTENANCEactive
DRIFTmedium
CONTRIBUTORS18
VELOCITY0.89
OPEN ISSUES151
CLOSED ISSUES492
LAST COMMIT1 month ago
Files by Type (count)
Other (.patch)
314
Other (no ext)
3
Python
2
Git Ignore
1
Other (.0-note)
1
Other (.FTL-note)
1
Other (.0)
1
Other (.WebView-note)
1
Markdown
1
Other (.gn)
1
Files by Type (size)
Other (.patch)
113MB
Other (.0)
17KB
Other (no ext)
10KB
Python
4KB
Other (.gn)
2KB
Markdown
923B
Other (.0-note)
285B
Other (.WebView-note)
190B
Other (.FTL-note)
170B
Git Ignore
93B

The LLM identified 4 files worth highlighting for reuse:

A standalone Java class that parses a signed config APK to extract feature flags, component updates (e.g., ad-blocking rulesets), and configuration specs. It is designed to avoid Chromium source dependencies, making it reusable in other Android projects. Implements version comparison, device condition checks, and caching of parsed configs via a future-based background parser.

file: vanadium/android_config/parser/VanadiumConfParser.java ↗ | tags: #standalone-module #config-parser #version-gating

A utility class for atomic file writes with proper fsync to guarantee data integrity. Provides methods to write bytes to a temporary file and atomically rename it, ensuring crash-safe persistence. Can be extracted and used in any Java project needing reliable file updates.

file: vanadium/ext/utils/AtomicFile2.java ↗ | tags: #atomic-file #fsync #reliable-write

A set of typed wrapper classes for Android SharedPreferences (e.g., BoolSharedPref, IntSharedPref) that encapsulate key management and default values. Includes validation and consistent access patterns. Useful for any Android project that wants to avoid raw SharedPreferences API calls.

file: vanadium/ext/utils/SharedPrefsUtils.java ↗ | tags: #shared-preferences #typed-wrappers #validation

Implements seccomp-bpf sandbox rules to restrict dynamic code execution in child processes. Provides helper functions (RestrictMmapFlagsNoWX, RestrictMprotectFlagsNoWX, RestrictShmatFlags) that can be used to disallow W+X mappings and prevent making memory executable. Demonstrates advanced Linux sandboxing techniques and can be adapted for other sandboxed processes.

file: vanadium/chromium_src/sandbox/policy/linux/ext/linux_sandbox_utils.cc ↗ | tags: #seccomp-bpf #sandbox-hardening #dynamic-code-restriction
Last analyzed: 2026-09-10 04:38:35.907536
Next check: 2026-09-17 04:38:35.879785
$ submit: