Skip to content

Fence stale network results and bind images to build recipes - #2

Merged
10-X-eng merged 4 commits into
mainfrom
security/image-recipe-freshness
Oct 22, 2026
Merged

10-X-eng merged 4 commits into
mainfrom
security/image-recipe-freshness

Conversation

@10-X-eng

@10-X-eng 10-X-eng commented Oct 22, 2026 •

Copy link
Copy Markdown
Contributor

A caller-owned directory search could sample time before waiting for the shop database write lock, then settle successfully after its deadline with an already-expired supplier candidate. NetworkService now samples time inside the transaction for submission and completion. A regression exercises deadline and candidate-expiry crossings. An independent no-network fixture using an actual SQLite writer lock reproduced the old success and verified rejection with this change.

Worker and runtime launchers now verify the exact Dockerfile recipe hash in each selected image as well as the SDK and dependency fingerprints. Builders stamp that hash into the images, so an image built before a recipe-only security change cannot be selected silently. The public repository also ignores common private-key exports. Federation restore guidance now requires owner/credential reconciliation and lease expiry before reopening a restored cloud listener.

The live OpenBao workload test now waits for the restored node to report active health after unseal before testing its AppRole, matching the existing recovery test's readiness rule. This addresses an intermittent HTTP 500 seen immediately after restore in CI. The service-pool test also treats a process that disappears between /proc lookup and read as terminated; the focused case passed in the restricted local sandbox.

Validation: 15 focused runtime/network tests passed in a bounded no-network Docker sandbox. The deep whole-repository security review covered 97 units and independently verified one low-severity network receipt-integrity finding, fixed here. All seven required PR CI checks passed on commit 3b86f32 (run 39858757505).

Existing selected images must be rebuilt from this checkout before the updated launchers will accept them. Public deployment still requires site-specific identity, network, secret-custody and restore qualification.

@10-X-eng
10-X-eng marked this pull request as ready for review October 22, 2026 21:59
@10-X-eng
10-X-eng merged commit d1c1cb2 into main Oct 22, 2026
7 checks passed
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