@pensar/apex 2.7.0-canary.f6cdf7be → 2.7.0-canary.f824ec48
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-e3p8n3fz.js +14 -0
- package/build/agent-g762vc3w.js +14 -0
- package/build/{agent-rjyfyw0g.js → agent-p698rv0j.js} +6 -6
- package/build/{agent-runs-dhvj9n11.js → agent-runs-wcx5w6ga.js} +19 -19
- package/build/{agent-3nyddsj2.js → agent-xgbw8eet.js} +7 -7
- package/build/{apps-xb4dwm8m.js → apps-fkaa63g6.js} +16 -16
- package/build/{auth-3herxns4.js → auth-1h2kmby7.js} +16 -16
- package/build/blackboxAgent-jgaa05jj.js +14 -0
- package/build/{blackboxPentest-n73frjae.js → blackboxPentest-5td70wbq.js} +12 -12
- package/build/{cli-d13d67ym.js → cli-1347c15k.js} +2 -2
- package/build/{cli-16jm0s8q.js → cli-2j897vp5.js} +2 -2
- package/build/{cli-f7v0fgc0.js → cli-2rbp66hx.js} +1 -1
- package/build/{cli-h2r33z2v.js → cli-2xnkxcyw.js} +9 -9
- package/build/{cli-sy52tg90.js → cli-6xxpgt4r.js} +1 -1
- package/build/{cli-jqf27aw9.js → cli-87b8h02f.js} +14 -8
- package/build/{cli-2r2agtre.js → cli-a5x7ymqf.js} +2 -2
- package/build/{cli-xc4jc5g8.js → cli-aa3p4z50.js} +1 -1
- package/build/{cli-0xvrtsac.js → cli-f6wz0zvf.js} +1 -1
- package/build/{cli-ebx3j3c5.js → cli-kts4kmyb.js} +2 -2
- package/build/{cli-3ne35gxp.js → cli-mhnh5tpj.js} +5 -5
- package/build/{cli-5nsn1vpx.js → cli-n8jbhkbn.js} +2 -2
- package/build/{cli-rsdhzyxc.js → cli-r6ymr25w.js} +1 -1
- package/build/{cli-15df7cy4.js → cli-rne34jcb.js} +7 -7
- package/build/{cli-67bcwpc2.js → cli-rrf2bbmc.js} +1 -1
- package/build/{cli-730f1622.js → cli-tfwjdxw6.js} +1 -1
- package/build/{cli-nrz17r1p.js → cli-tznzhj3x.js} +8 -8
- package/build/{cli-cwmkbq45.js → cli-v2zcnka1.js} +3 -3
- package/build/{cli-veyqzxra.js → cli-xsd5fkcj.js} +3 -3
- package/build/{cli-q9rsfw2a.js → cli-yb35qfa6.js} +1 -1
- package/build/{cli-1k414c58.js → cli-yxptkzey.js} +1 -1
- package/build/cli.js +38 -38
- package/build/{config-csq1zxtv.js → config-rbfmew91.js} +1 -1
- package/build/{fastStrike-d6ekb4qh.js → fastStrike-d1yht29e.js} +6 -6
- package/build/{fixes-3msn9pqm.js → fixes-tmcwbrg8.js} +16 -16
- package/build/{index-xkdgbesy.js → index-7gattgz9.js} +22 -22
- package/build/{index-f1a9x9ez.js → index-818z4npc.js} +7 -7
- package/build/{index-mgq7hqhw.js → index-k4bnn2re.js} +4 -4
- package/build/{index-82q74kah.js → index-swhgmnqa.js} +5 -5
- package/build/{index-0hz1wzxq.js → index-t3jtd6ne.js} +5 -5
- package/build/{index-s12ksdnj.js → index-tdq9kj0b.js} +1 -1
- package/build/{index-kgssmyk2.js → index-vx22a5ef.js} +1 -1
- package/build/{index-j0wkw2yh.js → index-yzhh9mb6.js} +2 -2
- package/build/{index-th12cq1c.js → index-z09jjanp.js} +20 -16
- package/build/{issues-sx841383.js → issues-db528426.js} +51 -24
- package/build/{knowledge-sqe5z2ar.js → knowledge-k4qf6w11.js} +16 -16
- package/build/{lance-43s36cr7.js → lance-wcwrt87x.js} +7 -7
- package/build/lib/{chunk-xebz8z2r.js → chunk-1qsv82r0.js} +2 -2
- package/build/lib/{chunk-bakpxqpv.js → chunk-1z5ttpb0.js} +1 -1
- package/build/lib/{chunk-86sya3w8.js → chunk-3q8d8811.js} +6 -6
- package/build/lib/{chunk-e0nhccd7.js → chunk-50ng0zvs.js} +2 -2
- package/build/lib/{chunk-6nbh1eg1.js → chunk-603s6gag.js} +1 -1
- package/build/lib/{chunk-4m0zmj0b.js → chunk-7t5k4hmm.js} +4 -4
- package/build/lib/{chunk-f2esp324.js → chunk-7xg8zd1v.js} +2 -2
- package/build/lib/{chunk-tqs67gqe.js → chunk-8hngr849.js} +11 -11
- package/build/lib/{chunk-q065dv8y.js → chunk-9cte0sr4.js} +1 -1
- package/build/lib/{chunk-tparpmzd.js → chunk-b20s6ecz.js} +10 -10
- package/build/lib/{chunk-vcwyb6ba.js → chunk-b4r6csex.js} +6 -6
- package/build/lib/{chunk-3vvhjf9b.js → chunk-fa69qaq7.js} +3 -3
- package/build/lib/{chunk-g20qjtah.js → chunk-frxagdwt.js} +11 -11
- package/build/lib/{chunk-036v016g.js → chunk-hvxxsakn.js} +1 -1
- package/build/lib/{chunk-k5ck1jqf.js → chunk-jkvwzeg0.js} +1 -1
- package/build/lib/{chunk-kh2p8hzh.js → chunk-nskmtc1m.js} +4 -4
- package/build/lib/{chunk-sfcgtqfg.js → chunk-pcdte53v.js} +1 -1
- package/build/lib/{chunk-w3c69y0y.js → chunk-pk7q139v.js} +1 -1
- package/build/lib/{chunk-dn4zp4dr.js → chunk-pw5vyxem.js} +1 -1
- package/build/lib/{chunk-sbq4e99t.js → chunk-q8v9ka3b.js} +1 -1
- package/build/lib/{chunk-gn18j4fc.js → chunk-sgrgawaj.js} +2 -2
- package/build/lib/{chunk-9psbcps6.js → chunk-sjbg1ct7.js} +1 -1
- package/build/lib/{chunk-2zym7z9d.js → chunk-x4ne9yqw.js} +21 -13
- package/build/lib/{chunk-f0r8pb9d.js → chunk-yntsa8ge.js} +1 -1
- package/build/lib/{chunk-88y6svhr.js → chunk-zdes6k6c.js} +1 -1
- package/build/lib/{chunk-05qvh0kp.js → chunk-ze33c0ky.js} +1 -1
- package/build/lib/core/agents/offSecAgent/index.js +9 -9
- package/build/lib/core/agents/offSecAgent/subagentSpawner.js +6 -6
- package/build/lib/core/agents/offSecAgent/tools/index.js +8 -8
- package/build/lib/core/agents/specialized/attackSurface/blackboxAgent.js +11 -11
- package/build/lib/core/agents/specialized/attackSurface/schemas.js +11 -11
- package/build/lib/core/agents/specialized/authenticationAgent/index.js +12 -12
- package/build/lib/core/agents/specialized/codeAgent/agent.js +11 -11
- package/build/lib/core/agents/specialized/findingJudge/agent.js +10 -10
- package/build/lib/core/agents/specialized/findingJudge/index.js +4 -4
- package/build/lib/core/agents/specialized/patching/index.js +12 -12
- package/build/lib/core/agents/specialized/pentest/agent.js +11 -11
- package/build/lib/core/agents/specialized/whiteboxAttackSurface/index.js +11 -11
- package/build/lib/core/ai/ai.js +3 -3
- package/build/lib/core/ai/index.js +3 -3
- package/build/lib/core/ai/utils.js +3 -3
- package/build/lib/core/api/index.d.ts +2 -2
- package/build/lib/core/api/index.js +25 -21
- package/build/lib/core/api/issues.d.ts +125 -16
- package/build/lib/core/api/targetedPentest.js +12 -12
- package/build/lib/core/config/index.js +1 -1
- package/build/lib/core/findings/registry.js +4 -4
- package/build/lib/core/session/index.js +3 -3
- package/build/lib/core/session/persistence.js +4 -4
- package/build/lib/core/tools/backends/index.js +3 -3
- package/build/lib/core/workflows/pentest.js +17 -17
- package/build/lib/core/workflows/seams.js +5 -5
- package/build/lib/core/workflows/whiteboxAttackSurface.js +13 -13
- package/build/lib/index.js +24 -24
- package/build/{logs-5a82dn40.js → logs-2jw1n2dw.js} +16 -16
- package/build/{native-rollout-evidence-hcx5fq4d.js → native-rollout-evidence-mz2r4ar9.js} +3 -3
- package/build/{offesecAgent-36mp5t7n.js → offesecAgent-5wgccj06.js} +6 -6
- package/build/pentest-by42e2mx.js +23 -0
- package/build/{pentests-yr3am8eg.js → pentests-p6ttj7rq.js} +16 -16
- package/build/recordedRunClient-0pnft9r7.js +11 -0
- package/build/{subagentSpawner-m17w7z4b.js → subagentSpawner-h6vwn75n.js} +4 -4
- package/build/{targetedPentest-bmx2w41m.js → targetedPentest-07fj1cnc.js} +8 -8
- package/build/{targets-8e2tmhsj.js → targets-eb3yd7wd.js} +16 -16
- package/build/threatModel-zt5j8z1q.js +24 -0
- package/build/{uninstall-hgtqggvn.js → uninstall-tn36x4ev.js} +1 -1
- package/build/{upload-dyzsg969.js → upload-3jy8xnk0.js} +4 -4
- package/build/{utils-862v7pgy.js → utils-mxfkmx6j.js} +3 -3
- package/package.json +1 -1
- package/src/cli/issues.test.ts +217 -11
- package/src/cli/issues.ts +49 -9
- package/src/core/api/index.ts +4 -0
- package/src/core/api/issues.test.ts +80 -6
- package/src/core/api/issues.ts +137 -16
- package/build/agent-34gmbmct.js +0 -14
- package/build/agent-jdcbh4s0.js +0 -14
- package/build/blackboxAgent-d7xv0thk.js +0 -14
- package/build/pentest-p1tjfres.js +0 -23
- package/build/recordedRunClient-jrasfd3h.js +0 -11
- package/build/threatModel-ec0272nc.js +0 -24
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import {
|
|
2
|
+
CodeAgent2
|
|
3
|
+
} from "./cli-2j897vp5.js";
|
|
4
|
+
import"./cli-yb35qfa6.js";
|
|
5
|
+
import"./cli-qba2x69h.js";
|
|
6
|
+
import"./cli-tznzhj3x.js";
|
|
7
|
+
import"./cli-rne34jcb.js";
|
|
8
|
+
import"./cli-mhnh5tpj.js";
|
|
9
|
+
import"./cli-aa3p4z50.js";
|
|
10
|
+
import"./cli-c2k4xxaw.js";
|
|
11
|
+
import"./cli-r6ymr25w.js";
|
|
12
|
+
export {
|
|
13
|
+
CodeAgent2 as CodeAgent
|
|
14
|
+
};
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import {
|
|
2
|
+
runAuthenticationAgent2
|
|
3
|
+
} from "./cli-n8jbhkbn.js";
|
|
4
|
+
import"./cli-yb35qfa6.js";
|
|
5
|
+
import"./cli-qba2x69h.js";
|
|
6
|
+
import"./cli-tznzhj3x.js";
|
|
7
|
+
import"./cli-rne34jcb.js";
|
|
8
|
+
import"./cli-mhnh5tpj.js";
|
|
9
|
+
import"./cli-aa3p4z50.js";
|
|
10
|
+
import"./cli-c2k4xxaw.js";
|
|
11
|
+
import"./cli-r6ymr25w.js";
|
|
12
|
+
export {
|
|
13
|
+
runAuthenticationAgent2 as runAuthenticationAgent
|
|
14
|
+
};
|
|
@@ -1,16 +1,16 @@
|
|
|
1
|
-
import"./cli-
|
|
2
|
-
import"./cli-
|
|
3
|
-
import"./cli-
|
|
4
|
-
import"./cli-
|
|
1
|
+
import"./cli-rne34jcb.js";
|
|
2
|
+
import"./cli-r6ymr25w.js";
|
|
3
|
+
import"./cli-aa3p4z50.js";
|
|
4
|
+
import"./cli-tznzhj3x.js";
|
|
5
5
|
import {
|
|
6
6
|
AgentRuntime,
|
|
7
7
|
defineAgent
|
|
8
|
-
} from "./cli-
|
|
8
|
+
} from "./cli-yb35qfa6.js";
|
|
9
9
|
import"./cli-qba2x69h.js";
|
|
10
10
|
import {
|
|
11
11
|
stepCountIs2,
|
|
12
12
|
init_dist
|
|
13
|
-
} from "./cli-
|
|
13
|
+
} from "./cli-mhnh5tpj.js";
|
|
14
14
|
import"./cli-c2k4xxaw.js";
|
|
15
15
|
import {
|
|
16
16
|
init_zod
|
|
@@ -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-r6ymr25w.js";
|
|
5
|
+
import"./cli-aa3p4z50.js";
|
|
6
|
+
import"./cli-tznzhj3x.js";
|
|
7
7
|
import {
|
|
8
8
|
AgentEventBus
|
|
9
|
-
} from "./cli-
|
|
9
|
+
} from "./cli-rne34jcb.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-87b8h02f.js";
|
|
21
|
+
import"./cli-kts4kmyb.js";
|
|
22
|
+
import"./cli-2j897vp5.js";
|
|
23
|
+
import"./cli-xsd5fkcj.js";
|
|
24
|
+
import"./cli-2xnkxcyw.js";
|
|
25
|
+
import"./cli-n8jbhkbn.js";
|
|
26
|
+
import"./cli-v2zcnka1.js";
|
|
27
|
+
import"./cli-2rbp66hx.js";
|
|
28
|
+
import"./cli-yxptkzey.js";
|
|
29
29
|
import"./cli-ak23knae.js";
|
|
30
30
|
import {
|
|
31
31
|
resolveWorkerExecutable,
|
|
32
32
|
launchLocalWorker
|
|
33
|
-
} from "./cli-
|
|
34
|
-
import"./cli-
|
|
35
|
-
import"./cli-
|
|
33
|
+
} from "./cli-tfwjdxw6.js";
|
|
34
|
+
import"./cli-1347c15k.js";
|
|
35
|
+
import"./cli-yb35qfa6.js";
|
|
36
36
|
import"./cli-qba2x69h.js";
|
|
37
37
|
import {
|
|
38
38
|
buildAuthConfig,
|
|
39
39
|
init_ai2
|
|
40
|
-
} from "./cli-
|
|
40
|
+
} from "./cli-mhnh5tpj.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-z09jjanp.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-0pnft9r7.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-v2zcnka1.js";
|
|
5
|
+
import"./cli-yb35qfa6.js";
|
|
6
6
|
import"./cli-qba2x69h.js";
|
|
7
|
-
import"./cli-
|
|
8
|
-
import"./cli-
|
|
9
|
-
import"./cli-
|
|
10
|
-
import"./cli-
|
|
7
|
+
import"./cli-tznzhj3x.js";
|
|
8
|
+
import"./cli-rne34jcb.js";
|
|
9
|
+
import"./cli-mhnh5tpj.js";
|
|
10
|
+
import"./cli-aa3p4z50.js";
|
|
11
11
|
import"./cli-c2k4xxaw.js";
|
|
12
|
-
import"./cli-
|
|
12
|
+
import"./cli-r6ymr25w.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-tznzhj3x.js";
|
|
19
|
+
import"./cli-rne34jcb.js";
|
|
20
|
+
import"./cli-r6ymr25w.js";
|
|
21
|
+
import"./cli-aa3p4z50.js";
|
|
22
|
+
import"./cli-87b8h02f.js";
|
|
23
|
+
import"./cli-kts4kmyb.js";
|
|
24
|
+
import"./cli-2j897vp5.js";
|
|
25
|
+
import"./cli-xsd5fkcj.js";
|
|
26
|
+
import"./cli-2xnkxcyw.js";
|
|
27
|
+
import"./cli-n8jbhkbn.js";
|
|
28
|
+
import"./cli-v2zcnka1.js";
|
|
29
|
+
import"./cli-2rbp66hx.js";
|
|
30
|
+
import"./cli-yxptkzey.js";
|
|
31
31
|
import"./cli-ak23knae.js";
|
|
32
32
|
import {
|
|
33
33
|
markCommandFailed
|
|
34
34
|
} from "./cli-z82n3qk1.js";
|
|
35
|
-
import"./cli-
|
|
36
|
-
import"./cli-
|
|
35
|
+
import"./cli-1347c15k.js";
|
|
36
|
+
import"./cli-yb35qfa6.js";
|
|
37
37
|
import"./cli-qba2x69h.js";
|
|
38
|
-
import"./cli-
|
|
38
|
+
import"./cli-mhnh5tpj.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-tznzhj3x.js";
|
|
3
|
+
import"./cli-rne34jcb.js";
|
|
4
4
|
import {
|
|
5
5
|
config2,
|
|
6
6
|
init_config
|
|
7
|
-
} from "./cli-
|
|
7
|
+
} from "./cli-r6ymr25w.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-aa3p4z50.js";
|
|
24
|
+
import"./cli-87b8h02f.js";
|
|
25
|
+
import"./cli-kts4kmyb.js";
|
|
26
|
+
import"./cli-2j897vp5.js";
|
|
27
|
+
import"./cli-xsd5fkcj.js";
|
|
28
|
+
import"./cli-2xnkxcyw.js";
|
|
29
|
+
import"./cli-n8jbhkbn.js";
|
|
30
|
+
import"./cli-v2zcnka1.js";
|
|
31
|
+
import"./cli-2rbp66hx.js";
|
|
32
|
+
import"./cli-yxptkzey.js";
|
|
33
33
|
import"./cli-ak23knae.js";
|
|
34
34
|
import {
|
|
35
35
|
markCommandFailed
|
|
36
36
|
} from "./cli-z82n3qk1.js";
|
|
37
|
-
import"./cli-
|
|
38
|
-
import"./cli-
|
|
37
|
+
import"./cli-1347c15k.js";
|
|
38
|
+
import"./cli-yb35qfa6.js";
|
|
39
39
|
import"./cli-qba2x69h.js";
|
|
40
|
-
import"./cli-
|
|
40
|
+
import"./cli-mhnh5tpj.js";
|
|
41
41
|
import"./cli-c2k4xxaw.js";
|
|
42
42
|
import {
|
|
43
43
|
__require
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import {
|
|
2
|
+
BlackboxAttackSurfaceAgent2
|
|
3
|
+
} from "./cli-kts4kmyb.js";
|
|
4
|
+
import"./cli-yb35qfa6.js";
|
|
5
|
+
import"./cli-qba2x69h.js";
|
|
6
|
+
import"./cli-tznzhj3x.js";
|
|
7
|
+
import"./cli-rne34jcb.js";
|
|
8
|
+
import"./cli-mhnh5tpj.js";
|
|
9
|
+
import"./cli-aa3p4z50.js";
|
|
10
|
+
import"./cli-c2k4xxaw.js";
|
|
11
|
+
import"./cli-r6ymr25w.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-r6ymr25w.js";
|
|
2
|
+
import"./cli-aa3p4z50.js";
|
|
3
|
+
import"./cli-rne34jcb.js";
|
|
4
|
+
import"./cli-tznzhj3x.js";
|
|
5
|
+
import"./cli-kts4kmyb.js";
|
|
6
|
+
import"./cli-v2zcnka1.js";
|
|
7
|
+
import"./cli-2rbp66hx.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-2xnkxcyw.js";
|
|
13
|
+
import"./cli-2j897vp5.js";
|
|
14
|
+
import"./cli-xsd5fkcj.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-yb35qfa6.js";
|
|
20
20
|
import"./cli-qba2x69h.js";
|
|
21
21
|
import {
|
|
22
22
|
normalizeStepUsage,
|
|
23
23
|
init_ai2
|
|
24
|
-
} from "./cli-
|
|
24
|
+
} from "./cli-mhnh5tpj.js";
|
|
25
25
|
import"./cli-c2k4xxaw.js";
|
|
26
26
|
|
|
27
27
|
// src/core/api/blackboxPentest.ts
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import {
|
|
2
2
|
OffensiveSecurityAgent
|
|
3
|
-
} from "./cli-
|
|
3
|
+
} from "./cli-tznzhj3x.js";
|
|
4
4
|
import {
|
|
5
5
|
startAgentExecution,
|
|
6
6
|
resolveRootReasoning,
|
|
7
7
|
persistRootReasoningOverride
|
|
8
|
-
} from "./cli-
|
|
8
|
+
} from "./cli-yxptkzey.js";
|
|
9
9
|
|
|
10
10
|
// src/core/api/offesecAgent.ts
|
|
11
11
|
async function runOffensiveSecurityAgent2(input) {
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AgentRuntime,
|
|
3
3
|
defineAgent
|
|
4
|
-
} from "./cli-
|
|
4
|
+
} from "./cli-yb35qfa6.js";
|
|
5
5
|
import {
|
|
6
6
|
stepCountIs2,
|
|
7
7
|
init_dist
|
|
8
|
-
} from "./cli-
|
|
8
|
+
} from "./cli-mhnh5tpj.js";
|
|
9
9
|
|
|
10
10
|
// src/core/agents/specialized/codeAgent/agent.ts
|
|
11
11
|
init_dist();
|
|
@@ -7,7 +7,7 @@ import {
|
|
|
7
7
|
resolveItemHooks,
|
|
8
8
|
spawnBatch2,
|
|
9
9
|
inProcessSubagentSpawner2
|
|
10
|
-
} from "./cli-
|
|
10
|
+
} from "./cli-rne34jcb.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-tznzhj3x.js";
|
|
19
19
|
import {
|
|
20
20
|
BlackboxAttackSurfaceAgent2
|
|
21
|
-
} from "./cli-
|
|
21
|
+
} from "./cli-kts4kmyb.js";
|
|
22
22
|
import {
|
|
23
23
|
TargetedPentestAgent2,
|
|
24
24
|
buildPentestSystemPrompt2
|
|
25
|
-
} from "./cli-
|
|
25
|
+
} from "./cli-v2zcnka1.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-2rbp66hx.js";
|
|
33
33
|
import {
|
|
34
34
|
CodeAgent2
|
|
35
|
-
} from "./cli-
|
|
35
|
+
} from "./cli-2j897vp5.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-xsd5fkcj.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-mhnh5tpj.js";
|
|
57
57
|
import {
|
|
58
58
|
newSessionId,
|
|
59
59
|
init_id
|
|
@@ -8216,7 +8216,7 @@ async function runPentestSwarm2(input) {
|
|
|
8216
8216
|
}
|
|
8217
8217
|
async function runPentestWorkflow2(input) {
|
|
8218
8218
|
if (input.fastStrike) {
|
|
8219
|
-
const { runFastStrike } = await import("./fastStrike-
|
|
8219
|
+
const { runFastStrike } = await import("./fastStrike-d1yht29e.js");
|
|
8220
8220
|
return runFastStrike(input);
|
|
8221
8221
|
}
|
|
8222
8222
|
const {
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import {
|
|
2
2
|
config2,
|
|
3
3
|
init_config
|
|
4
|
-
} from "./cli-
|
|
4
|
+
} from "./cli-r6ymr25w.js";
|
|
5
5
|
import {
|
|
6
6
|
init_constants
|
|
7
|
-
} from "./cli-
|
|
7
|
+
} from "./cli-aa3p4z50.js";
|
|
8
8
|
import {
|
|
9
9
|
buildSessionWorkspaceSection,
|
|
10
10
|
buildBaseSystemPrompt,
|
|
@@ -12,13 +12,13 @@ import {
|
|
|
12
12
|
apiRequest,
|
|
13
13
|
ALL_TOOL_NAMES2,
|
|
14
14
|
SKILL_TOOL_NAMES2
|
|
15
|
-
} from "./cli-
|
|
15
|
+
} from "./cli-tznzhj3x.js";
|
|
16
16
|
import {
|
|
17
17
|
runOffensiveSecurityAgent2
|
|
18
|
-
} from "./cli-
|
|
18
|
+
} from "./cli-1347c15k.js";
|
|
19
19
|
import {
|
|
20
20
|
defineAgent
|
|
21
|
-
} from "./cli-
|
|
21
|
+
} from "./cli-yb35qfa6.js";
|
|
22
22
|
import {
|
|
23
23
|
toolModelMessageSchema,
|
|
24
24
|
modelMessageSchema,
|
|
@@ -41,7 +41,7 @@ import {
|
|
|
41
41
|
getModelInfo,
|
|
42
42
|
buildAuthConfig,
|
|
43
43
|
init_ai2
|
|
44
|
-
} from "./cli-
|
|
44
|
+
} from "./cli-mhnh5tpj.js";
|
|
45
45
|
import {
|
|
46
46
|
newSessionId,
|
|
47
47
|
isSessionId,
|
|
@@ -56,7 +56,7 @@ import {
|
|
|
56
56
|
import {
|
|
57
57
|
getCurrentVersion,
|
|
58
58
|
init_installation
|
|
59
|
-
} from "./cli-
|
|
59
|
+
} from "./cli-6xxpgt4r.js";
|
|
60
60
|
import {
|
|
61
61
|
exports_iso,
|
|
62
62
|
string,
|
|
@@ -9225,6 +9225,12 @@ async function listIssues2(filters) {
|
|
|
9225
9225
|
async function getIssue2(issueId) {
|
|
9226
9226
|
return apiRequest("GET", `/issues/${issueId}`);
|
|
9227
9227
|
}
|
|
9228
|
+
async function getIssueEvidence2(issueId) {
|
|
9229
|
+
return apiRequest("GET", `/issues/${issueId}/evidence`);
|
|
9230
|
+
}
|
|
9231
|
+
async function listIssueRetests2(issueId) {
|
|
9232
|
+
return apiRequest("GET", `/issues/${issueId}/retests`);
|
|
9233
|
+
}
|
|
9228
9234
|
async function updateIssue2(issueId, data) {
|
|
9229
9235
|
return apiRequest("PATCH", `/issues/${issueId}`, data);
|
|
9230
9236
|
}
|
|
@@ -12662,4 +12668,4 @@ Working directory: ${input.codebasePath}`;
|
|
|
12662
12668
|
return { session, outputPath: input.outputPath };
|
|
12663
12669
|
}
|
|
12664
12670
|
|
|
12665
|
-
export { inspectSessionEvidence2, RecordedRunSpecSchema, acquireLocalRunLock, resolveRunDatabasePath, openSqliteRunStore, CLOSED_DISPOSITIONS2, listScans2, getScan2, listPentestTargets2, dispatchPentest2, listIssues2, getIssue2, updateIssue2, listIssueComments2, createIssueComment2, retestIssue2, linkPullRequest2, listIssuePullRequests2, listFixes2, getFix2, listAgentLogs2, searchAgentLogs2, listTargetLogs2, searchTargetLogs2, KNOWLEDGE_CATEGORIES2, KNOWLEDGE_STATUSES2, listKnowledge2, getKnowledge2, createKnowledge2, updateKnowledge2, archiveKnowledge2, resolveWorkerEndpoint, LocalWorkerTransportError, WorkerConnectionError, workerRequest, runRecordedAgent2, RunRecoveryBlockedError2, resumeRecordedAgent2, serveLocalRunWorker2, buildPentestPrompt, buildThreatModelPrompt, createSkillsRegistry, runThreatModelWorkflow2 };
|
|
12671
|
+
export { inspectSessionEvidence2, RecordedRunSpecSchema, acquireLocalRunLock, resolveRunDatabasePath, openSqliteRunStore, CLOSED_DISPOSITIONS2, listScans2, getScan2, listPentestTargets2, dispatchPentest2, listIssues2, getIssue2, getIssueEvidence2, listIssueRetests2, updateIssue2, listIssueComments2, createIssueComment2, retestIssue2, linkPullRequest2, listIssuePullRequests2, listFixes2, getFix2, listAgentLogs2, searchAgentLogs2, listTargetLogs2, searchTargetLogs2, KNOWLEDGE_CATEGORIES2, KNOWLEDGE_STATUSES2, listKnowledge2, getKnowledge2, createKnowledge2, updateKnowledge2, archiveKnowledge2, resolveWorkerEndpoint, LocalWorkerTransportError, WorkerConnectionError, workerRequest, runRecordedAgent2, RunRecoveryBlockedError2, resumeRecordedAgent2, serveLocalRunWorker2, buildPentestPrompt, buildThreatModelPrompt, createSkillsRegistry, runThreatModelWorkflow2 };
|
|
@@ -4,10 +4,10 @@ import {
|
|
|
4
4
|
openSqliteRunStore,
|
|
5
5
|
resolveWorkerEndpoint,
|
|
6
6
|
workerRequest
|
|
7
|
-
} from "./cli-
|
|
7
|
+
} from "./cli-87b8h02f.js";
|
|
8
8
|
import {
|
|
9
9
|
launchLocalWorker
|
|
10
|
-
} from "./cli-
|
|
10
|
+
} from "./cli-tfwjdxw6.js";
|
|
11
11
|
|
|
12
12
|
// src/core/runtime/recordedRunClient.ts
|
|
13
13
|
import { setTimeout as delay } from "node:timers/promises";
|
|
@@ -4,12 +4,12 @@ import {
|
|
|
4
4
|
import {
|
|
5
5
|
AgentRuntime,
|
|
6
6
|
defineAgent
|
|
7
|
-
} from "./cli-
|
|
7
|
+
} from "./cli-yb35qfa6.js";
|
|
8
8
|
import {
|
|
9
9
|
stepCountIs2,
|
|
10
10
|
hasToolCall,
|
|
11
11
|
init_dist
|
|
12
|
-
} from "./cli-
|
|
12
|
+
} from "./cli-mhnh5tpj.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-r6ymr25w.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-aa3p4z50.js";
|
|
17
17
|
import {
|
|
18
18
|
schema,
|
|
19
19
|
descending,
|
|
@@ -106,14 +106,14 @@ import {
|
|
|
106
106
|
HOONIFY_BASE_URL,
|
|
107
107
|
resolveHoonifyModel,
|
|
108
108
|
init_hoonify
|
|
109
|
-
} from "./cli-
|
|
109
|
+
} from "./cli-f6wz0zvf.js";
|
|
110
110
|
import {
|
|
111
111
|
init_zod
|
|
112
112
|
} from "./cli-3qznjsnr.js";
|
|
113
113
|
import {
|
|
114
114
|
getCurrentVersion,
|
|
115
115
|
init_installation
|
|
116
|
-
} from "./cli-
|
|
116
|
+
} from "./cli-6xxpgt4r.js";
|
|
117
117
|
import {
|
|
118
118
|
toJSONSchema,
|
|
119
119
|
safeParseAsync,
|
|
@@ -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-vx22a5ef.js");
|
|
10596
10596
|
const cfg = await appConfig.get();
|
|
10597
10597
|
snapshotHeaders = cfg.defaultHeaders ? { ...cfg.defaultHeaders } : { ...DEFAULT_HEADER_RECORD };
|
|
10598
10598
|
}
|
|
@@ -8,7 +8,7 @@ import {
|
|
|
8
8
|
import {
|
|
9
9
|
AgentRuntime,
|
|
10
10
|
defineAgent
|
|
11
|
-
} from "./cli-
|
|
11
|
+
} from "./cli-yb35qfa6.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-mhnh5tpj.js";
|
|
20
20
|
|
|
21
21
|
// src/core/agents/specialized/authenticationAgent/agent.ts
|
|
22
22
|
init_dist();
|