Repository navigation
fix(security): consume verified audits in offline image rebuilds #11156
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Changes from 12 commits
Commits
Show all changes
108 commits
Select commit
Hold shift + click to select a range
6268385
fix: carry reviewed npm audit into protected builds
sandl99 ddca63d
refactor: narrow protected audit fix
sandl99 3d4672a
fix: order audit response type guards
sandl99 db2b598
fix: carry audit through protected cache seed
sandl99 a88afed
test: model protected audit verification helper
sandl99 46f28b5
fix(security): pin protected audit evidence paths
sandl99 fcd1873
Merge branch 'main' into fix/npm-audit-incomplete-11088
sandl99 cd32fc1
refactor: reduce protected audit handoff
sandl99 be13769
fix: preserve audit evidence in protected cache
sandl99 38ee435
test: stage protected audit verifier in fixtures
sandl99 5eaf8f5
Merge branch 'main' into fix/npm-audit-incomplete-11088
sandl99 d4c2731
Merge branch 'main' into fix/npm-audit-incomplete-11088
sandl99 cd3679e
fix(security): preserve protected audit isolation
rsliter 08bb2e2
fix(images): preserve audit RUN parsing
rsliter 8ac4d29
merge(security): refresh protected audit fix
rsliter 253f247
fix(images): clean failed protected cache exports
rsliter 5073932
test(security): verify protected audit handoff
rsliter bdf27c8
test(security): keep audit handoff setup direct
rsliter e7b9017
test(security): rely on audit verifier bindings
rsliter 31d6876
merge(security): refresh protected audit handoff
rsliter ff73c97
fix(images): retry reviewed audit export
rsliter 6a64064
merge(images): refresh reviewed audit export
rsliter 20e04a2
merge(images): refresh reviewed audit export
rsliter b9b31a0
fix(security): reject build-context audit evidence
rsliter a5a7bd5
test(images): detect changed audit receipt
rsliter f479884
merge: refresh PR 11156 onto main
rsliter 5d2782c
fix(audit): retry refused registry connections
rsliter 4a8ab51
merge: refresh PR 11156 onto main
rsliter 451ca9b
refactor(audit): share mcporter evidence verification
rsliter e433dfc
test(images): retain base audit outputs
rsliter 3cfbff6
merge: refresh PR 11156 onto main
rsliter bdd9385
test(audit): execute protected mcporter handoff
rsliter fdb356e
merge: refresh PR #11156 with main
rsliter e165162
test(audit): keep producer handoff coverage lean
rsliter 2512f82
merge: refresh PR #11156 with main
rsliter 1871df2
merge: refresh PR #11156 with main
rsliter b6dce0c
fix(images): diagnose empty audit receipt hashes
rsliter ef37a0a
fix(e2e): run protected cache consumer from candidate
rsliter f946900
fix(ci): isolate candidate image build from docker auth
rsliter 4ba522b
test(audit): canonicalize handoff temp path
jyaunches 070c6a0
fix(ci): preserve trusted protected controller
rsliter 8a8d335
merge: preserve concurrent PR #11156 fix
rsliter 3f56655
merge: refresh PR #11156 with main
rsliter 07459b1
fix(ci): trust protected npm audit handoff
rsliter c3a9682
Merge remote-tracking branch 'origin/main' into refresh-pr11156
rsliter 1fc8653
docs(audit): describe trusted protected producer
rsliter 897354b
refactor(ci): inline audit evidence input
rsliter cb44beb
fix(ci): remove stale audit state
rsliter e8531ca
Merge branch 'main' into fix/npm-audit-incomplete-11088
cv a0120b0
Merge remote-tracking branch 'origin/main' into fix/npm-audit-incompl…
jyaunches 116d974
fix(ci): align protected audit workflow gates
jyaunches ab18eac
fix(ci): reuse audit evidence before protected builds
sandl99 40c2554
fix(ci): scope reviewed audit cache identity
jyaunches 177f497
merge: integrate latest PR repairs
jyaunches c30ac05
Merge remote-tracking branch 'origin/main' into fix/npm-audit-incompl…
jyaunches 8ab0aa4
test(ci): verify paired audit evidence handoff
jyaunches a638f70
Merge remote-tracking branch 'origin/main' into fix/npm-audit-incompl…
jyaunches 663d7cf
fix(ci): centralize protected audit authority
jyaunches 069cfa2
merge: integrate latest main into audit fix
rsliter 1f9c0bb
fix(ci): refresh plugin cache seed identity
rsliter d92eff4
fix(audit): retry empty transport responses
rsliter 284b0ce
merge: resolve conflicts with main
github-actions[bot] 47708ed
test(security): isolate forged audit result
rsliter fbc4312
merge: prepare trusted conflict resolution
rsliter 307ddd9
Merge branch 'main' into fix/npm-audit-incomplete-11088
rsliter 65893ca
merge: restore reviewed protected audit resolution
rsliter 320d57d
merge: prepare trusted conflict resolution
rsliter dbe9f0e
merge: integrate current main
rsliter 7b3d841
merge: restore reviewed protected audit resolution
rsliter 1b2805e
test(security): align audit fixture with Node 22
rsliter a6aead6
fix(ci): complete reviewed audit follow-up
jyaunches a8789d8
merge: integrate current main
jyaunches d0b70f7
test(security): align audit fixture with Node 22
rsliter 2a88fc3
fix(build): tolerate omitted audit hash args
jyaunches 16af7c9
Merge branch 'main' into fix/npm-audit-incomplete-11088
rsliter cf181d4
docs(audit): split handoff trust boundaries
jyaunches 98f93c4
merge: integrate latest main
jyaunches 3b1c655
merge: integrate current main
jyaunches c8f51be
merge: preserve protected PR history
jyaunches 4b3130d
Merge branch 'main' into fix/npm-audit-incomplete-11088
rsliter 91f49ab
Merge branch 'main' into fix/npm-audit-incomplete-11088
rsliter d59be95
Merge branch 'main' into fix/npm-audit-incomplete-11088
rsliter aa9075d
merge(ci): integrate trusted protected audit handoff
sandl99 73b67a6
merge(ci): consume published base and isolate vLLM fixtures
sandl99 71dd288
merge: integrate published main for protected image evidence
sandl99 a126c3f
merge: refresh PR #11156 onto current main
rsliter 0d8a071
merge: include latest main in PR #11156
rsliter 733c00a
Merge branch 'main' into fix/npm-audit-incomplete-11088
rsliter 23a959a
Merge branch 'main' into fix/npm-audit-incomplete-11088
rsliter e0e1f71
Merge branch 'main' into fix/npm-audit-incomplete-11088
rsliter d364d1b
Merge branch 'main' into fix/npm-audit-incomplete-11088
rsliter 0a17166
Merge branch 'main' into fix/npm-audit-incomplete-11088
rsliter 736414d
Merge branch 'main' into fix/npm-audit-incomplete-11088
rsliter 7268da9
merge: refresh PR #11156 onto main
rsliter 063bfea
merge: include latest main in PR #11156
rsliter 622b780
merge: include current main in PR #11156
rsliter c0e5a73
fix(ci): use current audit verifier flag
rsliter 3747466
merge: refresh PR #11156 onto current main
rsliter 1441df8
merge: include latest main in PR #11156
rsliter fb2c91e
fix(security): bind protected audit evidence
rsliter ffb23b1
fix(security): preserve shell-only audit verification
rsliter ace89a7
fix(security): parse cached audit receipts strictly
rsliter 31645fc
style(test): apply audit handoff formatting
rsliter abbed15
fix(security): trim protected audit handoff
sandl99 86ca177
Merge branch 'main' into fix/npm-audit-incomplete-11088
sandl99 1bd6e08
merge: use published base for protected GPU qualification
sandl99 38fa1eb
test: isolate vLLM profile selection from host probes
sandl99 ca72fcb
test: retain bounded gateway diagnostics for activation failures
sandl99 File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,31 @@ | ||
| # SPDX-FileCopyrightText: Copyright (c) 2026 NVIDIA CORPORATION & AFFILIATES. All rights reserved. | ||
| # SPDX-License-Identifier: Apache-2.0 | ||
|
|
||
| # Produce reviewed mcporter audit evidence on the networked managed-image | ||
| # builder so the protected rebuild can stay fully offline. | ||
| FROM node:22-trixie-slim@sha256:db8a96a63e5264607ada2d206758876ebbed6a12be2ada7517793cbfb0c2a29c AS protected-mcporter-audit | ||
| ENV RUNNER_TEMP=/tmp | ||
| WORKDIR /opt/nemoclaw-audit | ||
| COPY .github/actions/ci-reviewed-npm-audit/verify-and-install-npm.sh .github/actions/ci-reviewed-npm-audit/verify-and-install-npm.sh | ||
| COPY ci/npm-audit-exceptions.json ci/reviewed-npm-audit.json ci/ | ||
| COPY scripts/audit-reviewed-npm-graph.mts scripts/audit-reviewed-npm-graph.mts | ||
| COPY scripts/lib/npm-audit-receipt.mts scripts/lib/openclaw-npm-remediation.mts scripts/lib/repository-input-path.mts scripts/lib/reviewed-npm-archive.mts scripts/lib/reviewed-npm-audit.mts scripts/lib/ | ||
| COPY agents/openclaw/mcporter-runtime/package.json agents/openclaw/mcporter-runtime/package-lock.json agents/openclaw/mcporter-runtime/ | ||
| # hadolint ignore=DL3016,DL4006,SC2155 | ||
| RUN --network=default set -eu; \ | ||
| export NEMOCLAW_REVIEWED_NPM_VERSION="$(node -p "require('./ci/reviewed-npm-audit.json').npmVersion")"; \ | ||
| export NEMOCLAW_REVIEWED_NPM_INTEGRITY="$(node -p "require('./ci/reviewed-npm-audit.json').npmIntegrity")"; \ | ||
| env -u NODE_AUTH_TOKEN -u NPM_TOKEN -u NPM_CONFIG__AUTH_TOKEN \ | ||
| bash .github/actions/ci-reviewed-npm-audit/verify-and-install-npm.sh; \ | ||
| test "$(npm --version)" = "$NEMOCLAW_REVIEWED_NPM_VERSION" | ||
| RUN --network=default env \ | ||
| -u NODE_AUTH_TOKEN -u NPM_TOKEN -u NPM_CONFIG__AUTH_TOKEN \ | ||
| NEMOCLAW_REVIEWED_NPM_AUDIT_LOCKED_GRAPH=mcporter-runtime \ | ||
| NEMOCLAW_REVIEWED_NPM_AUDIT_REPORT_DIR=artifacts/reviewed-npm-audit \ | ||
| NPM_CONFIG_REGISTRY=https://registry.npmjs.org/ \ | ||
| NPM_CONFIG_USERCONFIG=/dev/null \ | ||
| node --experimental-strip-types scripts/audit-reviewed-npm-graph.mts | ||
|
|
||
| FROM scratch AS protected-mcporter-audit-evidence | ||
| COPY --from=protected-mcporter-audit --chmod=0400 /opt/nemoclaw-audit/artifacts/reviewed-npm-audit/mcporter-runtime.receipt.json /mcporter-runtime.receipt.json | ||
| COPY --from=protected-mcporter-audit --chmod=0400 /opt/nemoclaw-audit/artifacts/reviewed-npm-audit/mcporter-runtime.raw.json /mcporter-runtime.raw.json |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.