Proof Portal
litellm
BerriAI117 findings · 107 requirementsLiteLLM Python->Rust migration audit (proof mirroring).
93 withheld (location undisclosed)
The realtime session-drive endpoint POST /v1/realtime/calls SHALL enforce the originating virtual key's budget on the spend it drives.
Specification
The requirement exactly as authored — its complete prose text and, where present, the formal FRETish sentence it compiles to.
The realtime session-drive endpoint POST /v1/realtime/calls SHALL enforce the originating virtual key's budget on the spend it drives. A caller that mints an ephemeral client_secret via the authenticated /realtime/client_secrets path and then drives a long session on /realtime/calls SHALL remain subject to the virtual key's max_budget: the /realtime/calls handler SHALL re-establish the budget-bearing key context (a key-hash-bound UserAPIKeyAuth carrying max_budget, via Depends(user_api_key_auth) or an equivalent token-bound re-auth) rather than constructing a minimal UserAPIKeyAuth with only user_id/team_id and no budget fields, so operator provider spend cannot continue past the key's budget.
Rationale & tags
Why this requirement exists, and how it is categorised.
Rationale & tags
Why this requirement exists, and how it is categorised.
/v1/realtime/calls builds a minimal UserAPIKeyAuth with no key-hash/max_budget and no Depends(user_api_key_auth), so operator realtime spend continues past the virtual key's budget after the ephemeral secret is minted. Captures the budget-enforcement contract the realtime KI breaks.
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 13, 2026, 05:57 UTC · Claude Code · AI agent
- Modified
- Aug 13, 2026, 05:58 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).
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 realtime session-drive endpoint POST /v1/realtime/calls…" 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.