Skip to content

v0.3.3

Latest

Choose a tag to compare

@Muralnick Muralnick released this 26 Nov 12:00
· 2 commits to main since this release
3ba34b9

Install with uv tool install sugo-cli or pipx install sugo-cli, or run the MCP server in the signed container image:

docker run -i --rm --network none -v ~/Documents:/data:ro ghcr.io/muralnick/sugo:0.3.3

Image digest: sha256:c56231c0aaeb4ea9c67e9f8b8a8dcfe5a0da27d243cc0366a2e3d05bf20056b8 (linux/amd64, linux/arm64). Check it with gh attestation verify oci://ghcr.io/muralnick/sugo:0.3.3 --repo Muralnick/sugo (gh 2.49 or later).

Security: 0.3.1 could put text hidden on a dark box into the Markdown through OCR on mixed PDF pages; upgrade. Details below.

The first release with the container image: 0.3.2 reached PyPI, but its
image job stopped before publishing anything.

Fixed

  • Release pipeline: the container image of 0.3.2 was not published. GitHub's
    SBOM attestation refused the CycloneDX SBOM, which had no serial number,
    and the job stopped before pushing anything (PyPI has 0.3.2). The SBOM
    now carries a serial number derived from its content, so builds stay
    reproducible, and the deprecated actions/attest-sbom is replaced by
    actions/attest (ADR-075).

Also in this release: the changes of 0.3.2 (2026-11-26)

Added

  • (Not published with 0.3.2: the image job failed at the SBOM
    attestation, before any push. The first image is 0.3.3.) A signed container image of the MCP server on GitHub Container Registry,
    ghcr.io/muralnick/sugo, for linux/amd64 and linux/arm64, lite
    level (ADR-075). Each release builds it on both architectures from the
    repository's Dockerfile, runs the MCP probe on the exact image before
    pushing it, and publishes it after the PyPI upload and a second approval,
    as X.Y.Z; X.Y moves only with the highest release of that minor line,
    and latest only with the highest release of all. It is
    signed before it is pushed, with a Sigstore provenance attestation and two
    SBOMs: a CycloneDX SBOM from uv.lock (Python packages and models) and
    BuildKit's list of the Debian and Python packages in the image. Check it with gh attestation verify oci://ghcr.io/muralnick/sugo:X.Y.Z --repo Muralnick/sugo.
  • Dependabot proposes base image updates for the Dockerfile once a week,
    only for releases at least 14 days old (ADR-035) and only Python 3.12
    patch releases.
  • The CI container check also runs on arm64.

Security

  • On a PDF page with only a few words and a drawing, the part read with OCR
    could contain text the page hides. Dark text on a black box, for example,
    became white letters in the image given to OCR, so an instruction no
    reader could see reached the Markdown as plain text (affects 0.3.1). Each
    pixel of the text's area now takes the colour of the nearest pixel a
    reader sees, so no shape of the text is left for OCR, however large the
    letters (ADR-043 amendment). opencv-python-headless, already installed
    by rapidocr, becomes a direct dependency for this.