Skip to content

fix(api): bound and dedupe blob sidecar indices#248

Open
samcm wants to merge 2 commits into
masterfrom
fix/blob-sidecar-indices
Open

fix(api): bound and dedupe blob sidecar indices#248
samcm wants to merge 2 commits into
masterfrom
fix/blob-sidecar-indices

Conversation

@samcm

@samcm samcm commented Jun 12, 2026

Copy link
Copy Markdown
Member

The blob sidecars endpoint accepted an unbounded number of indices query parameters and honored duplicates, so a single small request could ask for the same ~128KB sidecar tens of thousands of times. The full response is built in memory before writing, which made this an easy way for an unauthenticated client to force multi-GB allocations.

indices is now treated as a bounded set: duplicates are collapsed, values are capped at 1024 per request, and negative values return a 400 instead of a 500.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant