From be7e3f87918cc548dcbabb62ce7947792c7ce4af Mon Sep 17 00:00:00 2001 From: CyberSecurityUP Date: Sun, 18 Oct 2026 17:02:42 -0300 Subject: [PATCH] feat(web): add max agents field and wire research/quick CLI flags Add Max Agents input to Run Settings section in wizard. Wire maxAgents through POST body, sanitizeLaunch, buildArgs (CLI), and buildReplScript (REPL /agents command). Also pass --quick and --research as CLI flags in buildArgs for modes that support them (run/whitebox/greybox). --- web/public/app.js | 2 ++ web/public/index.html | 1 + web/server.js | 5 +++++ 3 files changed, 8 insertions(+) diff --git a/web/public/app.js b/web/public/app.js index 53860d5..52374af 100644 --- a/web/public/app.js +++ b/web/public/app.js @@ -624,6 +624,7 @@ function renderReview() { { k: 'Leads selected', v: `${state.selected.size} of ${allAgents().length}${state.selected.size === 0 ? ' — auto (recon-driven)' : ''}` }, { k: 'Custom leads', v: String(state.customLeads.length) }, { k: 'Votes / chain / recon', v: `${$('#fieldVotes').value} / ${$('#fieldChain').value} / ${$('#fieldRecon').value}` }, + { k: 'Max agents', v: $('#fieldMaxAgents').value || 'auto' }, { k: 'Budget', v: budgetSummary() }, { k: 'Egress', v: state.authz.transport || 'direct' }, { k: 'Out-of-band', v: state.authz.oobDomain ? `*.${state.authz.oobDomain}` : 'none — blind classes stay leads' }, @@ -665,6 +666,7 @@ async function startExploitation() { votes: Number($('#fieldVotes').value) || 3, chainDepth: Number($('#fieldChain').value), recon: Number($('#fieldRecon').value), + maxAgents: Number($('#fieldMaxAgents').value) || undefined, quick: $('#fieldQuick') ? $('#fieldQuick').checked : false, research: $('#fieldResearch') ? $('#fieldResearch').checked : false, subscription: state.authMode === 'subscription', diff --git a/web/public/index.html b/web/public/index.html index 38173d1..d591094 100644 --- a/web/public/index.html +++ b/web/public/index.html @@ -551,6 +551,7 @@
Models that must agree before a finding is kept.
How far findings get chained into attack paths.
+
Concurrent agents. Empty = harness default.