Security & Transparency
Kiebitz decrypts HTTPS traffic on your Mac, manages a local Root CA, and exposes a local MCP server for AI agents. Because developer proxy software is security-sensitive by nature, we publish our architecture, reproducible signature checks, full SBOM, and complete adversarial review results rather than asking for blind trust.
1. Security Architecture at a Glance
Keychain Root CA, Zero Root Privileges
The Root CA private key is generated in your Login Keychain (kSecAttrIsExtractable: false), trusted strictly for the SSL policy for your user account only. No sudo, no privileged helper daemon. Per-domain ECDSA P-256 leaf keys live strictly in RAM.
Memory-Only Custom Pinning CAs
Imported .p12 certificates for SSL pinning are loaded with kSecImportToMemoryOnly and never touch the macOS Keychain. Bundle-ID scoping verifies processes against anchor apple generic and matching Team IDs.
Hardened Local MCP Server
The Unix control socket enforces 0700/0600 permissions and peer-UID verification. Secrets are redacted by default (redact_secrets: true). Map Local, Map Remote, DNS Override, and LAN mode cannot be enabled through MCP or IPC.
LAN Protection Against Localhost SSRF
In LAN mode, Kiebitz resolves and checks every target address (including DNS and ::ffff: IPv6 forms) before issuing a TCP SYN against loopback, link-local, and this Mac’s own interfaces. Unknown devices require explicit approval (“Block” is the default).
2. Verify Your Download Yourself
Every macOS release of Kiebitz is signed with our Apple Developer ID, built with Hardened Runtime, and notarized by Apple. Verify your downloaded disk image directly in Terminal:
# 1. Verify the disk image SHA-256 checksum (Kiebitz-0.1.1.dmg)
shasum -a 256 ~/Downloads/Kiebitz-0.1.1.dmg
# Expected: 2a794de99b3afa3ca254e0c33971357eae490e55c8b79b96b3da46ab8c89bc26
# 2. Verify Apple Developer ID signature, Hardened Runtime, and Notarization
codesign --verify --deep --strict --verbose=2 /Applications/Kiebitz.app
spctl --assess --type execute --verbose=4 /Applications/Kiebitz.app
# Expected: accepted (source=Notarized Developer ID)
# Team ID: 3E892L97V2 (white balance - projects pool agency GmbH)
Sparkle EdDSA Public Key (in Info.plist): nzOown/MurvGjH+/s3b/ojfMxEyQBUU9xePQrpyb8XQ=
3. Methodology: Dual-Model Adversarial Security Review
Our review aligns with OWASP ASVS Level 2, CWE, CVSS v3.1, and the PTES report structure across four phases:
- Independent Blind Audits: Two distinct models (Claude Fable 5.2 and Gemini 4 Neon) independently audit the entire codebase (ProxyEngine, CertKit, RuleEngine, FlowStore, DeviceKit, AppUI, IPC, MCP server, license manager, release scripts, and web config) without seeing each other’s findings.
- Adversarial Cross-Review: Each model challenges the other’s report directly against source code and macOS SDK headers to remove false positives and lock down consensus CVSS v3.1 scores.
- Remediation & Regression Tests: All 17 actionable findings are fixed and covered by 7 dedicated test suites (
SecurityAuditRegressionTests). - Independent Re-Verification: Claude Fable 5.2 re-audits the hardened codebase and uncovers 13 additional bypasses, edge cases, and regressions (including
::ffff:<Mac-IP>LAN bypass, duplicate-Hostand absolute-URI domain fronting inside tunnels, ad-hoc/bundle-ID spoofing and EventLoop blocking in the process resolver, a pre-connect port-scan oracle,CONNECT <ip>:443SNI handling, binary-body cURL syntax, Brotli abort, and export TOCTOU). All 13 items were fixed immediately (109/109 tests passing).
4. Findings & Remediation Ledger (12/2026)
Real transparency means publishing serious findings openly alongside their concrete fixes:
| ID | Severity | CWE | Summary & Remediation | Status |
|---|---|---|---|---|
KB-2026-001 |
High 7.1 | CWE-552 | MCP/IPC and rule import allowed respondLocalFile (Map Local), rewriteURL, and resolveTo. Blocked completely across MCP/IPC; GUI import warns and disables high-risk rules by default; Map Local blocks sensitive paths (including .env*, cloud/shell/browser profiles, Kiebitz data) and caps files at 25 MiB. |
Fixed & Verified |
KB-2026-002 |
Medium 6.5 | CWE-73 | kiebitz_repeat_flow / send_request accepted file:// URLs. Restricted strictly to http/https with non-empty host. |
Fixed & Verified |
KB-2026-003 |
Medium 6.5 | CWE-73 | MCP/IPC HAR and CA exports lacked extension, symlink, overwrite, and atomic-write guards. Fixed with extension allowlists, sensitive-path blocks, and atomic O_CREAT|O_EXCL|O_NOFOLLOW writes (0600 for HAR). |
Fixed & Verified |
KB-2026-004 |
Medium 5.7 | CWE-400 | Resource exhaustion via Brotli bombs, unbounded pre-connect buffering, idle sockets, and unbounded body storage. Brotli now throws directly in the filter callback; added 413 buffer cap, 120s idle timeout, connection caps (512 total / 128 per LAN IP), and 2 GiB session cap. | Fixed & Verified |
KB-2026-005 |
Medium 5.4 | CWE-918 | LAN clients could reach Mac-local services (loopback, link-local, own interfaces) or port-scan via shorthand IPs/DNS. Blocked by default (including ::ffff:<Mac-IP>) with pre-connect DNS resolution checking every returned IP before any TCP SYN; explicit Settings opt-in and user-rule exception added. |
Fixed & Verified |
KB-2026-006 |
Medium 5.3 | CWE-113 | CRLF header injection, out-of-range status codes, and delay overflows in rules. Enabled outbound header validation, RFC 9110 header checks, 100...599 status clamping, and saturating delay limits (10 min). |
Fixed & Verified |
KB-2026-007 |
Medium 5.1 | CWE-88 | Copy as cURL used --data-binary (leading @file read risk) and unquoted -X. Switched to --data-raw, shell-quoted -X, added -g and --, and fixed binary-body POSIX shell syntax. |
Fixed & Verified |
KB-2026-008 |
Medium 4.8 | CWE-306 | LAN approval defaulted Return to “Allow”, revoking IPs kept live sockets open, and MCP could turn LAN mode on. “Block” is now default, revocation closes live LAN channels immediately, and MCP cannot enable lan_mode: true. |
Fixed & Verified |
KB-2026-009 |
Medium 4.4 | CWE-312 | SecPKCS12Import wrote customer PKCS#12 private keys into the macOS Login Keychain. Added kSecImportToMemoryOnly: kCFBooleanTrue. |
Fixed & Verified |
KB-2026-010 |
Medium 4.4 | CWE-290 | PID recycling, spoofable bundle IDs for Custom CAs, substring IP matching, and incomplete TLS cache keys. Cache keyed on (pid, startTime); off-EventLoop verification against anchor apple generic + Team ID; genuine CoreSimulator paths; exact IP matching and UUID-keyed TLS contexts. |
Fixed & Verified |
KB-2026-011 |
Low 3.9 | CWE-78 | Enforced strict allowlist validation for Android serials, proxy settings (including recovery journals), subject hashes, and Simulator UDIDs. | Fixed & Verified |
KB-2026-012 |
Low 3.6 | CWE-362 | Hardened IPC socket with 0700 parent dir, umask(0o077) around bind(), chmod 0600, getpeereid UID verification, and a 4 MiB frame limit. |
Fixed & Verified |
KB-2026-013 |
Low 3.3 | CWE-444 | Bound tunnel requests to CONNECT authority (421 on mismatch), rejected duplicate Host headers (400) and absolute-URI domain fronting (421), enabled outbound Host sync in tunnels, and promoted SNI hostname on CONNECT <ip>:443. |
Fixed & Verified |
KB-2026-014 |
Low 3.3 | CWE-312 | Defaulted redact_secrets to true (MCP & IPC) with full secret redaction; enforced 0700/0600 on app data and WhenUnlockedThisDeviceOnly on PKCS#12 passphrases; wipe ephemeral session dir on clean quit. |
Fixed & Verified |
KB-2026-015 |
Low 3.1 | CWE-693 | Added HTTP security headers (CSP, HSTS, nosniff, X-Frame-Options, Referrer-Policy, Permissions-Policy), Options -Indexes, and no-referrer on /activate/. |
Fixed & Verified |
KB-2026-016 |
Low 2.9 | CWE-295 | Scoped Root CA trust strictly to SSL policy, set kSecAttrIsExtractable: false, rejected wildcard * SANs in LeafIssuer, and raised client MITM default minimum TLS to 1.2. |
Fixed & Verified |
KB-2026-017 |
Info | CWE-79 | Validated PAC host against JS injection, HTML-escaped cert install page with CSP/nosniff, validated kiebitz:// host before fragment, required SPARKLE_PUBLIC_ED_KEY in release.sh, and hardened .gitignore. |
Fixed & Verified |
KB-2026-018 |
Info | — | Offline Ed25519 licensing without server phone-home or revocation list (intentional privacy guarantee). | Accepted by Design |
5. Verification Artifacts & Downloads
Download the machine-readable artifacts backing this page:
6. Report a Vulnerability (Responsible Disclosure)
Found a security issue in Kiebitz or on getkiebitz.com? Please report it directly to support@getkiebitz.com or office@whitebalance.de (see also /.well-known/security.txt). We acknowledge reports promptly and coordinate fixes prior to public disclosure.
Last updated: December 2026