- 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>
19 lines
511 B
TOML
19 lines
511 B
TOML
[package]
|
|
name = "switchyard-egress"
|
|
description = "SSRF-safe outbound HTTP for Switchyard: host allowlist, private/metadata IP blocking, DNS pinning, re-checked redirects, size and time caps."
|
|
version.workspace = true
|
|
edition.workspace = true
|
|
license.workspace = true
|
|
|
|
[dependencies]
|
|
switchyard-core.workspace = true
|
|
async-trait.workspace = true
|
|
reqwest.workspace = true
|
|
tokio.workspace = true
|
|
url.workspace = true
|
|
tracing.workspace = true
|
|
|
|
[dev-dependencies]
|
|
axum.workspace = true
|
|
serde_json.workspace = true
|