Proof Portal
litellm
BerriAI117 findings · 107 requirementsLiteLLM Python->Rust migration audit (proof mirroring).
93 withheld (location undisclosed)
A secret-bearing outbound request to an https endpoint shall complete only over a validated TLS session.
Specification
The requirement exactly as authored — its complete prose text and, where present, the formal FRETish sentence it compiles to.
A secret-bearing outbound request to an https endpoint shall complete only over a validated TLS session. The shared http_client is built on reqwest rustls defaults with no danger_accept_invalid_certs / danger_accept_invalid_hostnames bypass, so a peer that cannot complete a valid TLS handshake fails closed with a typed Network error and the Bearer credential is never delivered to it
Rationale & tags
Why this requirement exists, and how it is categorised.
Rationale & tags
Why this requirement exists, and how it is categorised.
The Rust gateway sends provider credentials on the outbound side; that these credentials require a validated TLS peer was carried only by the Python-subject INT-REQ-001. This homes the invariant on the Rust shared client
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
- domainreviewedtls_required_for_secrets
The shared reqwest client uses rustls defaults with no invalid-cert/hostname bypass, so a secret-bearing https request fails closed against a peer that cannot complete TLS. The gateway does not itself reject a plaintext http api_base (operator/caller-set), noted in the worst_case as the residual downgrade surface
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.
1 obligation · 1 discharged
Browse the catalogueEndpoints handling secrets shall reject plaintext HTTP.
If the client accepted invalid certificates or downgraded the secret-bearing request, a network MITM would present a forged certificate, capture the live Bearer key, and return attacker-chosen OCR text the caller trusts as genuine
- nominalrequiredpresentCovered 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.
No implementation linked
No source files are traced to this requirement yet.
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
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.