Generating key points…
Answers are grounded in this paper and cite their sources.
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.
No takes yet. Share an insight, caveat, or question.
Umashankara Kalaiah (2026) studied this question.
Synapse has enriched 10 related papers. Consider them for comparative context: