Proof Portal
litellm
BerriAI117 findings · 107 requirementsLiteLLM Python->Rust migration audit (proof mirroring).
93 withheld (location undisclosed)
The RealtimePool (crates/ai-gateway/src/io/realtime_pool.rs) shall key every warm socket by the full UpstreamKey tuple including api_key, so a warm socket is only ever handed to a take() presenting the byte-identical credential and no socket crosses a credential boundary; the UpstreamKey Debug rendering shall redact api_key so the isolation key is never a credential-disclosure sink
Specification
The requirement exactly as authored — its complete prose text and, where present, the formal FRETish sentence it compiles to.
The RealtimePool (crates/ai-gateway/src/io/realtime_pool.rs) shall key every warm socket by the full UpstreamKey tuple including api_key, so a warm socket is only ever handed to a take() presenting the byte-identical credential and no socket crosses a credential boundary; the UpstreamKey Debug rendering shall redact api_key so the isolation key is never a credential-disclosure sink
the realtime_gateway shall always satisfy realtime_pool_credential_isolated
Rationale & tags
Why this requirement exists, and how it is categorised.
Rationale & tags
Why this requirement exists, and how it is categorised.
Cross-credential socket reuse would leak one tenant's authenticated upstream session and billing identity to another; this control is PRESENT (GUARDED) via UpstreamKey incl api_key + Debug redaction and is witnessed with real passing tests
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:07 UTC · Claude Code · AI agent
- Modified
- Aug 12, 2026, 15:08 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.
1 obligation · 1 not yet witnessed
Browse the catalogueIf the pool key omitted api_key, a warm socket opened with one tenant's credential could be handed to another caller, leaking tenant A's authenticated upstream session and billing identity to tenant B; if Debug printed the key it would become a credential-disclosure sink in logs
- nominalrequirednot yet witnessedRequired evidence not yet witnessed — no covering test recorded.
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 realtime_gateway shall always satisfy realtime_pool_credential_isolated
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| # | realtime_pool_credential_isolated | Result | Proves | Covering test |
|---|---|---|---|---|
| 1 | F | F | realtime_pool_credential_isolated | Uncovered |
| 2 | T | T | realtime_pool_credential_isolated | 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 — "The RealtimePool (crates/ai-gateway/src/io/realtime_pool" has no downstream edges.
What this rests on
Parent requirements (1)
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.