mirror of
https://github.com/whit3rabbit/anyllm-proxy.git
synced 2026-09-22 08:00:51 +00:00
1. CSRF token store: replace unbounded DashMap with moka::sync::Cache (max 1,000 entries, 24h TTL) to prevent memory exhaustion. 2. Cloud metadata SSRF: warn at startup if QDRANT_URL/REDIS_URL points at 169.254.169.254 or metadata.google.internal. 3. TLS P12 password: wrap in zeroize::Zeroizing<String> so it is zeroed from heap on drop, preventing extraction from core dumps. 4. CSP nonce: replace unsafe-inline with per-request 128-bit nonce on admin SPA script/style tags. Also includes: batch/bedrock model allowlist enforcement, litellm master_key extraction moved to single-threaded fn main(). Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>