Proof Portal

Project overview

litellm

BerriAI117 findings · 107 requirements

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

93 withheld (location undisclosed)

All requirements
RequirementSYS-REQ-260812-OBNDSystemReview

The Rust ai-gateway shall bound every outbound provider request by a timeout.

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

Specification

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

Description

The Rust ai-gateway shall bound every outbound provider request by a timeout. execute_ocr_provider_call applies the per-call timeout to the provider POST, and the shared http_client carries an absolute ceiling, so a hung or slow upstream surfaces a typed timeout error instead of pinning the async task forever

Rationale & tags

Why this requirement exists, and how it is categorised.

The recon meta-finding is that the Rust ai-gateway network runtime is unspecified as a first-class surface; the timeout invariant of the outbound provider call was governed only by the Python-subject INT-REQ-001. This requirement homes the invariant on the Rust gateway itself

rustoutbound-httpreliability

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
  • domainreviewedexternal_call_timeout_bounded

    The assembled OCR provider call is real outbound network I/O over the shared reqwest client; a hung or slow upstream must be time-bounded so it cannot starve the async worker pool. The per-call .timeout(duration) in execute_ocr_provider_call is the guard; the document-fetch timeout gap is a separate subject (SW-REQ-260812-DFCH)

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

Evidence tagged via <REQ> is witnessed by a requirement that satisfies this one — normal for stakeholder / aggregate requirements, which are proven through the requirements that refine them.

Discharged

Every cross-process call shall declare connect, read, and total deadlines; no external call is defaulted to "no timeout."

If it were violatedMedium

If the outbound provider request carried no timeout, a single upstream that accepts TCP then stalls would pin one async worker until the process is restarted; enough such calls exhaust the worker pool and deny OCR to every co-tenant on that gateway

Discharging evidence1/1 required witnessed
  • nominalrequiredpresent
    Covered by 1 test
  • negativerecommendedpresent
    Covered by 1 test
    via SW-REQ-260812-DFCH

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
3
Files
1
Tests
1
At-risk contracts
0

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.

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