Repository navigation
Release: dev into main - #8
Conversation
The workflow's checks were written in it. They are now `./check.sh` (the scripts: the VM set-up's three compositions parse, shellcheck over check.sh, player-account.sh and smoke-test.sh) and `./check.sh image` (the local build and its smoke test), and image.yml's `scripts` and `smoke` jobs run those, as a contributor does. The README says how. Ran here: `./check.sh` (ok) and actionlint. Co-Authored-By: Claude Opus 5.5 <[email protected]>
./check.sh: the repository's check, which CI runs
… a signed attestation Each architecture's build pushes BuildKit's attestations with the image (an SPDX SBOM, the full SLSA provenance), and the publish job attests the multi-arch index it pushed (Sigstore, kept by GitHub and pushed to Docker Hub). README.md: how to check them for the digest the launcher pins. Co-Authored-By: Claude Opus 5.5 <[email protected]>
The image carries an SBOM and its provenance, and the published index a signed attestation
…s squashed shared_squashed=1 says the folder's mount writes as its owner whichever account writes: QEMU's virtiofsd on Linux, which vagrant-qemu runs unprivileged and Isoloom squashes every guest id to the computer's user. That virtiofsd refuses a write made through a supplementary group (it would have to take the group itself), so the player, put in the folder's group, got "Operation not permitted" creating a file there. The box still checks the folder's permissions, so the account needs the group: there it becomes its primary group, which the guest sends no supplementary-group request for. Unset, as before. Co-Authored-By: Claude Opus 5.5 <[email protected]>
player-account.sh: the folder's group is the account's own where it is squashed
…here The launcher stops keeping a copy of the scripts (src-tauri/attack-box/): it downloads them at the commit src-tauri/attack-box.json pins and refuses one whose SHA-256 differs. The pin job writes that file (image, commit, hashes) instead of copying the files. The scripts' behaviour the launcher relied on, tested in its Rust tests until now, is tested here: tests/scripts.sh, run by ./check.sh, on stand-ins for the tools (Kali's key check, the toolset only where missing, the account and the shared folder's group, the desktop's sign-in and screen lock). Co-Authored-By: Claude Opus 5.5 <[email protected]>
The launcher pins a commit and the scripts' hashes; their tests live here
The launcher's consent scan read these scripts from its copy; with the copy gone, the same switches are looked for here. Co-Authored-By: Claude Opus 5.5 <[email protected]>
tests/scripts.sh: nothing is accepted on the player's behalf
Kali's own box (amd64) ships kali-linux-default: nothing was installed there, and still isn't. A Debian VM made Kali (on Arm, where Kali has no box) got all of kali-linux-headless, ten minutes and more on UTM. It now gets a small set, the same for every lab so it hints at no lab's solution: Kali's core and the common web, network and password tools. The player installs more with sudo apt install. The owner's choice (2026-11-21). Co-Authored-By: Claude Opus 5.5 <[email protected]>
vm/toolset.sh: a small fixed set where Kali's toolset isn't there
Codex Review Summary: ✅ CompletedThis comment shows the latest Codex review activity on this pull request.
ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings. |
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: 5771a6910f
ℹ️ About Codex in GitHub
Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".
| case "${1:-scripts}" in | ||
| scripts) scripts ;; | ||
| image) image ;; | ||
| all) scripts && image ;; |
There was a problem hiding this comment.
Preserve script-check failures in the all command
When running ./check.sh all, calling scripts on the left side of && disables Bash's errexit behavior throughout that function. Consequently, failures from shellcheck or tests/scripts.sh are ignored, the final echo reports success, and the image checks proceed; if those pass, the overall command exits successfully despite failed script checks. This was reproduced with a failing shellcheck stub. Invoke scripts outside the conditional list or explicitly propagate failures from both checks.
Useful? React with 👍 / 👎.
dev into main for the 3.0.0 release train (docs/releasing.md in the workspace).
🤖 Generated with Claude Code