Skip to content

[P1] Release gate: align Attributes and archive read authorization with object policies #342

Closed

Description

@Vonng

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.

Activity

  1. Vonng commented on Nov 11, 2026

    @Vonng
    MemberAuthor

    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.

  2. added
    bug
    on Nov 11, 2026
  3. added this to the 20261115 milestone on Nov 11, 2026
  4. Vonng commented on Nov 11, 2026

    @Vonng
    MemberAuthor

    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.

  5. moved this from Backlog to Done in Siloon Nov 11, 2026
  6. added a commit that references this issue on Nov 11, 2026
    f746d07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    bug

    Type

    No type

    Projects

    • Status
      Done

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions