Proof Portal

Project overview

litellm

BerriAI117 findings · 107 requirements

LiteLLM Python->Rust migration audit (proof mirroring).

93 withheld (location undisclosed)

All requirements
RequirementSW-REQ-260812-TLSRSoftwareReview

A secret-bearing outbound request to an https endpoint shall complete only over a validated TLS session.

All automated checks pass and 1/1 obligations are satisfied. Human review is still pending.
PriorityshallTypeguaranteeCategorysafetyComponentai_gateway_provider_callAssuranceCFindingsnone open

Specification

The requirement exactly as authored — its complete prose text and, where present, the formal FRETish sentence it compiles to.

Description

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.

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

rustoutbound-httptls

Verification & provenance

How this requirement was checked: the review trail, edit history, and the machine-analysis status terms (each ⓘ explains what it means).

Assurance levelC
Formalizationnone
Strategyinformal

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

Reviewed Aug 12, 2026, 18:30 UTCby agent:claude-opus-4-8catalog v1.3.0
  • 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 catalogue
Discharged

Endpoints handling secrets shall reject plaintext HTTP.

If it were violatedHigh

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

Discharging evidence1/1 required witnessed
  • nominalrequiredpresent
    Covered 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).

If you change this

Requirements
0
Files
0
Tests
1
At-risk contracts
0

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.

Sign in to discuss this with the proof team.Sign in