Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Binary file modified runners/extension/icons/icon128.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified runners/extension/icons/icon16.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified runners/extension/icons/icon32.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified runners/extension/icons/icon48.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 1 addition & 1 deletion runners/extension/manifest.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"manifest_version": 3,
"name": "Agent OPFOR",
"version": "0.0.1",
"version": "0.0.2",
"description": "Red-team any chat interface. Auto-detects chat widgets, runs adaptive attacks, and generates security reports.",
"icons": {
"16": "icons/icon16.png",
Expand Down
2 changes: 1 addition & 1 deletion runners/extension/orchestrator.js
Original file line number Diff line number Diff line change
Expand Up @@ -411,7 +411,7 @@ export async function executeAdaptiveRedTeamRun(sendResponse, message, resume) {
}
if (!tab?.id) throw new Error("No active tab found.");

maxRounds = Math.max(1, Math.min(20, Number(message.maxRounds ?? message.turns ?? 10)));
maxRounds = Math.max(1, Math.min(50, Number(message.maxRounds ?? message.turns ?? 10)));
waitMs = Math.max(3000, Math.min(30000, Number(message.waitMs || 10000)));
attackObjective = String(message.attackObjective || "").trim();
scrapeFromSite = message.scrapeFromSite !== false;
Expand Down
2 changes: 1 addition & 1 deletion runners/extension/popup.html
Original file line number Diff line number Diff line change
Expand Up @@ -2665,7 +2665,7 @@
<button class="step-btn" data-step="-1" data-target="maxTurns" type="button">
−
</button>
<input id="maxTurns" type="range" min="1" max="20" value="10" />
<input id="maxTurns" type="range" min="1" max="50" value="10" />
<button class="step-btn" data-step="1" data-target="maxTurns" type="button">+</button>
</div>
</div>
Expand Down
4 changes: 2 additions & 2 deletions runners/extension/popup.js
Original file line number Diff line number Diff line change
Expand Up @@ -537,7 +537,7 @@ async function loadSettings() {
const s = stored[POPUP_SETTINGS_KEY] || {};
Object.assign(state, {
scrapeFromSite: true,
maxTurns: clamp(Number(s.maxTurns) || 10, 1, 20),
maxTurns: clamp(Number(s.maxTurns) || 10, 1, 50),
waitSec: clamp(Number(s.waitSec) || 10, 3, 30),
messageCharLimit: clamp(Math.round((Number(s.messageCharLimit) || 500) / 50) * 50, 100, 1500),
attackObjective: s.attackObjective ?? "",
Expand Down Expand Up @@ -3036,7 +3036,7 @@ function wire() {
$("advDoneBtn").addEventListener("click", closeAdvanced);

// Steppers
bindStepper("maxTurns", "maxTurnsValue", "maxTurns", 1, 20);
bindStepper("maxTurns", "maxTurnsValue", "maxTurns", 1, 50);
bindStepper("waitSec", "waitSecValue", "waitSec", 3, 30);
bindStepper("messageCharLimit", "messageCharLimitValue", "messageCharLimit", 100, 1500);

Expand Down
Loading