Adversarial Systems Design
HyprBlocker





A tamper-resistant website and app blocker for Linux + Hyprland that treats “future me trying to cheat” as the adversary. A Python/FastAPI daemon running under systemd owns all enforcement and fails closed on any error.
It defends in depth: a self-healing mesh of 2–5 watchdog processes with obfuscated names monitors the daemon and each other, NTP-verified time locks mean changing the system clock can’t end a block early, and a Manifest v3 browser extension’s heartbeat is tracked — any browser that stops reporting gets closed via Hyprland IPC.
Wildcard and path-level URL patterns with allow-list exceptions, per-weekday schedules, read-only lock mode, and safe-search enforcement are all managed from a React + TypeScript GUI in a native pywebview window, plus a system tray app. pytest, ruff, and bun in CI.