Proof Portal

Project overview

litellm

BerriAI117 findings · 107 requirements

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

93 withheld (location undisclosed)

All requirements
RequirementSW-REQ-260813-RUB1SoftwareDraft

The Rust ai-gateway OCR provider-response read SHALL bound the provider response body before buffering it whole into memory.

Automated checks pass.
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

The Rust ai-gateway OCR provider-response read SHALL bound the provider response body before buffering it whole into memory. execute_ocr_provider_call and poll_document_intelligence SHALL enforce a content-length / streamed read-size cap (mirroring the document-fetch read_response_with_limit path) so a hostile, compromised, or redirect-sink upstream that returns a multi-GB or deeply-nested body cannot OOM/CPU-exhaust the shared worker. A body exceeding the cap SHALL be rejected with a typed size error rather than read unbounded.

Rationale & tags

Why this requirement exists, and how it is categorised.

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

rustoutbound-httpdos

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 13, 2026, 00:00 UTC · Claude Opus 4 8 · AI agent
Modified
Aug 13, 2026, 00:00 UTC · Claude Opus 4 8 · AI agent

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.

The tests that discharge each obligation need a synced audit

The evidence matrix behind each obligation comes from the audit index, which is produced by running an audit — not read from git. Nothing here means unknown — not that the requirement has no obligations.

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

Nothing downstream depends on this yet

No downstream impact — "The Rust ai-gateway OCR provider-response read SHALL bound…" has no downstream edges.

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