Proof Portal
litellm
BerriAI117 findings · 107 requirementsLiteLLM Python->Rust migration audit (proof mirroring).
93 withheld (location undisclosed)
The Rust ai-gateway control surface shall bound its callback log egress in time and never silently drop spend/usage logs on a hung proxy, shall not forward the master key to a cross-origin redirect target, shall compare the inbound bearer token in constant time, and shall not panic across the FFI/GIL boundary into Python
Specification
The requirement exactly as authored — its complete prose text and, where present, the formal FRETish sentence it compiles to.
The Rust ai-gateway control surface shall bound its callback log egress in time and never silently drop spend/usage logs on a hung proxy, shall not forward the master key to a cross-origin redirect target, shall compare the inbound bearer token in constant time, and shall not panic across the FFI/GIL boundary into Python
the rust_ai_gateway_control_surface shall always satisfy control_surface_trustworthy
Rationale & tags
Why this requirement exists, and how it is categorised.
Rationale & tags
Why this requirement exists, and how it is categorised.
Rust-native operational and security behavior of the ai-gateway control surface (egress worker, auth extractor, GIL tracker) that the OCR transform requirements never governed
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, 15:00 UTC · Claude Opus 4 8 · AI agent
- Modified
- Aug 12, 2026, 15:01 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.
1 obligation · 1 discharged
Browse the catalogueHappy-path behavior with valid inputs.
- nominalrequiredpresentCovered by 1 test
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
the rust_ai_gateway_control_surface shall always satisfy control_surface_trustworthy
MC/DC truth table· 2 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| # | control_surface_trustworthy | Result | Proves | Covering test |
|---|---|---|---|---|
| 1 | F | F | control_surface_trustworthy | Uncovered |
| 2 | T | T | control_surface_trustworthy | 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
Files to re-check (1)
- mod.rslitellm-rust/crates/ai-gateway/src/auth/mod.rs
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.