@pensar/apex 2.7.0-canary.b97c37de → 2.7.0-canary.c2c07de4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/agent-5e5b5t88.js +14 -0
- package/build/agent-d7pjs5k4.js +14 -0
- package/build/{agent-runs-mv346k72.js → agent-runs-ryz2cjjh.js} +19 -19
- package/build/{agent-h542r5ck.js → agent-sxzyjr9r.js} +17 -9
- package/build/{agent-mqw7cepp.js → agent-tca8qhb2.js} +6 -6
- package/build/{agent-12rpyfq0.js → agent-xp4qp0g3.js} +7 -7
- package/build/{apps-hpqfrbra.js → apps-1s5datkw.js} +16 -16
- package/build/{auth-pg1vdh87.js → auth-k5wgtmk8.js} +16 -16
- package/build/blackboxAgent-1px4wed8.js +14 -0
- package/build/{blackboxPentest-6jq62fxm.js → blackboxPentest-hx9871vm.js} +12 -12
- package/build/{cli-w4p21tz0.js → cli-1p1tgyzr.js} +1 -1
- package/build/{cli-x9asejf1.js → cli-4prmr3yj.js} +9 -4
- package/build/{cli-a33pxtzn.js → cli-4wgznsmr.js} +392 -32
- package/build/{cli-bmg0b7b3.js → cli-6wz8t4ep.js} +2 -1
- package/build/{cli-k6asdvcm.js → cli-74jnb6ax.js} +5 -5
- package/build/{cli-e2wraf40.js → cli-7sf4qdt4.js} +3 -3
- package/build/{cli-pzpg8gb4.js → cli-8gbv12nn.js} +10 -8
- package/build/{cli-s587epth.js → cli-b9kw9d9x.js} +2 -2
- package/build/{cli-b8r2pkgw.js → cli-bztvna67.js} +9 -9
- package/build/{cli-ns1chzn0.js → cli-fakz6n22.js} +2 -2
- package/build/{cli-nw8cqcjk.js → cli-fh312pvr.js} +2 -2
- package/build/{cli-nasa1mfr.js → cli-gx31eqv5.js} +2 -2
- package/build/{cli-5javy3hh.js → cli-jy8f0rxk.js} +64 -17
- package/build/{cli-v175dm5w.js → cli-kk3rt10r.js} +1 -1
- package/build/{cli-pwa01039.js → cli-pak21emp.js} +23 -11
- package/build/{cli-hzjbz23e.js → cli-qfvk2mk9.js} +1 -1
- package/build/{cli-v2snvqzm.js → cli-twyfedx8.js} +1 -1
- package/build/{cli-y1r2ft30.js → cli-wb718vpm.js} +1 -1
- package/build/{cli-brhq6v81.js → cli-xf0ejdft.js} +2 -2
- package/build/{cli-v5x18jwp.js → cli-yyjjxa4t.js} +1 -1
- package/build/{cli-ryegravt.js → cli-zx7r9yq6.js} +1 -1
- package/build/cli.js +46 -41
- package/build/{config-807e4hvk.js → config-dmbqe6fp.js} +1 -1
- package/build/{fastStrike-eaqk315e.js → fastStrike-s0c8b3vd.js} +16 -9
- package/build/{fixes-akpy3dmt.js → fixes-6vfgkvkz.js} +16 -16
- package/build/{index-afpype81.js → index-07qs74cb.js} +2 -2
- package/build/{index-1qxgey71.js → index-2gwmy1w8.js} +7 -7
- package/build/{index-cns3r88k.js → index-9a4kv8nh.js} +1 -1
- package/build/{index-h2zaxzje.js → index-d616z65n.js} +5 -5
- package/build/{index-vr2jnxwk.js → index-eg1qs9tw.js} +1 -1
- package/build/{index-thj8gd2h.js → index-er3q6p0m.js} +22 -22
- package/build/{index-pp1j2e43.js → index-h3zkcrhb.js} +5 -5
- package/build/{index-rq8c8xc2.js → index-k5q4d4ef.js} +5 -4
- package/build/{index-hn3ejm0t.js → index-wmzm8xn8.js} +16 -16
- package/build/{issues-mz3cdxhp.js → issues-z2628nqc.js} +16 -16
- package/build/{knowledge-h4zv1shs.js → knowledge-9jkrsjhs.js} +16 -16
- package/build/{lance-ehcr2zm3.js → lance-zjpgk794.js} +7 -7
- package/build/lib/{chunk-d3xtxgnx.js → chunk-2kg2fdk0.js} +24 -12
- package/build/lib/{chunk-er3bs4r4.js → chunk-4h158kbt.js} +1041 -746
- package/build/lib/{chunk-6rnt7z7x.js → chunk-50t0dvkm.js} +1 -1
- package/build/lib/{chunk-1syspb4k.js → chunk-51bs5vrc.js} +11 -11
- package/build/lib/{chunk-r2fxj6es.js → chunk-6q6k4gha.js} +5 -3
- package/build/lib/{chunk-0zs0xw1t.js → chunk-8xqq92zc.js} +2 -2
- package/build/lib/{chunk-c1ycv02j.js → chunk-9j8a76gk.js} +2 -1
- package/build/lib/{chunk-e9rn266j.js → chunk-9jbbkb01.js} +1 -1
- package/build/lib/{chunk-q96stkb4.js → chunk-csv9ty65.js} +9 -4
- package/build/lib/{chunk-vbcqwq8b.js → chunk-cv5by396.js} +6 -6
- package/build/lib/{chunk-zr1sgbp3.js → chunk-da6axx9q.js} +2 -2
- package/build/lib/{chunk-c9x87hz0.js → chunk-dbrge6f8.js} +1 -1
- package/build/lib/{chunk-s5h4xm4b.js → chunk-dpq3z4j9.js} +2 -1
- package/build/lib/{chunk-twa18fm5.js → chunk-dybzcv5v.js} +21 -13
- package/build/lib/{chunk-vwder9j8.js → chunk-e7cn1rhb.js} +1 -1
- package/build/lib/{chunk-00vs23k0.js → chunk-egkkxb7r.js} +1 -1
- package/build/lib/{chunk-fv8c1aw2.js → chunk-gf4cay7s.js} +13 -13
- package/build/lib/chunk-h0rr779d.js +18 -0
- package/build/lib/{chunk-b6x8rhsy.js → chunk-hy5nt4bz.js} +2 -2
- package/build/lib/{chunk-0j8khhtg.js → chunk-jf2ee0yy.js} +1 -1
- package/build/lib/{chunk-nvbvrx8e.js → chunk-md065zf2.js} +75 -9
- package/build/lib/{chunk-j4j2ay1g.js → chunk-nyn9fg8m.js} +52 -21
- package/build/lib/{chunk-y0n7fx53.js → chunk-qw819h5v.js} +8 -6
- package/build/lib/{chunk-4j487zgt.js → chunk-rprkdj91.js} +1 -1
- package/build/lib/{chunk-gzhqpsez.js → chunk-s39bmnb3.js} +1 -1
- package/build/lib/{chunk-ay993hmx.js → chunk-se9126e6.js} +1 -1
- package/build/lib/{chunk-2gnf9h78.js → chunk-sv1vs4q4.js} +2 -2
- package/build/lib/{chunk-p3emq57b.js → chunk-vk8zxmbk.js} +1 -1
- package/build/lib/core/agents/agentRuntime.d.ts +2 -1
- package/build/lib/core/agents/offSecAgent/index.js +11 -11
- package/build/lib/core/agents/offSecAgent/subagentSpawner.d.ts +3 -1
- package/build/lib/core/agents/offSecAgent/subagentSpawner.js +7 -7
- package/build/lib/core/agents/offSecAgent/tools/callbackHits.d.ts +34 -0
- package/build/lib/core/agents/offSecAgent/tools/documentFinding.d.ts +22 -3
- package/build/lib/core/agents/offSecAgent/tools/httpPoc.d.ts +30 -0
- package/build/lib/core/agents/offSecAgent/tools/index.d.ts +9 -0
- package/build/lib/core/agents/offSecAgent/tools/index.js +12 -10
- package/build/lib/core/agents/offSecAgent/tools/scopeGuard.d.ts +6 -0
- package/build/lib/core/agents/offSecAgent/tools/types.d.ts +3 -1
- package/build/lib/core/agents/offSecAgent/types.d.ts +5 -1
- package/build/lib/core/agents/specialized/attackSurface/blackboxAgent.js +13 -13
- package/build/lib/core/agents/specialized/attackSurface/generalizedAgent.js +13 -13
- package/build/lib/core/agents/specialized/attackSurface/schemas.js +11 -11
- package/build/lib/core/agents/specialized/authenticationAgent/index.js +14 -14
- package/build/lib/core/agents/specialized/codeAgent/agent.js +13 -13
- package/build/lib/core/agents/specialized/findingJudge/agent.js +21 -13
- package/build/lib/core/agents/specialized/findingJudge/index.d.ts +1 -1
- package/build/lib/core/agents/specialized/findingJudge/index.js +5 -5
- package/build/lib/core/agents/specialized/findingJudge/prompts.d.ts +2 -1
- package/build/lib/core/agents/specialized/patching/index.js +14 -14
- package/build/lib/core/agents/specialized/pentest/agent.d.ts +4 -2
- package/build/lib/core/agents/specialized/pentest/agent.js +13 -13
- package/build/lib/core/agents/specialized/reconWorker/agent.js +10 -10
- package/build/lib/core/agents/specialized/siemTriage/agent.d.ts +12 -2
- package/build/lib/core/agents/specialized/siemTriage/aws.d.ts +22 -0
- package/build/lib/core/agents/specialized/siemTriage/aws.js +6 -0
- package/build/lib/core/agents/specialized/whiteboxAttackSurface/index.js +13 -13
- package/build/lib/core/ai/ai.js +4 -4
- package/build/lib/core/ai/index.js +4 -4
- package/build/lib/core/ai/utils.js +4 -4
- package/build/lib/core/api/index.js +25 -24
- package/build/lib/core/api/targetedPentest.js +14 -14
- package/build/lib/core/config/index.js +1 -1
- package/build/lib/core/findings/registry.js +5 -5
- package/build/lib/core/http/targetHeaders.d.ts +2 -0
- package/build/lib/core/http/targetScope.d.ts +17 -0
- package/build/lib/core/session/index.js +4 -4
- package/build/lib/core/session/persistence.js +5 -5
- package/build/lib/core/tools/backends/callbacks.d.ts +22 -0
- package/build/lib/core/tools/backends/index.d.ts +1 -1
- package/build/lib/core/tools/backends/index.js +3 -3
- package/build/lib/core/tools/backends/types.d.ts +37 -0
- package/build/lib/core/workflows/fastStrike.d.ts +1 -1
- package/build/lib/core/workflows/pentest.js +19 -19
- package/build/lib/core/workflows/seams.js +6 -6
- package/build/lib/core/workflows/whiteboxAttackSurface.js +15 -15
- package/build/lib/index.js +26 -25
- package/build/{logs-srhdg5j8.js → logs-z94qdr30.js} +16 -16
- package/build/{native-rollout-evidence-eejrgmky.js → native-rollout-evidence-bf1hqpgq.js} +3 -3
- package/build/{offesecAgent-mgy896re.js → offesecAgent-hsg5zqha.js} +6 -6
- package/build/pentest-b1y50z2e.js +23 -0
- package/build/{pentests-7pq2ggf9.js → pentests-1adk16jc.js} +16 -16
- package/build/recordedRunClient-va848m16.js +11 -0
- package/build/{subagentSpawner-25yemark.js → subagentSpawner-kq7gegbk.js} +4 -4
- package/build/{targetedPentest-tbectqgj.js → targetedPentest-xs4vjwfr.js} +8 -8
- package/build/{targets-1mt4qyx9.js → targets-zjj7v03c.js} +16 -16
- package/build/threatModel-2egx4v5z.js +24 -0
- package/build/{uninstall-53z5529h.js → uninstall-kh6xymg7.js} +1 -1
- package/build/{upload-4b62gbd6.js → upload-ry8fd408.js} +4 -4
- package/build/{utils-k912qjnv.js → utils-zqe7bwzm.js} +3 -3
- package/package.json +9 -4
- package/src/core/agents/agentRuntime.test.ts +2 -0
- package/src/core/agents/agentRuntime.ts +3 -1
- package/src/core/agents/offSecAgent/offensiveSecurityAgent.ts +1 -0
- package/src/core/agents/offSecAgent/prompt.test.ts +16 -0
- package/src/core/agents/offSecAgent/prompt.ts +2 -1
- package/src/core/agents/offSecAgent/subagentSpawner.hooks.test.ts +47 -0
- package/src/core/agents/offSecAgent/subagentSpawner.ts +5 -1
- package/src/core/agents/offSecAgent/tools/callbackHits.test.ts +220 -0
- package/src/core/agents/offSecAgent/tools/callbackHits.ts +118 -0
- package/src/core/agents/offSecAgent/tools/documentFinding.test.ts +119 -0
- package/src/core/agents/offSecAgent/tools/documentFinding.ts +72 -12
- package/src/core/agents/offSecAgent/tools/httpPoc.test.ts +483 -0
- package/src/core/agents/offSecAgent/tools/httpPoc.ts +296 -0
- package/src/core/agents/offSecAgent/tools/httpRequest.ts +2 -2
- package/src/core/agents/offSecAgent/tools/index.ts +27 -3
- package/src/core/agents/offSecAgent/tools/runPentestWorkflow.ts +1 -0
- package/src/core/agents/offSecAgent/tools/scopeGuard.test.ts +77 -2
- package/src/core/agents/offSecAgent/tools/scopeGuard.ts +24 -3
- package/src/core/agents/offSecAgent/tools/spawnPentestAgent.ts +1 -0
- package/src/core/agents/offSecAgent/tools/spawnPentestSwarm.ts +1 -0
- package/src/core/agents/offSecAgent/tools/types.ts +7 -1
- package/src/core/agents/offSecAgent/types.ts +7 -1
- package/src/core/agents/specialized/findingJudge/agent.ts +3 -5
- package/src/core/agents/specialized/findingJudge/index.test.ts +6 -6
- package/src/core/agents/specialized/findingJudge/index.ts +2 -0
- package/src/core/agents/specialized/findingJudge/prompts.test.ts +28 -0
- package/src/core/agents/specialized/findingJudge/prompts.ts +17 -2
- package/src/core/agents/specialized/pentest/agent.test.ts +44 -0
- package/src/core/agents/specialized/pentest/agent.ts +31 -4
- package/src/core/agents/specialized/siemTriage/agent.test.ts +40 -0
- package/src/core/agents/specialized/siemTriage/agent.ts +64 -11
- package/src/core/agents/specialized/siemTriage/aws.ts +21 -0
- package/src/core/api/attackSurface.test.ts +14 -16
- package/src/core/http/headers.contract.test.ts +46 -0
- package/src/core/http/targetHeaders.ts +4 -1
- package/src/core/http/targetScope.ts +71 -0
- package/src/core/installation/installation.test.ts +1 -0
- package/src/core/runtime/runTools.test.ts +6 -1
- package/src/core/tools/backends/callbacks.ts +42 -0
- package/src/core/tools/backends/index.ts +4 -0
- package/src/core/tools/backends/local.test.ts +11 -0
- package/src/core/tools/backends/local.ts +1 -0
- package/src/core/tools/backends/policy.ts +2 -1
- package/src/core/tools/backends/types.ts +41 -0
- package/src/core/workflows/fastStrike.test.ts +10 -0
- package/src/core/workflows/fastStrike.ts +18 -2
- package/src/tests/attackSurface.test.ts +20 -22
- package/src/tests/authCookieExport.test.ts +120 -122
- package/src/tests/authPentestHandoff.test.ts +192 -199
- package/src/tests/browserCookies.test.ts +106 -108
- package/build/agent-hng3b6td.js +0 -14
- package/build/agent-mrvk3hhj.js +0 -14
- package/build/blackboxAgent-qrw1jahh.js +0 -14
- package/build/pentest-qz9cektb.js +0 -23
- package/build/recordedRunClient-8n1tfwrq.js +0 -11
- package/build/threatModel-ahcjqhn5.js +0 -24
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import {
|
|
2
|
+
CodeAgent2
|
|
3
|
+
} from "./cli-xf0ejdft.js";
|
|
4
|
+
import"./cli-6wz8t4ep.js";
|
|
5
|
+
import"./cli-qba2x69h.js";
|
|
6
|
+
import"./cli-4wgznsmr.js";
|
|
7
|
+
import"./cli-8gbv12nn.js";
|
|
8
|
+
import"./cli-74jnb6ax.js";
|
|
9
|
+
import"./cli-1p1tgyzr.js";
|
|
10
|
+
import"./cli-c2k4xxaw.js";
|
|
11
|
+
import"./cli-qfvk2mk9.js";
|
|
12
|
+
export {
|
|
13
|
+
CodeAgent2 as CodeAgent
|
|
14
|
+
};
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import {
|
|
2
|
+
runAuthenticationAgent2
|
|
3
|
+
} from "./cli-gx31eqv5.js";
|
|
4
|
+
import"./cli-6wz8t4ep.js";
|
|
5
|
+
import"./cli-qba2x69h.js";
|
|
6
|
+
import"./cli-4wgznsmr.js";
|
|
7
|
+
import"./cli-8gbv12nn.js";
|
|
8
|
+
import"./cli-74jnb6ax.js";
|
|
9
|
+
import"./cli-1p1tgyzr.js";
|
|
10
|
+
import"./cli-c2k4xxaw.js";
|
|
11
|
+
import"./cli-qfvk2mk9.js";
|
|
12
|
+
export {
|
|
13
|
+
runAuthenticationAgent2 as runAuthenticationAgent
|
|
14
|
+
};
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import {
|
|
2
2
|
config2,
|
|
3
3
|
init_config
|
|
4
|
-
} from "./cli-
|
|
5
|
-
import"./cli-
|
|
6
|
-
import"./cli-
|
|
4
|
+
} from "./cli-qfvk2mk9.js";
|
|
5
|
+
import"./cli-1p1tgyzr.js";
|
|
6
|
+
import"./cli-4wgznsmr.js";
|
|
7
7
|
import {
|
|
8
8
|
AgentEventBus
|
|
9
|
-
} from "./cli-
|
|
9
|
+
} from "./cli-8gbv12nn.js";
|
|
10
10
|
import {
|
|
11
11
|
inspectSessionEvidence2,
|
|
12
12
|
RecordedRunSpecSchema,
|
|
@@ -17,27 +17,27 @@ import {
|
|
|
17
17
|
runRecordedAgent2,
|
|
18
18
|
RunRecoveryBlockedError2,
|
|
19
19
|
resumeRecordedAgent2
|
|
20
|
-
} from "./cli-
|
|
21
|
-
import"./cli-
|
|
22
|
-
import"./cli-
|
|
23
|
-
import"./cli-
|
|
24
|
-
import"./cli-
|
|
25
|
-
import"./cli-
|
|
26
|
-
import"./cli-
|
|
27
|
-
import"./cli-
|
|
28
|
-
import"./cli-
|
|
20
|
+
} from "./cli-jy8f0rxk.js";
|
|
21
|
+
import"./cli-fh312pvr.js";
|
|
22
|
+
import"./cli-xf0ejdft.js";
|
|
23
|
+
import"./cli-7sf4qdt4.js";
|
|
24
|
+
import"./cli-bztvna67.js";
|
|
25
|
+
import"./cli-gx31eqv5.js";
|
|
26
|
+
import"./cli-pak21emp.js";
|
|
27
|
+
import"./cli-kk3rt10r.js";
|
|
28
|
+
import"./cli-zx7r9yq6.js";
|
|
29
29
|
import"./cli-ak23knae.js";
|
|
30
30
|
import {
|
|
31
31
|
resolveWorkerExecutable,
|
|
32
32
|
launchLocalWorker
|
|
33
|
-
} from "./cli-
|
|
34
|
-
import"./cli-
|
|
35
|
-
import"./cli-
|
|
33
|
+
} from "./cli-wb718vpm.js";
|
|
34
|
+
import"./cli-b9kw9d9x.js";
|
|
35
|
+
import"./cli-6wz8t4ep.js";
|
|
36
36
|
import"./cli-qba2x69h.js";
|
|
37
37
|
import {
|
|
38
38
|
buildAuthConfig,
|
|
39
39
|
init_ai2
|
|
40
|
-
} from "./cli-
|
|
40
|
+
} from "./cli-74jnb6ax.js";
|
|
41
41
|
import"./cli-c2k4xxaw.js";
|
|
42
42
|
|
|
43
43
|
// src/cli/agent-runs.ts
|
|
@@ -118,7 +118,7 @@ async function runAgentRunsCommand(args) {
|
|
|
118
118
|
if (!isAbsolute(values.store)) {
|
|
119
119
|
throw new Error("agent-runs worker requires --store <absolute database>");
|
|
120
120
|
}
|
|
121
|
-
const { serveLocalRunWorker } = await import("./index-
|
|
121
|
+
const { serveLocalRunWorker } = await import("./index-wmzm8xn8.js");
|
|
122
122
|
await serveLocalRunWorker({
|
|
123
123
|
runId: values.run,
|
|
124
124
|
databasePath: resolve(values.store)
|
|
@@ -132,7 +132,7 @@ async function runAgentRunsCommand(args) {
|
|
|
132
132
|
${HELP}`);
|
|
133
133
|
}
|
|
134
134
|
if (command === "attach") {
|
|
135
|
-
const { openRecordedRunClient } = await import("./recordedRunClient-
|
|
135
|
+
const { openRecordedRunClient } = await import("./recordedRunClient-va848m16.js");
|
|
136
136
|
const client = await openRecordedRunClient(values.store);
|
|
137
137
|
const controller = new AbortController;
|
|
138
138
|
const detach = () => controller.abort();
|
|
@@ -1,16 +1,18 @@
|
|
|
1
|
-
import
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
import"./cli-
|
|
1
|
+
import {
|
|
2
|
+
callbackDomains
|
|
3
|
+
} from "./cli-4wgznsmr.js";
|
|
4
|
+
import"./cli-8gbv12nn.js";
|
|
5
|
+
import"./cli-qfvk2mk9.js";
|
|
6
|
+
import"./cli-1p1tgyzr.js";
|
|
5
7
|
import {
|
|
6
8
|
AgentRuntime,
|
|
7
9
|
defineAgent
|
|
8
|
-
} from "./cli-
|
|
10
|
+
} from "./cli-6wz8t4ep.js";
|
|
9
11
|
import"./cli-qba2x69h.js";
|
|
10
12
|
import {
|
|
11
13
|
stepCountIs2,
|
|
12
14
|
init_dist
|
|
13
|
-
} from "./cli-
|
|
15
|
+
} from "./cli-74jnb6ax.js";
|
|
14
16
|
import"./cli-c2k4xxaw.js";
|
|
15
17
|
import {
|
|
16
18
|
init_zod
|
|
@@ -38,7 +40,7 @@ function truncate(value, limit) {
|
|
|
38
40
|
return `${value.substring(0, limit)}
|
|
39
41
|
... [truncated]`;
|
|
40
42
|
}
|
|
41
|
-
var
|
|
43
|
+
var judgeSystemPrompt = (outOfBandRule) => `You are a security finding validation specialist running as an agentic verifier inside an automated penetration testing pipeline.
|
|
42
44
|
|
|
43
45
|
You are the last line of defense against false positives, hallucinated findings, fabricated evidence, and overstated impact. Your job is to independently verify whether a submitted proof-of-concept and its output support the claimed finding.
|
|
44
46
|
|
|
@@ -71,7 +73,7 @@ You are the last line of defense against false positives, hallucinated findings,
|
|
|
71
73
|
- IDOR: output should show access to another user's/account's resource while authentication exists.
|
|
72
74
|
- Authorization / access-control boundary bypass (RSC/prefetch/redirect-body leaks, missing per-route checks): the evidence must establish the access-model delta — which identity/role was used, and proof that the returned data is genuinely out of scope for that identity (cross-tenant, another user's, or admin-only data a member should not see). A 200 response, a leaked RSC payload, or a skipped redirect alone does NOT prove sensitive exposure. If the bypass is real but the returned data is non-sensitive or plausibly same-tenant/expected-visible, classify as a valid lower-impact finding and require the claim's impact/severity to match — do NOT accept it as high-confidence sensitive/cross-tenant exposure.
|
|
73
75
|
- Authentication bypass: output should show protected access without valid credentials.
|
|
74
|
-
- Email/HTML injection: ideally verify delivery and rendering. If only server acceptance is shown, confidence must stay below 0.7 and limitations must state rendering was not independently verified.
|
|
76
|
+
${outOfBandRule}- Email/HTML injection: ideally verify delivery and rendering. If only server acceptance is shown, confidence must stay below 0.7 and limitations must state rendering was not independently verified.
|
|
75
77
|
- Missing rate limiting / anti-automation: a modest burst (~20 requests) with no observed throttling, delays, or 429s is sufficient to demonstrate the gap. For endpoints with real-world side effects (sending email/SMS/push, creating tickets/notifications, contact/support/feedback forms, payments), as few as 2–3 attempts plus the observed response is sufficient — do NOT require volume-testing that would spam real recipients. Evidence must state exact request count, timing/distribution, and observed statuses.
|
|
76
78
|
|
|
77
79
|
### Common Low-Signal Patterns
|
|
@@ -112,6 +114,12 @@ Call the response tool exactly once. Include:
|
|
|
112
114
|
- reproducedPoc: whether you reran or independently reproduced the PoC.
|
|
113
115
|
- webResearchUsed: whether web research materially informed the judgment.
|
|
114
116
|
- limitations: remaining gaps.`;
|
|
117
|
+
var FINDING_JUDGE_SYSTEM_PROMPT = judgeSystemPrompt("");
|
|
118
|
+
var OUT_OF_BAND_RULE = `- Out-of-band (blind SSRF, XXE, webhook, host-header or password-reset poisoning, blind injection): the target's own response won't show the impact. Accept a claim that cites a callback hit (hitId, method, path, source IP, user agent, time) read with read_callback_hits when its path carries the marker the PoC sends and the PoC makes the target, not the PoC itself, request that URL. You can't read callbacks yourself, so confidence must stay below 0.7 and limitations must state the callback was not independently re-observed. Reject an out-of-band claim with no cited hit, or one where the PoC requests the test domain directly.
|
|
119
|
+
`;
|
|
120
|
+
function findingJudgeSystemPrompt(callbackDomains) {
|
|
121
|
+
return judgeSystemPrompt(callbackDomains.length > 0 ? OUT_OF_BAND_RULE : "");
|
|
122
|
+
}
|
|
115
123
|
function buildFindingJudgePrompt(input) {
|
|
116
124
|
const { pocScript, pocType, pocOutput, claim } = input;
|
|
117
125
|
return `# Finding Validation Request
|
|
@@ -202,7 +210,7 @@ function resolveTarget(opts) {
|
|
|
202
210
|
var findingJudgeDefinition = defineAgent({
|
|
203
211
|
name: "finding-judge",
|
|
204
212
|
role: "judge",
|
|
205
|
-
system: () =>
|
|
213
|
+
system: (opts) => findingJudgeSystemPrompt(callbackDomains(opts)),
|
|
206
214
|
activeTools: () => [...FINDING_JUDGE_ACTIVE_TOOLS],
|
|
207
215
|
responseSchema: () => FindingJudgeOutputSchema,
|
|
208
216
|
stopWhen: () => stepCountIs2(60),
|
|
@@ -1,21 +1,21 @@
|
|
|
1
|
-
import"./cli-
|
|
2
|
-
import"./cli-
|
|
3
|
-
import"./cli-
|
|
1
|
+
import"./cli-8gbv12nn.js";
|
|
2
|
+
import"./cli-qfvk2mk9.js";
|
|
3
|
+
import"./cli-1p1tgyzr.js";
|
|
4
4
|
import {
|
|
5
5
|
RECON_WORKER_TOOLS
|
|
6
|
-
} from "./cli-
|
|
6
|
+
} from "./cli-4wgznsmr.js";
|
|
7
7
|
import {
|
|
8
8
|
buildCredentialsBlock
|
|
9
9
|
} from "./cli-xs69gx66.js";
|
|
10
10
|
import {
|
|
11
11
|
AgentRuntime,
|
|
12
12
|
defineAgent
|
|
13
|
-
} from "./cli-
|
|
13
|
+
} from "./cli-6wz8t4ep.js";
|
|
14
14
|
import"./cli-qba2x69h.js";
|
|
15
15
|
import {
|
|
16
16
|
stepCountIs2,
|
|
17
17
|
init_dist
|
|
18
|
-
} from "./cli-
|
|
18
|
+
} from "./cli-74jnb6ax.js";
|
|
19
19
|
import"./cli-c2k4xxaw.js";
|
|
20
20
|
|
|
21
21
|
// src/core/agents/specialized/reconWorker/agent.ts
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import {
|
|
2
2
|
TargetedPentestAgent2,
|
|
3
3
|
buildPentestSystemPrompt2
|
|
4
|
-
} from "./cli-
|
|
5
|
-
import"./cli-
|
|
4
|
+
} from "./cli-pak21emp.js";
|
|
5
|
+
import"./cli-6wz8t4ep.js";
|
|
6
6
|
import"./cli-qba2x69h.js";
|
|
7
|
-
import"./cli-
|
|
8
|
-
import"./cli-
|
|
9
|
-
import"./cli-
|
|
10
|
-
import"./cli-
|
|
7
|
+
import"./cli-4wgznsmr.js";
|
|
8
|
+
import"./cli-8gbv12nn.js";
|
|
9
|
+
import"./cli-74jnb6ax.js";
|
|
10
|
+
import"./cli-1p1tgyzr.js";
|
|
11
11
|
import"./cli-c2k4xxaw.js";
|
|
12
|
-
import"./cli-
|
|
12
|
+
import"./cli-qfvk2mk9.js";
|
|
13
13
|
export {
|
|
14
14
|
TargetedPentestAgent2 as TargetedPentestAgent,
|
|
15
15
|
buildPentestSystemPrompt2 as buildPentestSystemPrompt
|
|
@@ -15,27 +15,27 @@ import {
|
|
|
15
15
|
searchEndpoints2,
|
|
16
16
|
listDomains2,
|
|
17
17
|
createDomain2
|
|
18
|
-
} from "./cli-
|
|
19
|
-
import"./cli-
|
|
20
|
-
import"./cli-
|
|
21
|
-
import"./cli-
|
|
22
|
-
import"./cli-
|
|
23
|
-
import"./cli-
|
|
24
|
-
import"./cli-
|
|
25
|
-
import"./cli-
|
|
26
|
-
import"./cli-
|
|
27
|
-
import"./cli-
|
|
28
|
-
import"./cli-
|
|
29
|
-
import"./cli-
|
|
30
|
-
import"./cli-
|
|
18
|
+
} from "./cli-4wgznsmr.js";
|
|
19
|
+
import"./cli-8gbv12nn.js";
|
|
20
|
+
import"./cli-qfvk2mk9.js";
|
|
21
|
+
import"./cli-1p1tgyzr.js";
|
|
22
|
+
import"./cli-jy8f0rxk.js";
|
|
23
|
+
import"./cli-fh312pvr.js";
|
|
24
|
+
import"./cli-xf0ejdft.js";
|
|
25
|
+
import"./cli-7sf4qdt4.js";
|
|
26
|
+
import"./cli-bztvna67.js";
|
|
27
|
+
import"./cli-gx31eqv5.js";
|
|
28
|
+
import"./cli-pak21emp.js";
|
|
29
|
+
import"./cli-kk3rt10r.js";
|
|
30
|
+
import"./cli-zx7r9yq6.js";
|
|
31
31
|
import"./cli-ak23knae.js";
|
|
32
32
|
import {
|
|
33
33
|
markCommandFailed
|
|
34
34
|
} from "./cli-z82n3qk1.js";
|
|
35
|
-
import"./cli-
|
|
36
|
-
import"./cli-
|
|
35
|
+
import"./cli-b9kw9d9x.js";
|
|
36
|
+
import"./cli-6wz8t4ep.js";
|
|
37
37
|
import"./cli-qba2x69h.js";
|
|
38
|
-
import"./cli-
|
|
38
|
+
import"./cli-74jnb6ax.js";
|
|
39
39
|
import"./cli-c2k4xxaw.js";
|
|
40
40
|
|
|
41
41
|
// src/cli/apps.ts
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
#!/usr/bin/env bun
|
|
2
|
-
import"./cli-
|
|
3
|
-
import"./cli-
|
|
2
|
+
import"./cli-4wgznsmr.js";
|
|
3
|
+
import"./cli-8gbv12nn.js";
|
|
4
4
|
import {
|
|
5
5
|
config2,
|
|
6
6
|
init_config
|
|
7
|
-
} from "./cli-
|
|
7
|
+
} from "./cli-qfvk2mk9.js";
|
|
8
8
|
import {
|
|
9
9
|
getPensarApiUrl2,
|
|
10
10
|
getPensarConsoleUrl2,
|
|
@@ -20,24 +20,24 @@ import {
|
|
|
20
20
|
createWorkspaceSelection2,
|
|
21
21
|
pollWorkspaceSelection2,
|
|
22
22
|
init_auth
|
|
23
|
-
} from "./cli-
|
|
24
|
-
import"./cli-
|
|
25
|
-
import"./cli-
|
|
26
|
-
import"./cli-
|
|
27
|
-
import"./cli-
|
|
28
|
-
import"./cli-
|
|
29
|
-
import"./cli-
|
|
30
|
-
import"./cli-
|
|
31
|
-
import"./cli-
|
|
32
|
-
import"./cli-
|
|
23
|
+
} from "./cli-1p1tgyzr.js";
|
|
24
|
+
import"./cli-jy8f0rxk.js";
|
|
25
|
+
import"./cli-fh312pvr.js";
|
|
26
|
+
import"./cli-xf0ejdft.js";
|
|
27
|
+
import"./cli-7sf4qdt4.js";
|
|
28
|
+
import"./cli-bztvna67.js";
|
|
29
|
+
import"./cli-gx31eqv5.js";
|
|
30
|
+
import"./cli-pak21emp.js";
|
|
31
|
+
import"./cli-kk3rt10r.js";
|
|
32
|
+
import"./cli-zx7r9yq6.js";
|
|
33
33
|
import"./cli-ak23knae.js";
|
|
34
34
|
import {
|
|
35
35
|
markCommandFailed
|
|
36
36
|
} from "./cli-z82n3qk1.js";
|
|
37
|
-
import"./cli-
|
|
38
|
-
import"./cli-
|
|
37
|
+
import"./cli-b9kw9d9x.js";
|
|
38
|
+
import"./cli-6wz8t4ep.js";
|
|
39
39
|
import"./cli-qba2x69h.js";
|
|
40
|
-
import"./cli-
|
|
40
|
+
import"./cli-74jnb6ax.js";
|
|
41
41
|
import"./cli-c2k4xxaw.js";
|
|
42
42
|
import {
|
|
43
43
|
__require
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import {
|
|
2
|
+
BlackboxAttackSurfaceAgent2
|
|
3
|
+
} from "./cli-fh312pvr.js";
|
|
4
|
+
import"./cli-6wz8t4ep.js";
|
|
5
|
+
import"./cli-qba2x69h.js";
|
|
6
|
+
import"./cli-4wgznsmr.js";
|
|
7
|
+
import"./cli-8gbv12nn.js";
|
|
8
|
+
import"./cli-74jnb6ax.js";
|
|
9
|
+
import"./cli-1p1tgyzr.js";
|
|
10
|
+
import"./cli-c2k4xxaw.js";
|
|
11
|
+
import"./cli-qfvk2mk9.js";
|
|
12
|
+
export {
|
|
13
|
+
BlackboxAttackSurfaceAgent2 as BlackboxAttackSurfaceAgent
|
|
14
|
+
};
|
|
@@ -1,27 +1,27 @@
|
|
|
1
|
-
import"./cli-
|
|
2
|
-
import"./cli-
|
|
3
|
-
import"./cli-
|
|
4
|
-
import"./cli-
|
|
5
|
-
import"./cli-
|
|
6
|
-
import"./cli-
|
|
7
|
-
import"./cli-
|
|
1
|
+
import"./cli-qfvk2mk9.js";
|
|
2
|
+
import"./cli-1p1tgyzr.js";
|
|
3
|
+
import"./cli-8gbv12nn.js";
|
|
4
|
+
import"./cli-4wgznsmr.js";
|
|
5
|
+
import"./cli-fh312pvr.js";
|
|
6
|
+
import"./cli-pak21emp.js";
|
|
7
|
+
import"./cli-kk3rt10r.js";
|
|
8
8
|
import {
|
|
9
9
|
readExecutionMetrics,
|
|
10
10
|
writeExecutionMetrics,
|
|
11
11
|
runPentestWorkflow2
|
|
12
|
-
} from "./cli-
|
|
13
|
-
import"./cli-
|
|
14
|
-
import"./cli-
|
|
12
|
+
} from "./cli-bztvna67.js";
|
|
13
|
+
import"./cli-xf0ejdft.js";
|
|
14
|
+
import"./cli-7sf4qdt4.js";
|
|
15
15
|
import {
|
|
16
16
|
EMPTY_SESSION_TOKEN_USAGE,
|
|
17
17
|
accumulateSessionTokens
|
|
18
18
|
} from "./cli-ag6jtndp.js";
|
|
19
|
-
import"./cli-
|
|
19
|
+
import"./cli-6wz8t4ep.js";
|
|
20
20
|
import"./cli-qba2x69h.js";
|
|
21
21
|
import {
|
|
22
22
|
normalizeStepUsage,
|
|
23
23
|
init_ai2
|
|
24
|
-
} from "./cli-
|
|
24
|
+
} from "./cli-74jnb6ax.js";
|
|
25
25
|
import"./cli-c2k4xxaw.js";
|
|
26
26
|
|
|
27
27
|
// src/core/api/blackboxPentest.ts
|
|
@@ -3,7 +3,7 @@ import {
|
|
|
3
3
|
} from "./cli-h6y3bt60.js";
|
|
4
4
|
|
|
5
5
|
// package.json
|
|
6
|
-
var version = "2.7.0-canary.
|
|
6
|
+
var version = "2.7.0-canary.c2c07de4", package_default;
|
|
7
7
|
var init_package = __esm(() => {
|
|
8
8
|
package_default = {
|
|
9
9
|
author: "Pensar",
|
|
@@ -46,7 +46,7 @@ var init_package = __esm(() => {
|
|
|
46
46
|
"p-limit": "^7.3.0",
|
|
47
47
|
"quickjs-emscripten": "^0.32.0",
|
|
48
48
|
react: "^19.2.7",
|
|
49
|
-
sharp: "^0.
|
|
49
|
+
sharp: "^0.35.5",
|
|
50
50
|
tldts: "^7.4.3",
|
|
51
51
|
undici: "^6",
|
|
52
52
|
yaml: "^2.9.0",
|
|
@@ -65,11 +65,11 @@ var init_package = __esm(() => {
|
|
|
65
65
|
dotenv: "^17.4.2",
|
|
66
66
|
knip: "^6.17.1",
|
|
67
67
|
prettier: "^3.8.4",
|
|
68
|
-
vitest: "^
|
|
68
|
+
vitest: "^4.1.12"
|
|
69
69
|
},
|
|
70
70
|
engines: {
|
|
71
71
|
bun: ">=1.0.0",
|
|
72
|
-
node: ">=
|
|
72
|
+
node: ">=20.9.0"
|
|
73
73
|
},
|
|
74
74
|
exports: {
|
|
75
75
|
".": {
|
|
@@ -117,6 +117,11 @@ var init_package = __esm(() => {
|
|
|
117
117
|
import: "./build/lib/core/agents/offSecAgent/types.js",
|
|
118
118
|
types: "./build/lib/core/agents/offSecAgent/types.d.ts"
|
|
119
119
|
},
|
|
120
|
+
"./agents/siemTriage/aws": {
|
|
121
|
+
default: "./build/lib/core/agents/specialized/siemTriage/aws.js",
|
|
122
|
+
import: "./build/lib/core/agents/specialized/siemTriage/aws.js",
|
|
123
|
+
types: "./build/lib/core/agents/specialized/siemTriage/aws.d.ts"
|
|
124
|
+
},
|
|
120
125
|
"./agents/specialized/attackSurface/blackboxAgent": {
|
|
121
126
|
default: "./build/lib/core/agents/specialized/attackSurface/blackboxAgent.js",
|
|
122
127
|
import: "./build/lib/core/agents/specialized/attackSurface/blackboxAgent.js",
|