Repository navigation
fix(platform): let a full security scan finish within its call and time limits - #989
Merged
Merged
Conversation
…me limits On Void Cloud staging, two first scans of the security smoke app on the default DeepSeek model ended `incomplete` (`call_cap`) at exactly 80 model calls. The runner plans one hunt (40 turns) and up to 10 verify sessions (40 turns each), while the proxy stopped the whole scan at 80 calls. - `modelCallsPerScan`: default 80 -> 500, range 10 to 500. - Each verify session gets at most 30 turns, so the planned worst case is 40 + 10 x 30 = 340 calls. - `timeoutMinutes`: default 20 -> 60. Staging ran about 9.3 s per call, so at 20 minutes a scan would stop near 130 calls as `timed_out`, which keeps no findings. - New `void platform security limits --scan-calls <n>`. Saved policies keep their values, so existing installations raise them with `--scan-calls 500 --scan-timeout 60`. Co-Authored-By: Claude Opus 5.5 <[email protected]>
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://fix-security-scan-call-cap-void-cloud.voidzero-docs.workers.dev (commit ef37d5f)This URL reflects your latest Preview deploymentPreview Deployments by commit
|
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.
On Void Cloud staging, the first live security smoke and a rerun both ended
incomplete(call_cap) at exactly 80 model calls. Each was a first scan of the smoke app on the default@cf/deepseek-ai/deepseek-v4.1-flash-1017model. Both still confirmed the planted SQL injection and 2 other real bugs.modelCallsPerScanmax_turnsif lowertimeoutMinutesThe planned worst case is 40 + 10 × 30 = 340 calls (360 for a
standardsweep).Staging ran about 9.3 s per call (80 calls in 12.3 min). At 20 minutes a bigger scan would stop near 130 calls as
timed_out, which keeps no findings, so the default timeout goes to 60.Saved policies keep the values they stored. Existing installations, including hosted staging and production, raise them with the new flag:
Release notes:
platform/meta/operations.md).Tests: a new runner test checks the verify turn cap and fails without the change. Policy, CLI and proxy tests cover the new defaults and the flag.
vp checkpasses, andvp run testpasses (187/187).🤖 Generated with Claude Code