@pensar/apex 2.7.0-canary.6d9d1e0d → 2.7.0-canary.91cc2d52
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-dwb90wfs.js +13 -0
- package/build/{agent-xtn1masf.js → agent-fm79ysyz.js} +5 -5
- package/build/agent-j2h5dgcj.js +13 -0
- package/build/{agent-gk4vmr2h.js → agent-q7hcmhg5.js} +6 -6
- package/build/{agent-runs-12pmj6vc.js → agent-runs-6nyk8hjx.js} +18 -18
- package/build/{apps-yjyvn8vk.js → apps-8athj8ek.js} +13 -13
- package/build/{auth-xzp4f1bh.js → auth-xeyjgbvt.js} +13 -13
- package/build/{blackboxAgent-ettjqj45.js → blackboxAgent-g034embj.js} +6 -6
- package/build/{blackboxPentest-kf0pbhp5.js → blackboxPentest-jds43wyq.js} +17 -12
- package/build/{cli-8hxrn15h.js → cli-05arm5mj.js} +174 -81
- package/build/{cli-pchzt5f7.js → cli-1dm8x61n.js} +2 -2
- package/build/{cli-gr4az5sf.js → cli-3cw5r290.js} +4 -2
- package/build/{cli-zmeb85er.js → cli-72p3tb5s.js} +3 -3
- package/build/{cli-tfaqp0ty.js → cli-ae6crt8f.js} +263 -87
- package/build/{cli-4mar7kvr.js → cli-d47vhcxp.js} +6 -6
- package/build/{cli-0ry9v2cb.js → cli-e4a4h158.js} +1 -1
- package/build/{cli-hprqe9j2.js → cli-ee1z711x.js} +1 -1
- package/build/{cli-metec8r8.js → cli-hpbpzy5k.js} +106 -42
- package/build/{cli-nj73990n.js → cli-hsk2jkfx.js} +190 -18
- package/build/{cli-h5wkaqwe.js → cli-j1nfpen0.js} +4 -2
- package/build/{cli-m5ryqeav.js → cli-m2wpnmhx.js} +4 -3
- package/build/{cli-ge8q6nxr.js → cli-nm0nqnn7.js} +1 -1
- package/build/{cli-t3m0e9t2.js → cli-rx9g88ws.js} +2 -2
- package/build/{cli-xpspbhqs.js → cli-sfpjmf8c.js} +1 -1
- package/build/{cli-0cwdrrq7.js → cli-w14rjr2a.js} +1 -1
- package/build/{cli-5gaxk6hd.js → cli-w3mk93a4.js} +2 -2
- package/build/{cli-arxx5hbs.js → cli-yht2f4ny.js} +1 -1
- package/build/cli.js +72 -40
- package/build/{config-n03g5jad.js → config-efytsw1q.js} +1 -1
- package/build/{fastStrike-9mys4r1b.js → fastStrike-67ajjp5k.js} +67 -15
- package/build/{fixes-tcd29w2t.js → fixes-ky44pmnw.js} +13 -13
- package/build/{index-6ptkm3fe.js → index-0arjc1nx.js} +2 -2
- package/build/{index-msb8ht2s.js → index-2f8jbjwh.js} +6 -6
- package/build/{index-k1pvqjaq.js → index-3tw03tns.js} +1 -1
- package/build/{index-42dnvkns.js → index-5p68zt2w.js} +12 -7
- package/build/{index-3n19dh6s.js → index-88w63fck.js} +1 -1
- package/build/{index-qtpprc5a.js → index-mncyhwse.js} +5 -4
- package/build/{index-mmmx59w3.js → index-mt1gtyb6.js} +4 -4
- package/build/{index-93br69mn.js → index-pbftr2x4.js} +13 -13
- package/build/{index-hh9bqe4y.js → index-tgxp9dc7.js} +275 -60
- package/build/{issues-d0e1tzda.js → issues-7cj54b0a.js} +13 -13
- package/build/{knowledge-vgvrzey3.js → knowledge-4at10yy7.js} +13 -13
- package/build/lib/{chunk-mqcwxrnh.js → chunk-157sd6t0.js} +28 -2
- package/build/lib/{chunk-8m15nv6s.js → chunk-4hzpxw9v.js} +1 -1
- package/build/lib/{chunk-gv1p302b.js → chunk-4thgemts.js} +44 -6
- package/build/lib/{chunk-3g3ksmsv.js → chunk-661qwc3d.js} +71 -20
- package/build/lib/{chunk-66t5k77r.js → chunk-7hed7dp5.js} +4 -2
- package/build/lib/{chunk-fy3bbbqy.js → chunk-97gfejgq.js} +7 -1
- package/build/lib/{chunk-fytt5jz7.js → chunk-bg0xbv05.js} +4 -2
- package/build/lib/{chunk-n3kr09mb.js → chunk-br01h7k0.js} +80 -21
- package/build/lib/{chunk-pd487tpr.js → chunk-c7xhgcx9.js} +4 -2
- package/build/lib/{chunk-j1ftnbgr.js → chunk-c9kbxavp.js} +1 -1
- package/build/lib/{chunk-wa0q3smh.js → chunk-f8gkbqxj.js} +115 -58
- package/build/lib/{chunk-rchnq1ez.js → chunk-fjt5bj5c.js} +108 -44
- package/build/lib/{chunk-xw8d7pv7.js → chunk-fq3m5ykd.js} +1 -1
- package/build/lib/{chunk-acfewabw.js → chunk-jzz08pg8.js} +2 -2
- package/build/lib/{chunk-74ddy2e7.js → chunk-nf5e4gjf.js} +101 -21
- package/build/lib/{chunk-y9m8yw7k.js → chunk-nw1j8jnc.js} +1 -1
- package/build/lib/{chunk-45nvxhrc.js → chunk-p0a7ayrq.js} +12 -12
- package/build/lib/{chunk-mepzy07f.js → chunk-pxp1r7yn.js} +2 -1
- package/build/lib/{chunk-9etzp9n2.js → chunk-rr1j6nmf.js} +1 -1
- package/build/lib/{chunk-29bvrw6m.js → chunk-s89qgbb7.js} +20 -13
- package/build/lib/{chunk-c6gj39ew.js → chunk-satv5p0s.js} +13 -6
- package/build/lib/{chunk-851r7zp8.js → chunk-twxwf5bn.js} +3 -2
- package/build/lib/{chunk-7gjdygcx.js → chunk-vwr9w3ab.js} +2 -0
- package/build/lib/{chunk-bdbd8d8q.js → chunk-vwx9vhdz.js} +184 -12
- package/build/lib/{chunk-0ec46jyd.js → chunk-xk9wrskq.js} +1 -1
- package/build/lib/{chunk-3ac8kcj9.js → chunk-z5ndygcp.js} +81 -69
- package/build/lib/core/agents/agentRuntime.d.ts +3 -1
- package/build/lib/core/agents/defineAgent.d.ts +3 -2
- package/build/lib/core/agents/offSecAgent/index.d.ts +3 -1
- package/build/lib/core/agents/offSecAgent/index.js +15 -13
- package/build/lib/core/agents/offSecAgent/prompt.d.ts +3 -1
- package/build/lib/core/agents/offSecAgent/subagentSpawner.d.ts +14 -1
- package/build/lib/core/agents/offSecAgent/subagentSpawner.js +9 -7
- package/build/lib/core/agents/offSecAgent/toolExecutionContext.d.ts +3 -0
- package/build/lib/core/agents/offSecAgent/toolLifecycle.d.ts +1 -0
- package/build/lib/core/agents/offSecAgent/tools/index.js +9 -5
- package/build/lib/core/agents/offSecAgent/tools/reportError.d.ts +2 -1
- package/build/lib/core/agents/offSecAgent/tools/runPentestWorkflow.d.ts +20 -1
- package/build/lib/core/agents/offSecAgent/tools/spawnPentestAgent.d.ts +4 -7
- package/build/lib/core/agents/offSecAgent/tools/spawnPentestSwarm.d.ts +7 -1
- package/build/lib/core/agents/offSecAgent/tools/types.d.ts +4 -2
- package/build/lib/core/agents/offSecAgent/tools/whiteboxCandidates.d.ts +2 -2
- package/build/lib/core/agents/offSecAgent/types.d.ts +14 -1
- package/build/lib/core/agents/specialized/attackSurface/blackboxAgent.js +12 -12
- package/build/lib/core/agents/specialized/attackSurface/schemas.js +11 -11
- package/build/lib/core/agents/specialized/authenticationAgent/index.js +13 -13
- package/build/lib/core/agents/specialized/codeAgent/agent.js +12 -12
- package/build/lib/core/agents/specialized/codeAgent/prompts.d.ts +1 -0
- package/build/lib/core/agents/specialized/findingJudge/agent.js +10 -10
- package/build/lib/core/agents/specialized/findingJudge/index.d.ts +1 -1
- package/build/lib/core/agents/specialized/findingJudge/index.js +3 -3
- package/build/lib/core/agents/specialized/patching/index.js +13 -13
- package/build/lib/core/agents/specialized/pentest/agent.d.ts +18 -4
- package/build/lib/core/agents/specialized/pentest/agent.js +14 -12
- package/build/lib/core/agents/specialized/whiteboxAttackSurface/index.js +12 -12
- package/build/lib/core/ai/ai.d.ts +1 -0
- package/build/lib/core/ai/ai.js +2 -2
- package/build/lib/core/ai/index.js +2 -2
- package/build/lib/core/ai/models/concentrate.d.ts +1 -0
- package/build/lib/core/ai/providers/concentrate.d.ts +1 -0
- package/build/lib/core/ai/utils.js +2 -2
- package/build/lib/core/api/index.d.ts +3 -0
- package/build/lib/core/api/index.js +25 -22
- package/build/lib/core/api/targetedPentest.d.ts +1 -0
- package/build/lib/core/api/targetedPentest.js +13 -13
- package/build/lib/core/config/config.d.ts +3 -0
- package/build/lib/core/config/index.js +1 -1
- package/build/lib/core/eventBus.js +1 -1
- package/build/lib/core/findings/registry.js +3 -3
- package/build/lib/core/session/index.d.ts +12 -0
- package/build/lib/core/session/index.js +2 -2
- package/build/lib/core/session/persistence.d.ts +7 -0
- package/build/lib/core/session/persistence.js +7 -3
- package/build/lib/core/tools/backends/index.js +1 -1
- package/build/lib/core/tools/backends/resolve.d.ts +1 -0
- package/build/lib/core/workflows/fastStrike.d.ts +3 -1
- package/build/lib/core/workflows/pentest.d.ts +8 -1
- package/build/lib/core/workflows/pentest.js +18 -18
- package/build/lib/core/workflows/seams.js +4 -4
- package/build/lib/core/workflows/whiteboxAttackSurface.js +14 -14
- package/build/lib/index.js +24 -24
- package/build/{logs-mvrvrkfa.js → logs-6nb7m4vw.js} +13 -13
- package/build/{native-rollout-evidence-h2za8fyf.js → native-rollout-evidence-ydak98sd.js} +3 -3
- package/build/{offesecAgent-r4hz607z.js → offesecAgent-zbmmy8g0.js} +4 -4
- package/build/pentest-65jff81b.js +22 -0
- package/build/{pentests-yvt9wvxd.js → pentests-kkz46fs0.js} +13 -13
- package/build/recordedRunClient-647rnnet.js +11 -0
- package/build/{targetedPentest-6aeg3nxd.js → targetedPentest-3cz4q1f8.js} +18 -11
- package/build/{targets-a38xnsgm.js → targets-ry3zsbxp.js} +13 -13
- package/build/threatModel-y60sp2kr.js +21 -0
- package/build/{uninstall-kt485ay4.js → uninstall-34wqhj3r.js} +1 -1
- package/build/{upload-ahw3are7.js → upload-da6k0r99.js} +4 -4
- package/build/{utils-yqdepzr3.js → utils-19f5wsay.js} +3 -3
- package/package.json +1 -1
- package/src/cli.ts +48 -14
- package/src/core/agents/agentRuntime.test.ts +42 -0
- package/src/core/agents/agentRuntime.ts +7 -2
- package/src/core/agents/defineAgent.ts +3 -1
- package/src/core/agents/offSecAgent/index.ts +3 -0
- package/src/core/agents/offSecAgent/interruptedStepFinalization.test.ts +51 -0
- package/src/core/agents/offSecAgent/offensiveSecurityAgent.ts +27 -3
- package/src/core/agents/offSecAgent/prompt.test.ts +46 -0
- package/src/core/agents/offSecAgent/prompt.ts +52 -8
- package/src/core/agents/offSecAgent/selectiveConstruction.publicPath.test.ts +38 -0
- package/src/core/agents/offSecAgent/selectiveConstruction.test.ts +64 -0
- package/src/core/agents/offSecAgent/subagentSpawner.hooks.test.ts +11 -3
- package/src/core/agents/offSecAgent/subagentSpawner.ts +69 -1
- package/src/core/agents/offSecAgent/toolExecutionContext.test.ts +230 -0
- package/src/core/agents/offSecAgent/toolExecutionContext.ts +56 -0
- package/src/core/agents/offSecAgent/toolLifecycle.ts +2 -0
- package/src/core/agents/offSecAgent/tools/delegateAuth.ts +2 -0
- package/src/core/agents/offSecAgent/tools/documentFinding.test.ts +9 -4
- package/src/core/agents/offSecAgent/tools/documentFinding.ts +7 -4
- package/src/core/agents/offSecAgent/tools/reportError.test.ts +6 -0
- package/src/core/agents/offSecAgent/tools/reportError.ts +10 -2
- package/src/core/agents/offSecAgent/tools/runAttackSurface.ts +4 -0
- package/src/core/agents/offSecAgent/tools/runPentestWorkflow.test.ts +57 -0
- package/src/core/agents/offSecAgent/tools/runPentestWorkflow.ts +20 -1
- package/src/core/agents/offSecAgent/tools/runWhiteboxScan.ts +5 -2
- package/src/core/agents/offSecAgent/tools/spawnCodingAgent.ts +48 -62
- package/src/core/agents/offSecAgent/tools/spawnPentestAgent.test.ts +72 -2
- package/src/core/agents/offSecAgent/tools/spawnPentestAgent.ts +33 -11
- package/src/core/agents/offSecAgent/tools/spawnPentestSwarm.ts +26 -5
- package/src/core/agents/offSecAgent/tools/threatModelGenerator.ts +2 -0
- package/src/core/agents/offSecAgent/tools/types.ts +10 -2
- package/src/core/agents/offSecAgent/tools/updateTask.ts +5 -1
- package/src/core/agents/offSecAgent/tools/whiteboxCandidates.ts +11 -4
- package/src/core/agents/offSecAgent/types.ts +17 -0
- package/src/core/agents/specialized/codeAgent/agent.test.ts +7 -0
- package/src/core/agents/specialized/codeAgent/agent.ts +9 -2
- package/src/core/agents/specialized/codeAgent/prompts.ts +6 -0
- package/src/core/agents/specialized/findingJudge/index.ts +2 -0
- package/src/core/agents/specialized/pentest/agent.test.ts +155 -0
- package/src/core/agents/specialized/pentest/agent.ts +181 -52
- package/src/core/agents/specialized/pentest/results.test.ts +59 -4
- package/src/core/agents/specialized/whiteboxAttackSurface/endpointDocumentationAgent.concurrency.test.ts +59 -2
- package/src/core/agents/specialized/whiteboxAttackSurface/endpointDocumentationAgent.hooks.test.ts +127 -0
- package/src/core/agents/specialized/whiteboxAttackSurface/endpointDocumentationAgent.ts +70 -68
- package/src/core/ai/ai.durability-hooks.test.ts +25 -7
- package/src/core/ai/ai.ts +102 -6
- package/src/core/ai/models/concentrate.ts +52 -0
- package/src/core/ai/models/index.ts +21 -3
- package/src/core/ai/models/models.test.ts +131 -0
- package/src/core/ai/models/openrouter.ts +37 -1
- package/src/core/ai/providers/concentrate.test.ts +31 -0
- package/src/core/ai/providers/concentrate.ts +11 -0
- package/src/core/ai/streamIdleTimeout.test.ts +21 -0
- package/src/core/api/blackboxPentest.ts +9 -1
- package/src/core/api/index.ts +9 -0
- package/src/core/api/targetedPentest.ts +19 -5
- package/src/core/config/config.test.ts +35 -0
- package/src/core/config/config.ts +5 -0
- package/src/core/eventBus.ts +1 -0
- package/src/core/runtime/sqliteRunObservation.test.ts +1 -1
- package/src/core/session/index.ts +5 -0
- package/src/core/session/persistence.test.ts +62 -0
- package/src/core/session/persistence.ts +56 -0
- package/src/core/tools/backends/resolve.ts +7 -0
- package/src/core/tools/backends/whiteboxJobs.test.ts +9 -8
- package/src/core/workflows/fastStrike.seams.test.ts +149 -0
- package/src/core/workflows/fastStrike.test.ts +18 -1
- package/src/core/workflows/fastStrike.ts +103 -11
- package/src/core/workflows/pentest.test.ts +104 -0
- package/src/core/workflows/pentest.ts +110 -7
- package/src/core/workflows/seams.test.ts +13 -0
- package/src/core/workflows/seams.ts +5 -1
- package/src/core/workflows/whiteboxAttackSurface.test.ts +34 -2
- package/src/core/workflows/whiteboxAttackSurface.ts +83 -69
- package/src/tui/components/commands/__tests__/advanced-settings-lifecycle.tsx +176 -0
- package/src/tui/components/commands/advanced-settings.test.ts +28 -0
- package/src/tui/components/commands/advanced-settings.tsx +237 -19
- package/src/tui/components/operator-dashboard/index.tsx +46 -9
- package/src/tui/components/operator-dashboard/logic.test.ts +106 -0
- package/src/tui/components/operator-dashboard/logic.ts +42 -2
- package/src/tui/context/route.tsx +1 -0
- package/src/tui/keybindings/registry.ts +2 -0
- package/build/agent-davhjnxc.js +0 -13
- package/build/agent-mqqd38dq.js +0 -13
- package/build/pentest-52s2dn28.js +0 -22
- package/build/recordedRunClient-6z78az3b.js +0 -11
- package/build/threatModel-1gsb7ytk.js +0 -21
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import {
|
|
2
|
+
runAuthenticationAgent2
|
|
3
|
+
} from "./cli-rx9g88ws.js";
|
|
4
|
+
import"./cli-3cw5r290.js";
|
|
5
|
+
import"./cli-qba2x69h.js";
|
|
6
|
+
import"./cli-ae6crt8f.js";
|
|
7
|
+
import"./cli-hsk2jkfx.js";
|
|
8
|
+
import"./cli-w14rjr2a.js";
|
|
9
|
+
import"./cli-c2k4xxaw.js";
|
|
10
|
+
import"./cli-e4a4h158.js";
|
|
11
|
+
export {
|
|
12
|
+
runAuthenticationAgent2 as runAuthenticationAgent
|
|
13
|
+
};
|
|
@@ -1,15 +1,15 @@
|
|
|
1
|
-
import"./cli-
|
|
2
|
-
import"./cli-
|
|
3
|
-
import"./cli-
|
|
1
|
+
import"./cli-ae6crt8f.js";
|
|
2
|
+
import"./cli-e4a4h158.js";
|
|
3
|
+
import"./cli-w14rjr2a.js";
|
|
4
4
|
import {
|
|
5
5
|
AgentRuntime,
|
|
6
6
|
defineAgent
|
|
7
|
-
} from "./cli-
|
|
7
|
+
} from "./cli-3cw5r290.js";
|
|
8
8
|
import"./cli-qba2x69h.js";
|
|
9
9
|
import {
|
|
10
10
|
stepCountIs2,
|
|
11
11
|
init_dist
|
|
12
|
-
} from "./cli-
|
|
12
|
+
} from "./cli-hsk2jkfx.js";
|
|
13
13
|
import"./cli-c2k4xxaw.js";
|
|
14
14
|
import {
|
|
15
15
|
init_zod
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import {
|
|
2
|
+
CodeAgent2
|
|
3
|
+
} from "./cli-m2wpnmhx.js";
|
|
4
|
+
import"./cli-3cw5r290.js";
|
|
5
|
+
import"./cli-qba2x69h.js";
|
|
6
|
+
import"./cli-ae6crt8f.js";
|
|
7
|
+
import"./cli-hsk2jkfx.js";
|
|
8
|
+
import"./cli-w14rjr2a.js";
|
|
9
|
+
import"./cli-c2k4xxaw.js";
|
|
10
|
+
import"./cli-e4a4h158.js";
|
|
11
|
+
export {
|
|
12
|
+
CodeAgent2 as CodeAgent
|
|
13
|
+
};
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
import {
|
|
2
2
|
TargetedPentestAgent2,
|
|
3
3
|
buildPentestSystemPrompt2
|
|
4
|
-
} from "./cli-
|
|
5
|
-
import"./cli-
|
|
4
|
+
} from "./cli-hpbpzy5k.js";
|
|
5
|
+
import"./cli-3cw5r290.js";
|
|
6
6
|
import"./cli-qba2x69h.js";
|
|
7
|
-
import"./cli-
|
|
8
|
-
import"./cli-
|
|
9
|
-
import"./cli-
|
|
7
|
+
import"./cli-ae6crt8f.js";
|
|
8
|
+
import"./cli-hsk2jkfx.js";
|
|
9
|
+
import"./cli-w14rjr2a.js";
|
|
10
10
|
import"./cli-c2k4xxaw.js";
|
|
11
|
-
import"./cli-
|
|
11
|
+
import"./cli-e4a4h158.js";
|
|
12
12
|
export {
|
|
13
13
|
TargetedPentestAgent2 as TargetedPentestAgent,
|
|
14
14
|
buildPentestSystemPrompt2 as buildPentestSystemPrompt
|
|
@@ -1,8 +1,11 @@
|
|
|
1
1
|
import {
|
|
2
2
|
config2,
|
|
3
3
|
init_config
|
|
4
|
-
} from "./cli-
|
|
5
|
-
import"./cli-
|
|
4
|
+
} from "./cli-e4a4h158.js";
|
|
5
|
+
import"./cli-w14rjr2a.js";
|
|
6
|
+
import {
|
|
7
|
+
AgentEventBus
|
|
8
|
+
} from "./cli-ae6crt8f.js";
|
|
6
9
|
import {
|
|
7
10
|
inspectSessionEvidence2,
|
|
8
11
|
RecordedRunSpecSchema,
|
|
@@ -13,28 +16,25 @@ import {
|
|
|
13
16
|
runRecordedAgent2,
|
|
14
17
|
RunRecoveryBlockedError2,
|
|
15
18
|
resumeRecordedAgent2
|
|
16
|
-
} from "./cli-
|
|
17
|
-
import
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
import"./cli-
|
|
21
|
-
import"./cli-
|
|
22
|
-
import"./cli-
|
|
23
|
-
import"./cli-
|
|
24
|
-
import"./cli-t3m0e9t2.js";
|
|
25
|
-
import"./cli-metec8r8.js";
|
|
26
|
-
import"./cli-ge8q6nxr.js";
|
|
19
|
+
} from "./cli-d47vhcxp.js";
|
|
20
|
+
import"./cli-w3mk93a4.js";
|
|
21
|
+
import"./cli-m2wpnmhx.js";
|
|
22
|
+
import"./cli-72p3tb5s.js";
|
|
23
|
+
import"./cli-05arm5mj.js";
|
|
24
|
+
import"./cli-rx9g88ws.js";
|
|
25
|
+
import"./cli-hpbpzy5k.js";
|
|
26
|
+
import"./cli-nm0nqnn7.js";
|
|
27
27
|
import"./cli-xcy2vxj2.js";
|
|
28
28
|
import {
|
|
29
29
|
resolveWorkerExecutable,
|
|
30
30
|
launchLocalWorker
|
|
31
|
-
} from "./cli-
|
|
32
|
-
import"./cli-
|
|
31
|
+
} from "./cli-sfpjmf8c.js";
|
|
32
|
+
import"./cli-3cw5r290.js";
|
|
33
33
|
import"./cli-qba2x69h.js";
|
|
34
34
|
import {
|
|
35
35
|
buildAuthConfig,
|
|
36
36
|
init_ai
|
|
37
|
-
} from "./cli-
|
|
37
|
+
} from "./cli-hsk2jkfx.js";
|
|
38
38
|
import"./cli-c2k4xxaw.js";
|
|
39
39
|
|
|
40
40
|
// src/cli/agent-runs.ts
|
|
@@ -115,7 +115,7 @@ async function runAgentRunsCommand(args) {
|
|
|
115
115
|
if (!isAbsolute(values.store)) {
|
|
116
116
|
throw new Error("agent-runs worker requires --store <absolute database>");
|
|
117
117
|
}
|
|
118
|
-
const { serveLocalRunWorker } = await import("./index-
|
|
118
|
+
const { serveLocalRunWorker } = await import("./index-pbftr2x4.js");
|
|
119
119
|
await serveLocalRunWorker({
|
|
120
120
|
runId: values.run,
|
|
121
121
|
databasePath: resolve(values.store)
|
|
@@ -129,7 +129,7 @@ async function runAgentRunsCommand(args) {
|
|
|
129
129
|
${HELP}`);
|
|
130
130
|
}
|
|
131
131
|
if (command === "attach") {
|
|
132
|
-
const { openRecordedRunClient } = await import("./recordedRunClient-
|
|
132
|
+
const { openRecordedRunClient } = await import("./recordedRunClient-647rnnet.js");
|
|
133
133
|
const client = await openRecordedRunClient(values.store);
|
|
134
134
|
const controller = new AbortController;
|
|
135
135
|
const detach = () => controller.abort();
|
|
@@ -1,7 +1,4 @@
|
|
|
1
1
|
#!/usr/bin/env bun
|
|
2
|
-
import"./cli-0ry9v2cb.js";
|
|
3
|
-
import"./cli-0cwdrrq7.js";
|
|
4
|
-
import"./cli-4mar7kvr.js";
|
|
5
2
|
import {
|
|
6
3
|
ENDPOINT_TRANSPORTS2,
|
|
7
4
|
listApps2,
|
|
@@ -18,21 +15,24 @@ import {
|
|
|
18
15
|
searchEndpoints2,
|
|
19
16
|
listDomains2,
|
|
20
17
|
createDomain2
|
|
21
|
-
} from "./cli-
|
|
22
|
-
import"./cli-
|
|
23
|
-
import"./cli-
|
|
24
|
-
import"./cli-
|
|
25
|
-
import"./cli-
|
|
26
|
-
import"./cli-
|
|
27
|
-
import"./cli-
|
|
28
|
-
import"./cli-
|
|
18
|
+
} from "./cli-ae6crt8f.js";
|
|
19
|
+
import"./cli-e4a4h158.js";
|
|
20
|
+
import"./cli-w14rjr2a.js";
|
|
21
|
+
import"./cli-d47vhcxp.js";
|
|
22
|
+
import"./cli-w3mk93a4.js";
|
|
23
|
+
import"./cli-m2wpnmhx.js";
|
|
24
|
+
import"./cli-72p3tb5s.js";
|
|
25
|
+
import"./cli-05arm5mj.js";
|
|
26
|
+
import"./cli-rx9g88ws.js";
|
|
27
|
+
import"./cli-hpbpzy5k.js";
|
|
28
|
+
import"./cli-nm0nqnn7.js";
|
|
29
29
|
import"./cli-xcy2vxj2.js";
|
|
30
30
|
import {
|
|
31
31
|
markCommandFailed
|
|
32
32
|
} from "./cli-z82n3qk1.js";
|
|
33
|
-
import"./cli-
|
|
33
|
+
import"./cli-3cw5r290.js";
|
|
34
34
|
import"./cli-qba2x69h.js";
|
|
35
|
-
import"./cli-
|
|
35
|
+
import"./cli-hsk2jkfx.js";
|
|
36
36
|
import"./cli-c2k4xxaw.js";
|
|
37
37
|
|
|
38
38
|
// src/cli/apps.ts
|
|
@@ -1,8 +1,9 @@
|
|
|
1
1
|
#!/usr/bin/env bun
|
|
2
|
+
import"./cli-ae6crt8f.js";
|
|
2
3
|
import {
|
|
3
4
|
config2,
|
|
4
5
|
init_config
|
|
5
|
-
} from "./cli-
|
|
6
|
+
} from "./cli-e4a4h158.js";
|
|
6
7
|
import {
|
|
7
8
|
getPensarApiUrl2,
|
|
8
9
|
getPensarConsoleUrl2,
|
|
@@ -18,23 +19,22 @@ import {
|
|
|
18
19
|
createWorkspaceSelection2,
|
|
19
20
|
pollWorkspaceSelection2,
|
|
20
21
|
init_auth
|
|
21
|
-
} from "./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-ge8q6nxr.js";
|
|
22
|
+
} from "./cli-w14rjr2a.js";
|
|
23
|
+
import"./cli-d47vhcxp.js";
|
|
24
|
+
import"./cli-w3mk93a4.js";
|
|
25
|
+
import"./cli-m2wpnmhx.js";
|
|
26
|
+
import"./cli-72p3tb5s.js";
|
|
27
|
+
import"./cli-05arm5mj.js";
|
|
28
|
+
import"./cli-rx9g88ws.js";
|
|
29
|
+
import"./cli-hpbpzy5k.js";
|
|
30
|
+
import"./cli-nm0nqnn7.js";
|
|
31
31
|
import"./cli-xcy2vxj2.js";
|
|
32
32
|
import {
|
|
33
33
|
markCommandFailed
|
|
34
34
|
} from "./cli-z82n3qk1.js";
|
|
35
|
-
import"./cli-
|
|
35
|
+
import"./cli-3cw5r290.js";
|
|
36
36
|
import"./cli-qba2x69h.js";
|
|
37
|
-
import"./cli-
|
|
37
|
+
import"./cli-hsk2jkfx.js";
|
|
38
38
|
import"./cli-c2k4xxaw.js";
|
|
39
39
|
import {
|
|
40
40
|
__require
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import {
|
|
2
2
|
BlackboxAttackSurfaceAgent2
|
|
3
|
-
} from "./cli-
|
|
4
|
-
import"./cli-
|
|
3
|
+
} from "./cli-w3mk93a4.js";
|
|
4
|
+
import"./cli-3cw5r290.js";
|
|
5
5
|
import"./cli-qba2x69h.js";
|
|
6
|
-
import"./cli-
|
|
7
|
-
import"./cli-
|
|
8
|
-
import"./cli-
|
|
6
|
+
import"./cli-ae6crt8f.js";
|
|
7
|
+
import"./cli-hsk2jkfx.js";
|
|
8
|
+
import"./cli-w14rjr2a.js";
|
|
9
9
|
import"./cli-c2k4xxaw.js";
|
|
10
|
-
import"./cli-
|
|
10
|
+
import"./cli-e4a4h158.js";
|
|
11
11
|
export {
|
|
12
12
|
BlackboxAttackSurfaceAgent2 as BlackboxAttackSurfaceAgent
|
|
13
13
|
};
|
|
@@ -1,26 +1,26 @@
|
|
|
1
|
-
import"./cli-
|
|
2
|
-
import"./cli-
|
|
3
|
-
import"./cli-
|
|
4
|
-
import"./cli-
|
|
5
|
-
import"./cli-
|
|
6
|
-
import"./cli-
|
|
1
|
+
import"./cli-e4a4h158.js";
|
|
2
|
+
import"./cli-w14rjr2a.js";
|
|
3
|
+
import"./cli-ae6crt8f.js";
|
|
4
|
+
import"./cli-w3mk93a4.js";
|
|
5
|
+
import"./cli-hpbpzy5k.js";
|
|
6
|
+
import"./cli-nm0nqnn7.js";
|
|
7
7
|
import {
|
|
8
8
|
readExecutionMetrics,
|
|
9
9
|
writeExecutionMetrics,
|
|
10
10
|
runPentestWorkflow2
|
|
11
|
-
} from "./cli-
|
|
12
|
-
import"./cli-
|
|
13
|
-
import"./cli-
|
|
11
|
+
} from "./cli-05arm5mj.js";
|
|
12
|
+
import"./cli-m2wpnmhx.js";
|
|
13
|
+
import"./cli-72p3tb5s.js";
|
|
14
14
|
import {
|
|
15
15
|
EMPTY_SESSION_TOKEN_USAGE,
|
|
16
16
|
accumulateSessionTokens
|
|
17
17
|
} from "./cli-ag6jtndp.js";
|
|
18
|
-
import"./cli-
|
|
18
|
+
import"./cli-3cw5r290.js";
|
|
19
19
|
import"./cli-qba2x69h.js";
|
|
20
20
|
import {
|
|
21
21
|
init_ai,
|
|
22
22
|
normalizeStepUsage
|
|
23
|
-
} from "./cli-
|
|
23
|
+
} from "./cli-hsk2jkfx.js";
|
|
24
24
|
import"./cli-c2k4xxaw.js";
|
|
25
25
|
|
|
26
26
|
// src/core/api/blackboxPentest.ts
|
|
@@ -45,7 +45,12 @@ async function runPentestAgent(input) {
|
|
|
45
45
|
tokenUsage
|
|
46
46
|
});
|
|
47
47
|
}
|
|
48
|
-
const { findings, findingsPath, pocsPath, reportPath } = result;
|
|
48
|
+
const { findings, findingsPath, pocsPath, reportPath, reportedFindings } = result;
|
|
49
|
+
if ((input.hooks?.findingPolicy ?? input.findingPolicy) === "external") {
|
|
50
|
+
console.log(`
|
|
51
|
+
Reported ${reportedFindings?.length ?? 0} finding(s) for external evaluation`);
|
|
52
|
+
return result;
|
|
53
|
+
}
|
|
49
54
|
console.log(`
|
|
50
55
|
Found ${findings.length} vulnerabilities`);
|
|
51
56
|
console.log(`Findings: ${findingsPath}`);
|