Scoped keys, unbounded uploads: an empirical study of Amazon S3 presigned URL authority in open-source code

Presigned URLs give holders temporary, credential-free access to objects in Amazon S3. The authority each URL carries is fixed in application code when the URL is generated, where bucket-policy audits and cloud posture scanners cannot see it. A POST upload policy with a loose key condition can let its holder write anywhere in a bucket, but how often this or any other form of over-grant occurs in real code has not been measured. This study mined public GitHub code in eight programming languages and screened 621 extracted call sites, drawn as a random sample and a targeted sample of POST upload policies; 491 were eligible presigned-URL generation sites. Each eligible site was coded for key scope, key origin, authorization, credential type, upload size bound, and expiry. No determinable POST policy allowed writes to arbitrary keys (0 of 164; 95% upper bound 2.3%). By contrast, 29.3% of determinable upload sites set no size bound: 19.6% of POST policies and 82.9% of PUT URLs. Among sites whose authorization could be determined, 59.3% had no resource-level check. An independent second coder agreed with the coding on a subset of 80 sites (Cohen's kappa 0.89–0.97 across fields). Tests on an owned S3 bucket reproduced all five authority patterns. The rates are unweighted across repository strata, describe public GitHub code, and cover only the sites whose visible code settles each question; depending on the dimension, 31% to 93% of sites could not be decided. Over-grant in presigned URLs therefore comes mainly from optional controls that developers omit, not from loose key scope.

Authors

Publication Details

Journal
Frontiers in Computer Science
Published
2026-11-30
DOI
https://doi.org/10.3389/fcomp.2026.2020795
Primary Topic
Cloud Data Security Solutions
Type
article
Field-Weighted Citation Impact
0.00
Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
NOV
article

Scoped keys, unbounded uploads: an empirical study of Amazon S3 presigned URL authority in open-source code

Umashankara Kalaiah
Frontiers in Computer Science
Cloud Data Security Solutions
article

Scoped keys, unbounded uploads: an empirical study of Amazon S3 presigned URL authority in open-source code

Umashankara Kalaiah
article en

Abstract

Presigned URLs give holders temporary, credential-free access to objects in Amazon S3. The authority each URL carries is fixed in application code when the URL is generated, where bucket-policy audits and cloud posture scanners cannot see it. A POST upload policy with a loose key condition can let its holder write anywhere in a bucket, but how often this or any other form of over-grant occurs in real code has not been measured. This study mined public GitHub code in eight programming languages and screened 621 extracted call sites, drawn as a random sample and a targeted sample of POST upload policies; 491 were eligible presigned-URL generation sites. Each eligible site was coded for key scope, key origin, authorization, credential type, upload size bound, and expiry. No determinable POST policy allowed writes to arbitrary keys (0 of 164; 95% upper bound 2.3%). By contrast, 29.3% of determinable upload sites set no size bound: 19.6% of POST policies and 82.9% of PUT URLs. Among sites whose authorization could be determined, 59.3% had no resource-level check. An independent second coder agreed with the coding on a subset of 80 sites (Cohen's kappa 0.89–0.97 across fields). Tests on an owned S3 bucket reproduced all five authority patterns. The rates are unweighted across repository strata, describe public GitHub code, and cover only the sites whose visible code settles each question; depending on the dimension, 31% to 93% of sites could not be decided. Over-grant in presigned URLs therefore comes mainly from optional controls that developers omit, not from loose key scope.

Frontiers in Computer ScienceVol. 8
Cloud Data Security Solutions
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.

Laika access coming soon