Repository navigation
feat(platform): turn on security audits for Void Cloud - #984
Merged
Merged
Conversation
- Hosted capability on, with the AI binding in all API envs. Scan still defaults to Off, so nothing scans until an admin turns it on. - The hourly copy sweep waits until the first probe set up the scanner. - Pin the Engine A/C scanner image digests. - Add a release smoke test for a test platform, with offline tests and docs. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
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. |
🚀 Deploying Preview to Cloudflare 🚀Preview URL: https://feat-security-audits-hosted-void-cloud.voidzero-docs.workers.dev (commit 780a7a2)This URL reflects your latest Preview deploymentPreview Deployments by commit
|
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: efbdb982a5
ℹ️ 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".
- Turn the policy back Off with the revision just read, so an admin change after that read fails with a conflict and is checked again. - Skip expired operator sessions at logout, and take a 401 as already logged out. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Node's fetch stops waiting for headers after 300 seconds, but turning scanning on runs a probe that can take longer. Send the smoke test's calls through an undici agent with no header wait; each call still ends by its own timeout signal. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
Makes security audits usable on Void Cloud. Until now, hosted had the feature switched off in code, so the admin Security page was hidden and nobody could turn scans on.
What changes for hosted
disabled, and an admin turns scanning on from Admin → Security → Scan.policy.entitlement), because a copy can't exist without one. This works even after the last scan row is gone: scan rows are deleted with their project, so "no scan row" was not safe.void platform upgrade --security-audits) is still right for self-hosted.Scanner images
I ran "Publish Security Scanner Images" on main (run 46373075151). Both images pull without credentials from ghcr, and each digest is a single linux/amd64 image manifest whose sha256 matches:
agent_sdk)sha256:1a8de2bbcc745fb68b91d20b2c2fbef2cff001b83e0208911932997574eb6cbbcodex_sdk)sha256:363b46158a2becba2c53243e16af655d43f2205342227ba122d03167dc58e1fcRelease smoke test
node platform/scripts/security-smoke-test.tsdeploys a copy ofplayground/spawith one planted SQL injection route to a test platform, then waits for the deploy scan and requires a finding in that file. Seeplatform/scripts/security-smoke-test.md.SECURITY_SMOKE_CONFIRM.api.void.cloud,void.cloud, other*.void.cloudhosts (except staging) and host names ending in a dot are refused before any network call.METHOD path -> HTTP statusonly.Docs
platform/meta/operations.mdnow has:CF_API_TOKENpermissions, credits or BYOK keys for Engines A/C)prodDesign doc 0095's open items are updated.
Not covered here (needs a person)
Verification
vp checkvp run testvpr test:all🤖 Generated with Claude Code