litellm/tests/e2e
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
..
budgets test(e2e): drop xfail markers for the now-fixed team-budget-JSON and custom-pricing-leak bugs (#31249) 2026-06-24 18:51:10 -07:00
gateway fix(ocr-security): pin validated addresses and add dedicated Rust input error 2026-07-16 23:40:48 +00:00
llm_translation test(e2e): drop xfail markers for the now-fixed team-budget-JSON and custom-pricing-leak bugs (#31249) 2026-06-24 18:51:10 -07:00
spend_tracking test: add e2e tests for spend, budgets and llms (#30869) 2026-06-24 15:01:57 -07:00
conftest.py test: add e2e tests for spend, budgets and llms (#30869) 2026-06-24 15:01:57 -07:00
e2e_config.py test: add e2e tests for spend, budgets and llms (#30869) 2026-06-24 15:01:57 -07:00
e2e_gateway.py test: add e2e tests for spend, budgets and llms (#30869) 2026-06-24 15:01:57 -07:00
e2e_http.py test: add e2e tests for spend, budgets and llms (#30869) 2026-06-24 15:01:57 -07:00
lifecycle.py test: add e2e tests for spend, budgets and llms (#30869) 2026-06-24 15:01:57 -07:00
models.py test: add e2e tests for spend, budgets and llms (#30869) 2026-06-24 15:01:57 -07:00
pytest.ini test: add e2e tests for spend, budgets and llms (#30869) 2026-06-24 15:01:57 -07:00
test_lifecycle.py test: add e2e tests for spend, budgets and llms (#30869) 2026-06-24 15:01:57 -07:00
transport.py test: add e2e tests for spend, budgets and llms (#30869) 2026-06-24 15:01:57 -07:00