Skip to content

feat(release): record exceptions for findings an upstream lock file pins - #13715

Merged
cv merged 1 commit into
v1from
fix/upstream-lock-exceptions
Oct 26, 2026
Merged

cv merged 1 commit into
v1from
fix/upstream-lock-exceptions

Conversation

@cv

@cv cv commented Oct 26, 2026

Copy link
Copy Markdown
Collaborator

Failure

The release policy blocks fixable High and Critical findings unless .github/security/v1-vulnerability-exceptions.json records an exception. Each exception had to name upstream_base, the digest of an upstream base image. Many findings in the agent images don't come from a base image: v0.1.0-rc9 reports certifi 2026.5.20 and starlette 1.0.1 in every agent image, and the Fabric image build installs both from Fabric's own workspace lock (uv export --project /src/fabric --frozen reads uv.lock at the pinned Fabric commit). Those findings couldn't be recorded at all.

Decision

Replace upstream_base with upstream, which names exactly one source:

  • {"base_image": "IMAGE@sha256:..."}: the previous meaning, with the same checks.
  • {"lock_file": {"reference": "https://github.com/OWNER/REPO/blob/COMMIT/PATH", "sha256": "..."}}: a lock file at an exact commit of an upstream project, with its checksum, checked like origin evidence. A lock file in the NemoClaw repository is refused, so findings NemoClaw pins stay blocking.

Everything else is unchanged: each exception still matches exactly one finding in one image digest and platform, lasts at most 30 days, and needs origin evidence and a tracking issue. The exceptions file is empty, so no recorded entry changes shape.

docs/contributing/image-assessment.md describes both kinds, with Fabric's uv.lock as the lock-file example.

Not changed: recording all of rc9's blocking findings would still take one entry per finding per image and platform, renewed every 30 days, and new entries whenever an image digest changes.

Validation

  • New test an_upstream_projects_lock_file_can_support_an_exception accepts a lock file in NVIDIA/NeMo-Fabric at a commit.
  • mutable_or_missing_upstream_evidence_cannot_support_an_exception now also rejects a lock file on a branch, a lock file in NVIDIA/NemoClaw (in either case), a bad checksum, both kinds at once, and neither.
  • These and the existing tests that build a policy failed against the old format and pass now.
  • cargo ci passes; nemoclaw-build fern check reports 0 errors.

An exception had to name an upstream base-image digest, so a finding
inherited from an upstream project's lock file, such as certifi in Fabric's
uv.lock, couldn't be recorded. An exception now names its upstream as
either a base image or a lock file at an exact upstream commit with its
checksum. A lock file in the NemoClaw repository is refused, so findings
NemoClaw pins stay blocking.

Signed-off-by: Carlos Villela <[email protected]>
@cv
cv enabled auto-merge (squash) October 26, 2026 05:39
@github-actions

Copy link
Copy Markdown
Contributor

@cv
cv merged commit df765b1 into v1 Oct 26, 2026
54 checks passed
@cv
cv deleted the fix/upstream-lock-exceptions branch October 26, 2026 05:53
gaveezy added a commit that referenced this pull request Oct 26, 2026
#13703 merged into v1 as squash 279ccb5, so GitHub retargeted this
branch to v1 and reported conflicts: the squash repeats the provider
change this branch already holds as its own commits.

Resolution: the squash's tree equals #13703's final head (25349c6)
applied to its parent, so this merge is a three-way merge with 25349c6
as the base. The result differs from v1 by exactly this branch's change
(199 files) and from the branch's previous head by exactly the three
release-CI commits that v1 gained (#13706, #13711, #13715).

Co-Authored-By: Claude Opus 5.5 <[email protected]>
@wscurran wscurran added v1 NemoClaw v1 branch area: ci CI workflows, checks, release automation, or GitHub Actions chore Build, CI, dependency, or tooling maintenance security area: security Security controls, permissions, secrets, or hardening and removed security labels Oct 27, 2026
@cv cv added this to the Roadmap: GTC DC 2026 milestone Nov 18, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area: ci CI workflows, checks, release automation, or GitHub Actions area: security Security controls, permissions, secrets, or hardening chore Build, CI, dependency, or tooling maintenance v1 NemoClaw v1 branch

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants