Skip to content

v4.0.0 dist/ is not reproducible from source and ships an unverifiable dist/elf_cam_bg.wasm #1242

@potiuk

Description

@potiuk

We re-review every pinned-SHA bump of this action downstream at apache/infrastructure-actions#915, rebuilding dist/ from source and reconciling any in-tree binaries against upstream provenance. v4.0.0 fails on two counts:

  1. dist/ doesn't reproduce from source. Rebuilding from the v4.0.0 source (after the tsconfig.json lib: ["es2022"] change) produces a different dist/index.js / dist/thread.js than what's committed, so we can't confirm the published bundle corresponds to the source it's built from.

  2. dist/elf_cam_bg.wasm has no provenance. It's committed directly to the repo, and the v4.0.0 release ships no assets — no SHA256SUMS, no SLSA attestation — so there's no way to tie the binary's bytes back to a build.

Would you consider (a) making the dist/ build reproducible so it can be verified from source, and (b) adding actions/attest-build-provenance to the release workflow (or shipping a SHA256SUMS asset) so the bundled .wasm is verifiable? Happy to help with a PR.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions