@pensar/apex 2.7.0-canary.e18bef4d → 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/README.md +13 -0
- package/build/agent-e3p8n3fz.js +14 -0
- package/build/agent-g762vc3w.js +14 -0
- package/build/{agent-pdaya70z.js → agent-p698rv0j.js} +6 -6
- package/build/{agent-runs-f0fpf651.js → agent-runs-wcx5w6ga.js} +20 -20
- package/build/{agent-y7w88qe9.js → agent-xgbw8eet.js} +7 -7
- package/build/{apps-6hstfsy5.js → apps-fkaa63g6.js} +17 -17
- package/build/{auth-sdg0sqa0.js → auth-1h2kmby7.js} +17 -17
- package/build/blackboxAgent-jgaa05jj.js +14 -0
- package/build/{blackboxPentest-1850fx09.js → blackboxPentest-5td70wbq.js} +12 -12
- package/build/{cli-se8ae8z3.js → cli-0rhfexax.js} +3 -3
- package/build/{cli-c29xr0h0.js → cli-1347c15k.js} +2 -2
- package/build/{cli-9dka0an3.js → cli-2j897vp5.js} +2 -2
- package/build/{cli-ssstde7z.js → cli-2rbp66hx.js} +1 -1
- package/build/{cli-gt29d4q6.js → cli-2xnkxcyw.js} +10 -10
- package/build/cli-4fkaes4s.js +1199 -0
- package/build/{cli-k46jmzbs.js → cli-6xxpgt4r.js} +3 -1
- package/build/{cli-gsaf4jk3.js → cli-7898kznf.js} +2 -2
- package/build/{cli-qp8413xr.js → cli-87b8h02f.js} +24 -13
- package/build/{cli-fnth71q3.js → cli-a5x7ymqf.js} +2 -2
- package/build/{cli-1h046yxp.js → cli-aa3p4z50.js} +1 -1
- package/build/{cli-xcy2vxj2.js → cli-ak23knae.js} +1 -1
- package/build/{cli-vfkmdrkb.js → cli-f6wz0zvf.js} +5 -4
- package/build/{cli-3gt761d2.js → cli-j0wfj2kw.js} +6 -0
- package/build/{cli-67d2744b.js → cli-kts4kmyb.js} +13 -49
- package/build/{cli-739g9qgd.js → cli-mhnh5tpj.js} +388 -260
- package/build/{cli-1qyejhv5.js → cli-n8jbhkbn.js} +2 -2
- package/build/{cli-rv2d03xr.js → cli-r6ymr25w.js} +1 -1
- package/build/{cli-7xf5h4pb.js → cli-rne34jcb.js} +14 -8
- package/build/{cli-4h9d98y6.js → cli-rrf2bbmc.js} +1 -1
- package/build/{cli-y1z3vemx.js → cli-tfwjdxw6.js} +1 -1
- package/build/{cli-z85qmtjd.js → cli-tznzhj3x.js} +4358 -982
- package/build/{cli-qmt07txj.js → cli-v2zcnka1.js} +4 -4
- package/build/{cli-zs7rp1f6.js → cli-xsd5fkcj.js} +4 -4
- package/build/{cli-gy5stwkg.js → cli-yb35qfa6.js} +5 -1
- package/build/{cli-pwm29ks7.js → cli-ychebg4z.js} +16 -16
- package/build/{cli-tmr100n4.js → cli-yxptkzey.js} +1 -1
- package/build/cli.js +47 -42
- package/build/{config-kgz8rzkt.js → config-rbfmew91.js} +4 -4
- package/build/{doctor-z94afr10.js → doctor-srja68wr.js} +1 -0
- package/build/emscripten-module-kzkvkeqz.js +503 -0
- package/build/{export-trajectory-rt4tf07k.js → export-trajectory-ex317s0n.js} +1 -1
- package/build/{fastStrike-65d7njyn.js → fastStrike-d1yht29e.js} +6 -6
- package/build/ffi-pf145jhd.js +78 -0
- package/build/{fixes-xmq89hve.js → fixes-tmcwbrg8.js} +17 -17
- package/build/{index-27xpg3k0.js → index-7gattgz9.js} +65 -26
- package/build/{index-1z234ygf.js → index-818z4npc.js} +7 -7
- package/build/{index-qnyevb6q.js → index-ffe5c30s.js} +13 -13
- package/build/{index-hx133hms.js → index-k4bnn2re.js} +5 -4
- package/build/{index-cxa5jxva.js → index-swhgmnqa.js} +5 -5
- package/build/{index-t0p01qg4.js → index-t3jtd6ne.js} +9 -9
- package/build/{index-pvm55x85.js → index-tdq9kj0b.js} +1 -1
- package/build/{index-wh328kzg.js → index-vx22a5ef.js} +1 -1
- package/build/{index-js3zc3cb.js → index-yzhh9mb6.js} +2 -2
- package/build/{index-m6graaat.js → index-z09jjanp.js} +21 -17
- package/build/{issues-rscc7pny.js → issues-db528426.js} +52 -25
- package/build/{knowledge-5vd451za.js → knowledge-k4qf6w11.js} +17 -17
- package/build/{lance-s26xde23.js → lance-wcwrt87x.js} +8 -8
- package/build/lib/{chunk-j0qn7hzk.js → chunk-1qsv82r0.js} +2 -2
- package/build/lib/{chunk-66hd85x8.js → chunk-1z5ttpb0.js} +1 -1
- package/build/lib/{chunk-1gb8gefz.js → chunk-3q8d8811.js} +193 -343
- package/build/lib/{chunk-5avnedwm.js → chunk-50ng0zvs.js} +589 -97
- package/build/lib/{chunk-5gk78665.js → chunk-603s6gag.js} +1 -1
- package/build/lib/{chunk-3mgmff3q.js → chunk-7t5k4hmm.js} +1126 -51
- package/build/lib/{chunk-wtz8qt8q.js → chunk-7xg8zd1v.js} +137 -119
- package/build/lib/{chunk-a3edjxz9.js → chunk-8hngr849.js} +11 -11
- package/build/lib/{chunk-nctbsa6r.js → chunk-9cte0sr4.js} +5 -1
- package/build/lib/{chunk-h9h4t4gc.js → chunk-b20s6ecz.js} +10 -9
- package/build/lib/{chunk-4x6t39xs.js → chunk-b4r6csex.js} +6 -6
- package/build/lib/{chunk-6q0xnkda.js → chunk-fa69qaq7.js} +9 -3
- package/build/lib/{chunk-jjqcnbz9.js → chunk-frxagdwt.js} +11 -10
- package/build/lib/{chunk-6j0mc5qw.js → chunk-hvxxsakn.js} +4 -1
- package/build/lib/chunk-jkvwzeg0.js +112 -0
- package/build/lib/{chunk-7jfqqwyq.js → chunk-nskmtc1m.js} +5 -5
- package/build/lib/{chunk-5wqbq9hw.js → chunk-pcdte53v.js} +1 -1
- package/build/lib/{chunk-rsv4feh8.js → chunk-pk7q139v.js} +1 -1
- package/build/lib/{chunk-2q39y7g0.js → chunk-pw5vyxem.js} +1 -1
- package/build/lib/{chunk-cmb702kp.js → chunk-q8v9ka3b.js} +2 -1
- package/build/lib/{chunk-j84kpwgp.js → chunk-sgrgawaj.js} +2 -2
- package/build/lib/{chunk-12qns4xq.js → chunk-sjbg1ct7.js} +1 -1
- package/build/lib/{chunk-mdfneahm.js → chunk-x4ne9yqw.js} +33 -18
- package/build/lib/{chunk-pzv4df99.js → chunk-yntsa8ge.js} +1 -1
- package/build/lib/{chunk-2yv9vekb.js → chunk-zdes6k6c.js} +1 -1
- package/build/lib/{chunk-kcq1qb6n.js → chunk-ze33c0ky.js} +12 -48
- package/build/lib/core/agents/agentRuntime.d.ts +4 -0
- package/build/lib/core/agents/offSecAgent/index.js +11 -10
- package/build/lib/core/agents/offSecAgent/offensiveSecurityAgent.d.ts +1 -0
- package/build/lib/core/agents/offSecAgent/runtimeContext.d.ts +1 -0
- package/build/lib/core/agents/offSecAgent/subagentSpawner.d.ts +1 -0
- package/build/lib/core/agents/offSecAgent/subagentSpawner.js +6 -5
- package/build/lib/core/agents/offSecAgent/tools/browserHeaderRouting.d.ts +2 -0
- package/build/lib/core/agents/offSecAgent/tools/getPage.d.ts +1 -2
- package/build/lib/core/agents/offSecAgent/tools/httpRequest.d.ts +1 -1
- package/build/lib/core/agents/offSecAgent/tools/index.js +10 -9
- package/build/lib/core/agents/offSecAgent/tools/scopeGuard.d.ts +7 -18
- package/build/lib/core/agents/offSecAgent/tools/types.d.ts +2 -1
- package/build/lib/core/agents/offSecAgent/tools/webSearch.d.ts +8 -0
- package/build/lib/core/agents/offSecAgent/types.d.ts +9 -1
- package/build/lib/core/agents/specialized/attackSurface/blackboxAgent.js +11 -10
- package/build/lib/core/agents/specialized/attackSurface/prompts.d.ts +1 -1
- package/build/lib/core/agents/specialized/attackSurface/schemas.js +11 -10
- package/build/lib/core/agents/specialized/authenticationAgent/index.js +12 -11
- package/build/lib/core/agents/specialized/codeAgent/agent.js +11 -10
- package/build/lib/core/agents/specialized/findingJudge/agent.js +10 -9
- package/build/lib/core/agents/specialized/findingJudge/index.d.ts +1 -1
- package/build/lib/core/agents/specialized/findingJudge/index.js +4 -3
- package/build/lib/core/agents/specialized/patching/index.js +12 -11
- package/build/lib/core/agents/specialized/pentest/agent.js +11 -10
- package/build/lib/core/agents/specialized/whiteboxAttackSurface/index.js +11 -10
- package/build/lib/core/ai/ai.d.ts +5 -2
- package/build/lib/core/ai/ai.js +3 -2
- package/build/lib/core/ai/index.d.ts +2 -0
- package/build/lib/core/ai/index.js +6 -3
- package/build/lib/core/ai/modelRuntime.d.ts +10 -0
- package/build/lib/core/ai/models/inference.d.ts +2 -0
- package/build/lib/core/ai/utils.d.ts +2 -0
- package/build/lib/core/ai/utils.js +3 -2
- package/build/lib/core/api/index.d.ts +2 -2
- package/build/lib/core/api/index.js +27 -21
- package/build/lib/core/api/issues.d.ts +125 -16
- package/build/lib/core/api/targetedPentest.js +12 -11
- package/build/lib/core/code-mode/capabilityInvoker.d.ts +53 -0
- package/build/lib/core/code-mode/index.d.ts +3 -0
- package/build/lib/core/code-mode/runtime.d.ts +42 -0
- package/build/lib/core/code-mode/tools.d.ts +16 -0
- package/build/lib/core/config/config.d.ts +2 -0
- package/build/lib/core/config/index.js +1 -1
- package/build/lib/core/findings/registry.js +4 -3
- package/build/lib/core/http/researchFetchToken.d.ts +2 -0
- package/build/lib/core/http/targetHeaders.d.ts +2 -0
- package/build/lib/core/http/targetScope.d.ts +3 -0
- package/build/lib/core/providers/types.d.ts +1 -1
- package/build/lib/core/providers/utils.d.ts +1 -1
- package/build/lib/core/session/index.js +3 -2
- package/build/lib/core/session/persistence.js +4 -3
- package/build/lib/core/tools/backends/index.js +3 -1
- package/build/lib/core/tools/backends/types.d.ts +2 -0
- package/build/lib/core/workflows/pentest.js +17 -16
- package/build/lib/core/workflows/seams.js +5 -4
- package/build/lib/core/workflows/whiteboxAttackSurface.js +13 -12
- package/build/lib/index.js +24 -23
- package/build/{logs-tax0j5es.js → logs-2jw1n2dw.js} +17 -17
- package/build/module-ES6BEMUI-6ewavg9p.js +12 -0
- package/build/{native-rollout-evidence-0820cgjt.js → native-rollout-evidence-mz2r4ar9.js} +4 -4
- package/build/{offesecAgent-78zt4ce1.js → offesecAgent-5wgccj06.js} +6 -6
- package/build/pentest-by42e2mx.js +23 -0
- package/build/{pentests-f1kh0619.js → pentests-p6ttj7rq.js} +17 -17
- package/build/recordedRunClient-0pnft9r7.js +11 -0
- package/build/{subagentSpawner-xzyhb9e5.js → subagentSpawner-h6vwn75n.js} +4 -4
- package/build/{targetedPentest-p94z9n61.js → targetedPentest-07fj1cnc.js} +8 -8
- package/build/{targets-f149r24n.js → targets-eb3yd7wd.js} +17 -17
- package/build/threatModel-zt5j8z1q.js +24 -0
- package/build/{uninstall-7kxqrs32.js → uninstall-tn36x4ev.js} +1 -1
- package/build/{upload-03e2pj1m.js → upload-3jy8xnk0.js} +4 -4
- package/build/{utils-ec43nwzn.js → utils-mxfkmx6j.js} +8 -4
- package/package.json +3 -1
- package/src/cli/agent-runs.test.ts +1 -4
- package/src/cli/issues.test.ts +234 -12
- package/src/cli/issues.ts +49 -9
- package/src/cli.ts +1 -0
- package/src/core/agents/agentRuntime.test.ts +16 -0
- package/src/core/agents/agentRuntime.ts +8 -0
- package/src/core/agents/offSecAgent/offensiveSecurityAgent.codeMode.test.ts +435 -0
- package/src/core/agents/offSecAgent/offensiveSecurityAgent.runtimeContext.test.ts +1 -0
- package/src/core/agents/offSecAgent/offensiveSecurityAgent.test.ts +6 -1
- package/src/core/agents/offSecAgent/offensiveSecurityAgent.ts +94 -8
- package/src/core/agents/offSecAgent/prompt.ts +2 -2
- package/src/core/agents/offSecAgent/recordedTools.test.ts +6 -1
- package/src/core/agents/offSecAgent/runtimeContext.test.ts +19 -0
- package/src/core/agents/offSecAgent/runtimeContext.ts +9 -2
- package/src/core/agents/offSecAgent/selectiveConstruction.publicPath.test.ts +2 -0
- package/src/core/agents/offSecAgent/selectiveConstruction.test.ts +6 -1
- package/src/core/agents/offSecAgent/subagentSpawner.hooks.test.ts +3 -0
- package/src/core/agents/offSecAgent/subagentSpawner.ts +7 -0
- package/src/core/agents/offSecAgent/tools/browserHeaderRouting.redirect.test.ts +141 -0
- package/src/core/agents/offSecAgent/tools/browserHeaderRouting.test.ts +106 -8
- package/src/core/agents/offSecAgent/tools/browserHeaderRouting.ts +56 -16
- package/src/core/agents/offSecAgent/tools/delegateAuth.ts +5 -0
- package/src/core/agents/offSecAgent/tools/documentFinding.ts +1 -0
- package/src/core/agents/offSecAgent/tools/executeCommand.test.ts +2 -1
- package/src/core/agents/offSecAgent/tools/getPage.test.ts +120 -0
- package/src/core/agents/offSecAgent/tools/getPage.ts +24 -19
- package/src/core/agents/offSecAgent/tools/httpBackends.test.ts +18 -25
- package/src/core/agents/offSecAgent/tools/httpRequest.body.test.ts +214 -0
- package/src/core/agents/offSecAgent/tools/httpRequest.test.ts +54 -0
- package/src/core/agents/offSecAgent/tools/httpRequest.ts +20 -11
- package/src/core/agents/offSecAgent/tools/playwrightMcp.test.ts +5 -0
- package/src/core/agents/offSecAgent/tools/playwrightMcp.ts +5 -2
- package/src/core/agents/offSecAgent/tools/runAttackSurface.ts +2 -0
- package/src/core/agents/offSecAgent/tools/runPentestWorkflow.ts +1 -0
- package/src/core/agents/offSecAgent/tools/sandboxPlaywright.test.ts +47 -0
- package/src/core/agents/offSecAgent/tools/sandboxPlaywright.ts +65 -2
- package/src/core/agents/offSecAgent/tools/scopeGuard.test.ts +121 -52
- package/src/core/agents/offSecAgent/tools/scopeGuard.ts +50 -30
- package/src/core/agents/offSecAgent/tools/spawnCodingAgent.ts +1 -0
- package/src/core/agents/offSecAgent/tools/spawnPentestAgent.test.ts +4 -3
- package/src/core/agents/offSecAgent/tools/spawnPentestAgent.ts +1 -0
- package/src/core/agents/offSecAgent/tools/spawnPentestSwarm.ts +1 -0
- package/src/core/agents/offSecAgent/tools/threatModelGenerator.ts +1 -0
- package/src/core/agents/offSecAgent/tools/types.ts +2 -0
- package/src/core/agents/offSecAgent/tools/webSearch.test.ts +154 -0
- package/src/core/agents/offSecAgent/tools/webSearch.ts +119 -87
- package/src/core/agents/offSecAgent/types.ts +10 -0
- package/src/core/agents/specialized/attackSurface/blackboxAgent.ts +3 -3
- package/src/core/agents/specialized/attackSurface/prompts.ts +9 -45
- package/src/core/agents/specialized/findingJudge/index.ts +2 -0
- package/src/core/agents/specialized/pentest/agent.ts +1 -1
- package/src/core/ai/ai.effective-tools.test.ts +27 -2
- package/src/core/ai/ai.test.ts +34 -6
- package/src/core/ai/ai.ts +22 -2
- package/src/core/ai/compactionTelemetry.test.ts +167 -5
- package/src/core/ai/index.ts +6 -0
- package/src/core/ai/inference.test.ts +292 -0
- package/src/core/ai/modelRuntime.test.ts +58 -0
- package/src/core/ai/modelRuntime.ts +63 -0
- package/src/core/ai/models/concentrate.ts +13 -0
- package/src/core/ai/models/index.ts +10 -7
- package/src/core/ai/models/inference.ts +11 -0
- package/src/core/ai/models/models.test.ts +28 -0
- package/src/core/ai/models/openai.ts +6 -0
- package/src/core/ai/providers/concentrate.ts +1 -0
- package/src/core/ai/providers/openai-models.test.ts +5 -0
- package/src/core/ai/providers/pensarResponsesStream.test.ts +117 -0
- package/src/core/ai/providers/pensarResponsesStream.ts +20 -1
- package/src/core/ai/reasoning.test.ts +4 -0
- package/src/core/ai/reasoning.ts +2 -0
- package/src/core/ai/utils.ts +47 -12
- 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/src/core/api/recordedRun.loop.test.ts +67 -0
- package/src/core/code-mode/capabilityInvoker.test.ts +424 -0
- package/src/core/code-mode/capabilityInvoker.ts +383 -0
- package/src/core/code-mode/index.ts +8 -0
- package/src/core/code-mode/runtime.setup.test.ts +157 -0
- package/src/core/code-mode/runtime.test.ts +664 -0
- package/src/core/code-mode/runtime.ts +700 -0
- package/src/core/code-mode/tools.test.ts +375 -0
- package/src/core/code-mode/tools.ts +281 -0
- package/src/core/config/config.test.ts +7 -0
- package/src/core/config/config.ts +3 -0
- package/src/core/doctor.ts +1 -0
- package/src/core/http/agentNetworkPolicyFixture.test.ts +39 -0
- package/src/core/http/headers.contract.test.ts +100 -2
- package/src/core/http/researchFetchToken.test.ts +50 -0
- package/src/core/http/researchFetchToken.ts +63 -0
- package/src/core/http/targetHeaders.ts +26 -8
- package/src/core/http/targetScope.ts +47 -11
- package/src/core/providers/types.ts +7 -0
- package/src/core/providers/utils.ts +6 -1
- package/src/core/providers/verify.test.ts +54 -0
- package/src/core/providers/verify.ts +28 -0
- package/src/core/runtime/runRecoveryPlan.test.ts +18 -0
- package/src/core/runtime/runRecoveryPlan.ts +5 -0
- package/src/core/runtime/runTools.test.ts +2 -0
- package/src/core/runtime/runTools.ts +4 -1
- package/src/core/runtime/sqliteControlStore.test.ts +21 -0
- package/src/core/runtime/sqliteControlStore.ts +6 -1
- package/src/core/runtime/sqliteRecoveryStore.test.ts +24 -5
- package/src/core/tools/backends/local.test.ts +126 -0
- package/src/core/tools/backends/local.ts +256 -59
- package/src/core/tools/backends/policy.test.ts +36 -1
- package/src/core/tools/backends/policy.ts +9 -4
- package/src/core/tools/backends/types.ts +2 -0
- package/src/test-fixtures/agent-network-policy-v2.json +80 -0
- package/src/tui/components/chat/input-area.tsx +1 -0
- package/src/tui/components/commands/api-key-input.tsx +2 -0
- package/src/tui/components/commands/operator-wizard.tsx +2 -0
- package/src/tui/components/commands/provider-manager.tsx +3 -0
- package/src/tui/components/model-picker/ModelPicker.tsx +1 -0
- package/src/tui/components/model-picker/__tests__/reasoning-control.tsx +41 -14
- package/src/tui/components/model-picker/model-search.test.ts +11 -0
- package/src/tui/components/model-picker/model-search.ts +1 -0
- package/src/tui/components/model-picker/reasoning-control.test.ts +8 -2
- package/build/agent-ks4dc1q5.js +0 -14
- package/build/agent-q6ckrtd2.js +0 -14
- package/build/blackboxAgent-pe5y5hxr.js +0 -14
- package/build/pentest-0s9rgnvr.js +0 -23
- package/build/recordedRunClient-jv7ew35v.js +0 -11
- package/build/threatModel-ktqchbn1.js +0 -24
package/README.md
CHANGED
|
@@ -114,6 +114,19 @@ discovered model in `/models`. Headless commands accept
|
|
|
114
114
|
`--model-provider hoonify --model <catalog-model-id>`. See
|
|
115
115
|
[Hoonify setup](docs/hoonify.md) for model discovery, token budgets, and live checks.
|
|
116
116
|
|
|
117
|
+
### Inference.net
|
|
118
|
+
|
|
119
|
+
Connect **Inference.net** in `/providers` or set `INFERENCE_API_KEY`, then select
|
|
120
|
+
**DeepSeek V4.1 Flash 1017 Cyber** in `/models`. This is the only Inference.net model
|
|
121
|
+
currently available in Apex. Headless commands accept
|
|
122
|
+
`--model inference:deepseek-v4.1-flash-1017-cyber`.
|
|
123
|
+
|
|
124
|
+
Your team needs [approved model access](https://inference.net/model-access/deepseek-v4.1-flash-1017-cyber)
|
|
125
|
+
before inference will succeed; saving a valid API key does not grant model access.
|
|
126
|
+
Apex uses the provider's default reasoning behavior and the
|
|
127
|
+
[catalog](https://api.inference.net/v1/models) limits of 1,040,000 context tokens
|
|
128
|
+
and 393,216 output tokens.
|
|
129
|
+
|
|
117
130
|
### Custom inference endpoints
|
|
118
131
|
|
|
119
132
|
Bring an OpenAI-compatible endpoint and bearer token through `customProviders`
|
|
@@ -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-
|
|
29
|
-
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
|
+
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-
|
|
31
|
-
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
|
+
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-
|
|
33
|
-
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
|
+
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,7 +1,7 @@
|
|
|
1
1
|
import {
|
|
2
2
|
APICallError,
|
|
3
|
-
|
|
4
|
-
} from "./cli-
|
|
3
|
+
init_dist4
|
|
4
|
+
} from "./cli-7898kznf.js";
|
|
5
5
|
import {
|
|
6
6
|
init_zod
|
|
7
7
|
} from "./cli-3qznjsnr.js";
|
|
@@ -2215,7 +2215,7 @@ function withNativeRolloutEvidenceModel(model, defaultContext) {
|
|
|
2215
2215
|
}
|
|
2216
2216
|
var DEFAULT_NATIVE_ROLLOUT_CAPTURE_LIMITS, captureStore, operationStore, sessionStore, RECORDER_ONLY_INPUT;
|
|
2217
2217
|
var init_capture = __esm(() => {
|
|
2218
|
-
|
|
2218
|
+
init_dist4();
|
|
2219
2219
|
init_inference_attempt();
|
|
2220
2220
|
init_content();
|
|
2221
2221
|
init_provider_metadata();
|
|
@@ -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,11 +53,11 @@ 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
|
|
60
|
-
} from "./cli-
|
|
60
|
+
} from "./cli-0rhfexax.js";
|
|
61
61
|
import {
|
|
62
62
|
init_zod
|
|
63
63
|
} from "./cli-3qznjsnr.js";
|
|
@@ -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 {
|