@pensar/apex 2.0.1-canary.d6cd7243 → 2.0.1-canary.dbd5280d
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-qc6vk2fe.js → agent-gcbmtsg9.js} +7 -7
- package/build/{agent-1e1kqx40.js → agent-hkmr0qfx.js} +9 -9
- package/build/agent-vnhgzmm9.js +19 -0
- package/build/{apps-1j69cn8b.js → apps-601zgmmv.js} +20 -15
- package/build/{auth-zpg7vk1n.js → auth-qamrjg7b.js} +15 -15
- package/build/authentication-ee80ydxj.js +19 -0
- package/build/blackboxAgent-yyjvgxwd.js +19 -0
- package/build/{blackboxPentest-6erq2c6w.js → blackboxPentest-3xntxqze.js} +13 -13
- package/build/{cli-60xm6ds9.js → cli-12de9asy.js} +7 -7
- package/build/{cli-e9j20jwh.js → cli-14nwkt3h.js} +2 -2
- package/build/{cli-t8jmm719.js → cli-36r75bvs.js} +1 -1
- package/build/{cli-kwhhzad3.js → cli-6t3awh0r.js} +3 -3
- package/build/{cli-n1qmxjgs.js → cli-as7ewckw.js} +1 -1
- package/build/{cli-a8djfprx.js → cli-bhmpwat8.js} +13 -13
- package/build/{cli-qe0zxjf5.js → cli-cnkxk6kf.js} +3 -3
- package/build/{cli-ehk39b8t.js → cli-m7b8jyvv.js} +2 -2
- package/build/{cli-910b19cy.js → cli-mxcapapb.js} +2 -2
- package/build/{cli-j0jvtgyp.js → cli-p34rdn2x.js} +1 -1
- package/build/{cli-n7pthzsz.js → cli-pza9qman.js} +1 -1
- package/build/{cli-fa49006r.js → cli-q1ttngwf.js} +1 -1
- package/build/{cli-rghtf7d8.js → cli-q4n0b0zg.js} +4 -4
- package/build/{cli-kd0mz8tj.js → cli-srghpenw.js} +1 -1
- package/build/{cli-te7z3k4q.js → cli-xjc8ep0h.js} +1 -1
- package/build/{cli-25mrgcbz.js → cli-yzztbwfa.js} +23 -5
- package/build/cli.js +36 -32
- package/build/{config-yc1ggm00.js → config-qdm0m88x.js} +3 -3
- package/build/{doctor-p1gn30b6.js → doctor-te0xfdq5.js} +6 -6
- package/build/{fixes-h4c5kr81.js → fixes-zqtk4q1r.js} +15 -15
- package/build/{index-yz1e1d7s.js → index-3ygs5dqm.js} +8 -8
- package/build/{index-d6xamrsz.js → index-5f7cdm8x.js} +17 -17
- package/build/{index-7f0kr9yy.js → index-dg9804xb.js} +9 -9
- package/build/{index-989mdceb.js → index-hxax0a5k.js} +3 -3
- package/build/{index-s9g74805.js → index-nhdd1s9z.js} +4 -4
- package/build/{index-rdhqxz79.js → index-p32qwcq9.js} +2 -2
- package/build/{index-y5g03kta.js → index-wb8v5f26.js} +6 -6
- package/build/{issues-cbqv2w08.js → issues-3m0ed3ze.js} +15 -15
- package/build/{logs-mzwq9ewj.js → logs-p1qnh0kn.js} +15 -15
- package/build/{offesecAgent-c2xekeew.js → offesecAgent-ksqj0bte.js} +8 -8
- package/build/pentest-9q2g54yy.js +28 -0
- package/build/{pentests-cjppxrnk.js → pentests-fhpdhh5x.js} +15 -15
- package/build/{targetedPentest-ffrhenyv.js → targetedPentest-pf75bvhk.js} +9 -9
- package/build/targets-484ww2a3.js +113 -0
- package/build/threatModel-hmnjg3d6.js +26 -0
- package/build/{uninstall-yzp0wx6b.js → uninstall-n7mjsbc4.js} +1 -1
- package/build/{upload-gsk65nte.js → upload-xc7ttqjq.js} +6 -6
- package/build/{utils-rxmkgz1f.js → utils-kjbrmka8.js} +5 -5
- package/package.json +1 -1
- package/build/agent-sm0pq0c0.js +0 -19
- package/build/authentication-b7h6j94s.js +0 -19
- package/build/blackboxAgent-3ybjh2r7.js +0 -19
- package/build/pentest-n9wxz9ce.js +0 -28
- package/build/threatModel-mg8skhz7.js +0 -26
|
@@ -1,23 +1,23 @@
|
|
|
1
1
|
import {
|
|
2
2
|
OffensiveSecurityAgent
|
|
3
|
-
} from "./cli-
|
|
3
|
+
} from "./cli-bhmpwat8.js";
|
|
4
4
|
import {
|
|
5
5
|
detectOSAndEnhancePrompt
|
|
6
|
-
} from "./cli-
|
|
6
|
+
} from "./cli-p34rdn2x.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-q4n0b0zg.js";
|
|
12
|
+
import"./cli-xjc8ep0h.js";
|
|
13
13
|
import {
|
|
14
14
|
exports_external1 as exports_external,
|
|
15
15
|
init_zod
|
|
16
16
|
} from "./cli-e6rgwtpb.js";
|
|
17
17
|
import"./cli-gpnb45ck.js";
|
|
18
|
-
import"./cli-
|
|
19
|
-
import"./cli-
|
|
20
|
-
import"./cli-
|
|
18
|
+
import"./cli-36r75bvs.js";
|
|
19
|
+
import"./cli-srghpenw.js";
|
|
20
|
+
import"./cli-pza9qman.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-14nwkt3h.js";
|
|
7
7
|
import"./cli-9fsre5pt.js";
|
|
8
|
-
import"./cli-
|
|
9
|
-
import"./cli-
|
|
10
|
-
import"./cli-
|
|
8
|
+
import"./cli-as7ewckw.js";
|
|
9
|
+
import"./cli-bhmpwat8.js";
|
|
10
|
+
import"./cli-p34rdn2x.js";
|
|
11
11
|
import"./cli-c8131c4q.js";
|
|
12
|
-
import"./cli-
|
|
13
|
-
import"./cli-
|
|
12
|
+
import"./cli-q4n0b0zg.js";
|
|
13
|
+
import"./cli-xjc8ep0h.js";
|
|
14
14
|
import"./cli-e6rgwtpb.js";
|
|
15
15
|
import"./cli-gpnb45ck.js";
|
|
16
|
-
import"./cli-
|
|
17
|
-
import"./cli-
|
|
18
|
-
import"./cli-
|
|
16
|
+
import"./cli-36r75bvs.js";
|
|
17
|
+
import"./cli-srghpenw.js";
|
|
18
|
+
import"./cli-pza9qman.js";
|
|
19
19
|
import"./cli-8rxa073f.js";
|
|
20
20
|
export {
|
|
21
21
|
buildPentestSystemPrompt,
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import {
|
|
2
|
+
CodeAgent
|
|
3
|
+
} from "./cli-m7b8jyvv.js";
|
|
4
|
+
import"./cli-9fsre5pt.js";
|
|
5
|
+
import"./cli-as7ewckw.js";
|
|
6
|
+
import"./cli-bhmpwat8.js";
|
|
7
|
+
import"./cli-p34rdn2x.js";
|
|
8
|
+
import"./cli-c8131c4q.js";
|
|
9
|
+
import"./cli-q4n0b0zg.js";
|
|
10
|
+
import"./cli-xjc8ep0h.js";
|
|
11
|
+
import"./cli-e6rgwtpb.js";
|
|
12
|
+
import"./cli-gpnb45ck.js";
|
|
13
|
+
import"./cli-36r75bvs.js";
|
|
14
|
+
import"./cli-srghpenw.js";
|
|
15
|
+
import"./cli-pza9qman.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-yzztbwfa.js";
|
|
16
|
+
import"./cli-12de9asy.js";
|
|
17
|
+
import"./cli-6t3awh0r.js";
|
|
18
|
+
import"./cli-14nwkt3h.js";
|
|
19
|
+
import"./cli-cnkxk6kf.js";
|
|
20
|
+
import"./cli-m7b8jyvv.js";
|
|
21
|
+
import"./cli-mxcapapb.js";
|
|
22
22
|
import"./cli-9fsre5pt.js";
|
|
23
|
-
import"./cli-
|
|
24
|
-
import"./cli-
|
|
25
|
-
import"./cli-
|
|
23
|
+
import"./cli-as7ewckw.js";
|
|
24
|
+
import"./cli-bhmpwat8.js";
|
|
25
|
+
import"./cli-p34rdn2x.js";
|
|
26
26
|
import"./cli-fw5r7pfj.js";
|
|
27
27
|
import"./cli-c8131c4q.js";
|
|
28
|
-
import"./cli-
|
|
29
|
-
import"./cli-
|
|
28
|
+
import"./cli-q4n0b0zg.js";
|
|
29
|
+
import"./cli-xjc8ep0h.js";
|
|
30
30
|
import"./cli-e6rgwtpb.js";
|
|
31
31
|
import"./cli-gpnb45ck.js";
|
|
32
|
-
import"./cli-
|
|
33
|
-
import"./cli-
|
|
34
|
-
import"./cli-
|
|
32
|
+
import"./cli-36r75bvs.js";
|
|
33
|
+
import"./cli-srghpenw.js";
|
|
34
|
+
import"./cli-pza9qman.js";
|
|
35
35
|
import"./cli-8rxa073f.js";
|
|
36
36
|
|
|
37
37
|
// src/cli/apps.ts
|
|
@@ -152,6 +152,8 @@ Search options (scoped to the workspace):
|
|
|
152
152
|
--offset <n> Page offset
|
|
153
153
|
|
|
154
154
|
Endpoint fields (create requires --endpoint and --description):
|
|
155
|
+
--app <id> endpoint-update only: move the endpoint to a
|
|
156
|
+
different application (UUID) in the workspace
|
|
155
157
|
--endpoint <text> Endpoint path / URL / route
|
|
156
158
|
--description <text> Endpoint description
|
|
157
159
|
--type <type> One of: ${ENDPOINT_TYPES.join(", ")}
|
|
@@ -254,6 +256,9 @@ function parseEndpointCreateOptions(argv) {
|
|
|
254
256
|
}
|
|
255
257
|
function parseEndpointUpdateOptions(argv) {
|
|
256
258
|
const update = {};
|
|
259
|
+
const applicationId = getFlag("--app", argv);
|
|
260
|
+
if (applicationId !== undefined)
|
|
261
|
+
update.applicationId = applicationId;
|
|
257
262
|
const endpoint = getFlag("--endpoint", argv);
|
|
258
263
|
if (endpoint !== undefined)
|
|
259
264
|
update.endpoint = endpoint;
|
|
@@ -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-yzztbwfa.js";
|
|
3
|
+
import"./cli-12de9asy.js";
|
|
4
|
+
import"./cli-6t3awh0r.js";
|
|
5
|
+
import"./cli-14nwkt3h.js";
|
|
6
|
+
import"./cli-cnkxk6kf.js";
|
|
7
|
+
import"./cli-m7b8jyvv.js";
|
|
8
|
+
import"./cli-mxcapapb.js";
|
|
9
9
|
import"./cli-9fsre5pt.js";
|
|
10
|
-
import"./cli-
|
|
11
|
-
import"./cli-
|
|
12
|
-
import"./cli-
|
|
10
|
+
import"./cli-as7ewckw.js";
|
|
11
|
+
import"./cli-bhmpwat8.js";
|
|
12
|
+
import"./cli-p34rdn2x.js";
|
|
13
13
|
import"./cli-fw5r7pfj.js";
|
|
14
14
|
import"./cli-c8131c4q.js";
|
|
15
|
-
import"./cli-
|
|
15
|
+
import"./cli-q4n0b0zg.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-xjc8ep0h.js";
|
|
29
29
|
import"./cli-e6rgwtpb.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-36r75bvs.js";
|
|
35
|
+
import"./cli-srghpenw.js";
|
|
36
|
+
import"./cli-pza9qman.js";
|
|
37
37
|
import {
|
|
38
38
|
__require
|
|
39
39
|
} from "./cli-8rxa073f.js";
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import {
|
|
2
|
+
runAuthenticationAgent
|
|
3
|
+
} from "./cli-cnkxk6kf.js";
|
|
4
|
+
import"./cli-9fsre5pt.js";
|
|
5
|
+
import"./cli-as7ewckw.js";
|
|
6
|
+
import"./cli-bhmpwat8.js";
|
|
7
|
+
import"./cli-p34rdn2x.js";
|
|
8
|
+
import"./cli-c8131c4q.js";
|
|
9
|
+
import"./cli-q4n0b0zg.js";
|
|
10
|
+
import"./cli-xjc8ep0h.js";
|
|
11
|
+
import"./cli-e6rgwtpb.js";
|
|
12
|
+
import"./cli-gpnb45ck.js";
|
|
13
|
+
import"./cli-36r75bvs.js";
|
|
14
|
+
import"./cli-srghpenw.js";
|
|
15
|
+
import"./cli-pza9qman.js";
|
|
16
|
+
import"./cli-8rxa073f.js";
|
|
17
|
+
export {
|
|
18
|
+
runAuthenticationAgent
|
|
19
|
+
};
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import {
|
|
2
|
+
BlackboxAttackSurfaceAgent
|
|
3
|
+
} from "./cli-6t3awh0r.js";
|
|
4
|
+
import"./cli-9fsre5pt.js";
|
|
5
|
+
import"./cli-as7ewckw.js";
|
|
6
|
+
import"./cli-bhmpwat8.js";
|
|
7
|
+
import"./cli-p34rdn2x.js";
|
|
8
|
+
import"./cli-c8131c4q.js";
|
|
9
|
+
import"./cli-q4n0b0zg.js";
|
|
10
|
+
import"./cli-xjc8ep0h.js";
|
|
11
|
+
import"./cli-e6rgwtpb.js";
|
|
12
|
+
import"./cli-gpnb45ck.js";
|
|
13
|
+
import"./cli-36r75bvs.js";
|
|
14
|
+
import"./cli-srghpenw.js";
|
|
15
|
+
import"./cli-pza9qman.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-12de9asy.js";
|
|
4
|
+
import"./cli-6t3awh0r.js";
|
|
5
|
+
import"./cli-14nwkt3h.js";
|
|
6
|
+
import"./cli-m7b8jyvv.js";
|
|
7
|
+
import"./cli-mxcapapb.js";
|
|
8
8
|
import"./cli-9fsre5pt.js";
|
|
9
|
-
import"./cli-
|
|
10
|
-
import"./cli-
|
|
11
|
-
import"./cli-
|
|
9
|
+
import"./cli-as7ewckw.js";
|
|
10
|
+
import"./cli-bhmpwat8.js";
|
|
11
|
+
import"./cli-p34rdn2x.js";
|
|
12
12
|
import"./cli-fw5r7pfj.js";
|
|
13
13
|
import"./cli-c8131c4q.js";
|
|
14
|
-
import"./cli-
|
|
15
|
-
import"./cli-
|
|
14
|
+
import"./cli-q4n0b0zg.js";
|
|
15
|
+
import"./cli-xjc8ep0h.js";
|
|
16
16
|
import"./cli-e6rgwtpb.js";
|
|
17
17
|
import"./cli-gpnb45ck.js";
|
|
18
|
-
import"./cli-
|
|
19
|
-
import"./cli-
|
|
20
|
-
import"./cli-
|
|
18
|
+
import"./cli-36r75bvs.js";
|
|
19
|
+
import"./cli-srghpenw.js";
|
|
20
|
+
import"./cli-pza9qman.js";
|
|
21
21
|
import"./cli-8rxa073f.js";
|
|
22
22
|
|
|
23
23
|
// src/core/api/blackboxPentest.ts
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import {
|
|
2
2
|
BlackboxAttackSurfaceAgent
|
|
3
|
-
} from "./cli-
|
|
3
|
+
} from "./cli-6t3awh0r.js";
|
|
4
4
|
import {
|
|
5
5
|
TargetedPentestAgent,
|
|
6
6
|
buildPentestSystemPrompt
|
|
7
|
-
} from "./cli-
|
|
7
|
+
} from "./cli-14nwkt3h.js";
|
|
8
8
|
import {
|
|
9
9
|
CodeAgent
|
|
10
|
-
} from "./cli-
|
|
10
|
+
} from "./cli-m7b8jyvv.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-mxcapapb.js";
|
|
19
19
|
import {
|
|
20
20
|
EvidenceFileEntrySchema
|
|
21
|
-
} from "./cli-
|
|
21
|
+
} from "./cli-as7ewckw.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-bhmpwat8.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-q4n0b0zg.js";
|
|
42
42
|
import {
|
|
43
43
|
exports_external1 as exports_external,
|
|
44
44
|
init_zod
|
|
@@ -2,13 +2,13 @@ import {
|
|
|
2
2
|
OffensiveSecurityAgent,
|
|
3
3
|
isMemoryEnabled,
|
|
4
4
|
readPlan
|
|
5
|
-
} from "./cli-
|
|
5
|
+
} from "./cli-bhmpwat8.js";
|
|
6
6
|
import {
|
|
7
7
|
createLogger,
|
|
8
8
|
init_lazyLogger,
|
|
9
9
|
init_structured,
|
|
10
10
|
scopedLogger
|
|
11
|
-
} from "./cli-
|
|
11
|
+
} from "./cli-q4n0b0zg.js";
|
|
12
12
|
import {
|
|
13
13
|
exports_external1 as exports_external,
|
|
14
14
|
init_zod
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
import {
|
|
2
2
|
OffensiveSecurityAgent
|
|
3
|
-
} from "./cli-
|
|
3
|
+
} from "./cli-bhmpwat8.js";
|
|
4
4
|
import {
|
|
5
5
|
detectOSAndEnhancePrompt
|
|
6
|
-
} from "./cli-
|
|
6
|
+
} from "./cli-p34rdn2x.js";
|
|
7
7
|
import {
|
|
8
8
|
hasToolCall,
|
|
9
9
|
init_dist,
|
|
10
10
|
stepCountIs
|
|
11
|
-
} from "./cli-
|
|
11
|
+
} from "./cli-q4n0b0zg.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-p34rdn2x.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-q4n0b0zg.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-xjc8ep0h.js";
|
|
37
37
|
import {
|
|
38
38
|
_enum,
|
|
39
39
|
_null,
|
|
@@ -64,7 +64,7 @@ import {
|
|
|
64
64
|
import {
|
|
65
65
|
config,
|
|
66
66
|
init_config
|
|
67
|
-
} from "./cli-
|
|
67
|
+
} from "./cli-36r75bvs.js";
|
|
68
68
|
import {
|
|
69
69
|
__commonJS,
|
|
70
70
|
__require,
|
|
@@ -111716,7 +111716,7 @@ When to use delegate_to_auth_subagent vs authenticate_session:
|
|
|
111716
111716
|
if (credentials) {
|
|
111717
111717
|
ctx.session.credentialManager.addFromAuthCredentials(credentials);
|
|
111718
111718
|
}
|
|
111719
|
-
const { runAuthenticationAgent } = await import("./authentication-
|
|
111719
|
+
const { runAuthenticationAgent } = await import("./authentication-ee80ydxj.js");
|
|
111720
111720
|
const localBus = new AgentEventBus;
|
|
111721
111721
|
AgentEventBus.attachChild(localBus, ctx.eventBus, subagentId);
|
|
111722
111722
|
const result = await runAuthenticationAgent({
|
|
@@ -112396,7 +112396,7 @@ async function generateThreatModelForEndpoint(ctx, input) {
|
|
|
112396
112396
|
return threatModelLimiter(async () => {
|
|
112397
112397
|
if (ctx.abortSignal?.aborted)
|
|
112398
112398
|
return null;
|
|
112399
|
-
const { CodeAgent } = await import("./agent-
|
|
112399
|
+
const { CodeAgent } = await import("./agent-vnhgzmm9.js");
|
|
112400
112400
|
const subagentId = `threat-model-${sanitize(input.appName)}-${sanitize(input.routePath)}`;
|
|
112401
112401
|
ctx.eventBus?.emit("subagent-spawn", {
|
|
112402
112402
|
subagentId,
|
|
@@ -114272,7 +114272,7 @@ init_lazyLogger();
|
|
|
114272
114272
|
var log6 = scopedLogger(() => createLogger("FindingJudge"));
|
|
114273
114273
|
async function judgeFinding(input, ctx) {
|
|
114274
114274
|
try {
|
|
114275
|
-
const { FindingJudgeAgent } = await import("./agent-
|
|
114275
|
+
const { FindingJudgeAgent } = await import("./agent-gcbmtsg9.js");
|
|
114276
114276
|
const agent = new FindingJudgeAgent({
|
|
114277
114277
|
finding: input,
|
|
114278
114278
|
model: ctx.model,
|
|
@@ -120156,7 +120156,7 @@ should be passed directly to spawn_pentest_swarm for deep testing.`,
|
|
|
120156
120156
|
});
|
|
120157
120157
|
if (cwd) {
|
|
120158
120158
|
try {
|
|
120159
|
-
const { WhiteboxAttackSurfaceAgent } = await import("./index-
|
|
120159
|
+
const { WhiteboxAttackSurfaceAgent } = await import("./index-dg9804xb.js");
|
|
120160
120160
|
const localBus = new AgentEventBus;
|
|
120161
120161
|
AgentEventBus.attachChild(localBus, ctx.eventBus, subagentId);
|
|
120162
120162
|
const agent = new WhiteboxAttackSurfaceAgent({
|
|
@@ -120206,7 +120206,7 @@ should be passed directly to spawn_pentest_swarm for deep testing.`,
|
|
|
120206
120206
|
}
|
|
120207
120207
|
}
|
|
120208
120208
|
try {
|
|
120209
|
-
const { BlackboxAttackSurfaceAgent } = await import("./blackboxAgent-
|
|
120209
|
+
const { BlackboxAttackSurfaceAgent } = await import("./blackboxAgent-yyjvgxwd.js");
|
|
120210
120210
|
const localBus = new AgentEventBus;
|
|
120211
120211
|
AgentEventBus.attachChild(localBus, ctx.eventBus, subagentId);
|
|
120212
120212
|
const agent = new BlackboxAttackSurfaceAgent({
|
|
@@ -120284,7 +120284,7 @@ Omit \`cwd\` for blackbox mode (live target probing only).`,
|
|
|
120284
120284
|
toolCallDescription: exports_external.string().describe("A concise, human-readable description of what this tool call is doing")
|
|
120285
120285
|
}),
|
|
120286
120286
|
execute: async ({ target, cwd }) => {
|
|
120287
|
-
const { runPentestWorkflow: workflow } = await import("./pentest-
|
|
120287
|
+
const { runPentestWorkflow: workflow } = await import("./pentest-9q2g54yy.js");
|
|
120288
120288
|
if (!ctx.model) {
|
|
120289
120289
|
return {
|
|
120290
120290
|
success: false,
|
|
@@ -121860,7 +121860,7 @@ Returns an array of results with the text output from each agent.`,
|
|
|
121860
121860
|
});
|
|
121861
121861
|
}
|
|
121862
121862
|
async function runSingleCodingAgent(ctx, codebasePath, objective, agentIndex, name) {
|
|
121863
|
-
const { CodeAgent } = await import("./agent-
|
|
121863
|
+
const { CodeAgent } = await import("./agent-vnhgzmm9.js");
|
|
121864
121864
|
const subagentId = `coding-agent-${agentIndex}`;
|
|
121865
121865
|
ctx.eventBus?.emit("subagent-spawn", {
|
|
121866
121866
|
subagentId,
|
|
@@ -122366,7 +122366,7 @@ Returns the worker's summary, objective results, and finding count — but NOT t
|
|
|
122366
122366
|
message: "spawn_pentest_agent requires a model in the tool context."
|
|
122367
122367
|
};
|
|
122368
122368
|
}
|
|
122369
|
-
const { TargetedPentestAgent } = await import("./agent-
|
|
122369
|
+
const { TargetedPentestAgent } = await import("./agent-hkmr0qfx.js");
|
|
122370
122370
|
const findingsRegistry = ctx.findingsRegistry ?? FindingsRegistry.fromDirectory(ctx.session.findingsPath, {
|
|
122371
122371
|
model: ctx.model,
|
|
122372
122372
|
authConfig: ctx.authConfig,
|
|
@@ -122520,7 +122520,7 @@ Pass every target you want tested — the swarm handles concurrency automaticall
|
|
|
122520
122520
|
toolCallDescription: exports_external.string().describe("A concise, human-readable description of what this tool call is doing")
|
|
122521
122521
|
}),
|
|
122522
122522
|
execute: async ({ targets }) => {
|
|
122523
|
-
const { runPentestSwarm, DEFAULT_CONCURRENCY: DEFAULT_CONCURRENCY2 } = await import("./pentest-
|
|
122523
|
+
const { runPentestSwarm, DEFAULT_CONCURRENCY: DEFAULT_CONCURRENCY2 } = await import("./pentest-9q2g54yy.js");
|
|
122524
122524
|
if (!ctx.model) {
|
|
122525
122525
|
return {
|
|
122526
122526
|
success: false,
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
2
|
OffensiveSecurityAgent
|
|
3
|
-
} from "./cli-
|
|
3
|
+
} from "./cli-bhmpwat8.js";
|
|
4
4
|
import {
|
|
5
5
|
detectOSAndEnhancePrompt
|
|
6
|
-
} from "./cli-
|
|
6
|
+
} from "./cli-p34rdn2x.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-q4n0b0zg.js";
|
|
15
15
|
|
|
16
16
|
// src/core/agents/specialized/authenticationAgent/agent.ts
|
|
17
17
|
init_dist();
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import {
|
|
2
2
|
OffensiveSecurityAgent
|
|
3
|
-
} from "./cli-
|
|
3
|
+
} from "./cli-bhmpwat8.js";
|
|
4
4
|
import {
|
|
5
5
|
init_dist,
|
|
6
6
|
stepCountIs
|
|
7
|
-
} from "./cli-
|
|
7
|
+
} from "./cli-q4n0b0zg.js";
|
|
8
8
|
|
|
9
9
|
// src/core/agents/specialized/codeAgent/agent.ts
|
|
10
10
|
init_dist();
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import {
|
|
2
2
|
OffensiveSecurityAgent
|
|
3
|
-
} from "./cli-
|
|
3
|
+
} from "./cli-bhmpwat8.js";
|
|
4
4
|
import {
|
|
5
5
|
hasToolCall,
|
|
6
6
|
init_dist
|
|
7
|
-
} from "./cli-
|
|
7
|
+
} from "./cli-q4n0b0zg.js";
|
|
8
8
|
import {
|
|
9
9
|
exports_external1 as exports_external,
|
|
10
10
|
init_zod,
|
|
@@ -4,7 +4,7 @@ import {
|
|
|
4
4
|
init_auth,
|
|
5
5
|
init_constants,
|
|
6
6
|
signGatewayRequest
|
|
7
|
-
} from "./cli-
|
|
7
|
+
} from "./cli-xjc8ep0h.js";
|
|
8
8
|
import {
|
|
9
9
|
AISDKError,
|
|
10
10
|
APICallError,
|
|
@@ -63,11 +63,11 @@ import {
|
|
|
63
63
|
import {
|
|
64
64
|
config,
|
|
65
65
|
init_config
|
|
66
|
-
} from "./cli-
|
|
66
|
+
} from "./cli-36r75bvs.js";
|
|
67
67
|
import {
|
|
68
68
|
getCurrentVersion,
|
|
69
69
|
init_installation
|
|
70
|
-
} from "./cli-
|
|
70
|
+
} from "./cli-pza9qman.js";
|
|
71
71
|
import {
|
|
72
72
|
__callDispose,
|
|
73
73
|
__commonJS,
|
|
@@ -43834,7 +43834,7 @@ async function create2(input) {
|
|
|
43834
43834
|
if (normalizedConfig?.headers !== undefined) {
|
|
43835
43835
|
snapshotHeaders = { ...normalizedConfig.headers };
|
|
43836
43836
|
} else {
|
|
43837
|
-
const { config: appConfig } = await import("./index-
|
|
43837
|
+
const { config: appConfig } = await import("./index-hxax0a5k.js");
|
|
43838
43838
|
const cfg = await appConfig.get();
|
|
43839
43839
|
snapshotHeaders = cfg.defaultHeaders ? { ...cfg.defaultHeaders } : { ...DEFAULT_HEADER_RECORD };
|
|
43840
43840
|
}
|