Proof Portal
litellm
BerriAI117 findings · 107 requirementsLiteLLM Python->Rust migration audit (proof mirroring).
93 withheld (location undisclosed)
On POST /key/generate the delegation ceiling SHALL bound a child key's max_budget to the caller's own max_budget even when the request omits max_budget.
Specification
The requirement exactly as authored — its complete prose text and, where present, the formal FRETish sentence it compiles to.
On POST /key/generate the delegation ceiling SHALL bound a child key's max_budget to the caller's own max_budget even when the request omits max_budget. A non-admin caller whose key has a finite max_budget SHALL NOT be able to mint a child key with max_budget=None (unlimited) by leaving the field out; when the caller has a finite ceiling and the request omits max_budget the child SHALL default to the caller ceiling (or the request SHALL be rejected), never to unlimited. The ceiling enforcement SHALL NOT be gated on _requested_max_budget being non-None.
Rationale & tags
Why this requirement exists, and how it is categorised.
Rationale & tags
Why this requirement exists, and how it is categorised.
The GHSA-q775 delegation ceiling only fires when _requested_max_budget is non-None, so a capped INTERNAL_USER mints an unlimited child key by omitting max_budget. Captures the privilege-escalation contract the key-generate KI breaks; note the KI itself flags DB-backed e2e reachability as unverified.
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 — "On POST /key/generate the delegation ceiling SHALL bound 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.