@pensar/apex 2.1.1-canary.a54d7cc0 → 2.1.1
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-rzgk41jj.js → agent-5j0r1zwb.js} +7 -7
- package/build/{agent-532kw8na.js → agent-9atrn180.js} +9 -9
- package/build/agent-fj5t54re.js +19 -0
- package/build/{apps-xcpgz8a7.js → apps-r8v4zx74.js} +15 -15
- package/build/{auth-jwn3k96j.js → auth-1cyt34s1.js} +15 -15
- package/build/authentication-jcxmdghv.js +19 -0
- package/build/blackboxAgent-gtaq6gvf.js +19 -0
- package/build/{blackboxPentest-7rk7jrpn.js → blackboxPentest-6xg3nwsy.js} +13 -13
- package/build/{cli-p5fhqbc1.js → cli-2b2hq0bx.js} +1 -1
- package/build/{cli-j858k5zf.js → cli-5qn1288m.js} +3 -3
- package/build/{cli-pc7axnnd.js → cli-7f5xyyv7.js} +7 -7
- package/build/{cli-9esmkj4x.js → cli-7v584njb.js} +1 -1
- package/build/{cli-p1p6rbfh.js → cli-90f2rr31.js} +4 -4
- package/build/{cli-x8sk2dzs.js → cli-92szr4n9.js} +2 -2
- package/build/{cli-x2ps0wav.js → cli-9ns3f6e4.js} +13 -13
- package/build/{cli-6j2qmxn6.js → cli-bt876w2p.js} +3 -3
- package/build/{cli-sfxhkp9g.js → cli-ebt2qz4a.js} +2 -2
- package/build/{cli-qeyw9kpc.js → cli-gqzh2kf7.js} +1 -1
- package/build/{cli-an4mxggg.js → cli-ha57ygh1.js} +1 -1
- package/build/{cli-st56vwhn.js → cli-pwgdqc8n.js} +1 -1
- package/build/{cli-ekxv41te.js → cli-rb0r7wyk.js} +1 -1
- package/build/{cli-qt4fhzqf.js → cli-tpf5degm.js} +2 -2
- package/build/{cli-0nyej24w.js → cli-y9p64z6j.js} +1 -1
- package/build/{cli-ce2hd8w5.js → cli-yeh71tk6.js} +4 -4
- package/build/cli.js +33 -33
- package/build/{config-xktv2bct.js → config-m9nwkqda.js} +3 -3
- package/build/{doctor-d1hq76bh.js → doctor-e7nx089w.js} +6 -6
- package/build/{fixes-zxh6jbwz.js → fixes-bwbs6y0h.js} +15 -15
- package/build/{index-60fv97eg.js → index-2ngqkd4f.js} +17 -17
- package/build/{index-qqtegmdr.js → index-9mfg4n8j.js} +8 -8
- package/build/{index-fwywxemj.js → index-9v8095vv.js} +9 -9
- package/build/{index-de85qht6.js → index-b7257b3y.js} +6 -6
- package/build/{index-nr29b0tg.js → index-n3ykm2w9.js} +3 -3
- package/build/{index-ws9kvnxa.js → index-pvnf0pyw.js} +4 -4
- package/build/{index-z6m0rjw0.js → index-vjf3wr3h.js} +2 -2
- package/build/{issues-d9djp29q.js → issues-3b09y726.js} +15 -15
- package/build/{logs-sfvrcr74.js → logs-z861s66g.js} +15 -15
- package/build/{offesecAgent-5me47yf6.js → offesecAgent-sv2x2ew0.js} +8 -8
- package/build/pentest-rf73r63h.js +28 -0
- package/build/{pentests-1fjy4q10.js → pentests-1s4sbasz.js} +15 -15
- package/build/{targetedPentest-v6v66m1f.js → targetedPentest-yjpk7d05.js} +9 -9
- package/build/{targets-v8w4cwah.js → targets-0zg21ndc.js} +15 -15
- package/build/threatModel-e70carjd.js +26 -0
- package/build/{uninstall-hqqns7dj.js → uninstall-b9ttpxjc.js} +1 -1
- package/build/{upload-bx7khs99.js → upload-sdx7xg6j.js} +6 -6
- package/build/{utils-3hn5bc1v.js → utils-g8awkbz8.js} +5 -5
- package/package.json +1 -1
- package/build/agent-ph6etsfm.js +0 -19
- package/build/authentication-yerc8mpr.js +0 -19
- package/build/blackboxAgent-4z8mmvc9.js +0 -19
- package/build/pentest-112q935e.js +0 -28
- package/build/threatModel-r4hmtvsf.js +0 -26
|
@@ -1,23 +1,23 @@
|
|
|
1
1
|
import {
|
|
2
2
|
OffensiveSecurityAgent
|
|
3
|
-
} from "./cli-
|
|
3
|
+
} from "./cli-9ns3f6e4.js";
|
|
4
4
|
import {
|
|
5
5
|
detectOSAndEnhancePrompt
|
|
6
|
-
} from "./cli-
|
|
6
|
+
} from "./cli-gqzh2kf7.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-90f2rr31.js";
|
|
12
|
+
import"./cli-rb0r7wyk.js";
|
|
13
13
|
import {
|
|
14
14
|
exports_external,
|
|
15
15
|
init_zod
|
|
16
16
|
} from "./cli-f7d23ded.js";
|
|
17
17
|
import"./cli-gpnb45ck.js";
|
|
18
|
-
import"./cli-
|
|
19
|
-
import"./cli-
|
|
20
|
-
import"./cli-
|
|
18
|
+
import"./cli-ha57ygh1.js";
|
|
19
|
+
import"./cli-7v584njb.js";
|
|
20
|
+
import"./cli-y9p64z6j.js";
|
|
21
21
|
import"./cli-8rxa073f.js";
|
|
22
22
|
|
|
23
23
|
// src/core/agents/specialized/findingJudge/agent.ts
|
|
@@ -3,19 +3,19 @@ import {
|
|
|
3
3
|
buildPentestActiveTools,
|
|
4
4
|
buildPentestPrompt,
|
|
5
5
|
buildPentestSystemPrompt
|
|
6
|
-
} from "./cli-
|
|
6
|
+
} from "./cli-tpf5degm.js";
|
|
7
7
|
import"./cli-9fsre5pt.js";
|
|
8
|
-
import"./cli-
|
|
9
|
-
import"./cli-
|
|
10
|
-
import"./cli-
|
|
8
|
+
import"./cli-2b2hq0bx.js";
|
|
9
|
+
import"./cli-9ns3f6e4.js";
|
|
10
|
+
import"./cli-gqzh2kf7.js";
|
|
11
11
|
import"./cli-c8131c4q.js";
|
|
12
|
-
import"./cli-
|
|
13
|
-
import"./cli-
|
|
12
|
+
import"./cli-90f2rr31.js";
|
|
13
|
+
import"./cli-rb0r7wyk.js";
|
|
14
14
|
import"./cli-f7d23ded.js";
|
|
15
15
|
import"./cli-gpnb45ck.js";
|
|
16
|
-
import"./cli-
|
|
17
|
-
import"./cli-
|
|
18
|
-
import"./cli-
|
|
16
|
+
import"./cli-ha57ygh1.js";
|
|
17
|
+
import"./cli-7v584njb.js";
|
|
18
|
+
import"./cli-y9p64z6j.js";
|
|
19
19
|
import"./cli-8rxa073f.js";
|
|
20
20
|
export {
|
|
21
21
|
buildPentestSystemPrompt,
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import {
|
|
2
|
+
CodeAgent
|
|
3
|
+
} from "./cli-ebt2qz4a.js";
|
|
4
|
+
import"./cli-9fsre5pt.js";
|
|
5
|
+
import"./cli-2b2hq0bx.js";
|
|
6
|
+
import"./cli-9ns3f6e4.js";
|
|
7
|
+
import"./cli-gqzh2kf7.js";
|
|
8
|
+
import"./cli-c8131c4q.js";
|
|
9
|
+
import"./cli-90f2rr31.js";
|
|
10
|
+
import"./cli-rb0r7wyk.js";
|
|
11
|
+
import"./cli-f7d23ded.js";
|
|
12
|
+
import"./cli-gpnb45ck.js";
|
|
13
|
+
import"./cli-ha57ygh1.js";
|
|
14
|
+
import"./cli-7v584njb.js";
|
|
15
|
+
import"./cli-y9p64z6j.js";
|
|
16
|
+
import"./cli-8rxa073f.js";
|
|
17
|
+
export {
|
|
18
|
+
CodeAgent
|
|
19
|
+
};
|
|
@@ -12,26 +12,26 @@ import {
|
|
|
12
12
|
searchEndpoints,
|
|
13
13
|
updateApp,
|
|
14
14
|
updateEndpoint
|
|
15
|
-
} from "./cli-
|
|
16
|
-
import"./cli-
|
|
17
|
-
import"./cli-
|
|
18
|
-
import"./cli-
|
|
19
|
-
import"./cli-
|
|
20
|
-
import"./cli-
|
|
21
|
-
import"./cli-
|
|
15
|
+
} from "./cli-yeh71tk6.js";
|
|
16
|
+
import"./cli-7f5xyyv7.js";
|
|
17
|
+
import"./cli-bt876w2p.js";
|
|
18
|
+
import"./cli-tpf5degm.js";
|
|
19
|
+
import"./cli-5qn1288m.js";
|
|
20
|
+
import"./cli-ebt2qz4a.js";
|
|
21
|
+
import"./cli-92szr4n9.js";
|
|
22
22
|
import"./cli-9fsre5pt.js";
|
|
23
|
-
import"./cli-
|
|
24
|
-
import"./cli-
|
|
25
|
-
import"./cli-
|
|
23
|
+
import"./cli-2b2hq0bx.js";
|
|
24
|
+
import"./cli-9ns3f6e4.js";
|
|
25
|
+
import"./cli-gqzh2kf7.js";
|
|
26
26
|
import"./cli-fw5r7pfj.js";
|
|
27
27
|
import"./cli-c8131c4q.js";
|
|
28
|
-
import"./cli-
|
|
29
|
-
import"./cli-
|
|
28
|
+
import"./cli-90f2rr31.js";
|
|
29
|
+
import"./cli-rb0r7wyk.js";
|
|
30
30
|
import"./cli-f7d23ded.js";
|
|
31
31
|
import"./cli-gpnb45ck.js";
|
|
32
|
-
import"./cli-
|
|
33
|
-
import"./cli-
|
|
34
|
-
import"./cli-
|
|
32
|
+
import"./cli-ha57ygh1.js";
|
|
33
|
+
import"./cli-7v584njb.js";
|
|
34
|
+
import"./cli-y9p64z6j.js";
|
|
35
35
|
import"./cli-8rxa073f.js";
|
|
36
36
|
|
|
37
37
|
// src/cli/apps.ts
|
|
@@ -1,18 +1,18 @@
|
|
|
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-
|
|
2
|
+
import"./cli-yeh71tk6.js";
|
|
3
|
+
import"./cli-7f5xyyv7.js";
|
|
4
|
+
import"./cli-bt876w2p.js";
|
|
5
|
+
import"./cli-tpf5degm.js";
|
|
6
|
+
import"./cli-5qn1288m.js";
|
|
7
|
+
import"./cli-ebt2qz4a.js";
|
|
8
|
+
import"./cli-92szr4n9.js";
|
|
9
9
|
import"./cli-9fsre5pt.js";
|
|
10
|
-
import"./cli-
|
|
11
|
-
import"./cli-
|
|
12
|
-
import"./cli-
|
|
10
|
+
import"./cli-2b2hq0bx.js";
|
|
11
|
+
import"./cli-9ns3f6e4.js";
|
|
12
|
+
import"./cli-gqzh2kf7.js";
|
|
13
13
|
import"./cli-fw5r7pfj.js";
|
|
14
14
|
import"./cli-c8131c4q.js";
|
|
15
|
-
import"./cli-
|
|
15
|
+
import"./cli-90f2rr31.js";
|
|
16
16
|
import {
|
|
17
17
|
disconnect,
|
|
18
18
|
fetchWorkspaces,
|
|
@@ -25,15 +25,15 @@ import {
|
|
|
25
25
|
pollWorkOSToken,
|
|
26
26
|
selectWorkspace,
|
|
27
27
|
startDeviceFlow
|
|
28
|
-
} from "./cli-
|
|
28
|
+
} from "./cli-rb0r7wyk.js";
|
|
29
29
|
import"./cli-f7d23ded.js";
|
|
30
30
|
import"./cli-gpnb45ck.js";
|
|
31
31
|
import {
|
|
32
32
|
config,
|
|
33
33
|
init_config
|
|
34
|
-
} from "./cli-
|
|
35
|
-
import"./cli-
|
|
36
|
-
import"./cli-
|
|
34
|
+
} from "./cli-ha57ygh1.js";
|
|
35
|
+
import"./cli-7v584njb.js";
|
|
36
|
+
import"./cli-y9p64z6j.js";
|
|
37
37
|
import {
|
|
38
38
|
__require
|
|
39
39
|
} from "./cli-8rxa073f.js";
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import {
|
|
2
|
+
runAuthenticationAgent
|
|
3
|
+
} from "./cli-5qn1288m.js";
|
|
4
|
+
import"./cli-9fsre5pt.js";
|
|
5
|
+
import"./cli-2b2hq0bx.js";
|
|
6
|
+
import"./cli-9ns3f6e4.js";
|
|
7
|
+
import"./cli-gqzh2kf7.js";
|
|
8
|
+
import"./cli-c8131c4q.js";
|
|
9
|
+
import"./cli-90f2rr31.js";
|
|
10
|
+
import"./cli-rb0r7wyk.js";
|
|
11
|
+
import"./cli-f7d23ded.js";
|
|
12
|
+
import"./cli-gpnb45ck.js";
|
|
13
|
+
import"./cli-ha57ygh1.js";
|
|
14
|
+
import"./cli-7v584njb.js";
|
|
15
|
+
import"./cli-y9p64z6j.js";
|
|
16
|
+
import"./cli-8rxa073f.js";
|
|
17
|
+
export {
|
|
18
|
+
runAuthenticationAgent
|
|
19
|
+
};
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import {
|
|
2
|
+
BlackboxAttackSurfaceAgent
|
|
3
|
+
} from "./cli-bt876w2p.js";
|
|
4
|
+
import"./cli-9fsre5pt.js";
|
|
5
|
+
import"./cli-2b2hq0bx.js";
|
|
6
|
+
import"./cli-9ns3f6e4.js";
|
|
7
|
+
import"./cli-gqzh2kf7.js";
|
|
8
|
+
import"./cli-c8131c4q.js";
|
|
9
|
+
import"./cli-90f2rr31.js";
|
|
10
|
+
import"./cli-rb0r7wyk.js";
|
|
11
|
+
import"./cli-f7d23ded.js";
|
|
12
|
+
import"./cli-gpnb45ck.js";
|
|
13
|
+
import"./cli-ha57ygh1.js";
|
|
14
|
+
import"./cli-7v584njb.js";
|
|
15
|
+
import"./cli-y9p64z6j.js";
|
|
16
|
+
import"./cli-8rxa073f.js";
|
|
17
|
+
export {
|
|
18
|
+
BlackboxAttackSurfaceAgent
|
|
19
|
+
};
|
|
@@ -1,23 +1,23 @@
|
|
|
1
1
|
import {
|
|
2
2
|
runPentestWorkflow
|
|
3
|
-
} from "./cli-
|
|
4
|
-
import"./cli-
|
|
5
|
-
import"./cli-
|
|
6
|
-
import"./cli-
|
|
7
|
-
import"./cli-
|
|
3
|
+
} from "./cli-7f5xyyv7.js";
|
|
4
|
+
import"./cli-bt876w2p.js";
|
|
5
|
+
import"./cli-tpf5degm.js";
|
|
6
|
+
import"./cli-ebt2qz4a.js";
|
|
7
|
+
import"./cli-92szr4n9.js";
|
|
8
8
|
import"./cli-9fsre5pt.js";
|
|
9
|
-
import"./cli-
|
|
10
|
-
import"./cli-
|
|
11
|
-
import"./cli-
|
|
9
|
+
import"./cli-2b2hq0bx.js";
|
|
10
|
+
import"./cli-9ns3f6e4.js";
|
|
11
|
+
import"./cli-gqzh2kf7.js";
|
|
12
12
|
import"./cli-fw5r7pfj.js";
|
|
13
13
|
import"./cli-c8131c4q.js";
|
|
14
|
-
import"./cli-
|
|
15
|
-
import"./cli-
|
|
14
|
+
import"./cli-90f2rr31.js";
|
|
15
|
+
import"./cli-rb0r7wyk.js";
|
|
16
16
|
import"./cli-f7d23ded.js";
|
|
17
17
|
import"./cli-gpnb45ck.js";
|
|
18
|
-
import"./cli-
|
|
19
|
-
import"./cli-
|
|
20
|
-
import"./cli-
|
|
18
|
+
import"./cli-ha57ygh1.js";
|
|
19
|
+
import"./cli-7v584njb.js";
|
|
20
|
+
import"./cli-y9p64z6j.js";
|
|
21
21
|
import"./cli-8rxa073f.js";
|
|
22
22
|
|
|
23
23
|
// src/core/api/blackboxPentest.ts
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
2
|
OffensiveSecurityAgent
|
|
3
|
-
} from "./cli-
|
|
3
|
+
} from "./cli-9ns3f6e4.js";
|
|
4
4
|
import {
|
|
5
5
|
detectOSAndEnhancePrompt
|
|
6
|
-
} from "./cli-
|
|
6
|
+
} from "./cli-gqzh2kf7.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-90f2rr31.js";
|
|
15
15
|
|
|
16
16
|
// src/core/agents/specialized/authenticationAgent/agent.ts
|
|
17
17
|
init_dist();
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import {
|
|
2
2
|
BlackboxAttackSurfaceAgent
|
|
3
|
-
} from "./cli-
|
|
3
|
+
} from "./cli-bt876w2p.js";
|
|
4
4
|
import {
|
|
5
5
|
TargetedPentestAgent,
|
|
6
6
|
buildPentestSystemPrompt
|
|
7
|
-
} from "./cli-
|
|
7
|
+
} from "./cli-tpf5degm.js";
|
|
8
8
|
import {
|
|
9
9
|
CodeAgent
|
|
10
|
-
} from "./cli-
|
|
10
|
+
} from "./cli-ebt2qz4a.js";
|
|
11
11
|
import {
|
|
12
12
|
AppsDiscoveryResultSchema,
|
|
13
13
|
DiscoverySummarySchema,
|
|
@@ -15,10 +15,10 @@ import {
|
|
|
15
15
|
WHITEBOX_APPS_DISCOVERY_SYSTEM_PROMPT,
|
|
16
16
|
WHITEBOX_DISCOVERY_SYSTEM_PROMPT,
|
|
17
17
|
WHITEBOX_ENDPOINT_DOCUMENTATION_SYSTEM_PROMPT
|
|
18
|
-
} from "./cli-
|
|
18
|
+
} from "./cli-92szr4n9.js";
|
|
19
19
|
import {
|
|
20
20
|
EvidenceFileEntrySchema
|
|
21
|
-
} from "./cli-
|
|
21
|
+
} from "./cli-2b2hq0bx.js";
|
|
22
22
|
import {
|
|
23
23
|
CweEntrySchema,
|
|
24
24
|
FindingsRegistry,
|
|
@@ -27,7 +27,7 @@ import {
|
|
|
27
27
|
ValidatedCweEntrySchema,
|
|
28
28
|
hasCanonicalName,
|
|
29
29
|
runWithBoundedConcurrency
|
|
30
|
-
} from "./cli-
|
|
30
|
+
} from "./cli-9ns3f6e4.js";
|
|
31
31
|
import {
|
|
32
32
|
createThreatModelPrompt
|
|
33
33
|
} from "./cli-fw5r7pfj.js";
|
|
@@ -38,7 +38,7 @@ import {
|
|
|
38
38
|
init_lazyLogger,
|
|
39
39
|
init_structured,
|
|
40
40
|
scopedLogger
|
|
41
|
-
} from "./cli-
|
|
41
|
+
} from "./cli-90f2rr31.js";
|
|
42
42
|
import {
|
|
43
43
|
exports_external,
|
|
44
44
|
init_zod
|
|
@@ -4,7 +4,7 @@ import {
|
|
|
4
4
|
init_auth,
|
|
5
5
|
init_constants,
|
|
6
6
|
signGatewayRequest
|
|
7
|
-
} from "./cli-
|
|
7
|
+
} from "./cli-rb0r7wyk.js";
|
|
8
8
|
import {
|
|
9
9
|
AISDKError,
|
|
10
10
|
APICallError,
|
|
@@ -62,11 +62,11 @@ import {
|
|
|
62
62
|
import {
|
|
63
63
|
config,
|
|
64
64
|
init_config
|
|
65
|
-
} from "./cli-
|
|
65
|
+
} from "./cli-ha57ygh1.js";
|
|
66
66
|
import {
|
|
67
67
|
getCurrentVersion,
|
|
68
68
|
init_installation
|
|
69
|
-
} from "./cli-
|
|
69
|
+
} from "./cli-y9p64z6j.js";
|
|
70
70
|
import {
|
|
71
71
|
__callDispose,
|
|
72
72
|
__commonJS,
|
|
@@ -43833,7 +43833,7 @@ async function create2(input) {
|
|
|
43833
43833
|
if (normalizedConfig?.headers !== undefined) {
|
|
43834
43834
|
snapshotHeaders = { ...normalizedConfig.headers };
|
|
43835
43835
|
} else {
|
|
43836
|
-
const { config: appConfig } = await import("./index-
|
|
43836
|
+
const { config: appConfig } = await import("./index-n3ykm2w9.js");
|
|
43837
43837
|
const cfg = await appConfig.get();
|
|
43838
43838
|
snapshotHeaders = cfg.defaultHeaders ? { ...cfg.defaultHeaders } : { ...DEFAULT_HEADER_RECORD };
|
|
43839
43839
|
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
detectOSAndEnhancePrompt
|
|
3
|
-
} from "./cli-
|
|
3
|
+
} from "./cli-gqzh2kf7.js";
|
|
4
4
|
import {
|
|
5
5
|
parseTargetUrl
|
|
6
6
|
} from "./cli-c8131c4q.js";
|
|
@@ -26,14 +26,14 @@ import {
|
|
|
26
26
|
scopedLogger,
|
|
27
27
|
streamResponse,
|
|
28
28
|
write
|
|
29
|
-
} from "./cli-
|
|
29
|
+
} from "./cli-90f2rr31.js";
|
|
30
30
|
import {
|
|
31
31
|
ensureValidToken,
|
|
32
32
|
getPensarApiUrl,
|
|
33
33
|
init_auth,
|
|
34
34
|
init_constants,
|
|
35
35
|
signGatewayRequest
|
|
36
|
-
} from "./cli-
|
|
36
|
+
} from "./cli-rb0r7wyk.js";
|
|
37
37
|
import {
|
|
38
38
|
exports_external,
|
|
39
39
|
init_zod,
|
|
@@ -43,7 +43,7 @@ import {
|
|
|
43
43
|
import {
|
|
44
44
|
config,
|
|
45
45
|
init_config
|
|
46
|
-
} from "./cli-
|
|
46
|
+
} from "./cli-ha57ygh1.js";
|
|
47
47
|
import {
|
|
48
48
|
__commonJS,
|
|
49
49
|
__export,
|
|
@@ -115562,7 +115562,7 @@ When to use delegate_to_auth_subagent vs authenticate_session:
|
|
|
115562
115562
|
if (credentials) {
|
|
115563
115563
|
ctx.session.credentialManager.addFromAuthCredentials(credentials);
|
|
115564
115564
|
}
|
|
115565
|
-
const { runAuthenticationAgent } = await import("./authentication-
|
|
115565
|
+
const { runAuthenticationAgent } = await import("./authentication-jcxmdghv.js");
|
|
115566
115566
|
const localBus = new AgentEventBus;
|
|
115567
115567
|
AgentEventBus.attachChild(localBus, ctx.eventBus, subagentId);
|
|
115568
115568
|
const result = await runAuthenticationAgent({
|
|
@@ -116242,7 +116242,7 @@ async function generateThreatModelForEndpoint(ctx, input) {
|
|
|
116242
116242
|
return threatModelLimiter(async () => {
|
|
116243
116243
|
if (ctx.abortSignal?.aborted)
|
|
116244
116244
|
return null;
|
|
116245
|
-
const { CodeAgent } = await import("./agent-
|
|
116245
|
+
const { CodeAgent } = await import("./agent-fj5t54re.js");
|
|
116246
116246
|
const subagentId = `threat-model-${sanitize(input.appName)}-${sanitize(input.routePath)}`;
|
|
116247
116247
|
ctx.eventBus?.emit("subagent-spawn", {
|
|
116248
116248
|
subagentId,
|
|
@@ -118118,7 +118118,7 @@ init_lazyLogger();
|
|
|
118118
118118
|
var log6 = scopedLogger(() => createLogger("FindingJudge"));
|
|
118119
118119
|
async function judgeFinding(input, ctx) {
|
|
118120
118120
|
try {
|
|
118121
|
-
const { FindingJudgeAgent } = await import("./agent-
|
|
118121
|
+
const { FindingJudgeAgent } = await import("./agent-5j0r1zwb.js");
|
|
118122
118122
|
const agent = new FindingJudgeAgent({
|
|
118123
118123
|
finding: input,
|
|
118124
118124
|
model: ctx.model,
|
|
@@ -124345,7 +124345,7 @@ should be passed directly to spawn_pentest_swarm for deep testing.`,
|
|
|
124345
124345
|
});
|
|
124346
124346
|
if (cwd) {
|
|
124347
124347
|
try {
|
|
124348
|
-
const { WhiteboxAttackSurfaceAgent } = await import("./index-
|
|
124348
|
+
const { WhiteboxAttackSurfaceAgent } = await import("./index-9v8095vv.js");
|
|
124349
124349
|
const localBus = new AgentEventBus;
|
|
124350
124350
|
AgentEventBus.attachChild(localBus, ctx.eventBus, subagentId);
|
|
124351
124351
|
const agent = new WhiteboxAttackSurfaceAgent({
|
|
@@ -124395,7 +124395,7 @@ should be passed directly to spawn_pentest_swarm for deep testing.`,
|
|
|
124395
124395
|
}
|
|
124396
124396
|
}
|
|
124397
124397
|
try {
|
|
124398
|
-
const { BlackboxAttackSurfaceAgent } = await import("./blackboxAgent-
|
|
124398
|
+
const { BlackboxAttackSurfaceAgent } = await import("./blackboxAgent-gtaq6gvf.js");
|
|
124399
124399
|
const localBus = new AgentEventBus;
|
|
124400
124400
|
AgentEventBus.attachChild(localBus, ctx.eventBus, subagentId);
|
|
124401
124401
|
const agent = new BlackboxAttackSurfaceAgent({
|
|
@@ -124473,7 +124473,7 @@ Omit \`cwd\` for blackbox mode (live target probing only).`,
|
|
|
124473
124473
|
toolCallDescription: exports_external.string().describe("A concise, human-readable description of what this tool call is doing")
|
|
124474
124474
|
}),
|
|
124475
124475
|
execute: async ({ target, cwd }) => {
|
|
124476
|
-
const { runPentestWorkflow: workflow } = await import("./pentest-
|
|
124476
|
+
const { runPentestWorkflow: workflow } = await import("./pentest-rf73r63h.js");
|
|
124477
124477
|
if (!ctx.model) {
|
|
124478
124478
|
return {
|
|
124479
124479
|
success: false,
|
|
@@ -126049,7 +126049,7 @@ Returns an array of results with the text output from each agent.`,
|
|
|
126049
126049
|
});
|
|
126050
126050
|
}
|
|
126051
126051
|
async function runSingleCodingAgent(ctx, codebasePath, objective, agentIndex, name) {
|
|
126052
|
-
const { CodeAgent } = await import("./agent-
|
|
126052
|
+
const { CodeAgent } = await import("./agent-fj5t54re.js");
|
|
126053
126053
|
const subagentId = `coding-agent-${agentIndex}`;
|
|
126054
126054
|
ctx.eventBus?.emit("subagent-spawn", {
|
|
126055
126055
|
subagentId,
|
|
@@ -126555,7 +126555,7 @@ Returns the worker's summary, objective results, and finding count — but NOT t
|
|
|
126555
126555
|
message: "spawn_pentest_agent requires a model in the tool context."
|
|
126556
126556
|
};
|
|
126557
126557
|
}
|
|
126558
|
-
const { TargetedPentestAgent } = await import("./agent-
|
|
126558
|
+
const { TargetedPentestAgent } = await import("./agent-9atrn180.js");
|
|
126559
126559
|
const findingsRegistry = ctx.findingsRegistry ?? FindingsRegistry.fromDirectory(ctx.session.findingsPath, {
|
|
126560
126560
|
model: ctx.model,
|
|
126561
126561
|
authConfig: ctx.authConfig,
|
|
@@ -126709,7 +126709,7 @@ Pass every target you want tested — the swarm handles concurrency automaticall
|
|
|
126709
126709
|
toolCallDescription: exports_external.string().describe("A concise, human-readable description of what this tool call is doing")
|
|
126710
126710
|
}),
|
|
126711
126711
|
execute: async ({ targets }) => {
|
|
126712
|
-
const { runPentestSwarm, DEFAULT_CONCURRENCY: DEFAULT_CONCURRENCY2 } = await import("./pentest-
|
|
126712
|
+
const { runPentestSwarm, DEFAULT_CONCURRENCY: DEFAULT_CONCURRENCY2 } = await import("./pentest-rf73r63h.js");
|
|
126713
126713
|
if (!ctx.model) {
|
|
126714
126714
|
return {
|
|
126715
126715
|
success: false,
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
import {
|
|
2
2
|
OffensiveSecurityAgent
|
|
3
|
-
} from "./cli-
|
|
3
|
+
} from "./cli-9ns3f6e4.js";
|
|
4
4
|
import {
|
|
5
5
|
detectOSAndEnhancePrompt
|
|
6
|
-
} from "./cli-
|
|
6
|
+
} from "./cli-gqzh2kf7.js";
|
|
7
7
|
import {
|
|
8
8
|
hasToolCall,
|
|
9
9
|
init_dist,
|
|
10
10
|
stepCountIs
|
|
11
|
-
} from "./cli-
|
|
11
|
+
} from "./cli-90f2rr31.js";
|
|
12
12
|
|
|
13
13
|
// src/core/agents/specialized/attackSurface/blackboxAgent.ts
|
|
14
14
|
init_dist();
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import {
|
|
2
2
|
OffensiveSecurityAgent
|
|
3
|
-
} from "./cli-
|
|
3
|
+
} from "./cli-9ns3f6e4.js";
|
|
4
4
|
import {
|
|
5
5
|
init_dist,
|
|
6
6
|
stepCountIs
|
|
7
|
-
} from "./cli-
|
|
7
|
+
} from "./cli-90f2rr31.js";
|
|
8
8
|
|
|
9
9
|
// src/core/agents/specialized/codeAgent/agent.ts
|
|
10
10
|
init_dist();
|
|
@@ -2,13 +2,13 @@ import {
|
|
|
2
2
|
OffensiveSecurityAgent,
|
|
3
3
|
isMemoryEnabled,
|
|
4
4
|
readPlan
|
|
5
|
-
} from "./cli-
|
|
5
|
+
} from "./cli-9ns3f6e4.js";
|
|
6
6
|
import {
|
|
7
7
|
createLogger,
|
|
8
8
|
init_lazyLogger,
|
|
9
9
|
init_structured,
|
|
10
10
|
scopedLogger
|
|
11
|
-
} from "./cli-
|
|
11
|
+
} from "./cli-90f2rr31.js";
|
|
12
12
|
import {
|
|
13
13
|
exports_external,
|
|
14
14
|
init_zod
|
|
@@ -4,19 +4,19 @@ import {
|
|
|
4
4
|
OffensiveSecurityAgent,
|
|
5
5
|
SKILL_TOOL_NAMES,
|
|
6
6
|
buildBaseSystemPrompt
|
|
7
|
-
} from "./cli-
|
|
7
|
+
} from "./cli-9ns3f6e4.js";
|
|
8
8
|
import {
|
|
9
9
|
init_dist,
|
|
10
10
|
init_session,
|
|
11
11
|
sessions,
|
|
12
12
|
stepCountIs
|
|
13
|
-
} from "./cli-
|
|
13
|
+
} from "./cli-90f2rr31.js";
|
|
14
14
|
import {
|
|
15
15
|
ensureValidToken,
|
|
16
16
|
getPensarApiUrl,
|
|
17
17
|
init_auth,
|
|
18
18
|
init_constants
|
|
19
|
-
} from "./cli-
|
|
19
|
+
} from "./cli-rb0r7wyk.js";
|
|
20
20
|
import {
|
|
21
21
|
exports_external,
|
|
22
22
|
init_zod
|
|
@@ -24,7 +24,7 @@ import {
|
|
|
24
24
|
import {
|
|
25
25
|
config,
|
|
26
26
|
init_config
|
|
27
|
-
} from "./cli-
|
|
27
|
+
} from "./cli-ha57ygh1.js";
|
|
28
28
|
import {
|
|
29
29
|
__commonJS,
|
|
30
30
|
__require
|