caelum0x c48aa103f1 feat(toolgate): SSRF-safe egress, envelope-encrypted vault and response cache
- switchyard-egress: host allowlist (exact and *.suffix), block of
  loopback/RFC1918/CGNAT/link-local/metadata/multicast/reserved and IPv6
  forms that embed them, DNS answers validated then pinned so reqwest
  never re-resolves, https only, 3 re-checked redirects, credential
  headers dropped when a redirect leaves the host, caller Authorization
  and Cookie stripped, size and time caps.
- switchyard-vault: per-org XChaCha20-Poly1305 data keys wrapped by a
  versioned KEK, org|credential associated data, zero-downtime re-wrap.
- switchyard-cache: TTL cache with a byte budget and single-flight dedupe.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-09-29 02:10:34 +03:00
..