v0.1.2
Live-reload of rule files and a redaction-leak fix.
Added
- The running proxy now reloads rule files in place. Editing
tools.yaml,redact.yaml, orallowlist.yaml(via the dashboard or by hand) applies within ~2s — noupbox startrestart. A failed edit (bad YAML or uncompilable regex) keeps the previously-loaded config and is logged; it never crashes the proxy or blanks the rules. Adding a brand-new intercepted host still needs a restart (the TLSallow_hostsset is fixed at boot). - Redaction coverage for Google API keys, Slack tokens, GitHub fine-grained and server tokens, and generic
Bearer <token>values appearing in request bodies.
Fixed
- Anthropic and OpenAI API keys were leaking unredacted. The bundled patterns predate base64url key formats, so real modern keys (
sk-ant-api03-…with_,sk-proj-…/sk-svcacct-…) did not match and were forwarded to the cloud. Patterns now tolerate-/_and the modern prefixes;anthropic-keyis ordered beforeopenai-keyso keys are labelled correctly.
Changed
- Rule writes from the dashboard are now atomic (
os.replace), so the watcher never reads a half-written file. The save confirmation notes the change applies automatically.