Proof Portal

Project overview

litellm

BerriAI117 findings · 107 requirements

LiteLLM Python->Rust migration audit (proof mirroring).

93 withheld (location undisclosed)

All requirements
RequirementSW-REQ-260812-Y5H0SoftwareDraft

The caller-influenced aws_sts_endpoint used to build the AWS STS client for AssumeRoleWithWebIdentity SHALL be constrained to legitimate AWS STS hosts (the AWS STS host allowlist across all partitions: global sts.amazonaws.com, regional sts.<region>.amazonaws.com, FIPS sts-fips.<region>.amazonaws.com, dual-stack sts.<region>.api.aws, China sts.<region>.amazonaws.com.cn, GovCloud sts.<region>.amazonaws.com in us-gov, ISO/isolated sts.<region>.c2s.ic.gov and sts.<region>.sc2s.sgov.gov, and PrivateLink VPC-endpoint hosts *.sts.<region>.vpce.amazonaws.com); a request SHALL NOT be able to redirect the AWS web-identity token (WebIdentityToken in AssumeRoleWithWebIdentity) to an arbitrary attacker-controlled host by supplying an out-of-allowlist aws_sts_endpoint

Automated checks pass.
PriorityshallTypeconstraintCategoryconstraintComponentbedrock_aws_authAssuranceEFindingsnone open

Specification

The requirement exactly as authored — its complete prose text and, where present, the formal FRETish sentence it compiles to.

Description

The caller-influenced aws_sts_endpoint used to build the AWS STS client for AssumeRoleWithWebIdentity SHALL be constrained to legitimate AWS STS hosts (the AWS STS host allowlist across all partitions: global sts.amazonaws.com, regional sts.<region>.amazonaws.com, FIPS sts-fips.<region>.amazonaws.com, dual-stack sts.<region>.api.aws, China sts.<region>.amazonaws.com.cn, GovCloud sts.<region>.amazonaws.com in us-gov, ISO/isolated sts.<region>.c2s.ic.gov and sts.<region>.sc2s.sgov.gov, and PrivateLink VPC-endpoint hosts *.sts.<region>.vpce.amazonaws.com); a request SHALL NOT be able to redirect the AWS web-identity token (WebIdentityToken in AssumeRoleWithWebIdentity) to an arbitrary attacker-controlled host by supplying an out-of-allowlist aws_sts_endpoint

FRETish formula
the bedrock_aws_auth shall always satisfy resolved_sts_endpoint_host_in_legitimate_aws_sts_hosts
View full formal model

Rationale & tags

Why this requirement exists, and how it is categorised.

[Redacted: refers to a finding withheld pending disclosure.]

Verification & provenance

How this requirement was checked: the review trail, edit history, and the machine-analysis status terms (each ⓘ explains what it means).

Assurance levelE
Formalizationvalid
Strategyfretish

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).

FRETish formula

the bedrock_aws_auth shall always satisfy resolved_sts_endpoint_host_in_legitimate_aws_sts_hosts

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.

Covereda test exercises this rowExempteda reviewed mcdc:ignoreNo-actionfalse-result row satisfied by designUncoveredneeds a covering test
#resolved_sts_endpoint_host_in_legitimate_aws_sts_hostsResultProvesCovering test
1FFresolved_sts_endpoint_host_in_legitimate_aws_sts_hostsUncovered
2TTresolved_sts_endpoint_host_in_legitimate_aws_sts_hostsUncovered

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).

If you change this

Nothing downstream depends on this yet

No downstream impact — "The caller-influenced aws_sts_endpoint used to build the…" 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.

Sign in to discuss this with the proof team.Sign in