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-DFCHSoftwareReview

[Redacted: refers to a finding withheld pending disclosure.]

2/3 obligations satisfied, automated checks pass.
PriorityshallTypeguaranteeCategorysafetyComponentai_gateway_document_fetchAssuranceCFindingsnone open

Specification

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

Description

[Redacted: refers to a finding withheld pending disclosure.]

Rationale & tags

Why this requirement exists, and how it is categorised.

The document-URL fetch runs before the provider call for providers that require a data-uri document; its SSRF guard, size cap, and no-credential no-redirect posture were unspecified as a Rust-subject requirement. The timeout gap is deferred as tracked debt

rustoutbound-httpssrf

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

    [Redacted: refers to a finding withheld pending disclosure.]

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.

3 obligations · 1 deferred · 2 discharged

Browse the catalogue
Deferred

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

Worst case if violatedMedium

A caller-supplied document host that passes the SSRF IP checks (a public IP) then accepts TCP and stalls holds the OCR handler task past its deadline; the request.timeout never bounds the fetch, so the async worker is pinned indefinitely

Deferred — tracked by a finding withheld pending disclosure.

Discharging evidence0/1 required witnessed
  • nominalrequireddeferred
    Witnessing deferred — accepted while the tracking known issue stays open.
  • negativerecommendedpresent
    Covered by 1 test
Discharged

HTTP clients with user-influenced URLs shall enforce an allowlist of reachable destinations and reject internal-network targets.

If it were violatedMedium

[Redacted: refers to a finding withheld pending disclosure.]

Discharging evidence1/1 required witnessed
  • nominalrequiredpresent
    Covered by 2 tests
Discharged

Deserialization of untrusted input shall enforce schema, type, and size bounds before any object construction.

If it were violatedMedium

Without the download size cap a hostile document host could stream an unbounded body into memory and OOM-kill the shared worker, denying OCR to every co-tenant

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.

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