Proof Portal
litellm
BerriAI117 findings · 107 requirementsLiteLLM Python->Rust migration audit (proof mirroring).
93 withheld (location undisclosed)
The OCR handler-to-shared-reqwest-client interface shall bound outbound concurrency with a bulkhead and shall apply an explicit redirect policy that never forwards provider credentials cross-origin.
Specification
The requirement exactly as authored — its complete prose text and, where present, the formal FRETish sentence it compiles to.
The OCR handler-to-shared-reqwest-client interface shall bound outbound concurrency with a bulkhead and shall apply an explicit redirect policy that never forwards provider credentials cross-origin. Today execute_ocr_provider_call and poll_document_intelligence issue calls on the process-wide http_client, which has no semaphore and the default redirect policy (follow up to 10). Both controls are absent and tracked as debt
Rationale & tags
Why this requirement exists, and how it is categorised.
Rationale & tags
Why this requirement exists, and how it is categorised.
The shared reqwest client is the boundary every outbound OCR/audio call crosses. Its concurrency bound and redirect policy were unspecified as a Rust-subject interface requirement; the two controls are absent and owned by existing KIs
Verification & provenance
How this requirement was checked: the review trail, edit history, and the machine-analysis status terms (each ⓘ explains what it means).
Review
- Status
- pending
History
- Created
- Aug 12, 2026, 18:30 UTC · Claude Opus 4 8 · AI agent
- Modified
- Aug 12, 2026, 18:30 UTC · Claude Opus 4 8 · AI agent
Hazard review
- domainreviewed
Both controls that would own the shared clients network behavior are absent in the Rust gateway and owned by existing characterization-backed KIs; the integrated call path itself is witnessed by an integration test
Change history
Every recorded revision of this requirement's source file — newest first, each with its commit message and the diff for that change.
Obligations
What this requirement must witness to be considered satisfied — the required evidence, and the tests that discharge each one.
2 obligations · 2 deferred
Browse the catalogueOutbound concurrency to each external dependency shall be capped (semaphore / bulkhead / circuit breaker) so that one stalled dependency cannot exhaust caller capacity.
With no bulkhead, enough concurrent calls to a slow or degraded upstream (each held up to the 600s client ceiling) exhaust connections, file descriptors, and async workers, head-of-line-blocking every proxy client on the gateway
Deferred — tracked by a finding withheld pending disclosure.
- nominalrequireddeferredWitnessing deferred — accepted while the tracking known issue stays open.
- negativerecommendedpresentCovered by 1 test
HTTP clients shall declare their redirect-following policy (max hops, scheme/host invariants, header propagation).
A caller- or config-controlled api_base that 3xx-redirects cross-origin makes the shared client forward the Ocp-Apim-Subscription-Key (and the request body) to an attacker sink, exfiltrating a live provider credential
Deferred — tracked by a finding withheld pending disclosure.
- nominalrequireddeferredWitnessing deferred — accepted while the tracking known issue stays open.
- negativerecommendedpresentCovered by 1 test
Its place
How this requirement connects — what proves it, what it affects, and what it rests on. Authored links only here; automatically derived links come from the audit index.
Loading graph…
Trace evidence
The concrete artifacts linked to this requirement — implementing code, verifying tests, documents, and the findings raised against it.
Impact
Blast radius — authored trace links only (automatically derived links come from the audit index and aren't shown here).
Impact
Blast radius — authored trace links only (automatically derived links come from the audit index and aren't shown here).
If you change this
Files to re-check (1)
- common_utils.rslitellm-rust/crates/ai-gateway/src/ocr/common_utils.rs
Tests to re-run (1)
- tests.rslitellm-rust/crates/ai-gateway/src/ocr/tests.rs
What this rests on
Discussions
Discuss this with the proof team. Nothing changes in your audit automatically — you open a request and a staff member records any outcome inside the thread.