You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
[P1] Release gate: align Attributes and archive read authorization with object policies #342
Complete authorization acceptance for GetObjectAttributes and the retained read-only ZIP extraction APIs in local main e51bff35a. Detailed security reproductions are retained privately under SECURITY.md. This is a release gate for users relying on object-tag authorization or restricted archive access.
Acceptance:
Evaluate ExistingObjectTag against the actual object/selected version on every relevant read path, preserving both conditional Allow and explicit Deny behavior.
GetObjectAttributes continues to require both Attributes and object-read permissions, using their version-specific variants where applicable.
ZIP GET, HEAD and archive-member listing enforce the appropriate read authorization on the containing archive.
Retain unavailable-metadata error handling and the recently fixed backend error behavior.
Do not automatically replace ListBucket with ListBucketVersions for Attributes error masking: the AWS GetObjectAttributes reference documents ListBucket. Specify and test the desired contract separately.
Source classification: inherited gaps in these read handlers, not introduced merely because recent SILO changes touched adjacent lines. Estimate: 1–2 days including handler regressions. Private report reference: P1-2.
Keeping this gate open. The completed tagging repair in #337 and retryable-error work in #293 do not establish authorization of successful Attributes or archive reads.
The focused solution is to evaluate the actual selected object's tags on each relevant path, retain both Attributes and object-read permissions with the appropriate version-specific actions, and authorize the containing archive for ZIP GET, HEAD and member listing. Missing-object disclosure and unavailable-metadata handling need explicit tests alongside conditional Allow and Deny cases.
The trade-off is the metadata work required to make a real tag-based decision. Reusing the existing evaluator and error-disclosure rules keeps that cost and the behavioral change contained. The repair should preserve retryable backend errors and the documented ListBucket masking contract.
No implementation or new acceptance run for these handlers is included in this batch. Closing the neighboring tagging issues does not close this one.
Accepted in local main at bae0ba0b7; the handler repair is f746d0707. This supersedes the earlier open-gate assessment.
Attributes now authenticates the caller, loads the addressed object's metadata, and evaluates both required permissions using its stored tags. An explicit version uses the version-specific actions and that version's tags. ZIP GET, HEAD and member listing authorize the containing archive; member listing requires both bucket-list and archive-read permission. Conditional Allows and explicit Denies use the existing policy evaluator, without trusting request-supplied tags.
The Attributes missing-object contract continues to use s3:ListBucket. Authorized callers retain retryable backend errors when metadata is unavailable. Changing this to ListBucketVersions, as suggested in the original report, would be a separate contract change.
A missing ZIP index is built in memory during reads. This removes hidden metadata writes and the need for write permission, at the cost of rebuilding the index on subsequent reads. Explicit upload-time indexing remains available.
Validation includes signed and anonymous requests, current/historical Attributes, independent Deny on each required action, indexed/unindexed archives, list-only callers, read-quorum failures, and read-only archive regressions. Local acceptance on this exact source passed with Go 1.27.4: the focused -race suite, all 53 tested Go packages, make verifiers, make build, and the consistency_strict compile check. Strict runtime scenarios were not run; the optional typos check was skipped because its tool is not installed.
Closing the scoped authorization gate. This records local integration, not availability in the published 20261109 artifacts.
Activity
Vonng commentedon Nov 11, 2026
Keeping this gate open. The completed tagging repair in #337 and retryable-error work in #293 do not establish authorization of successful Attributes or archive reads.
The focused solution is to evaluate the actual selected object's tags on each relevant path, retain both Attributes and object-read permissions with the appropriate version-specific actions, and authorize the containing archive for ZIP GET, HEAD and member listing. Missing-object disclosure and unavailable-metadata handling need explicit tests alongside conditional Allow and Deny cases.
The trade-off is the metadata work required to make a real tag-based decision. Reusing the existing evaluator and error-disclosure rules keeps that cost and the behavioral change contained. The repair should preserve retryable backend errors and the documented ListBucket masking contract.
No implementation or new acceptance run for these handlers is included in this batch. Closing the neighboring tagging issues does not close this one.
Vonng commentedon Nov 11, 2026
Accepted in local
mainatbae0ba0b7; the handler repair isf746d0707. This supersedes the earlier open-gate assessment.Attributes now authenticates the caller, loads the addressed object's metadata, and evaluates both required permissions using its stored tags. An explicit version uses the version-specific actions and that version's tags. ZIP GET, HEAD and member listing authorize the containing archive; member listing requires both bucket-list and archive-read permission. Conditional Allows and explicit Denies use the existing policy evaluator, without trusting request-supplied tags.
The Attributes missing-object contract continues to use
s3:ListBucket. Authorized callers retain retryable backend errors when metadata is unavailable. Changing this toListBucketVersions, as suggested in the original report, would be a separate contract change.A missing ZIP index is built in memory during reads. This removes hidden metadata writes and the need for write permission, at the cost of rebuilding the index on subsequent reads. Explicit upload-time indexing remains available.
Validation includes signed and anonymous requests, current/historical Attributes, independent Deny on each required action, indexed/unindexed archives, list-only callers, read-quorum failures, and read-only archive regressions. Local acceptance on this exact source passed with Go 1.27.4: the focused
-racesuite, all 53 tested Go packages,make verifiers,make build, and theconsistency_strictcompile check. Strict runtime scenarios were not run; the optional typos check was skipped because its tool is not installed.Closing the scoped authorization gate. This records local integration, not availability in the published 20261109 artifacts.
fix(auth): authorize attributes and archive reads with stored tags