@pensar/apex 2.5.0-canary.2bbb0f6f → 2.5.0-canary.4945243d
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-xnrz4bhp.js → agent-68775258.js} +9 -9
- package/build/{agent-71sn1cjn.js → agent-b1146p0e.js} +7 -7
- package/build/agent-pzvc179w.js +20 -0
- package/build/{apps-ghf7kp1s.js → apps-1yqzph3a.js} +17 -17
- package/build/{auth-p1nrv7re.js → auth-7f4zw8bb.js} +17 -17
- package/build/authentication-07y2h8b1.js +20 -0
- package/build/blackboxAgent-06sdbm18.js +20 -0
- package/build/{blackboxPentest-9snp9gvp.js → blackboxPentest-npd5t8tv.js} +15 -15
- package/build/{cli-f47dgye3.js → cli-1tbyezda.js} +4 -4
- package/build/{cli-8pk8znhw.js → cli-4ftbxtgv.js} +1 -1
- package/build/{cli-9ya3yktn.js → cli-5et4dmnr.js} +1 -1
- package/build/{cli-a8n64cef.js → cli-71sxzrzm.js} +3 -3
- package/build/{cli-14j00zfh.js → cli-7nerwz84.js} +4 -4
- package/build/{cli-fw7sp0fp.js → cli-a7byd64n.js} +2 -2
- package/build/{cli-yge44bmk.js → cli-ap1hrzh5.js} +2 -2
- package/build/{cli-7sqb16dd.js → cli-c1s54gqq.js} +8 -8
- package/build/{cli-08fcc6d8.js → cli-d61ezw8h.js} +1 -1
- package/build/{cli-4mgj070h.js → cli-dtvmhkgj.js} +20 -16
- package/build/{cli-3ew5fs3f.js → cli-hbaf9qh5.js} +3 -3
- package/build/{cli-3bmqdcfh.js → cli-j87d7k33.js} +1 -1
- package/build/{cli-4vwnsyep.js → cli-k420bwxm.js} +54 -66
- package/build/{cli-t7rhyqx5.js → cli-mtatkrc3.js} +1 -1
- package/build/{cli-gbch9xmy.js → cli-q7fvqgpj.js} +1 -1
- package/build/{cli-g3cb8pj5.js → cli-sjjvw6zb.js} +2 -2
- package/build/{cli-a9vq54sx.js → cli-ssxghzzy.js} +1 -1
- package/build/cli.js +33 -35
- package/build/{config-cqw98n5y.js → config-77q4rhne.js} +3 -3
- package/build/{doctor-vzh1wmfa.js → doctor-tem0zh8f.js} +6 -6
- package/build/{fastStrike-f441e9nr.js → fastStrike-fjqcncfy.js} +9 -9
- package/build/{fixes-xxz52cf2.js → fixes-tx8aw9q6.js} +17 -17
- package/build/{index-23jj0234.js → index-11xmmw64.js} +3 -3
- package/build/{index-yc1dnj3n.js → index-1gj8st45.js} +2 -2
- package/build/{index-4v5jc2td.js → index-7xygfxwd.js} +4 -4
- package/build/{index-j3dc7dks.js → index-a504veas.js} +8 -8
- package/build/{index-fxx38nc9.js → index-c8yqx04z.js} +9 -9
- package/build/{index-e7kq5rrd.js → index-j76qrr35.js} +6 -6
- package/build/{index-3gavwzay.js → index-ppk9dn2b.js} +19 -21
- package/build/{issues-zdag9ayw.js → issues-7hyzg4e0.js} +17 -17
- package/build/{logs-f492cjgt.js → logs-4md6my7t.js} +17 -17
- package/build/{offesecAgent-pr0cmrqb.js → offesecAgent-edzvp3fv.js} +8 -8
- package/build/pentest-k0e66vq5.js +30 -0
- package/build/{pentests-vstpzh9j.js → pentests-ddjjqrx7.js} +17 -17
- package/build/{targetedPentest-wj3ae355.js → targetedPentest-ah4y7kkp.js} +9 -9
- package/build/{targets-806zxf1n.js → targets-00n0jqyj.js} +17 -17
- package/build/threatModel-a6nj8x3p.js +29 -0
- package/build/{uninstall-58ak2e2v.js → uninstall-58wdyxn2.js} +1 -1
- package/build/{upload-kkktzh83.js → upload-cmwxexz7.js} +6 -6
- package/build/{utils-1sawtwbj.js → utils-j5w51jzt.js} +5 -5
- package/package.json +1 -1
- package/build/agent-20hb6mg7.js +0 -20
- package/build/authentication-m1vj2f0s.js +0 -20
- package/build/blackboxAgent-hjfzgk93.js +0 -20
- package/build/pentest-1g3fzah5.js +0 -30
- package/build/threatModel-dc4jbhkf.js +0 -29
- /package/build/{cli-9pbk8m32.js → cli-w329bvm0.js} +0 -0
|
@@ -5,19 +5,19 @@ import {
|
|
|
5
5
|
buildPentestPrompt,
|
|
6
6
|
buildPentestSystemPrompt,
|
|
7
7
|
resolvePentestAgentRole
|
|
8
|
-
} from "./cli-
|
|
8
|
+
} from "./cli-hbaf9qh5.js";
|
|
9
9
|
import"./cli-9fsre5pt.js";
|
|
10
|
-
import"./cli-
|
|
11
|
-
import"./cli-
|
|
12
|
-
import"./cli-
|
|
10
|
+
import"./cli-ssxghzzy.js";
|
|
11
|
+
import"./cli-k420bwxm.js";
|
|
12
|
+
import"./cli-q7fvqgpj.js";
|
|
13
13
|
import"./cli-c8131c4q.js";
|
|
14
|
-
import"./cli-
|
|
15
|
-
import"./cli-
|
|
14
|
+
import"./cli-1tbyezda.js";
|
|
15
|
+
import"./cli-d61ezw8h.js";
|
|
16
16
|
import"./cli-avmhkjtv.js";
|
|
17
17
|
import"./cli-j54qa6tm.js";
|
|
18
|
-
import"./cli-
|
|
19
|
-
import"./cli-
|
|
20
|
-
import"./cli-
|
|
18
|
+
import"./cli-5et4dmnr.js";
|
|
19
|
+
import"./cli-4ftbxtgv.js";
|
|
20
|
+
import"./cli-j87d7k33.js";
|
|
21
21
|
import"./cli-knd276ed.js";
|
|
22
22
|
import"./cli-bc05qbss.js";
|
|
23
23
|
export {
|
|
@@ -1,23 +1,23 @@
|
|
|
1
1
|
import {
|
|
2
2
|
OffensiveSecurityAgent
|
|
3
|
-
} from "./cli-
|
|
3
|
+
} from "./cli-k420bwxm.js";
|
|
4
4
|
import {
|
|
5
5
|
detectOSAndEnhancePrompt
|
|
6
|
-
} from "./cli-
|
|
6
|
+
} from "./cli-q7fvqgpj.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-1tbyezda.js";
|
|
12
|
+
import"./cli-d61ezw8h.js";
|
|
13
13
|
import {
|
|
14
14
|
exports_external,
|
|
15
15
|
init_zod
|
|
16
16
|
} from "./cli-avmhkjtv.js";
|
|
17
17
|
import"./cli-j54qa6tm.js";
|
|
18
|
-
import"./cli-
|
|
19
|
-
import"./cli-
|
|
20
|
-
import"./cli-
|
|
18
|
+
import"./cli-5et4dmnr.js";
|
|
19
|
+
import"./cli-4ftbxtgv.js";
|
|
20
|
+
import"./cli-j87d7k33.js";
|
|
21
21
|
import"./cli-knd276ed.js";
|
|
22
22
|
import"./cli-bc05qbss.js";
|
|
23
23
|
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import {
|
|
2
|
+
CodeAgent
|
|
3
|
+
} from "./cli-sjjvw6zb.js";
|
|
4
|
+
import"./cli-9fsre5pt.js";
|
|
5
|
+
import"./cli-ssxghzzy.js";
|
|
6
|
+
import"./cli-k420bwxm.js";
|
|
7
|
+
import"./cli-q7fvqgpj.js";
|
|
8
|
+
import"./cli-c8131c4q.js";
|
|
9
|
+
import"./cli-1tbyezda.js";
|
|
10
|
+
import"./cli-d61ezw8h.js";
|
|
11
|
+
import"./cli-avmhkjtv.js";
|
|
12
|
+
import"./cli-j54qa6tm.js";
|
|
13
|
+
import"./cli-5et4dmnr.js";
|
|
14
|
+
import"./cli-4ftbxtgv.js";
|
|
15
|
+
import"./cli-j87d7k33.js";
|
|
16
|
+
import"./cli-knd276ed.js";
|
|
17
|
+
import"./cli-bc05qbss.js";
|
|
18
|
+
export {
|
|
19
|
+
CodeAgent
|
|
20
|
+
};
|
|
@@ -2,17 +2,17 @@
|
|
|
2
2
|
import {
|
|
3
3
|
markCommandFailed
|
|
4
4
|
} from "./cli-7q3ae3ft.js";
|
|
5
|
-
import"./cli-
|
|
6
|
-
import"./cli-
|
|
7
|
-
import"./cli-
|
|
8
|
-
import"./cli-
|
|
9
|
-
import"./cli-
|
|
10
|
-
import"./cli-
|
|
11
|
-
import"./cli-
|
|
12
|
-
import"./cli-
|
|
13
|
-
import"./cli-
|
|
5
|
+
import"./cli-71sxzrzm.js";
|
|
6
|
+
import"./cli-w329bvm0.js";
|
|
7
|
+
import"./cli-c1s54gqq.js";
|
|
8
|
+
import"./cli-a7byd64n.js";
|
|
9
|
+
import"./cli-7nerwz84.js";
|
|
10
|
+
import"./cli-hbaf9qh5.js";
|
|
11
|
+
import"./cli-ap1hrzh5.js";
|
|
12
|
+
import"./cli-dtvmhkgj.js";
|
|
13
|
+
import"./cli-sjjvw6zb.js";
|
|
14
14
|
import"./cli-9fsre5pt.js";
|
|
15
|
-
import"./cli-
|
|
15
|
+
import"./cli-ssxghzzy.js";
|
|
16
16
|
import {
|
|
17
17
|
ENDPOINT_TRANSPORTS,
|
|
18
18
|
createApp,
|
|
@@ -29,17 +29,17 @@ import {
|
|
|
29
29
|
searchEndpoints,
|
|
30
30
|
updateApp,
|
|
31
31
|
updateEndpoint
|
|
32
|
-
} from "./cli-
|
|
33
|
-
import"./cli-
|
|
32
|
+
} from "./cli-k420bwxm.js";
|
|
33
|
+
import"./cli-q7fvqgpj.js";
|
|
34
34
|
import"./cli-fw5r7pfj.js";
|
|
35
35
|
import"./cli-c8131c4q.js";
|
|
36
|
-
import"./cli-
|
|
37
|
-
import"./cli-
|
|
36
|
+
import"./cli-1tbyezda.js";
|
|
37
|
+
import"./cli-d61ezw8h.js";
|
|
38
38
|
import"./cli-avmhkjtv.js";
|
|
39
39
|
import"./cli-j54qa6tm.js";
|
|
40
|
-
import"./cli-
|
|
41
|
-
import"./cli-
|
|
42
|
-
import"./cli-
|
|
40
|
+
import"./cli-5et4dmnr.js";
|
|
41
|
+
import"./cli-4ftbxtgv.js";
|
|
42
|
+
import"./cli-j87d7k33.js";
|
|
43
43
|
import"./cli-knd276ed.js";
|
|
44
44
|
import"./cli-bc05qbss.js";
|
|
45
45
|
|
|
@@ -2,22 +2,22 @@
|
|
|
2
2
|
import {
|
|
3
3
|
markCommandFailed
|
|
4
4
|
} from "./cli-7q3ae3ft.js";
|
|
5
|
-
import"./cli-
|
|
6
|
-
import"./cli-
|
|
7
|
-
import"./cli-
|
|
8
|
-
import"./cli-
|
|
9
|
-
import"./cli-
|
|
10
|
-
import"./cli-
|
|
11
|
-
import"./cli-
|
|
12
|
-
import"./cli-
|
|
13
|
-
import"./cli-
|
|
5
|
+
import"./cli-71sxzrzm.js";
|
|
6
|
+
import"./cli-w329bvm0.js";
|
|
7
|
+
import"./cli-c1s54gqq.js";
|
|
8
|
+
import"./cli-a7byd64n.js";
|
|
9
|
+
import"./cli-7nerwz84.js";
|
|
10
|
+
import"./cli-hbaf9qh5.js";
|
|
11
|
+
import"./cli-ap1hrzh5.js";
|
|
12
|
+
import"./cli-dtvmhkgj.js";
|
|
13
|
+
import"./cli-sjjvw6zb.js";
|
|
14
14
|
import"./cli-9fsre5pt.js";
|
|
15
|
-
import"./cli-
|
|
16
|
-
import"./cli-
|
|
17
|
-
import"./cli-
|
|
15
|
+
import"./cli-ssxghzzy.js";
|
|
16
|
+
import"./cli-k420bwxm.js";
|
|
17
|
+
import"./cli-q7fvqgpj.js";
|
|
18
18
|
import"./cli-fw5r7pfj.js";
|
|
19
19
|
import"./cli-c8131c4q.js";
|
|
20
|
-
import"./cli-
|
|
20
|
+
import"./cli-1tbyezda.js";
|
|
21
21
|
import {
|
|
22
22
|
createWorkspaceSelection,
|
|
23
23
|
disconnect,
|
|
@@ -33,15 +33,15 @@ import {
|
|
|
33
33
|
pollWorkspaceSelection,
|
|
34
34
|
selectWorkspace,
|
|
35
35
|
startDeviceFlow
|
|
36
|
-
} from "./cli-
|
|
36
|
+
} from "./cli-d61ezw8h.js";
|
|
37
37
|
import"./cli-avmhkjtv.js";
|
|
38
38
|
import"./cli-j54qa6tm.js";
|
|
39
39
|
import {
|
|
40
40
|
config,
|
|
41
41
|
init_config
|
|
42
|
-
} from "./cli-
|
|
43
|
-
import"./cli-
|
|
44
|
-
import"./cli-
|
|
42
|
+
} from "./cli-5et4dmnr.js";
|
|
43
|
+
import"./cli-4ftbxtgv.js";
|
|
44
|
+
import"./cli-j87d7k33.js";
|
|
45
45
|
import"./cli-knd276ed.js";
|
|
46
46
|
import {
|
|
47
47
|
__require
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import {
|
|
2
|
+
runAuthenticationAgent
|
|
3
|
+
} from "./cli-dtvmhkgj.js";
|
|
4
|
+
import"./cli-9fsre5pt.js";
|
|
5
|
+
import"./cli-ssxghzzy.js";
|
|
6
|
+
import"./cli-k420bwxm.js";
|
|
7
|
+
import"./cli-q7fvqgpj.js";
|
|
8
|
+
import"./cli-c8131c4q.js";
|
|
9
|
+
import"./cli-1tbyezda.js";
|
|
10
|
+
import"./cli-d61ezw8h.js";
|
|
11
|
+
import"./cli-avmhkjtv.js";
|
|
12
|
+
import"./cli-j54qa6tm.js";
|
|
13
|
+
import"./cli-5et4dmnr.js";
|
|
14
|
+
import"./cli-4ftbxtgv.js";
|
|
15
|
+
import"./cli-j87d7k33.js";
|
|
16
|
+
import"./cli-knd276ed.js";
|
|
17
|
+
import"./cli-bc05qbss.js";
|
|
18
|
+
export {
|
|
19
|
+
runAuthenticationAgent
|
|
20
|
+
};
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import {
|
|
2
|
+
BlackboxAttackSurfaceAgent
|
|
3
|
+
} from "./cli-7nerwz84.js";
|
|
4
|
+
import"./cli-9fsre5pt.js";
|
|
5
|
+
import"./cli-ssxghzzy.js";
|
|
6
|
+
import"./cli-k420bwxm.js";
|
|
7
|
+
import"./cli-q7fvqgpj.js";
|
|
8
|
+
import"./cli-c8131c4q.js";
|
|
9
|
+
import"./cli-1tbyezda.js";
|
|
10
|
+
import"./cli-d61ezw8h.js";
|
|
11
|
+
import"./cli-avmhkjtv.js";
|
|
12
|
+
import"./cli-j54qa6tm.js";
|
|
13
|
+
import"./cli-5et4dmnr.js";
|
|
14
|
+
import"./cli-4ftbxtgv.js";
|
|
15
|
+
import"./cli-j87d7k33.js";
|
|
16
|
+
import"./cli-knd276ed.js";
|
|
17
|
+
import"./cli-bc05qbss.js";
|
|
18
|
+
export {
|
|
19
|
+
BlackboxAttackSurfaceAgent
|
|
20
|
+
};
|
|
@@ -1,30 +1,30 @@
|
|
|
1
1
|
import {
|
|
2
2
|
EMPTY_SESSION_TOKEN_USAGE,
|
|
3
3
|
accumulateSessionTokens
|
|
4
|
-
} from "./cli-
|
|
4
|
+
} from "./cli-w329bvm0.js";
|
|
5
5
|
import {
|
|
6
6
|
readExecutionMetrics,
|
|
7
7
|
runPentestWorkflow,
|
|
8
8
|
writeExecutionMetrics
|
|
9
|
-
} from "./cli-
|
|
10
|
-
import"./cli-
|
|
11
|
-
import"./cli-
|
|
12
|
-
import"./cli-
|
|
13
|
-
import"./cli-
|
|
14
|
-
import"./cli-
|
|
9
|
+
} from "./cli-c1s54gqq.js";
|
|
10
|
+
import"./cli-a7byd64n.js";
|
|
11
|
+
import"./cli-7nerwz84.js";
|
|
12
|
+
import"./cli-hbaf9qh5.js";
|
|
13
|
+
import"./cli-ap1hrzh5.js";
|
|
14
|
+
import"./cli-sjjvw6zb.js";
|
|
15
15
|
import"./cli-9fsre5pt.js";
|
|
16
|
-
import"./cli-
|
|
17
|
-
import"./cli-
|
|
18
|
-
import"./cli-
|
|
16
|
+
import"./cli-ssxghzzy.js";
|
|
17
|
+
import"./cli-k420bwxm.js";
|
|
18
|
+
import"./cli-q7fvqgpj.js";
|
|
19
19
|
import"./cli-fw5r7pfj.js";
|
|
20
20
|
import"./cli-c8131c4q.js";
|
|
21
|
-
import"./cli-
|
|
22
|
-
import"./cli-
|
|
21
|
+
import"./cli-1tbyezda.js";
|
|
22
|
+
import"./cli-d61ezw8h.js";
|
|
23
23
|
import"./cli-avmhkjtv.js";
|
|
24
24
|
import"./cli-j54qa6tm.js";
|
|
25
|
-
import"./cli-
|
|
26
|
-
import"./cli-
|
|
27
|
-
import"./cli-
|
|
25
|
+
import"./cli-5et4dmnr.js";
|
|
26
|
+
import"./cli-4ftbxtgv.js";
|
|
27
|
+
import"./cli-j87d7k33.js";
|
|
28
28
|
import"./cli-knd276ed.js";
|
|
29
29
|
import"./cli-bc05qbss.js";
|
|
30
30
|
|
|
@@ -4,7 +4,7 @@ import {
|
|
|
4
4
|
init_auth,
|
|
5
5
|
init_constants,
|
|
6
6
|
signGatewayRequest
|
|
7
|
-
} from "./cli-
|
|
7
|
+
} from "./cli-d61ezw8h.js";
|
|
8
8
|
import {
|
|
9
9
|
AISDKError,
|
|
10
10
|
APICallError,
|
|
@@ -86,11 +86,11 @@ import {
|
|
|
86
86
|
import {
|
|
87
87
|
config,
|
|
88
88
|
init_config
|
|
89
|
-
} from "./cli-
|
|
89
|
+
} from "./cli-5et4dmnr.js";
|
|
90
90
|
import {
|
|
91
91
|
getCurrentVersion,
|
|
92
92
|
init_installation
|
|
93
|
-
} from "./cli-
|
|
93
|
+
} from "./cli-j87d7k33.js";
|
|
94
94
|
import {
|
|
95
95
|
require_src
|
|
96
96
|
} from "./cli-knd276ed.js";
|
|
@@ -47460,7 +47460,7 @@ async function create2(input) {
|
|
|
47460
47460
|
if (normalizedConfig?.headers !== undefined) {
|
|
47461
47461
|
snapshotHeaders = { ...normalizedConfig.headers };
|
|
47462
47462
|
} else {
|
|
47463
|
-
const { config: appConfig } = await import("./index-
|
|
47463
|
+
const { config: appConfig } = await import("./index-11xmmw64.js");
|
|
47464
47464
|
const cfg = await appConfig.get();
|
|
47465
47465
|
snapshotHeaders = cfg.defaultHeaders ? { ...cfg.defaultHeaders } : { ...DEFAULT_HEADER_RECORD };
|
|
47466
47466
|
}
|
|
@@ -5,16 +5,16 @@ import {
|
|
|
5
5
|
SKILL_TOOL_NAMES,
|
|
6
6
|
apiRequest,
|
|
7
7
|
buildBaseSystemPrompt
|
|
8
|
-
} from "./cli-
|
|
8
|
+
} from "./cli-k420bwxm.js";
|
|
9
9
|
import {
|
|
10
10
|
init_dist,
|
|
11
11
|
init_session,
|
|
12
12
|
sessions,
|
|
13
13
|
stepCountIs
|
|
14
|
-
} from "./cli-
|
|
14
|
+
} from "./cli-1tbyezda.js";
|
|
15
15
|
import {
|
|
16
16
|
init_constants
|
|
17
|
-
} from "./cli-
|
|
17
|
+
} from "./cli-d61ezw8h.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-k420bwxm.js";
|
|
4
4
|
import {
|
|
5
5
|
detectOSAndEnhancePrompt
|
|
6
|
-
} from "./cli-
|
|
6
|
+
} from "./cli-q7fvqgpj.js";
|
|
7
7
|
import {
|
|
8
8
|
hasToolCall,
|
|
9
9
|
init_dist,
|
|
10
10
|
stepCountIs
|
|
11
|
-
} from "./cli-
|
|
11
|
+
} from "./cli-1tbyezda.js";
|
|
12
12
|
|
|
13
13
|
// src/core/agents/specialized/attackSurface/blackboxAgent.ts
|
|
14
14
|
init_dist();
|
|
@@ -484,7 +484,7 @@ ${authenticationInstructions}
|
|
|
484
484
|
Your FIRST tool call must be: browser_navigate to ${loginTarget}
|
|
485
485
|
Then use browser tools to authenticate. Pass the credentialId to delegate_to_auth_subagent — secrets are resolved automatically.
|
|
486
486
|
For browser_fill on password/secret fields, use credentialId + credentialField instead of raw values.
|
|
487
|
-
When a credential has a phoneNumber additional field (Mobile OTP / sms-passwordless), phone is the login identifier — not MFA-after-password.
|
|
487
|
+
When a credential has a phoneNumber additional field (Mobile OTP / sms-passwordless), phone is the login identifier — not MFA-after-password. Immediately before filling it, call sms_list_messages with reserve=true; never pass that tool a phone number. If it returns 429, retry the reservation later as a separate attempt without waiting in the tool. Then fill credentialField="phoneNumber", click send-code, sleep with execute_command, and call sms_list_messages with sinceMs from that click and claim=true. If the list is empty, make one delayed list retry; if it stays empty, stop and report. Do not report phone_verification as a barrier. TOTP-via-env for authenticator MFA is unchanged.
|
|
488
488
|
|
|
489
489
|
Do NOT run curl, nmap, dig, or any other command before completing login.
|
|
490
490
|
Include authentication information with EVERY target that requires it in your final report.
|
|
@@ -2,11 +2,11 @@ import {
|
|
|
2
2
|
EndpointTransportEnum,
|
|
3
3
|
GrpcEndpointMetadataSchema,
|
|
4
4
|
OffensiveSecurityAgent
|
|
5
|
-
} from "./cli-
|
|
5
|
+
} from "./cli-k420bwxm.js";
|
|
6
6
|
import {
|
|
7
7
|
hasToolCall,
|
|
8
8
|
init_dist
|
|
9
|
-
} from "./cli-
|
|
9
|
+
} from "./cli-1tbyezda.js";
|
|
10
10
|
import {
|
|
11
11
|
exports_external,
|
|
12
12
|
init_zod,
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import {
|
|
2
2
|
EvidenceFileEntrySchema
|
|
3
|
-
} from "./cli-
|
|
3
|
+
} from "./cli-ssxghzzy.js";
|
|
4
4
|
import {
|
|
5
5
|
AttackPathSchema,
|
|
6
6
|
CweEntrySchema,
|
|
7
7
|
ValidatedCweEntrySchema,
|
|
8
8
|
hasCanonicalName
|
|
9
|
-
} from "./cli-
|
|
9
|
+
} from "./cli-k420bwxm.js";
|
|
10
10
|
import {
|
|
11
11
|
exports_external,
|
|
12
12
|
init_zod
|
|
@@ -5,24 +5,24 @@ import {
|
|
|
5
5
|
WHITEBOX_APPS_DISCOVERY_SYSTEM_PROMPT,
|
|
6
6
|
WHITEBOX_DISCOVERY_SYSTEM_PROMPT,
|
|
7
7
|
WHITEBOX_ENDPOINT_DOCUMENTATION_SYSTEM_PROMPT
|
|
8
|
-
} from "./cli-
|
|
8
|
+
} from "./cli-a7byd64n.js";
|
|
9
9
|
import {
|
|
10
10
|
BlackboxAttackSurfaceAgent
|
|
11
|
-
} from "./cli-
|
|
11
|
+
} from "./cli-7nerwz84.js";
|
|
12
12
|
import {
|
|
13
13
|
TargetedPentestAgent,
|
|
14
14
|
buildPentestSystemPrompt
|
|
15
|
-
} from "./cli-
|
|
15
|
+
} from "./cli-hbaf9qh5.js";
|
|
16
16
|
import {
|
|
17
17
|
REPORT_FILENAME_JSON,
|
|
18
18
|
REPORT_FILENAME_MD,
|
|
19
19
|
buildPentestReport,
|
|
20
20
|
renderJson,
|
|
21
21
|
renderMarkdown
|
|
22
|
-
} from "./cli-
|
|
22
|
+
} from "./cli-ap1hrzh5.js";
|
|
23
23
|
import {
|
|
24
24
|
CodeAgent
|
|
25
|
-
} from "./cli-
|
|
25
|
+
} from "./cli-sjjvw6zb.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-k420bwxm.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-1tbyezda.js";
|
|
49
49
|
import {
|
|
50
50
|
__require
|
|
51
51
|
} from "./cli-bc05qbss.js";
|
|
@@ -7815,7 +7815,7 @@ async function runPentestSwarm(input) {
|
|
|
7815
7815
|
}
|
|
7816
7816
|
async function runPentestWorkflow(input) {
|
|
7817
7817
|
if (input.fastStrike) {
|
|
7818
|
-
const { runFastStrike } = await import("./fastStrike-
|
|
7818
|
+
const { runFastStrike } = await import("./fastStrike-fjqcncfy.js");
|
|
7819
7819
|
return runFastStrike(input);
|
|
7820
7820
|
}
|
|
7821
7821
|
const {
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
2
|
OffensiveSecurityAgent
|
|
3
|
-
} from "./cli-
|
|
3
|
+
} from "./cli-k420bwxm.js";
|
|
4
4
|
import {
|
|
5
5
|
detectOSAndEnhancePrompt
|
|
6
|
-
} from "./cli-
|
|
6
|
+
} from "./cli-q7fvqgpj.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-1tbyezda.js";
|
|
15
15
|
|
|
16
16
|
// src/core/agents/specialized/authenticationAgent/agent.ts
|
|
17
17
|
init_dist();
|
|
@@ -146,14 +146,16 @@ or two fresh codes are both rejected.
|
|
|
146
146
|
If a credential has a \`phoneNumber\` additional field, the phone number IS the login identifier — not MFA
|
|
147
147
|
after a password. Do **not** report \`phone_verification\` as a barrier for this flow.
|
|
148
148
|
|
|
149
|
-
1. \`
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
149
|
+
1. Call \`sms_list_messages\` with \`reserve=true\` immediately before filling the phone field. Never pass
|
|
150
|
+
a phone number to this tool. If it returns 429, retry this reservation later as a separate attempt; do
|
|
151
|
+
not wait or poll inside the tool.
|
|
152
|
+
2. \`browser_fill\` with \`credentialId\` and \`credentialField="phoneNumber"\` (never type the number).
|
|
153
|
+
3. Click the target's send-code / text-me control. Note \`Date.now()\` at that click as \`sinceMs\`.
|
|
154
|
+
4. \`execute_command\` \`sleep 5\`, then call \`sms_list_messages\` with \`sinceMs\` and \`claim=true\`.
|
|
155
|
+
If the list is empty, make one delayed list retry; if it stays empty or returns an error, stop and report
|
|
156
|
+
what you observed — do not hang in a wait loop.
|
|
157
|
+
5. \`browser_fill\` the OTP from the claimed/listed result (\`code\`, or parse \`body\` if \`code\` is null).
|
|
158
|
+
6. Continue the login and call \`complete_authentication\`.
|
|
157
159
|
|
|
158
160
|
TOTP-via-environment-variable above is unchanged and still applies when the login asks for an authenticator
|
|
159
161
|
app code.
|
|
@@ -349,11 +351,13 @@ function buildAuthPrompt(target, authHints, credentialManager, context, envVarNa
|
|
|
349
351
|
const hasSmsPasswordless = credentialManager?.listReferences().some((ref) => ref.additionalFieldKeys?.includes("phoneNumber"));
|
|
350
352
|
const smsInstructions = hasSmsPasswordless ? `
|
|
351
353
|
If a credential has a phoneNumber additional field (Mobile OTP / sms-passwordless), phone is the login
|
|
352
|
-
identifier — not MFA-after-password.
|
|
353
|
-
|
|
354
|
-
|
|
355
|
-
|
|
356
|
-
|
|
354
|
+
identifier — not MFA-after-password. Immediately before filling the phone field, call sms_list_messages
|
|
355
|
+
with reserve=true; never pass that tool a phone number. If it returns 429, retry the reservation later as
|
|
356
|
+
a separate attempt without waiting in the tool. Then browser_fill credentialField="phoneNumber", click
|
|
357
|
+
send-code, and call sms_list_messages with sinceMs = Date.now() at that click and claim=true after a brief
|
|
358
|
+
execute_command sleep. If the list is empty, make one delayed list retry; if it stays empty, fail with what
|
|
359
|
+
you observed. Then browser_fill the OTP. Do NOT report phone_verification as a barrier for this flow.
|
|
360
|
+
TOTP-via-env for authenticator MFA is unchanged.` : "";
|
|
357
361
|
parts.push(`INSTRUCTIONS:
|
|
358
362
|
You have credentials available via credential IDs — authenticate immediately.
|
|
359
363
|
1. For API/form logins, use execute_command (curl) to submit credentials and capture the Set-Cookie / token response
|
|
@@ -5,7 +5,7 @@ import {
|
|
|
5
5
|
createReportErrorTool,
|
|
6
6
|
isMemoryEnabled,
|
|
7
7
|
readPlan
|
|
8
|
-
} from "./cli-
|
|
8
|
+
} from "./cli-k420bwxm.js";
|
|
9
9
|
import {
|
|
10
10
|
createLogger,
|
|
11
11
|
hasToolCall,
|
|
@@ -13,7 +13,7 @@ import {
|
|
|
13
13
|
init_lazyLogger,
|
|
14
14
|
init_structured,
|
|
15
15
|
scopedLogger
|
|
16
|
-
} from "./cli-
|
|
16
|
+
} from "./cli-1tbyezda.js";
|
|
17
17
|
import {
|
|
18
18
|
exports_external,
|
|
19
19
|
init_zod
|
|
@@ -748,7 +748,7 @@ Do NOT discover or enumerate other endpoints or services. Focus exclusively on t
|
|
|
748
748
|
const credentialSection = credentialContext ? `
|
|
749
749
|
## Available Credentials
|
|
750
750
|
The operator provided the following credentials and authentication instructions for this engagement. Authenticate by following the instructions in each credential's Context exactly — use the method it describes (for example, a token/API exchange via execute_command or http_request) rather than defaulting to a browser login. Treat the Context as the source of truth for how to authenticate, and how to re-authenticate if a provided session expires. When a tool needs a secret value and supports it (e.g. browser_fill), reference it by credentialId + credentialField so the secret resolves securely at execution time instead of hardcoding it. If required authentication cannot be established and blocks the assigned objective or all further testing, call report_error with reason "authentication_failed" and a specific message; otherwise continue reachable testing and report the limitation in your final response.
|
|
751
|
-
When a credential has additional field phoneNumber, phone is the login identifier (not MFA-after-password).
|
|
751
|
+
When a credential has additional field phoneNumber, phone is the login identifier (not MFA-after-password). Immediately before filling it, call sms_list_messages with reserve=true; never pass that tool a phone number. If it returns 429, retry the reservation later as a separate attempt without waiting in the tool. Then fill credentialField="phoneNumber", click send-code, sleep with execute_command, and call sms_list_messages with sinceMs from that click and claim=true. If the list is empty, make one delayed list retry; if it stays empty, stop and report. Do not report phone_verification as a barrier. TOTP-via-environment-variable for authenticator MFA is unchanged.
|
|
752
752
|
|
|
753
753
|
${credentialContext}
|
|
754
754
|
` : "";
|