litellm/litellm-rust/crates/python-bridge
Devin AI 9aa73ad92d fix(ocr-security): pin validated addresses and add dedicated Rust input error
Close the DNS-rebinding TOCTOU by resolving and validating each candidate URL
once, then pinning reqwest to exactly that validated SocketAddr set via a
per-request resolver; every redirect hop is revalidated and repinned, so a
connection can never use an unvalidated second DNS answer.

Data-minimize public SSRF errors to a generic message with no URL, host, or
query. Add a dedicated status-aware RustOcrInputError so only genuine
client-input rejections map to BadRequestError; unrelated internal ValueError
stays a server error.

Co-Authored-By: Ishaan Jaffer <155045088+ishaan-berri@users.noreply.github.com>
2026-07-16 23:40:48 +00:00
..
src fix(ocr-security): pin validated addresses and add dedicated Rust input error 2026-07-16 23:40:48 +00:00
AGENTS.md refactor(litellm-rust): dissolve providers into core + ai-gateway (strict 3-crate layers) (#31218) 2026-06-24 12:22:43 -07:00
build.rs feat: package Rust OCR bridge in LiteLLM wheel (#31267) 2026-06-25 12:32:55 -07:00
Cargo.toml feat: port OCR providers to Rust gateway 2026-06-25 13:01:33 -07:00
CLAUDE.md feat: add LiteLLM Rust workspace with Mistral OCR bridge (#31033) 2026-06-23 13:16:47 -07:00