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
The image installs its dependencies from the version ranges of pyproject.toml (scripts/image_requirements.py, Dockerfile), without a lock file or hashes. A rebuild of the same commit or tag can therefore install other versions than the image that was scanned and smoke-tested. Pre-existing since v0.3.0; found by the pre-release review of 0.4.0, deferred (not needed for 0.4.0).
Proposed fix
Install the image's dependencies from a hashed constraints/requirements file with pip install --require-hashes, as examples/plugin-image already does for plugins, kept up to date by Dependabot or a CI job, and checked against pyproject.toml by a test.
Acceptance criteria
The image build installs only pinned, hash-checked distributions.
CI fails if the lock is out of date with pyproject.toml.
Activity
docs: scope the hash-check claim to steps
test: check the Dockerfile's exports and PLUGINS