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

vertex_location supplied in a client request body is a host-template input on the Vertex/OCR path (the pure-Rust Vertex OCR URL builder interpolates location into the outbound host, so vertex_location=evil.com/pwn yields host evil.com).

Automated checks pass.
PriorityshallTypeconstraintCategoryconstraintComponentproxy_request_routingAssuranceCFindingsnone open

Specification

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

Description

vertex_location supplied in a client request body is a host-template input on the Vertex/OCR path (the pure-Rust Vertex OCR URL builder interpolates location into the outbound host, so vertex_location=evil.com/pwn yields host evil.com). The proxy edge SHALL either ban vertex_location in the request body or validate it as a bare GCP location token (the same constraint as Python validate_vertex_location) before it can influence the outbound URL, so a client-supplied vertex_location can never become the outbound host for an operator-credential-bearing call. The proxy ban list and the Rust URL builder SHALL NOT disagree on this in a way that lets a Python-preflight cutover expose the host-injection.

Rationale & tags

Why this requirement exists, and how it is categorised.

vertex_location is not mere routing: the Rust Vertex OCR URL builder treats it as a host template, so an unbanned/unvalidated vertex_location is a host-injection (SSRF/confused-deputy) primitive on an operator-credential-bearing call. Captures the proxy-edge validate-or-ban contract and the Python/Rust policy-desync risk the composition KI raises.

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, 05:57 UTC · Claude Code · AI agent
Modified
Aug 13, 2026, 05:57 UTC · Claude Code · 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 — "vertex_location supplied in a client request body is a…" 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