Skip to content

Pin SkillSpector and verify the Gitleaks download in the CI recipe - #630

Merged
chrisknvidia merged 3 commits into
mainfrom
fix/docs-ci-recipe-hardening
Nov 16, 2026
Merged

chrisknvidia merged 3 commits into
mainfrom
fix/docs-ci-recipe-hardening

Conversation

@chrisknvidia

@chrisknvidia chrisknvidia commented Nov 16, 2026 •

Copy link
Copy Markdown
Collaborator

Refs #603

Finishes the two parts of #603 that #617 (fail-closed gate) and #618 (SHA-pinned actions) did not cover.

  • uv tool install git+https://github.com/NVIDIA/[email protected] becomes the commit behind that tag (54824463), with the tag in a comment, so a moved tag cannot change what the job installs.
  • The Gitleaks step downloads the archive to a file, checks it against the SHA-256 from gitleaks_8.30.0_checksums.txt with sha256sum --check, and only then extracts gitleaks. The checksum is the one ci/Dockerfile.tier1 already uses; I re-downloaded the archive and confirmed it matches.
  • A short paragraph after the recipe says how to update the commit and the checksum.
  • CHANGELOG entry.

skillevaluator itself is still installed from the repo without a ref in this recipe; that is unchanged here.


Devin Review

The copy-paste recipe in docs/ci-integration.mdx installed SkillSpector from a
movable tag and unpacked the Gitleaks archive without checking it. It now
installs SkillSpector from the commit behind v2.13.4 and checks the archive
against the SHA-256 from the release's checksums file before extracting, as
ci/Dockerfile.tier1 already does.

Signed-off-by: Christopher Kevin <[email protected]>
devin-ai-integration[bot]

This comment was marked as resolved.

…commit

The CI recipe now installs SkillSpector from the commit behind the release tag.
The pin test still required every install spec to use the tag. It now requires
the recipe to use the release commit and every other source to use the tag.

Signed-off-by: Christopher Kevin <[email protected]>
@chrisknvidia
chrisknvidia merged commit bcbd770 into main Nov 16, 2026
24 checks passed
@chrisknvidia
chrisknvidia deleted the fix/docs-ci-recipe-hardening branch November 16, 2026 10:34
rng1995 added a commit to HetCreep/SkillEvaluator that referenced this pull request Nov 16, 2026
NVIDIA#630 landed the same pinned-digest Gitleaks step on main with its own
CHANGELOG entry under Changed, so this bullet repeated it.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Signed-off-by: Narendran Raghavan <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant