We are trying to minimize our risk of supply chain attacks and found this action in our workflows stick out as one that still demands a static version. It seems to derive version from https://raw.githubusercontent.com/astral-sh/versions/main/v1/uv.ndjson, which already contains SHA checksums. Some concerns here:
- name: Set up UV
uses: astral-sh/setup-uv@cec208311dfd045dd5311c1add060b2062131d57
with:
version: "0.x.x"
{
"version": "0.11.6",
"date": "2026-04-09T12:12:24Z",
"artifacts": [
{
"platform": "aarch64-apple-darwin",
"variant": "default",
"url": "https://github.com/astral-sh/uv/releases/download/0.11.6/uv-aarch64-apple-darwin.tar.gz",
"archive_format": "tar.gz",
"sha256": "4b69a4e366ec38cd5f305707de95e12951181c448679a00dce2a78868dfc9f5b"
}
]
}
Hi,
We are trying to minimize our risk of supply chain attacks and found this action in our workflows stick out as one that still demands a static version. It seems to derive version from https://raw.githubusercontent.com/astral-sh/versions/main/v1/uv.ndjson, which already contains SHA checksums. Some concerns here:
mainis a branch, so any contamination in the supply chain would end up in this file.Example of artifact in https://raw.githubusercontent.com/astral-sh/versions/main/v1/uv.ndjson: