Skip to content

feat: Reaper v3 MITM proxy for AI agents#230

Merged
joshlarsen merged 11 commits intomainfrom
v3
Feb 10, 2026
Merged

feat: Reaper v3 MITM proxy for AI agents#230
joshlarsen merged 11 commits intomainfrom
v3

Conversation

@joshlarsen
Copy link
Member

@joshlarsen joshlarsen commented Feb 10, 2026

Build summary:

Entry point:
- cmd/reaper/main.go — calls cli.Execute()

CLI (internal/cli/):
- root.go — Cobra root command + version subcommand
- start.go — reaper start with --domains, --hosts, --port, -d flags
- start_unix.go / start_windows.go — platform-specific daemon Setsid
- shutdown.go — reaper shutdown
- logs.go — reaper logs -n N
- search.go — reaper search --method --host --domains --path --status
- get.go — reaper get <id> (full req+res)
- req.go / res.go — raw request / response
- format.go — table and raw output formatting

Proxy (internal/proxy/):
- proxy.go — MITM HTTPS proxy (CONNECT hijack + TLS + plain HTTP)
- cert.go — Ephemeral self-signed CA cert generation (RSA 2048, 30-day expiry)
- scope.go — Domain suffix / host exact-match filtering

Storage (internal/storage/):
- models.go — Entry struct + SearchParams
- store.go — Store interface
- sqlite.go — SQLite implementation with WAL mode, wildcard search

Daemon (internal/daemon/):
- protocol.go — IPC JSON message types
- server.go — Unix socket IPC server
- client.go — Unix socket IPC client + WaitForSocket
- daemon.go — Orchestrator: cert gen → storage → proxy → IPC → signal handling

✅ Checks

  • My pull request adheres to the code style of this project
  • My code required changes to the documentation; I've included those changes
  • I've added tests to support this change (where applicable)

@joshlarsen joshlarsen changed the title chore: cleanup feat: Reaper v3 MITM proxy for AI agents Feb 10, 2026
@joshlarsen joshlarsen requested a review from bgeesaman February 10, 2026 21:01
@joshlarsen joshlarsen merged commit b3331b0 into main Feb 10, 2026
3 checks passed
@joshlarsen joshlarsen deleted the v3 branch February 10, 2026 21:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants