← All work
PersonalSecurity

Bridgekeeper

A Mac app that shows what my AI coding tools send off the machine. It ties every connection to a signed app, looks inside the ones I choose, and alerts when a secret or personal data leaves.

Today in Bridgekeeper: what needs a look, every app using the internet, and where the data went

Real screens from the app, filled with made-up data so nothing private shows.

What it is
A watchdog for what AI dev tools send off a Mac
My role
I designed and built it with AI coding agents.
Built with
Go · Swift (SwiftUI) · macOS

The problem

AI coding tools run with your permissions, read your files and talk to the network all day. Most teams using them couldn’t say what those tools send, where it goes or how much.

What I set out to do

  • See every connection, tied to the program that made it.
  • Look inside only what I choose, never banking, tax or health.
  • Alert on what matters: a secret from my own .env files, a credential or my personal details leaving the machine.
  • Notice change, for example when an update makes a tool start talking to somewhere new.

How I worked

A written design with a threat model before any code, then phases, each tested on this Mac. Every risk in the threat model is tracked to the code that handles it and how it was tested.

The hard parts

A decrypting proxy is dangerous

A trusted certificate plus a store of decrypted traffic is exactly what an attacker wants. The certificate’s key lives only in memory and is replaced every few days, it’s never added to the Mac’s trust store, and the part that runs as root does as little as possible. Parsing, decryption and storage run as a separate, unprivileged user.

Knowing who sent it

Each connection is tied to its program by that program’s code signature, which can’t be faked without a certificate Apple issued. A process name can be.

Nothing to steal

The store is encrypted, keeps metadata rather than content, and masks anything that looks like an ID. There are no third-party dependencies at all.

What was built

A Go daemon with a root half and an unprivileged half, and a SwiftUI menu bar app.

One alert opened: what was sent, where, and what it means for you
One alert opened: what was sent, where, and what it means for you
The menu bar panel: watching, what it decrypts, and the latest findings
The menu bar panel: watching, what it decrypts, and the latest findings

What it found on day one

One short Claude Code prompt, decrypted and inspected:

  • The prompt itself was 88 KB. The telemetry batch sent alongside it was 614 KB, seven times the size.
  • Logs went to a third party, Datadog: 80–140 KB per prompt.
  • My own email address was in the context sent with the prompt. I didn’t type it. Bridgekeeper flagged it and showed only a redacted form.