Proof Portal
litellm
BerriAI117 findings · 107 requirementsLiteLLM Python->Rust migration audit (proof mirroring).
93 withheld (location undisclosed)
When a deployment-pinned api_key is configured for a routed call (responses, audio transcription, or ocr) and the client request supplies a blank api_key (empty string or null), the proxy/Router credential selection SHALL NOT let the blank value clobber the deployment credential and fall through to a host process provider secret (OPENAI_API_KEY / MISTRAL_API_KEY / DEEPGRAM_API_KEY).
Specification
The requirement exactly as authored — its complete prose text and, where present, the formal FRETish sentence it compiles to.
When a deployment-pinned api_key is configured for a routed call (responses, audio transcription, or ocr) and the client request supplies a blank api_key (empty string or null), the proxy/Router credential selection SHALL NOT let the blank value clobber the deployment credential and fall through to a host process provider secret (OPENAI_API_KEY / MISTRAL_API_KEY / DEEPGRAM_API_KEY). The deployment-pinned credential SHALL be used to sign the outbound request, or the request SHALL be rejected. A blank api_key is treated as omitted, not as an override. This does not govern direct SDK use with no deployment key configured, where empty-key env fallback is the normal SDK contract.
when (deploy_key_configured & client_api_key_blank) the proxy_credential_selection shall always satisfy ((deploy_key_used | request_rejected) & (! host_env_secret_promoted))
Verification & provenance
How this requirement was checked: the review trail, edit history, and the machine-analysis status terms (each ⓘ explains what it means).
Review
- Status
- pending
History
- Created
- Aug 12, 2026, 19:13 UTC · Claude Code · AI agent
- Modified
- Aug 12, 2026, 19:13 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.
Formula evidence
The formal formula behind this requirement, the variables it is written over, and the tests that exercise it (each term is explained inline).
Formula evidence
The formal formula behind this requirement, the variables it is written over, and the tests that exercise it (each term is explained inline).
FRETish formula
when (deploy_key_configured & client_api_key_blank) the proxy_credential_selection shall always satisfy ((deploy_key_used | request_rejected) & (! host_env_secret_promoted))
MC/DC truth table· 7 rows
Each row assigns the formula's conditions (T/F) and shows the Result— the formula's value for that input row, not a test pass/fail. A row proves a condition when flipping only that condition flips the outcome. The test that covers each row is linked.
mcdc:ignoreNo-actionfalse-result row satisfied by designUncoveredneeds a covering test| # | client_api_key_blank | deploy_key_configured | deploy_key_used | host_env_secret_promoted | request_rejected | Result | Proves | Covering test |
|---|---|---|---|---|---|---|---|---|
| 1 | F | T | T | T | T | T | client_api_key_blank | Uncovered |
| 2 | T | F | T | T | T | T | deploy_key_configured | Uncovered |
| 3 | T | T | F | F | F | F | deploy_key_used | Uncovered |
| 4 | T | T | F | F | T | T | request_rejected | Uncovered |
| 5 | T | T | T | F | F | T | deploy_key_used | Uncovered |
| 6 | T | T | T | F | T | T | host_env_secret_promoted | Uncovered |
| 7 | T | T | T | T | T | F | client_api_key_blank | Uncovered |
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).
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 — "When a deployment-pinned api_key is configured for a routed…" 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.