Skip to content

spec: req-sc-004 accepts zip registry archives with the same limits as tar.gz #4234

Closed

Description

APM publishes and installs zip archives (apm publish, pack and release produce .zip), but OpenAPM req-sc-004(a) says to reject zip. Amend the requirement to accept tar.gz and zip, reject every other container format, and apply every archive limit (uncompressed size, entry count, path traversal, absolute paths, symlinks, duplicate entries) to both formats. Found during 0.37 spec-conformance linking (Part of #4092).

Activity

  1. danielmeppiel commented on Nov 20, 2026

    @danielmeppiel
    CollaboratorAuthor

    Decision: approve
    Area: project
    Scope: Amend OpenAPM req-sc-004 so registry archives may be tar.gz or zip and every other container is rejected, with the uncompressed-size cap, entry-count cap and traversal, absolute-path, symlink and duplicate-entry refusal applying equally to both formats; update the extractor tests to assert the caps for zip.
    Done when: The specification text and conformance links are updated; the extractor tests assert each limit for zip and tar.gz; spec conformance and the CI lint chain are green.
    Out of scope: New archive formats; changes to publish or pack output formats.
    Review contact: Daniel Meppiel (@danielmeppiel)

  2. added
    type/docs
    status/accepted
    on Nov 20, 2026
  3. added a commit that references this issue on Nov 20, 2026
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

    status/acceptedtype/docs

    Type

    No type

    Projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions