Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Potential fix for pull request finding
Co-authored-by: Copilot Autofix powered by AI <62310815+github-advanced-security[bot]@users.noreply.github.com>
  • Loading branch information
lpcox and github-advanced-security[bot] authored Oct 8, 2026
commit 5bee5b6f98a812e89b5035bfbb7d03d8b0b7823d
8 changes: 8 additions & 0 deletions actions/setup/sh/nvx_host_preflight.sh
Original file line number Diff line number Diff line change
Expand Up @@ -145,6 +145,14 @@ for index in "${!artifact_paths[@]}"; do
fi
done

stage_dir="$("${trusted_tools[mktemp]}" -d)"
"${trusted_tools[chmod]}" 700 "$stage_dir"
"${trusted_tools[install]}" -m 600 -- "$GH_AW_NVX_OPENVMM_SOURCE" "${stage_dir}/openvmm"
"${trusted_tools[install]}" -m 600 -- "$GH_AW_NVX_KERNEL_SOURCE" "${stage_dir}/vmlinux"
"${trusted_tools[install]}" -m 600 -- "$GH_AW_NVX_INITRAMFS_SOURCE" "${stage_dir}/initramfs.cpio.gz"
"${trusted_tools[install]}" -m 600 -- "$GH_AW_NVX_ARTIFACT_MANIFEST_SOURCE" "${stage_dir}/manifest.json"
"${trusted_tools[install]}" -m 600 -- "$GH_AW_NVX_ARTIFACT_MANIFEST_BUNDLE_SOURCE" "${stage_dir}/manifest.sigstore.jsonl"

if ! "${trusted_tools[gh]}" attestation verify "${stage_dir}/manifest.json" \
--repo github/gh-aw-firewall \
--bundle "${stage_dir}/manifest.sigstore.jsonl" \
Expand Down
Loading