A study of open-source Amazon S3 presigned URL generation sites has found that security over-grant stems primarily from optional controls that developers omit rather than from loose key scopes. Presigned URLs grant holders temporary, credential-free access to objects stored in Amazon S3. Because the authority each presigned URL carries is fixed in application code when the URL is generated, conventional bucket-policy audits and cloud security posture scanners cannot observe these permissions. Although a POST upload policy containing a loose key condition can permit a holder to write anywhere in an S3 bucket, empirical analysis of public repositories showed that unconstrained key conditions did not occur in determinable implementations.
The empirical security study, conducted by independent researcher Umashankara Kalaiah and published in Frontiers in Computer Science, examined public GitHub code across eight programming languages to measure how authority is configured in practice. Prior to this research, how often over-grant occurs in real-world application code had not been measured. The mining procedure extracted and screened 621 candidate call sites, collected through both a random sample and a targeted sample of POST upload policies. Following screening, 491 call sites were identified as eligible presigned URL generation sites.
Each eligible presigned URL generation site was coded across six distinct dimensions: key scope, key origin, authorization, credential type, upload size bound, and expiry. To validate the consistency of the classification, an independent second coder reviewed a sample of 80 sites. This dual evaluation confirmed high agreement, with Cohen’s kappa values ranging from 0.89 to 0.97 across the evaluated fields. In addition, experimental validation conducted on an owned Amazon S3 bucket successfully reproduced all five authority patterns observed in the mined open-source code.
The empirical findings showed that key path restrictions were consistently maintained across determinable implementations. Among determinable POST upload policies, not a single site permitted writes to arbitrary keys, representing zero out of 164 determinable policies and establishing a 95 percent upper confidence bound of 2.3 percent. These data demonstrate that developers generating POST upload policies avoided granting unrestricted write access across arbitrary object keys within their target storage buckets.
In contrast to the strict controls applied to key scopes, omissions of upload size limits and authorization checks were widespread. Across all determinable upload sites, 29.3 percent established no upload size bound. When analyzed by upload mechanism, 19.6 percent of determinable POST upload policies and 82.9 percent of determinable PUT presigned URLs lacked size limits entirely. Furthermore, among the generation sites where authorization logic could be determined from the visible source code, 59.3 percent had no resource-level check.
These comparative measurements demonstrate that authority over-grant in presigned URLs arises predominantly from optional security parameters that software developers leave out. While developers routinely constrain object key scopes, the frequent absence of upload size bounds and resource-level authorization checks permits holders to execute unverified actions and transfers without volumetric constraints, leaving the authority boundaries fixed invisibly at the application level.
The author noted specific methodological limitations regarding the findings. The measured rates are unweighted across repository strata, characterize public code hosted on GitHub, and cover only the specific call sites whose visible source code settles each question. Depending on the dimension analyzed, between 31 percent and 93 percent of call sites could not be decided from visible code, meaning that the observed rates reflect only the determinable subset of screened generation sites.
Subject of Research: Authority over-grant and security controls in Amazon S3 presigned URLs in open-source code
Article Title: Scoped keys, unbounded uploads: an empirical study of Amazon S3 presigned URL authority in open-source code
Article References: Kalaiah, U. (2026). Scoped keys, unbounded uploads: an empirical study of Amazon S3 presigned URL authority in open-source code. Frontiers in Computer Science, 8, Article 2020795. https://doi.org/10.3389/fcomp.2026.2020795
Image Credits: AI Generated
DOI: 10.3389/fcomp.2026.2020795
Keywords: Amazon S3, presigned URLs, cloud storage security, access control, least privilege, code mining, empirical security study, POST upload policy, PUT URLs, upload size bound, key scope, resource-level authorization, open-source software, GitHub call sites, credential type, expiry, cloud posture scanners
News Source: Denise Maddox. (November 30, 2026). S3 Presigned URLs Omit Size Bounds and Access Checks in Open Source. Scienmag.



