scribe: a network connection tracker

scribe watches every outgoing connection a computer makes: which host, which program, how often, and whether it is encrypted. It learns what is normal for the machine (learn → caution → alert modes) and alerts on new or unusual hosts and on unencrypted traffic. It stores connection details only, never content, and redacts URL values by default. It captures live traffic.

How it works

  • Two programs: scribed, the service, and scribe, the command line.
  • One sensor per operating system: eBPF on Linux, ETW on Windows, packet capture with the socket table on macOS, and libpcap or Npcap anywhere.
  • Host names come from TLS SNI, QUIC, the HTTP Host header and DNS; Encrypted Client Hello is noted.
  • SQLite on one machine; PostgreSQL for a fleet, with row-level security, insert-only accounts and TLS.
  • Alerts go to desktop notifications, a log and signed webhooks. Threat lists are checked by hash or minisign signature.

Engineering

  • Rust, a workspace of about 25 crates.
  • Conformance suites for every sensor, storage and module plugin; fuzzing; generated pcap fixtures; install and upgrade end-to-end tests on each OS.
  • Signed .deb, .rpm and MSI packages and a notarised macOS .pkg.
  • GitHub Actions for tests, sensors, end-to-end, fuzzing, releases and version bumps.
  • Built with Claude Code, under written project conventions and automated quality gates.

Version 0.3.0-alpha.2. A desktop interface (Tauri) is at the mock-up stage.