@pensar/apex 2.3.0-canary.7d0ff84a → 2.3.0-canary.9568797c
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-xw0emp2e.js → agent-1t4sbpmh.js} +7 -7
- package/build/{agent-en3cf7ks.js → agent-7t8kzneg.js} +12 -10
- package/build/agent-qab2k2ya.js +19 -0
- package/build/{apps-nb93qqan.js → apps-ww36vsw9.js} +16 -16
- package/build/{auth-3yhq5eh3.js → auth-7e5rn9jc.js} +16 -16
- package/build/authentication-1zd0ejn5.js +19 -0
- package/build/blackboxAgent-72zj2j7b.js +19 -0
- package/build/{blackboxPentest-7desnj4h.js → blackboxPentest-btyftwhw.js} +14 -14
- package/build/{cli-pt68r0a9.js → cli-1r7y1n25.js} +4 -4
- package/build/{cli-2jmcpp2j.js → cli-4snxe9hs.js} +1 -1
- package/build/{cli-8jaz2enb.js → cli-562hmfkg.js} +2 -2
- package/build/{cli-7k9750yn.js → cli-6h9wqdew.js} +2 -2
- package/build/{cli-2sf49904.js → cli-ad6kzfkr.js} +1 -1
- package/build/{cli-ks3x11h1.js → cli-bn97w926.js} +8 -8
- package/build/{cli-af4ntw65.js → cli-d8x3hr5y.js} +3 -3
- package/build/{cli-729r0ms5.js → cli-deaqm999.js} +1 -1
- package/build/{cli-s7fwee5f.js → cli-dww4tjyq.js} +1 -1
- package/build/{cli-pf21zymc.js → cli-fv3pg71c.js} +1 -1
- package/build/{cli-kxsrmx74.js → cli-fw8vvmtj.js} +1 -1
- package/build/{cli-5n4q289y.js → cli-kv155ymw.js} +1 -1
- package/build/{cli-r5htb0jx.js → cli-kvyg26s8.js} +3 -3
- package/build/{cli-gkqya1mj.js → cli-mkbekw3n.js} +13 -13
- package/build/{cli-fd7k577q.js → cli-vd7k0h37.js} +2 -2
- package/build/{cli-r8hsdfaf.js → cli-wyjckvmx.js} +3 -3
- package/build/{cli-8zeepea9.js → cli-ze7n2tdv.js} +61 -9
- package/build/cli.js +33 -33
- package/build/{config-8gz8d14c.js → config-thh8rcqa.js} +3 -3
- package/build/{doctor-xxgdq7d0.js → doctor-bpdc10rm.js} +6 -6
- package/build/{fastStrike-bckk9gg7.js → fastStrike-d6yjsf1q.js} +9 -9
- package/build/{fixes-z5hy1mtp.js → fixes-f1r4gb7v.js} +16 -16
- package/build/{index-00ncykh1.js → index-00fka7sv.js} +2 -2
- package/build/{index-b3hekr8b.js → index-bxjsbm1m.js} +3 -3
- package/build/{index-snk4th5h.js → index-cnz3b1qw.js} +4 -4
- package/build/{index-vtr2p8ha.js → index-eknzqnbn.js} +9 -9
- package/build/{index-2xe72r1a.js → index-hcn165n2.js} +6 -6
- package/build/{index-m9ah2094.js → index-x0mywq72.js} +18 -18
- package/build/{index-y7dw3s1s.js → index-z2tpq1rg.js} +8 -8
- package/build/{issues-qkvbnstj.js → issues-e7wpxeh2.js} +16 -16
- package/build/{logs-hg5cnn8h.js → logs-hx7cxmjf.js} +16 -16
- package/build/{offesecAgent-c7cnp62j.js → offesecAgent-pqnr2van.js} +8 -8
- package/build/pentest-9tcspc06.js +29 -0
- package/build/{pentests-ek45m23z.js → pentests-b72k7bfg.js} +16 -16
- package/build/{targetedPentest-yt5wdr2m.js → targetedPentest-c4p0b9x0.js} +9 -9
- package/build/{targets-m42h5cry.js → targets-9w0kj3pp.js} +16 -16
- package/build/threatModel-m5ka3btz.js +27 -0
- package/build/{uninstall-mer1kkr8.js → uninstall-c9wpp6q5.js} +1 -1
- package/build/{upload-ge7sr8q4.js → upload-f771wg87.js} +6 -6
- package/build/{utils-8hf3yh4y.js → utils-mexghypw.js} +5 -5
- package/package.json +1 -1
- package/build/agent-fg3e80a5.js +0 -19
- package/build/authentication-abnrrx5d.js +0 -19
- package/build/blackboxAgent-zmwwqnkm.js +0 -19
- package/build/pentest-wwnc443p.js +0 -29
- package/build/threatModel-pnamejqd.js +0 -27
|
@@ -1,23 +1,23 @@
|
|
|
1
1
|
import {
|
|
2
2
|
OffensiveSecurityAgent
|
|
3
|
-
} from "./cli-
|
|
3
|
+
} from "./cli-mkbekw3n.js";
|
|
4
4
|
import {
|
|
5
5
|
detectOSAndEnhancePrompt
|
|
6
|
-
} from "./cli-
|
|
6
|
+
} from "./cli-kv155ymw.js";
|
|
7
7
|
import"./cli-c8131c4q.js";
|
|
8
8
|
import {
|
|
9
9
|
init_dist,
|
|
10
10
|
stepCountIs
|
|
11
|
-
} from "./cli-
|
|
12
|
-
import"./cli-
|
|
11
|
+
} from "./cli-1r7y1n25.js";
|
|
12
|
+
import"./cli-dww4tjyq.js";
|
|
13
13
|
import {
|
|
14
14
|
exports_external,
|
|
15
15
|
init_zod
|
|
16
16
|
} from "./cli-3k1x5rn3.js";
|
|
17
17
|
import"./cli-gpnb45ck.js";
|
|
18
|
-
import"./cli-
|
|
19
|
-
import"./cli-
|
|
20
|
-
import"./cli-
|
|
18
|
+
import"./cli-deaqm999.js";
|
|
19
|
+
import"./cli-fw8vvmtj.js";
|
|
20
|
+
import"./cli-ad6kzfkr.js";
|
|
21
21
|
import"./cli-8rxa073f.js";
|
|
22
22
|
|
|
23
23
|
// src/core/agents/specialized/findingJudge/agent.ts
|
|
@@ -3,22 +3,24 @@ import {
|
|
|
3
3
|
TargetedPentestAgent,
|
|
4
4
|
buildPentestActiveTools,
|
|
5
5
|
buildPentestPrompt,
|
|
6
|
-
buildPentestSystemPrompt
|
|
7
|
-
|
|
6
|
+
buildPentestSystemPrompt,
|
|
7
|
+
resolvePentestAgentRole
|
|
8
|
+
} from "./cli-ze7n2tdv.js";
|
|
8
9
|
import"./cli-9fsre5pt.js";
|
|
9
|
-
import"./cli-
|
|
10
|
-
import"./cli-
|
|
11
|
-
import"./cli-
|
|
10
|
+
import"./cli-4snxe9hs.js";
|
|
11
|
+
import"./cli-mkbekw3n.js";
|
|
12
|
+
import"./cli-kv155ymw.js";
|
|
12
13
|
import"./cli-c8131c4q.js";
|
|
13
|
-
import"./cli-
|
|
14
|
-
import"./cli-
|
|
14
|
+
import"./cli-1r7y1n25.js";
|
|
15
|
+
import"./cli-dww4tjyq.js";
|
|
15
16
|
import"./cli-3k1x5rn3.js";
|
|
16
17
|
import"./cli-gpnb45ck.js";
|
|
17
|
-
import"./cli-
|
|
18
|
-
import"./cli-
|
|
19
|
-
import"./cli-
|
|
18
|
+
import"./cli-deaqm999.js";
|
|
19
|
+
import"./cli-fw8vvmtj.js";
|
|
20
|
+
import"./cli-ad6kzfkr.js";
|
|
20
21
|
import"./cli-8rxa073f.js";
|
|
21
22
|
export {
|
|
23
|
+
resolvePentestAgentRole,
|
|
22
24
|
buildPentestSystemPrompt,
|
|
23
25
|
buildPentestPrompt,
|
|
24
26
|
buildPentestActiveTools,
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import {
|
|
2
|
+
CodeAgent
|
|
3
|
+
} from "./cli-6h9wqdew.js";
|
|
4
|
+
import"./cli-9fsre5pt.js";
|
|
5
|
+
import"./cli-4snxe9hs.js";
|
|
6
|
+
import"./cli-mkbekw3n.js";
|
|
7
|
+
import"./cli-kv155ymw.js";
|
|
8
|
+
import"./cli-c8131c4q.js";
|
|
9
|
+
import"./cli-1r7y1n25.js";
|
|
10
|
+
import"./cli-dww4tjyq.js";
|
|
11
|
+
import"./cli-3k1x5rn3.js";
|
|
12
|
+
import"./cli-gpnb45ck.js";
|
|
13
|
+
import"./cli-deaqm999.js";
|
|
14
|
+
import"./cli-fw8vvmtj.js";
|
|
15
|
+
import"./cli-ad6kzfkr.js";
|
|
16
|
+
import"./cli-8rxa073f.js";
|
|
17
|
+
export {
|
|
18
|
+
CodeAgent
|
|
19
|
+
};
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
#!/usr/bin/env bun
|
|
2
|
-
import"./cli-
|
|
3
|
-
import"./cli-
|
|
4
|
-
import"./cli-
|
|
5
|
-
import"./cli-
|
|
6
|
-
import"./cli-
|
|
7
|
-
import"./cli-
|
|
8
|
-
import"./cli-
|
|
9
|
-
import"./cli-
|
|
2
|
+
import"./cli-d8x3hr5y.js";
|
|
3
|
+
import"./cli-bn97w926.js";
|
|
4
|
+
import"./cli-kvyg26s8.js";
|
|
5
|
+
import"./cli-vd7k0h37.js";
|
|
6
|
+
import"./cli-ze7n2tdv.js";
|
|
7
|
+
import"./cli-wyjckvmx.js";
|
|
8
|
+
import"./cli-6h9wqdew.js";
|
|
9
|
+
import"./cli-562hmfkg.js";
|
|
10
10
|
import"./cli-9fsre5pt.js";
|
|
11
|
-
import"./cli-
|
|
11
|
+
import"./cli-4snxe9hs.js";
|
|
12
12
|
import {
|
|
13
13
|
createApp,
|
|
14
14
|
createEndpoint,
|
|
@@ -22,17 +22,17 @@ import {
|
|
|
22
22
|
searchEndpoints,
|
|
23
23
|
updateApp,
|
|
24
24
|
updateEndpoint
|
|
25
|
-
} from "./cli-
|
|
26
|
-
import"./cli-
|
|
25
|
+
} from "./cli-mkbekw3n.js";
|
|
26
|
+
import"./cli-kv155ymw.js";
|
|
27
27
|
import"./cli-fw5r7pfj.js";
|
|
28
28
|
import"./cli-c8131c4q.js";
|
|
29
|
-
import"./cli-
|
|
30
|
-
import"./cli-
|
|
29
|
+
import"./cli-1r7y1n25.js";
|
|
30
|
+
import"./cli-dww4tjyq.js";
|
|
31
31
|
import"./cli-3k1x5rn3.js";
|
|
32
32
|
import"./cli-gpnb45ck.js";
|
|
33
|
-
import"./cli-
|
|
34
|
-
import"./cli-
|
|
35
|
-
import"./cli-
|
|
33
|
+
import"./cli-deaqm999.js";
|
|
34
|
+
import"./cli-fw8vvmtj.js";
|
|
35
|
+
import"./cli-ad6kzfkr.js";
|
|
36
36
|
import"./cli-8rxa073f.js";
|
|
37
37
|
|
|
38
38
|
// src/cli/apps.ts
|
|
@@ -1,19 +1,19 @@
|
|
|
1
1
|
#!/usr/bin/env bun
|
|
2
|
-
import"./cli-
|
|
3
|
-
import"./cli-
|
|
4
|
-
import"./cli-
|
|
5
|
-
import"./cli-
|
|
6
|
-
import"./cli-
|
|
7
|
-
import"./cli-
|
|
8
|
-
import"./cli-
|
|
9
|
-
import"./cli-
|
|
2
|
+
import"./cli-d8x3hr5y.js";
|
|
3
|
+
import"./cli-bn97w926.js";
|
|
4
|
+
import"./cli-kvyg26s8.js";
|
|
5
|
+
import"./cli-vd7k0h37.js";
|
|
6
|
+
import"./cli-ze7n2tdv.js";
|
|
7
|
+
import"./cli-wyjckvmx.js";
|
|
8
|
+
import"./cli-6h9wqdew.js";
|
|
9
|
+
import"./cli-562hmfkg.js";
|
|
10
10
|
import"./cli-9fsre5pt.js";
|
|
11
|
-
import"./cli-
|
|
12
|
-
import"./cli-
|
|
13
|
-
import"./cli-
|
|
11
|
+
import"./cli-4snxe9hs.js";
|
|
12
|
+
import"./cli-mkbekw3n.js";
|
|
13
|
+
import"./cli-kv155ymw.js";
|
|
14
14
|
import"./cli-fw5r7pfj.js";
|
|
15
15
|
import"./cli-c8131c4q.js";
|
|
16
|
-
import"./cli-
|
|
16
|
+
import"./cli-1r7y1n25.js";
|
|
17
17
|
import {
|
|
18
18
|
createWorkspaceSelection,
|
|
19
19
|
disconnect,
|
|
@@ -29,15 +29,15 @@ import {
|
|
|
29
29
|
pollWorkspaceSelection,
|
|
30
30
|
selectWorkspace,
|
|
31
31
|
startDeviceFlow
|
|
32
|
-
} from "./cli-
|
|
32
|
+
} from "./cli-dww4tjyq.js";
|
|
33
33
|
import"./cli-3k1x5rn3.js";
|
|
34
34
|
import"./cli-gpnb45ck.js";
|
|
35
35
|
import {
|
|
36
36
|
config,
|
|
37
37
|
init_config
|
|
38
|
-
} from "./cli-
|
|
39
|
-
import"./cli-
|
|
40
|
-
import"./cli-
|
|
38
|
+
} from "./cli-deaqm999.js";
|
|
39
|
+
import"./cli-fw8vvmtj.js";
|
|
40
|
+
import"./cli-ad6kzfkr.js";
|
|
41
41
|
import {
|
|
42
42
|
__require
|
|
43
43
|
} from "./cli-8rxa073f.js";
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import {
|
|
2
|
+
runAuthenticationAgent
|
|
3
|
+
} from "./cli-wyjckvmx.js";
|
|
4
|
+
import"./cli-9fsre5pt.js";
|
|
5
|
+
import"./cli-4snxe9hs.js";
|
|
6
|
+
import"./cli-mkbekw3n.js";
|
|
7
|
+
import"./cli-kv155ymw.js";
|
|
8
|
+
import"./cli-c8131c4q.js";
|
|
9
|
+
import"./cli-1r7y1n25.js";
|
|
10
|
+
import"./cli-dww4tjyq.js";
|
|
11
|
+
import"./cli-3k1x5rn3.js";
|
|
12
|
+
import"./cli-gpnb45ck.js";
|
|
13
|
+
import"./cli-deaqm999.js";
|
|
14
|
+
import"./cli-fw8vvmtj.js";
|
|
15
|
+
import"./cli-ad6kzfkr.js";
|
|
16
|
+
import"./cli-8rxa073f.js";
|
|
17
|
+
export {
|
|
18
|
+
runAuthenticationAgent
|
|
19
|
+
};
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import {
|
|
2
|
+
BlackboxAttackSurfaceAgent
|
|
3
|
+
} from "./cli-kvyg26s8.js";
|
|
4
|
+
import"./cli-9fsre5pt.js";
|
|
5
|
+
import"./cli-4snxe9hs.js";
|
|
6
|
+
import"./cli-mkbekw3n.js";
|
|
7
|
+
import"./cli-kv155ymw.js";
|
|
8
|
+
import"./cli-c8131c4q.js";
|
|
9
|
+
import"./cli-1r7y1n25.js";
|
|
10
|
+
import"./cli-dww4tjyq.js";
|
|
11
|
+
import"./cli-3k1x5rn3.js";
|
|
12
|
+
import"./cli-gpnb45ck.js";
|
|
13
|
+
import"./cli-deaqm999.js";
|
|
14
|
+
import"./cli-fw8vvmtj.js";
|
|
15
|
+
import"./cli-ad6kzfkr.js";
|
|
16
|
+
import"./cli-8rxa073f.js";
|
|
17
|
+
export {
|
|
18
|
+
BlackboxAttackSurfaceAgent
|
|
19
|
+
};
|
|
@@ -1,24 +1,24 @@
|
|
|
1
1
|
import {
|
|
2
2
|
runPentestWorkflow
|
|
3
|
-
} from "./cli-
|
|
4
|
-
import"./cli-
|
|
5
|
-
import"./cli-
|
|
6
|
-
import"./cli-
|
|
7
|
-
import"./cli-
|
|
8
|
-
import"./cli-
|
|
3
|
+
} from "./cli-bn97w926.js";
|
|
4
|
+
import"./cli-kvyg26s8.js";
|
|
5
|
+
import"./cli-vd7k0h37.js";
|
|
6
|
+
import"./cli-ze7n2tdv.js";
|
|
7
|
+
import"./cli-6h9wqdew.js";
|
|
8
|
+
import"./cli-562hmfkg.js";
|
|
9
9
|
import"./cli-9fsre5pt.js";
|
|
10
|
-
import"./cli-
|
|
11
|
-
import"./cli-
|
|
12
|
-
import"./cli-
|
|
10
|
+
import"./cli-4snxe9hs.js";
|
|
11
|
+
import"./cli-mkbekw3n.js";
|
|
12
|
+
import"./cli-kv155ymw.js";
|
|
13
13
|
import"./cli-fw5r7pfj.js";
|
|
14
14
|
import"./cli-c8131c4q.js";
|
|
15
|
-
import"./cli-
|
|
16
|
-
import"./cli-
|
|
15
|
+
import"./cli-1r7y1n25.js";
|
|
16
|
+
import"./cli-dww4tjyq.js";
|
|
17
17
|
import"./cli-3k1x5rn3.js";
|
|
18
18
|
import"./cli-gpnb45ck.js";
|
|
19
|
-
import"./cli-
|
|
20
|
-
import"./cli-
|
|
21
|
-
import"./cli-
|
|
19
|
+
import"./cli-deaqm999.js";
|
|
20
|
+
import"./cli-fw8vvmtj.js";
|
|
21
|
+
import"./cli-ad6kzfkr.js";
|
|
22
22
|
import"./cli-8rxa073f.js";
|
|
23
23
|
|
|
24
24
|
// src/core/api/blackboxPentest.ts
|
|
@@ -4,7 +4,7 @@ import {
|
|
|
4
4
|
init_auth,
|
|
5
5
|
init_constants,
|
|
6
6
|
signGatewayRequest
|
|
7
|
-
} from "./cli-
|
|
7
|
+
} from "./cli-dww4tjyq.js";
|
|
8
8
|
import {
|
|
9
9
|
AISDKError,
|
|
10
10
|
APICallError,
|
|
@@ -87,11 +87,11 @@ import {
|
|
|
87
87
|
import {
|
|
88
88
|
config,
|
|
89
89
|
init_config
|
|
90
|
-
} from "./cli-
|
|
90
|
+
} from "./cli-deaqm999.js";
|
|
91
91
|
import {
|
|
92
92
|
getCurrentVersion,
|
|
93
93
|
init_installation
|
|
94
|
-
} from "./cli-
|
|
94
|
+
} from "./cli-ad6kzfkr.js";
|
|
95
95
|
import {
|
|
96
96
|
__callDispose,
|
|
97
97
|
__commonJS,
|
|
@@ -47276,7 +47276,7 @@ async function create2(input) {
|
|
|
47276
47276
|
if (normalizedConfig?.headers !== undefined) {
|
|
47277
47277
|
snapshotHeaders = { ...normalizedConfig.headers };
|
|
47278
47278
|
} else {
|
|
47279
|
-
const { config: appConfig } = await import("./index-
|
|
47279
|
+
const { config: appConfig } = await import("./index-bxjsbm1m.js");
|
|
47280
47280
|
const cfg = await appConfig.get();
|
|
47281
47281
|
snapshotHeaders = cfg.defaultHeaders ? { ...cfg.defaultHeaders } : { ...DEFAULT_HEADER_RECORD };
|
|
47282
47282
|
}
|
|
@@ -2,11 +2,11 @@ import {
|
|
|
2
2
|
EndpointTransportEnum,
|
|
3
3
|
GrpcEndpointMetadataSchema,
|
|
4
4
|
OffensiveSecurityAgent
|
|
5
|
-
} from "./cli-
|
|
5
|
+
} from "./cli-mkbekw3n.js";
|
|
6
6
|
import {
|
|
7
7
|
hasToolCall,
|
|
8
8
|
init_dist
|
|
9
|
-
} from "./cli-
|
|
9
|
+
} from "./cli-1r7y1n25.js";
|
|
10
10
|
import {
|
|
11
11
|
exports_external,
|
|
12
12
|
init_zod,
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import {
|
|
2
2
|
OffensiveSecurityAgent
|
|
3
|
-
} from "./cli-
|
|
3
|
+
} from "./cli-mkbekw3n.js";
|
|
4
4
|
import {
|
|
5
5
|
init_dist,
|
|
6
6
|
stepCountIs
|
|
7
|
-
} from "./cli-
|
|
7
|
+
} from "./cli-1r7y1n25.js";
|
|
8
8
|
|
|
9
9
|
// src/core/agents/specialized/codeAgent/agent.ts
|
|
10
10
|
init_dist();
|
|
@@ -1,20 +1,20 @@
|
|
|
1
1
|
import {
|
|
2
2
|
BlackboxAttackSurfaceAgent
|
|
3
|
-
} from "./cli-
|
|
3
|
+
} from "./cli-kvyg26s8.js";
|
|
4
4
|
import {
|
|
5
5
|
REPORT_FILENAME_JSON,
|
|
6
6
|
REPORT_FILENAME_MD,
|
|
7
7
|
buildPentestReport,
|
|
8
8
|
renderJson,
|
|
9
9
|
renderMarkdown
|
|
10
|
-
} from "./cli-
|
|
10
|
+
} from "./cli-vd7k0h37.js";
|
|
11
11
|
import {
|
|
12
12
|
TargetedPentestAgent,
|
|
13
13
|
buildPentestSystemPrompt
|
|
14
|
-
} from "./cli-
|
|
14
|
+
} from "./cli-ze7n2tdv.js";
|
|
15
15
|
import {
|
|
16
16
|
CodeAgent
|
|
17
|
-
} from "./cli-
|
|
17
|
+
} from "./cli-6h9wqdew.js";
|
|
18
18
|
import {
|
|
19
19
|
AppsDiscoveryResultSchema,
|
|
20
20
|
DiscoverySummarySchema,
|
|
@@ -22,7 +22,7 @@ import {
|
|
|
22
22
|
WHITEBOX_APPS_DISCOVERY_SYSTEM_PROMPT,
|
|
23
23
|
WHITEBOX_DISCOVERY_SYSTEM_PROMPT,
|
|
24
24
|
WHITEBOX_ENDPOINT_DOCUMENTATION_SYSTEM_PROMPT
|
|
25
|
-
} from "./cli-
|
|
25
|
+
} from "./cli-562hmfkg.js";
|
|
26
26
|
import {
|
|
27
27
|
FindingsRegistry,
|
|
28
28
|
OffensiveSecurityAgent,
|
|
@@ -31,7 +31,7 @@ import {
|
|
|
31
31
|
pLimit,
|
|
32
32
|
runWithBoundedConcurrency,
|
|
33
33
|
toGrpcPentestContext
|
|
34
|
-
} from "./cli-
|
|
34
|
+
} from "./cli-mkbekw3n.js";
|
|
35
35
|
import {
|
|
36
36
|
createThreatModelPrompt
|
|
37
37
|
} from "./cli-fw5r7pfj.js";
|
|
@@ -45,7 +45,7 @@ import {
|
|
|
45
45
|
init_structured,
|
|
46
46
|
newSessionId,
|
|
47
47
|
scopedLogger
|
|
48
|
-
} from "./cli-
|
|
48
|
+
} from "./cli-1r7y1n25.js";
|
|
49
49
|
import {
|
|
50
50
|
__require
|
|
51
51
|
} from "./cli-8rxa073f.js";
|
|
@@ -7802,7 +7802,7 @@ async function runPentestSwarm(input) {
|
|
|
7802
7802
|
}
|
|
7803
7803
|
async function runPentestWorkflow(input) {
|
|
7804
7804
|
if (input.fastStrike) {
|
|
7805
|
-
const { runFastStrike } = await import("./fastStrike-
|
|
7805
|
+
const { runFastStrike } = await import("./fastStrike-d6yjsf1q.js");
|
|
7806
7806
|
return runFastStrike(input);
|
|
7807
7807
|
}
|
|
7808
7808
|
const {
|
|
@@ -5,16 +5,16 @@ import {
|
|
|
5
5
|
SKILL_TOOL_NAMES,
|
|
6
6
|
apiRequest,
|
|
7
7
|
buildBaseSystemPrompt
|
|
8
|
-
} from "./cli-
|
|
8
|
+
} from "./cli-mkbekw3n.js";
|
|
9
9
|
import {
|
|
10
10
|
init_dist,
|
|
11
11
|
init_session,
|
|
12
12
|
sessions,
|
|
13
13
|
stepCountIs
|
|
14
|
-
} from "./cli-
|
|
14
|
+
} from "./cli-1r7y1n25.js";
|
|
15
15
|
import {
|
|
16
16
|
init_constants
|
|
17
|
-
} from "./cli-
|
|
17
|
+
} from "./cli-dww4tjyq.js";
|
|
18
18
|
import {
|
|
19
19
|
exports_external,
|
|
20
20
|
init_zod
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
import {
|
|
2
2
|
OffensiveSecurityAgent
|
|
3
|
-
} from "./cli-
|
|
3
|
+
} from "./cli-mkbekw3n.js";
|
|
4
4
|
import {
|
|
5
5
|
detectOSAndEnhancePrompt
|
|
6
|
-
} from "./cli-
|
|
6
|
+
} from "./cli-kv155ymw.js";
|
|
7
7
|
import {
|
|
8
8
|
hasToolCall,
|
|
9
9
|
init_dist,
|
|
10
10
|
stepCountIs
|
|
11
|
-
} from "./cli-
|
|
11
|
+
} from "./cli-1r7y1n25.js";
|
|
12
12
|
|
|
13
13
|
// src/core/agents/specialized/attackSurface/blackboxAgent.ts
|
|
14
14
|
init_dist();
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
detectOSAndEnhancePrompt
|
|
3
|
-
} from "./cli-
|
|
3
|
+
} from "./cli-kv155ymw.js";
|
|
4
4
|
import {
|
|
5
5
|
parseTargetUrl
|
|
6
6
|
} from "./cli-c8131c4q.js";
|
|
@@ -32,14 +32,14 @@ import {
|
|
|
32
32
|
streamResponse,
|
|
33
33
|
withSubagentSessionBaggage,
|
|
34
34
|
write
|
|
35
|
-
} from "./cli-
|
|
35
|
+
} from "./cli-1r7y1n25.js";
|
|
36
36
|
import {
|
|
37
37
|
ensureValidToken,
|
|
38
38
|
getPensarApiUrl,
|
|
39
39
|
init_auth,
|
|
40
40
|
init_constants,
|
|
41
41
|
signGatewayRequest
|
|
42
|
-
} from "./cli-
|
|
42
|
+
} from "./cli-dww4tjyq.js";
|
|
43
43
|
import {
|
|
44
44
|
_enum,
|
|
45
45
|
_null,
|
|
@@ -70,7 +70,7 @@ import {
|
|
|
70
70
|
import {
|
|
71
71
|
config,
|
|
72
72
|
init_config
|
|
73
|
-
} from "./cli-
|
|
73
|
+
} from "./cli-deaqm999.js";
|
|
74
74
|
import {
|
|
75
75
|
__commonJS,
|
|
76
76
|
__require,
|
|
@@ -106757,7 +106757,7 @@ IMPORTANT: Pass protectedEndpoints in authHints when you've discovered 401/403 e
|
|
|
106757
106757
|
if (credentials) {
|
|
106758
106758
|
ctx.session.credentialManager.addFromAuthCredentials(credentials);
|
|
106759
106759
|
}
|
|
106760
|
-
const { runAuthenticationAgent } = await import("./authentication-
|
|
106760
|
+
const { runAuthenticationAgent } = await import("./authentication-1zd0ejn5.js");
|
|
106761
106761
|
const localBus = new AgentEventBus;
|
|
106762
106762
|
AgentEventBus.attachChild(localBus, ctx.eventBus, subagentId);
|
|
106763
106763
|
const result = await runAuthenticationAgent({
|
|
@@ -107551,7 +107551,7 @@ async function generateThreatModelForEndpoint(ctx, input) {
|
|
|
107551
107551
|
return threatModelLimiter(async () => {
|
|
107552
107552
|
if (ctx.abortSignal?.aborted)
|
|
107553
107553
|
return null;
|
|
107554
|
-
const { CodeAgent } = await import("./agent-
|
|
107554
|
+
const { CodeAgent } = await import("./agent-qab2k2ya.js");
|
|
107555
107555
|
const subagentId = newSessionId();
|
|
107556
107556
|
const subagentName = `Threat Model: ${input.routePath}`;
|
|
107557
107557
|
ctx.eventBus?.emit("subagent-spawn", {
|
|
@@ -109476,7 +109476,7 @@ init_lazyLogger();
|
|
|
109476
109476
|
var log6 = scopedLogger(() => createLogger("FindingJudge"));
|
|
109477
109477
|
async function judgeFinding(input, ctx) {
|
|
109478
109478
|
try {
|
|
109479
|
-
const { FindingJudgeAgent } = await import("./agent-
|
|
109479
|
+
const { FindingJudgeAgent } = await import("./agent-1t4sbpmh.js");
|
|
109480
109480
|
const agent = new FindingJudgeAgent({
|
|
109481
109481
|
finding: input,
|
|
109482
109482
|
model: ctx.model,
|
|
@@ -116102,7 +116102,7 @@ should be passed directly to spawn_pentest_swarm for deep testing.`,
|
|
|
116102
116102
|
});
|
|
116103
116103
|
if (cwd) {
|
|
116104
116104
|
try {
|
|
116105
|
-
const { WhiteboxAttackSurfaceAgent } = await import("./index-
|
|
116105
|
+
const { WhiteboxAttackSurfaceAgent } = await import("./index-eknzqnbn.js");
|
|
116106
116106
|
const localBus = new AgentEventBus;
|
|
116107
116107
|
AgentEventBus.attachChild(localBus, ctx.eventBus, subagentId);
|
|
116108
116108
|
const agent = new WhiteboxAttackSurfaceAgent({
|
|
@@ -116157,7 +116157,7 @@ should be passed directly to spawn_pentest_swarm for deep testing.`,
|
|
|
116157
116157
|
}
|
|
116158
116158
|
}
|
|
116159
116159
|
try {
|
|
116160
|
-
const { BlackboxAttackSurfaceAgent } = await import("./blackboxAgent-
|
|
116160
|
+
const { BlackboxAttackSurfaceAgent } = await import("./blackboxAgent-72zj2j7b.js");
|
|
116161
116161
|
const localBus = new AgentEventBus;
|
|
116162
116162
|
AgentEventBus.attachChild(localBus, ctx.eventBus, subagentId);
|
|
116163
116163
|
const agent = new BlackboxAttackSurfaceAgent({
|
|
@@ -116235,7 +116235,7 @@ Omit \`cwd\` for blackbox mode (live target probing only).`,
|
|
|
116235
116235
|
toolCallDescription: exports_external.string().describe("A concise, human-readable description of what this tool call is doing")
|
|
116236
116236
|
}),
|
|
116237
116237
|
execute: async ({ target, cwd }) => {
|
|
116238
|
-
const { runPentestWorkflow: workflow } = await import("./pentest-
|
|
116238
|
+
const { runPentestWorkflow: workflow } = await import("./pentest-9tcspc06.js");
|
|
116239
116239
|
if (!ctx.model) {
|
|
116240
116240
|
return {
|
|
116241
116241
|
success: false,
|
|
@@ -117813,7 +117813,7 @@ Returns an array of results with the text output from each agent.`,
|
|
|
117813
117813
|
});
|
|
117814
117814
|
}
|
|
117815
117815
|
async function runSingleCodingAgent(ctx, codebasePath, objective, agentIndex, name) {
|
|
117816
|
-
const { CodeAgent } = await import("./agent-
|
|
117816
|
+
const { CodeAgent } = await import("./agent-qab2k2ya.js");
|
|
117817
117817
|
const childSessionId = newSessionId();
|
|
117818
117818
|
const subagentId = childSessionId;
|
|
117819
117819
|
ctx.eventBus?.emit("subagent-spawn", {
|
|
@@ -118330,7 +118330,7 @@ Returns the worker's summary, objective results, and finding count — but NOT t
|
|
|
118330
118330
|
message: "spawn_pentest_agent requires a model in the tool context."
|
|
118331
118331
|
};
|
|
118332
118332
|
}
|
|
118333
|
-
const { TargetedPentestAgent } = await import("./agent-
|
|
118333
|
+
const { TargetedPentestAgent } = await import("./agent-7t8kzneg.js");
|
|
118334
118334
|
const findingsRegistry = ctx.findingsRegistry ?? FindingsRegistry.fromDirectory(ctx.session.findingsPath, {
|
|
118335
118335
|
model: ctx.model,
|
|
118336
118336
|
authConfig: ctx.authConfig,
|
|
@@ -118464,7 +118464,7 @@ Pass every target you want tested — the swarm handles concurrency automaticall
|
|
|
118464
118464
|
toolCallDescription: exports_external.string().describe("A concise, human-readable description of what this tool call is doing")
|
|
118465
118465
|
}),
|
|
118466
118466
|
execute: async ({ targets }) => {
|
|
118467
|
-
const { runPentestSwarm, DEFAULT_CONCURRENCY: DEFAULT_CONCURRENCY2 } = await import("./pentest-
|
|
118467
|
+
const { runPentestSwarm, DEFAULT_CONCURRENCY: DEFAULT_CONCURRENCY2 } = await import("./pentest-9tcspc06.js");
|
|
118468
118468
|
if (!ctx.model) {
|
|
118469
118469
|
return {
|
|
118470
118470
|
success: false,
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import {
|
|
2
2
|
EvidenceFileEntrySchema
|
|
3
|
-
} from "./cli-
|
|
3
|
+
} from "./cli-4snxe9hs.js";
|
|
4
4
|
import {
|
|
5
5
|
CweEntrySchema,
|
|
6
6
|
ValidatedCweEntrySchema,
|
|
7
7
|
hasCanonicalName
|
|
8
|
-
} from "./cli-
|
|
8
|
+
} from "./cli-mkbekw3n.js";
|
|
9
9
|
import {
|
|
10
10
|
exports_external,
|
|
11
11
|
init_zod
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
2
|
OffensiveSecurityAgent
|
|
3
|
-
} from "./cli-
|
|
3
|
+
} from "./cli-mkbekw3n.js";
|
|
4
4
|
import {
|
|
5
5
|
detectOSAndEnhancePrompt
|
|
6
|
-
} from "./cli-
|
|
6
|
+
} from "./cli-kv155ymw.js";
|
|
7
7
|
import {
|
|
8
8
|
createLogger,
|
|
9
9
|
hasToolCall,
|
|
@@ -11,7 +11,7 @@ import {
|
|
|
11
11
|
init_lazyLogger,
|
|
12
12
|
init_structured,
|
|
13
13
|
scopedLogger
|
|
14
|
-
} from "./cli-
|
|
14
|
+
} from "./cli-1r7y1n25.js";
|
|
15
15
|
|
|
16
16
|
// src/core/agents/specialized/authenticationAgent/agent.ts
|
|
17
17
|
init_dist();
|