@pensar/apex 2.7.0-canary.c5791908 → 2.7.0-canary.e18bef4d
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-ks4dc1q5.js +14 -0
- package/build/{agent-q85c8mrh.js → agent-pdaya70z.js} +6 -6
- package/build/agent-q6ckrtd2.js +14 -0
- package/build/{agent-runs-cqa7xz7d.js → agent-runs-f0fpf651.js} +19 -19
- package/build/{agent-x8nf3k1v.js → agent-y7w88qe9.js} +7 -7
- package/build/{apps-pxdathp4.js → apps-6hstfsy5.js} +16 -16
- package/build/{auth-dcmykx6e.js → auth-sdg0sqa0.js} +16 -16
- package/build/blackboxAgent-pe5y5hxr.js +14 -0
- package/build/{blackboxPentest-pbh960ms.js → blackboxPentest-1850fx09.js} +12 -12
- package/build/{cli-z41890cy.js → cli-1h046yxp.js} +1 -1
- package/build/{cli-am8b7hr4.js → cli-1qyejhv5.js} +2 -2
- package/build/{cli-78pm8byz.js → cli-4h9d98y6.js} +1 -1
- package/build/{cli-8wkays8e.js → cli-67d2744b.js} +2 -2
- package/build/{cli-6g5p7cfd.js → cli-739g9qgd.js} +5 -5
- package/build/{cli-40gstjf7.js → cli-7xf5h4pb.js} +7 -7
- package/build/{cli-m57v3wm9.js → cli-9dka0an3.js} +2 -2
- package/build/{cli-jvhswf25.js → cli-c29xr0h0.js} +2 -2
- package/build/{cli-kr28rrsa.js → cli-fnth71q3.js} +2 -2
- package/build/{cli-pepjaeek.js → cli-gt29d4q6.js} +11 -10
- package/build/{cli-jpjj10xv.js → cli-gy5stwkg.js} +1 -1
- package/build/{cli-vb4den7a.js → cli-k46jmzbs.js} +1 -1
- package/build/{cli-xb0pqkbk.js → cli-qmt07txj.js} +3 -3
- package/build/{cli-ps5hmkhw.js → cli-qp8413xr.js} +7 -7
- package/build/{cli-mfgsx6hc.js → cli-rv2d03xr.js} +1 -1
- package/build/{cli-b8jmzd32.js → cli-ssstde7z.js} +1 -1
- package/build/{cli-7nrpp1ks.js → cli-tmr100n4.js} +1 -1
- package/build/{cli-xpfw29g5.js → cli-vfkmdrkb.js} +1 -1
- package/build/{cli-v084p264.js → cli-y1z3vemx.js} +1 -1
- package/build/{cli-b3hef9fp.js → cli-z85qmtjd.js} +8 -8
- package/build/{cli-ygcbxb1m.js → cli-zs7rp1f6.js} +3 -3
- package/build/cli.js +38 -38
- package/build/{config-d9mdqs9w.js → config-kgz8rzkt.js} +1 -1
- package/build/{fastStrike-z096431v.js → fastStrike-65d7njyn.js} +6 -6
- package/build/{fixes-9ppnsazw.js → fixes-xmq89hve.js} +16 -16
- package/build/{index-vq0132nv.js → index-1z234ygf.js} +7 -7
- package/build/{index-f0v1bbhs.js → index-27xpg3k0.js} +22 -22
- package/build/{index-pvb4d38m.js → index-cxa5jxva.js} +5 -5
- package/build/{index-cn1pgs79.js → index-hx133hms.js} +4 -4
- package/build/{index-pxhc0cbs.js → index-js3zc3cb.js} +2 -2
- package/build/{index-1j283k20.js → index-m6graaat.js} +16 -16
- package/build/{index-y5t6w61g.js → index-pvm55x85.js} +1 -1
- package/build/{index-4gfq7kzj.js → index-t0p01qg4.js} +5 -5
- package/build/{index-t8ncgcc9.js → index-wh328kzg.js} +1 -1
- package/build/{issues-hnw2wt5k.js → issues-rscc7pny.js} +16 -16
- package/build/{knowledge-66kn0fwh.js → knowledge-5vd451za.js} +16 -16
- package/build/{lance-qyph9jw1.js → lance-s26xde23.js} +7 -7
- package/build/lib/{chunk-c5w6byvf.js → chunk-12qns4xq.js} +1 -1
- package/build/lib/{chunk-00jhhedd.js → chunk-1gb8gefz.js} +4 -4
- package/build/lib/{chunk-qn9512q7.js → chunk-2q39y7g0.js} +1 -1
- package/build/lib/{chunk-bq643vks.js → chunk-2yv9vekb.js} +1 -1
- package/build/lib/{chunk-486zwtmg.js → chunk-3mgmff3q.js} +3 -3
- package/build/lib/{chunk-10p58fqe.js → chunk-4x6t39xs.js} +7 -6
- package/build/lib/{chunk-q3f1tjdx.js → chunk-5gk78665.js} +1 -1
- package/build/lib/{chunk-6vhf2dvv.js → chunk-5wqbq9hw.js} +1 -1
- package/build/lib/{chunk-y9pm3xqv.js → chunk-66hd85x8.js} +1 -1
- package/build/lib/{chunk-ptp3er5d.js → chunk-6j0mc5qw.js} +1 -1
- package/build/lib/{chunk-2svje0df.js → chunk-6q0xnkda.js} +3 -3
- package/build/lib/{chunk-w9cs2h48.js → chunk-7jfqqwyq.js} +3 -3
- package/build/lib/{chunk-7350h8ab.js → chunk-a3edjxz9.js} +11 -11
- package/build/lib/{chunk-7syrjsr5.js → chunk-cmb702kp.js} +1 -1
- package/build/lib/{chunk-dj7bk5xm.js → chunk-h9h4t4gc.js} +8 -8
- package/build/lib/{chunk-rh6fz13n.js → chunk-j0qn7hzk.js} +2 -2
- package/build/lib/{chunk-98gxfne9.js → chunk-j84kpwgp.js} +2 -2
- package/build/lib/{chunk-y82jpv2x.js → chunk-jjqcnbz9.js} +9 -9
- package/build/lib/{chunk-rcneqwt6.js → chunk-kcq1qb6n.js} +1 -1
- package/build/lib/{chunk-zntm5p3b.js → chunk-mdfneahm.js} +11 -11
- package/build/lib/{chunk-tcdd68ax.js → chunk-nctbsa6r.js} +1 -1
- package/build/lib/{chunk-qpewr18w.js → chunk-pzv4df99.js} +1 -1
- package/build/lib/{chunk-pr63gfsd.js → chunk-rsv4feh8.js} +1 -1
- package/build/lib/{chunk-0hqjfqxb.js → chunk-wtz8qt8q.js} +1 -1
- package/build/lib/core/agents/offSecAgent/index.js +7 -7
- package/build/lib/core/agents/offSecAgent/subagentSpawner.js +5 -5
- package/build/lib/core/agents/offSecAgent/tools/index.js +6 -6
- package/build/lib/core/agents/specialized/attackSurface/blackboxAgent.js +9 -9
- package/build/lib/core/agents/specialized/attackSurface/schemas.js +9 -9
- package/build/lib/core/agents/specialized/authenticationAgent/index.js +10 -10
- package/build/lib/core/agents/specialized/codeAgent/agent.js +9 -9
- package/build/lib/core/agents/specialized/findingJudge/agent.js +8 -8
- package/build/lib/core/agents/specialized/findingJudge/index.js +3 -3
- package/build/lib/core/agents/specialized/patching/index.js +10 -10
- package/build/lib/core/agents/specialized/pentest/agent.js +9 -9
- package/build/lib/core/agents/specialized/whiteboxAttackSurface/index.js +9 -9
- package/build/lib/core/ai/ai.js +2 -2
- package/build/lib/core/ai/index.js +2 -2
- package/build/lib/core/ai/utils.js +2 -2
- package/build/lib/core/api/index.js +19 -19
- package/build/lib/core/api/targetedPentest.js +10 -10
- package/build/lib/core/config/index.js +1 -1
- package/build/lib/core/findings/registry.js +3 -3
- package/build/lib/core/session/index.js +2 -2
- package/build/lib/core/session/persistence.js +3 -3
- package/build/lib/core/workflows/pentest.js +15 -15
- package/build/lib/core/workflows/seams.js +4 -4
- package/build/lib/core/workflows/whiteboxAttackSurface.d.ts +3 -3
- package/build/lib/core/workflows/whiteboxAttackSurface.js +11 -11
- package/build/lib/index.js +22 -22
- package/build/{logs-h3rxtq6w.js → logs-tax0j5es.js} +16 -16
- package/build/{native-rollout-evidence-kt4rd2bp.js → native-rollout-evidence-0820cgjt.js} +3 -3
- package/build/{offesecAgent-e3ea8mr6.js → offesecAgent-78zt4ce1.js} +6 -6
- package/build/pentest-0s9rgnvr.js +23 -0
- package/build/{pentests-39hy0dre.js → pentests-f1kh0619.js} +16 -16
- package/build/recordedRunClient-jv7ew35v.js +11 -0
- package/build/{subagentSpawner-2sx2edxp.js → subagentSpawner-xzyhb9e5.js} +4 -4
- package/build/{targetedPentest-ttafan4t.js → targetedPentest-p94z9n61.js} +8 -8
- package/build/{targets-fzte2kq9.js → targets-f149r24n.js} +16 -16
- package/build/threatModel-ktqchbn1.js +24 -0
- package/build/{uninstall-0m52nyc0.js → uninstall-7kxqrs32.js} +1 -1
- package/build/{upload-cnnhkzgt.js → upload-03e2pj1m.js} +4 -4
- package/build/{utils-pq6pdv6p.js → utils-ec43nwzn.js} +3 -3
- package/package.json +1 -1
- package/src/core/workflows/whiteboxAttackSurface.test.ts +40 -0
- package/src/core/workflows/whiteboxAttackSurface.ts +9 -4
- package/build/agent-htj3ww3e.js +0 -14
- package/build/agent-km3wss0b.js +0 -14
- package/build/blackboxAgent-g18ps9hs.js +0 -14
- package/build/pentest-qx9c8wtg.js +0 -23
- package/build/recordedRunClient-gra1x1y6.js +0 -11
- package/build/threatModel-nm449g6b.js +0 -24
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import {
|
|
2
|
+
CodeAgent2
|
|
3
|
+
} from "./cli-9dka0an3.js";
|
|
4
|
+
import"./cli-gy5stwkg.js";
|
|
5
|
+
import"./cli-qba2x69h.js";
|
|
6
|
+
import"./cli-z85qmtjd.js";
|
|
7
|
+
import"./cli-7xf5h4pb.js";
|
|
8
|
+
import"./cli-739g9qgd.js";
|
|
9
|
+
import"./cli-1h046yxp.js";
|
|
10
|
+
import"./cli-c2k4xxaw.js";
|
|
11
|
+
import"./cli-rv2d03xr.js";
|
|
12
|
+
export {
|
|
13
|
+
CodeAgent2 as CodeAgent
|
|
14
|
+
};
|
|
@@ -1,16 +1,16 @@
|
|
|
1
|
-
import"./cli-
|
|
2
|
-
import"./cli-
|
|
3
|
-
import"./cli-
|
|
4
|
-
import"./cli-
|
|
1
|
+
import"./cli-7xf5h4pb.js";
|
|
2
|
+
import"./cli-rv2d03xr.js";
|
|
3
|
+
import"./cli-1h046yxp.js";
|
|
4
|
+
import"./cli-z85qmtjd.js";
|
|
5
5
|
import {
|
|
6
6
|
AgentRuntime,
|
|
7
7
|
defineAgent
|
|
8
|
-
} from "./cli-
|
|
8
|
+
} from "./cli-gy5stwkg.js";
|
|
9
9
|
import"./cli-qba2x69h.js";
|
|
10
10
|
import {
|
|
11
11
|
stepCountIs2,
|
|
12
12
|
init_dist
|
|
13
|
-
} from "./cli-
|
|
13
|
+
} from "./cli-739g9qgd.js";
|
|
14
14
|
import"./cli-c2k4xxaw.js";
|
|
15
15
|
import {
|
|
16
16
|
init_zod
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import {
|
|
2
|
+
runAuthenticationAgent2
|
|
3
|
+
} from "./cli-1qyejhv5.js";
|
|
4
|
+
import"./cli-gy5stwkg.js";
|
|
5
|
+
import"./cli-qba2x69h.js";
|
|
6
|
+
import"./cli-z85qmtjd.js";
|
|
7
|
+
import"./cli-7xf5h4pb.js";
|
|
8
|
+
import"./cli-739g9qgd.js";
|
|
9
|
+
import"./cli-1h046yxp.js";
|
|
10
|
+
import"./cli-c2k4xxaw.js";
|
|
11
|
+
import"./cli-rv2d03xr.js";
|
|
12
|
+
export {
|
|
13
|
+
runAuthenticationAgent2 as runAuthenticationAgent
|
|
14
|
+
};
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import {
|
|
2
2
|
config2,
|
|
3
3
|
init_config
|
|
4
|
-
} from "./cli-
|
|
5
|
-
import"./cli-
|
|
6
|
-
import"./cli-
|
|
4
|
+
} from "./cli-rv2d03xr.js";
|
|
5
|
+
import"./cli-1h046yxp.js";
|
|
6
|
+
import"./cli-z85qmtjd.js";
|
|
7
7
|
import {
|
|
8
8
|
AgentEventBus
|
|
9
|
-
} from "./cli-
|
|
9
|
+
} from "./cli-7xf5h4pb.js";
|
|
10
10
|
import {
|
|
11
11
|
inspectSessionEvidence2,
|
|
12
12
|
RecordedRunSpecSchema,
|
|
@@ -17,27 +17,27 @@ import {
|
|
|
17
17
|
runRecordedAgent2,
|
|
18
18
|
RunRecoveryBlockedError2,
|
|
19
19
|
resumeRecordedAgent2
|
|
20
|
-
} from "./cli-
|
|
21
|
-
import"./cli-
|
|
22
|
-
import"./cli-
|
|
23
|
-
import"./cli-
|
|
24
|
-
import"./cli-
|
|
25
|
-
import"./cli-
|
|
26
|
-
import"./cli-
|
|
27
|
-
import"./cli-
|
|
28
|
-
import"./cli-
|
|
20
|
+
} from "./cli-qp8413xr.js";
|
|
21
|
+
import"./cli-67d2744b.js";
|
|
22
|
+
import"./cli-9dka0an3.js";
|
|
23
|
+
import"./cli-zs7rp1f6.js";
|
|
24
|
+
import"./cli-gt29d4q6.js";
|
|
25
|
+
import"./cli-1qyejhv5.js";
|
|
26
|
+
import"./cli-qmt07txj.js";
|
|
27
|
+
import"./cli-ssstde7z.js";
|
|
28
|
+
import"./cli-tmr100n4.js";
|
|
29
29
|
import"./cli-xcy2vxj2.js";
|
|
30
30
|
import {
|
|
31
31
|
resolveWorkerExecutable,
|
|
32
32
|
launchLocalWorker
|
|
33
|
-
} from "./cli-
|
|
34
|
-
import"./cli-
|
|
35
|
-
import"./cli-
|
|
33
|
+
} from "./cli-y1z3vemx.js";
|
|
34
|
+
import"./cli-c29xr0h0.js";
|
|
35
|
+
import"./cli-gy5stwkg.js";
|
|
36
36
|
import"./cli-qba2x69h.js";
|
|
37
37
|
import {
|
|
38
38
|
buildAuthConfig,
|
|
39
39
|
init_ai2
|
|
40
|
-
} from "./cli-
|
|
40
|
+
} from "./cli-739g9qgd.js";
|
|
41
41
|
import"./cli-c2k4xxaw.js";
|
|
42
42
|
|
|
43
43
|
// src/cli/agent-runs.ts
|
|
@@ -118,7 +118,7 @@ async function runAgentRunsCommand(args) {
|
|
|
118
118
|
if (!isAbsolute(values.store)) {
|
|
119
119
|
throw new Error("agent-runs worker requires --store <absolute database>");
|
|
120
120
|
}
|
|
121
|
-
const { serveLocalRunWorker } = await import("./index-
|
|
121
|
+
const { serveLocalRunWorker } = await import("./index-m6graaat.js");
|
|
122
122
|
await serveLocalRunWorker({
|
|
123
123
|
runId: values.run,
|
|
124
124
|
databasePath: resolve(values.store)
|
|
@@ -132,7 +132,7 @@ async function runAgentRunsCommand(args) {
|
|
|
132
132
|
${HELP}`);
|
|
133
133
|
}
|
|
134
134
|
if (command === "attach") {
|
|
135
|
-
const { openRecordedRunClient } = await import("./recordedRunClient-
|
|
135
|
+
const { openRecordedRunClient } = await import("./recordedRunClient-jv7ew35v.js");
|
|
136
136
|
const client = await openRecordedRunClient(values.store);
|
|
137
137
|
const controller = new AbortController;
|
|
138
138
|
const detach = () => controller.abort();
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import {
|
|
2
2
|
TargetedPentestAgent2,
|
|
3
3
|
buildPentestSystemPrompt2
|
|
4
|
-
} from "./cli-
|
|
5
|
-
import"./cli-
|
|
4
|
+
} from "./cli-qmt07txj.js";
|
|
5
|
+
import"./cli-gy5stwkg.js";
|
|
6
6
|
import"./cli-qba2x69h.js";
|
|
7
|
-
import"./cli-
|
|
8
|
-
import"./cli-
|
|
9
|
-
import"./cli-
|
|
10
|
-
import"./cli-
|
|
7
|
+
import"./cli-z85qmtjd.js";
|
|
8
|
+
import"./cli-7xf5h4pb.js";
|
|
9
|
+
import"./cli-739g9qgd.js";
|
|
10
|
+
import"./cli-1h046yxp.js";
|
|
11
11
|
import"./cli-c2k4xxaw.js";
|
|
12
|
-
import"./cli-
|
|
12
|
+
import"./cli-rv2d03xr.js";
|
|
13
13
|
export {
|
|
14
14
|
TargetedPentestAgent2 as TargetedPentestAgent,
|
|
15
15
|
buildPentestSystemPrompt2 as buildPentestSystemPrompt
|
|
@@ -15,27 +15,27 @@ import {
|
|
|
15
15
|
searchEndpoints2,
|
|
16
16
|
listDomains2,
|
|
17
17
|
createDomain2
|
|
18
|
-
} from "./cli-
|
|
19
|
-
import"./cli-
|
|
20
|
-
import"./cli-
|
|
21
|
-
import"./cli-
|
|
22
|
-
import"./cli-
|
|
23
|
-
import"./cli-
|
|
24
|
-
import"./cli-
|
|
25
|
-
import"./cli-
|
|
26
|
-
import"./cli-
|
|
27
|
-
import"./cli-
|
|
28
|
-
import"./cli-
|
|
29
|
-
import"./cli-
|
|
30
|
-
import"./cli-
|
|
18
|
+
} from "./cli-z85qmtjd.js";
|
|
19
|
+
import"./cli-7xf5h4pb.js";
|
|
20
|
+
import"./cli-rv2d03xr.js";
|
|
21
|
+
import"./cli-1h046yxp.js";
|
|
22
|
+
import"./cli-qp8413xr.js";
|
|
23
|
+
import"./cli-67d2744b.js";
|
|
24
|
+
import"./cli-9dka0an3.js";
|
|
25
|
+
import"./cli-zs7rp1f6.js";
|
|
26
|
+
import"./cli-gt29d4q6.js";
|
|
27
|
+
import"./cli-1qyejhv5.js";
|
|
28
|
+
import"./cli-qmt07txj.js";
|
|
29
|
+
import"./cli-ssstde7z.js";
|
|
30
|
+
import"./cli-tmr100n4.js";
|
|
31
31
|
import"./cli-xcy2vxj2.js";
|
|
32
32
|
import {
|
|
33
33
|
markCommandFailed
|
|
34
34
|
} from "./cli-z82n3qk1.js";
|
|
35
|
-
import"./cli-
|
|
36
|
-
import"./cli-
|
|
35
|
+
import"./cli-c29xr0h0.js";
|
|
36
|
+
import"./cli-gy5stwkg.js";
|
|
37
37
|
import"./cli-qba2x69h.js";
|
|
38
|
-
import"./cli-
|
|
38
|
+
import"./cli-739g9qgd.js";
|
|
39
39
|
import"./cli-c2k4xxaw.js";
|
|
40
40
|
|
|
41
41
|
// src/cli/apps.ts
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
#!/usr/bin/env bun
|
|
2
|
-
import"./cli-
|
|
3
|
-
import"./cli-
|
|
2
|
+
import"./cli-z85qmtjd.js";
|
|
3
|
+
import"./cli-7xf5h4pb.js";
|
|
4
4
|
import {
|
|
5
5
|
config2,
|
|
6
6
|
init_config
|
|
7
|
-
} from "./cli-
|
|
7
|
+
} from "./cli-rv2d03xr.js";
|
|
8
8
|
import {
|
|
9
9
|
getPensarApiUrl2,
|
|
10
10
|
getPensarConsoleUrl2,
|
|
@@ -20,24 +20,24 @@ import {
|
|
|
20
20
|
createWorkspaceSelection2,
|
|
21
21
|
pollWorkspaceSelection2,
|
|
22
22
|
init_auth
|
|
23
|
-
} from "./cli-
|
|
24
|
-
import"./cli-
|
|
25
|
-
import"./cli-
|
|
26
|
-
import"./cli-
|
|
27
|
-
import"./cli-
|
|
28
|
-
import"./cli-
|
|
29
|
-
import"./cli-
|
|
30
|
-
import"./cli-
|
|
31
|
-
import"./cli-
|
|
32
|
-
import"./cli-
|
|
23
|
+
} from "./cli-1h046yxp.js";
|
|
24
|
+
import"./cli-qp8413xr.js";
|
|
25
|
+
import"./cli-67d2744b.js";
|
|
26
|
+
import"./cli-9dka0an3.js";
|
|
27
|
+
import"./cli-zs7rp1f6.js";
|
|
28
|
+
import"./cli-gt29d4q6.js";
|
|
29
|
+
import"./cli-1qyejhv5.js";
|
|
30
|
+
import"./cli-qmt07txj.js";
|
|
31
|
+
import"./cli-ssstde7z.js";
|
|
32
|
+
import"./cli-tmr100n4.js";
|
|
33
33
|
import"./cli-xcy2vxj2.js";
|
|
34
34
|
import {
|
|
35
35
|
markCommandFailed
|
|
36
36
|
} from "./cli-z82n3qk1.js";
|
|
37
|
-
import"./cli-
|
|
38
|
-
import"./cli-
|
|
37
|
+
import"./cli-c29xr0h0.js";
|
|
38
|
+
import"./cli-gy5stwkg.js";
|
|
39
39
|
import"./cli-qba2x69h.js";
|
|
40
|
-
import"./cli-
|
|
40
|
+
import"./cli-739g9qgd.js";
|
|
41
41
|
import"./cli-c2k4xxaw.js";
|
|
42
42
|
import {
|
|
43
43
|
__require
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import {
|
|
2
|
+
BlackboxAttackSurfaceAgent2
|
|
3
|
+
} from "./cli-67d2744b.js";
|
|
4
|
+
import"./cli-gy5stwkg.js";
|
|
5
|
+
import"./cli-qba2x69h.js";
|
|
6
|
+
import"./cli-z85qmtjd.js";
|
|
7
|
+
import"./cli-7xf5h4pb.js";
|
|
8
|
+
import"./cli-739g9qgd.js";
|
|
9
|
+
import"./cli-1h046yxp.js";
|
|
10
|
+
import"./cli-c2k4xxaw.js";
|
|
11
|
+
import"./cli-rv2d03xr.js";
|
|
12
|
+
export {
|
|
13
|
+
BlackboxAttackSurfaceAgent2 as BlackboxAttackSurfaceAgent
|
|
14
|
+
};
|
|
@@ -1,27 +1,27 @@
|
|
|
1
|
-
import"./cli-
|
|
2
|
-
import"./cli-
|
|
3
|
-
import"./cli-
|
|
4
|
-
import"./cli-
|
|
5
|
-
import"./cli-
|
|
6
|
-
import"./cli-
|
|
7
|
-
import"./cli-
|
|
1
|
+
import"./cli-rv2d03xr.js";
|
|
2
|
+
import"./cli-1h046yxp.js";
|
|
3
|
+
import"./cli-7xf5h4pb.js";
|
|
4
|
+
import"./cli-z85qmtjd.js";
|
|
5
|
+
import"./cli-67d2744b.js";
|
|
6
|
+
import"./cli-qmt07txj.js";
|
|
7
|
+
import"./cli-ssstde7z.js";
|
|
8
8
|
import {
|
|
9
9
|
readExecutionMetrics,
|
|
10
10
|
writeExecutionMetrics,
|
|
11
11
|
runPentestWorkflow2
|
|
12
|
-
} from "./cli-
|
|
13
|
-
import"./cli-
|
|
14
|
-
import"./cli-
|
|
12
|
+
} from "./cli-gt29d4q6.js";
|
|
13
|
+
import"./cli-9dka0an3.js";
|
|
14
|
+
import"./cli-zs7rp1f6.js";
|
|
15
15
|
import {
|
|
16
16
|
EMPTY_SESSION_TOKEN_USAGE,
|
|
17
17
|
accumulateSessionTokens
|
|
18
18
|
} from "./cli-ag6jtndp.js";
|
|
19
|
-
import"./cli-
|
|
19
|
+
import"./cli-gy5stwkg.js";
|
|
20
20
|
import"./cli-qba2x69h.js";
|
|
21
21
|
import {
|
|
22
22
|
normalizeStepUsage,
|
|
23
23
|
init_ai2
|
|
24
|
-
} from "./cli-
|
|
24
|
+
} from "./cli-739g9qgd.js";
|
|
25
25
|
import"./cli-c2k4xxaw.js";
|
|
26
26
|
|
|
27
27
|
// src/core/api/blackboxPentest.ts
|
|
@@ -8,7 +8,7 @@ import {
|
|
|
8
8
|
import {
|
|
9
9
|
AgentRuntime,
|
|
10
10
|
defineAgent
|
|
11
|
-
} from "./cli-
|
|
11
|
+
} from "./cli-gy5stwkg.js";
|
|
12
12
|
import {
|
|
13
13
|
hasToolCall,
|
|
14
14
|
init_dist,
|
|
@@ -16,7 +16,7 @@ import {
|
|
|
16
16
|
init_structured,
|
|
17
17
|
scopedLogger,
|
|
18
18
|
init_lazyLogger
|
|
19
|
-
} from "./cli-
|
|
19
|
+
} from "./cli-739g9qgd.js";
|
|
20
20
|
|
|
21
21
|
// src/core/agents/specialized/authenticationAgent/agent.ts
|
|
22
22
|
init_dist();
|
|
@@ -4,12 +4,12 @@ import {
|
|
|
4
4
|
import {
|
|
5
5
|
AgentRuntime,
|
|
6
6
|
defineAgent
|
|
7
|
-
} from "./cli-
|
|
7
|
+
} from "./cli-gy5stwkg.js";
|
|
8
8
|
import {
|
|
9
9
|
stepCountIs2,
|
|
10
10
|
hasToolCall,
|
|
11
11
|
init_dist
|
|
12
|
-
} from "./cli-
|
|
12
|
+
} from "./cli-739g9qgd.js";
|
|
13
13
|
|
|
14
14
|
// src/core/agents/specialized/attackSurface/blackboxAgent.ts
|
|
15
15
|
init_dist();
|
|
@@ -6,14 +6,14 @@ import {
|
|
|
6
6
|
import {
|
|
7
7
|
config2,
|
|
8
8
|
init_config
|
|
9
|
-
} from "./cli-
|
|
9
|
+
} from "./cli-rv2d03xr.js";
|
|
10
10
|
import {
|
|
11
11
|
getPensarGatewayUrl,
|
|
12
12
|
init_constants,
|
|
13
13
|
ensureValidToken2,
|
|
14
14
|
signGatewayRequest2,
|
|
15
15
|
init_auth
|
|
16
|
-
} from "./cli-
|
|
16
|
+
} from "./cli-1h046yxp.js";
|
|
17
17
|
import {
|
|
18
18
|
init_v4,
|
|
19
19
|
ZodFirstPartyTypeKind,
|
|
@@ -106,11 +106,11 @@ import {
|
|
|
106
106
|
HOONIFY_BASE_URL,
|
|
107
107
|
resolveHoonifyModel,
|
|
108
108
|
init_hoonify
|
|
109
|
-
} from "./cli-
|
|
109
|
+
} from "./cli-vfkmdrkb.js";
|
|
110
110
|
import {
|
|
111
111
|
getCurrentVersion,
|
|
112
112
|
init_installation
|
|
113
|
-
} from "./cli-
|
|
113
|
+
} from "./cli-k46jmzbs.js";
|
|
114
114
|
import {
|
|
115
115
|
init_zod
|
|
116
116
|
} from "./cli-3qznjsnr.js";
|
|
@@ -10592,7 +10592,7 @@ async function create(input) {
|
|
|
10592
10592
|
} else if (input.inheritEnvironmentConfig === false) {
|
|
10593
10593
|
snapshotHeaders = {};
|
|
10594
10594
|
} else {
|
|
10595
|
-
const { config: appConfig } = await import("./index-
|
|
10595
|
+
const { config: appConfig } = await import("./index-wh328kzg.js");
|
|
10596
10596
|
const cfg = await appConfig.get();
|
|
10597
10597
|
snapshotHeaders = cfg.defaultHeaders ? { ...cfg.defaultHeaders } : { ...DEFAULT_HEADER_RECORD };
|
|
10598
10598
|
}
|
|
@@ -6,7 +6,7 @@ import {
|
|
|
6
6
|
getModelSettings,
|
|
7
7
|
generateObjectResponse,
|
|
8
8
|
init_ai2
|
|
9
|
-
} from "./cli-
|
|
9
|
+
} from "./cli-739g9qgd.js";
|
|
10
10
|
import {
|
|
11
11
|
newSessionId,
|
|
12
12
|
init_id,
|
|
@@ -909,7 +909,7 @@ async function spawnBatch2(spawner, requests, opts, limiter) {
|
|
|
909
909
|
});
|
|
910
910
|
}
|
|
911
911
|
async function runSpawnedPentestWorker(spec, input) {
|
|
912
|
-
const { TargetedPentestAgent } = await import("./agent-
|
|
912
|
+
const { TargetedPentestAgent } = await import("./agent-y7w88qe9.js");
|
|
913
913
|
const hooks = resolveItemHooks(input.hooks, input.seams, spec, 0);
|
|
914
914
|
const agent = new TargetedPentestAgent({
|
|
915
915
|
target: spec.target,
|
|
@@ -980,7 +980,7 @@ var runPentestChild = async (spec, ctx) => {
|
|
|
980
980
|
};
|
|
981
981
|
};
|
|
982
982
|
var runCodeChild = async (spec, ctx) => {
|
|
983
|
-
const { CodeAgent } = await import("./agent-
|
|
983
|
+
const { CodeAgent } = await import("./agent-ks4dc1q5.js");
|
|
984
984
|
const agent = new CodeAgent({
|
|
985
985
|
findingPolicy: ctx.findingPolicy,
|
|
986
986
|
codebasePath: spec.codebasePath,
|
|
@@ -1010,7 +1010,7 @@ var runCodeChild = async (spec, ctx) => {
|
|
|
1010
1010
|
return { run: () => agent.consume(), drained: () => agent.drained };
|
|
1011
1011
|
};
|
|
1012
1012
|
var runWhiteboxChild = async (spec, ctx) => {
|
|
1013
|
-
const { WhiteboxAttackSurfaceAgent } = await import("./index-
|
|
1013
|
+
const { WhiteboxAttackSurfaceAgent } = await import("./index-1z234ygf.js");
|
|
1014
1014
|
const agent = new WhiteboxAttackSurfaceAgent({
|
|
1015
1015
|
findingPolicy: ctx.findingPolicy,
|
|
1016
1016
|
codebasePath: spec.codebasePath,
|
|
@@ -1031,7 +1031,7 @@ var runWhiteboxChild = async (spec, ctx) => {
|
|
|
1031
1031
|
return { run: () => agent.consume(), drained: () => agent.drained };
|
|
1032
1032
|
};
|
|
1033
1033
|
var runBlackboxChild = async (spec, ctx) => {
|
|
1034
|
-
const { BlackboxAttackSurfaceAgent } = await import("./blackboxAgent-
|
|
1034
|
+
const { BlackboxAttackSurfaceAgent } = await import("./blackboxAgent-pe5y5hxr.js");
|
|
1035
1035
|
const agent = new BlackboxAttackSurfaceAgent({
|
|
1036
1036
|
findingPolicy: ctx.findingPolicy,
|
|
1037
1037
|
target: spec.target,
|
|
@@ -1051,7 +1051,7 @@ var runBlackboxChild = async (spec, ctx) => {
|
|
|
1051
1051
|
return { run: () => agent.consume(), drained: () => agent.drained };
|
|
1052
1052
|
};
|
|
1053
1053
|
var runAuthChild = async (spec, ctx) => {
|
|
1054
|
-
const { runAuthenticationAgent } = await import("./agent-
|
|
1054
|
+
const { runAuthenticationAgent } = await import("./agent-q6ckrtd2.js");
|
|
1055
1055
|
return {
|
|
1056
1056
|
run: () => runAuthenticationAgent({
|
|
1057
1057
|
findingPolicy: ctx.findingPolicy,
|
|
@@ -1074,7 +1074,7 @@ var runAuthChild = async (spec, ctx) => {
|
|
|
1074
1074
|
};
|
|
1075
1075
|
};
|
|
1076
1076
|
var runJudgeChild = async (spec, ctx) => {
|
|
1077
|
-
const { judgeFinding } = await import("./index-
|
|
1077
|
+
const { judgeFinding } = await import("./index-hx133hms.js");
|
|
1078
1078
|
return {
|
|
1079
1079
|
run: () => judgeFinding(spec.judgeInput, {
|
|
1080
1080
|
waitForDrain: spec.waitForDrain,
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AgentRuntime,
|
|
3
3
|
defineAgent
|
|
4
|
-
} from "./cli-
|
|
4
|
+
} from "./cli-gy5stwkg.js";
|
|
5
5
|
import {
|
|
6
6
|
stepCountIs2,
|
|
7
7
|
init_dist
|
|
8
|
-
} from "./cli-
|
|
8
|
+
} from "./cli-739g9qgd.js";
|
|
9
9
|
|
|
10
10
|
// src/core/agents/specialized/codeAgent/agent.ts
|
|
11
11
|
init_dist();
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import {
|
|
2
2
|
OffensiveSecurityAgent
|
|
3
|
-
} from "./cli-
|
|
3
|
+
} from "./cli-z85qmtjd.js";
|
|
4
4
|
import {
|
|
5
5
|
startAgentExecution,
|
|
6
6
|
resolveRootReasoning,
|
|
7
7
|
persistRootReasoningOverride
|
|
8
|
-
} from "./cli-
|
|
8
|
+
} from "./cli-tmr100n4.js";
|
|
9
9
|
|
|
10
10
|
// src/core/api/offesecAgent.ts
|
|
11
11
|
async function runOffensiveSecurityAgent2(input) {
|
|
@@ -4,10 +4,10 @@ import {
|
|
|
4
4
|
openSqliteRunStore,
|
|
5
5
|
resolveWorkerEndpoint,
|
|
6
6
|
workerRequest
|
|
7
|
-
} from "./cli-
|
|
7
|
+
} from "./cli-qp8413xr.js";
|
|
8
8
|
import {
|
|
9
9
|
launchLocalWorker
|
|
10
|
-
} from "./cli-
|
|
10
|
+
} from "./cli-y1z3vemx.js";
|
|
11
11
|
|
|
12
12
|
// src/core/runtime/recordedRunClient.ts
|
|
13
13
|
import { setTimeout as delay } from "node:timers/promises";
|
|
@@ -7,7 +7,7 @@ import {
|
|
|
7
7
|
resolveItemHooks,
|
|
8
8
|
spawnBatch2,
|
|
9
9
|
inProcessSubagentSpawner2
|
|
10
|
-
} from "./cli-
|
|
10
|
+
} from "./cli-7xf5h4pb.js";
|
|
11
11
|
import {
|
|
12
12
|
collectCommand,
|
|
13
13
|
toGrpcPentestContext,
|
|
@@ -15,24 +15,24 @@ import {
|
|
|
15
15
|
pLimit,
|
|
16
16
|
PLAN_MODE_TOOL_NAMES,
|
|
17
17
|
OffensiveSecurityAgent
|
|
18
|
-
} from "./cli-
|
|
18
|
+
} from "./cli-z85qmtjd.js";
|
|
19
19
|
import {
|
|
20
20
|
BlackboxAttackSurfaceAgent2
|
|
21
|
-
} from "./cli-
|
|
21
|
+
} from "./cli-67d2744b.js";
|
|
22
22
|
import {
|
|
23
23
|
TargetedPentestAgent2,
|
|
24
24
|
buildPentestSystemPrompt2
|
|
25
|
-
} from "./cli-
|
|
25
|
+
} from "./cli-qmt07txj.js";
|
|
26
26
|
import {
|
|
27
27
|
buildPentestReport,
|
|
28
28
|
renderJson,
|
|
29
29
|
renderMarkdown,
|
|
30
30
|
REPORT_FILENAME_MD,
|
|
31
31
|
REPORT_FILENAME_JSON
|
|
32
|
-
} from "./cli-
|
|
32
|
+
} from "./cli-ssstde7z.js";
|
|
33
33
|
import {
|
|
34
34
|
CodeAgent2
|
|
35
|
-
} from "./cli-
|
|
35
|
+
} from "./cli-9dka0an3.js";
|
|
36
36
|
import {
|
|
37
37
|
WHITEBOX_APPS_DISCOVERY_SYSTEM_PROMPT2,
|
|
38
38
|
WHITEBOX_ENDPOINT_DOCUMENTATION_SYSTEM_PROMPT,
|
|
@@ -41,7 +41,7 @@ import {
|
|
|
41
41
|
AppInfoSchema2,
|
|
42
42
|
AppsDiscoveryResultSchema2,
|
|
43
43
|
DiscoverySummarySchema2
|
|
44
|
-
} from "./cli-
|
|
44
|
+
} from "./cli-zs7rp1f6.js";
|
|
45
45
|
import {
|
|
46
46
|
createThreatModelPrompt
|
|
47
47
|
} from "./cli-q126f6ef.js";
|
|
@@ -53,7 +53,7 @@ import {
|
|
|
53
53
|
init_structured,
|
|
54
54
|
scopedLogger,
|
|
55
55
|
init_lazyLogger
|
|
56
|
-
} from "./cli-
|
|
56
|
+
} from "./cli-739g9qgd.js";
|
|
57
57
|
import {
|
|
58
58
|
newSessionId,
|
|
59
59
|
init_id
|
|
@@ -7190,8 +7190,9 @@ async function runWhiteboxAttackSurfaceApp(app, appIndex, input) {
|
|
|
7190
7190
|
await discoverPagesAndApi();
|
|
7191
7191
|
}
|
|
7192
7192
|
}
|
|
7193
|
-
} catch {
|
|
7193
|
+
} catch (error) {
|
|
7194
7194
|
failed = true;
|
|
7195
|
+
log4.error(`Phase 2: app "${app.name}" FAILED`, error instanceof Error ? error : undefined, { error: String(error), app: app.name });
|
|
7195
7196
|
}
|
|
7196
7197
|
eventBus?.emit("subagent-complete", {
|
|
7197
7198
|
subagentId: appNodeId,
|
|
@@ -8215,7 +8216,7 @@ async function runPentestSwarm2(input) {
|
|
|
8215
8216
|
}
|
|
8216
8217
|
async function runPentestWorkflow2(input) {
|
|
8217
8218
|
if (input.fastStrike) {
|
|
8218
|
-
const { runFastStrike } = await import("./fastStrike-
|
|
8219
|
+
const { runFastStrike } = await import("./fastStrike-65d7njyn.js");
|
|
8219
8220
|
return runFastStrike(input);
|
|
8220
8221
|
}
|
|
8221
8222
|
const {
|
|
@@ -7,7 +7,7 @@ import {
|
|
|
7
7
|
REPORT_ERROR_TOOL_NAME,
|
|
8
8
|
createReportErrorTool,
|
|
9
9
|
PentestReportedError
|
|
10
|
-
} from "./cli-
|
|
10
|
+
} from "./cli-z85qmtjd.js";
|
|
11
11
|
import {
|
|
12
12
|
GOOGLE_SIGNIN_PROMPT_GUIDANCE,
|
|
13
13
|
browserEngineForGoogleSignIn
|
|
@@ -18,7 +18,7 @@ import {
|
|
|
18
18
|
import {
|
|
19
19
|
AgentRuntime,
|
|
20
20
|
defineAgent
|
|
21
|
-
} from "./cli-
|
|
21
|
+
} from "./cli-gy5stwkg.js";
|
|
22
22
|
import {
|
|
23
23
|
hasToolCall,
|
|
24
24
|
init_dist,
|
|
@@ -26,7 +26,7 @@ import {
|
|
|
26
26
|
init_structured,
|
|
27
27
|
scopedLogger,
|
|
28
28
|
init_lazyLogger
|
|
29
|
-
} from "./cli-
|
|
29
|
+
} from "./cli-739g9qgd.js";
|
|
30
30
|
import {
|
|
31
31
|
init_zod
|
|
32
32
|
} from "./cli-3qznjsnr.js";
|