@pensar/apex 2.1.3-canary.8fbf4df4 → 2.1.3-canary.a2e99e97

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.
Files changed (58) hide show
  1. package/build/{agent-2xc8h110.js → agent-4vm9m2ft.js} +10 -8
  2. package/build/agent-rt8h17s3.js +19 -0
  3. package/build/agent-tk933cmw.js +27 -0
  4. package/build/{apps-k1f3qqp4.js → apps-4ydk4b5z.js} +17 -16
  5. package/build/{auth-12kdqfzj.js → auth-9wbcvarq.js} +17 -16
  6. package/build/authentication-vah7w9pm.js +19 -0
  7. package/build/blackboxAgent-sr2bfe3s.js +19 -0
  8. package/build/{blackboxPentest-4mfnh4q4.js → blackboxPentest-52ed5674.js} +15 -14
  9. package/build/{cli-jz8d6pcc.js → cli-192yezw4.js} +38 -20
  10. package/build/{cli-6gvxmjz0.js → cli-2yqc0vnm.js} +1 -1
  11. package/build/{cli-29yqhrjq.js → cli-3k1x5rn3.js} +1 -1
  12. package/build/{cli-5nz8dbg2.js → cli-3x9ygtbv.js} +1 -1
  13. package/build/{cli-ahfgjewh.js → cli-84kpy9q6.js} +48 -18
  14. package/build/{cli-t47pwypw.js → cli-86hen4re.js} +6386 -610
  15. package/build/{cli-1ss38kk9.js → cli-8fx3r1dj.js} +5 -5
  16. package/build/{cli-hzmf5xgq.js → cli-b0jq621d.js} +5 -2
  17. package/build/{cli-kswc2h78.js → cli-f2bq20gj.js} +1 -1
  18. package/build/{cli-rp597hwq.js → cli-gpvaz7xr.js} +4728 -4291
  19. package/build/{cli-32666wac.js → cli-hzw5gtyt.js} +1 -1
  20. package/build/{cli-em393q4v.js → cli-jx3sh6sh.js} +1 -1
  21. package/build/cli-pmf3g5b8.js +195 -0
  22. package/build/{cli-e7vgd0zd.js → cli-r0rzk777.js} +103 -225
  23. package/build/{cli-08h8jy0d.js → cli-rsv7cf68.js} +6 -3
  24. package/build/{cli-6254rzx7.js → cli-t4276f9k.js} +1 -1
  25. package/build/{cli-8qbrq7q4.js → cli-tdgq36q1.js} +2 -2
  26. package/build/{cli-yrtv50qd.js → cli-z43s0k01.js} +6 -4
  27. package/build/cli.js +87 -57
  28. package/build/{config-etrda9jz.js → config-hfjj9ezh.js} +3 -3
  29. package/build/{doctor-5hk7sssh.js → doctor-7kct1dej.js} +7 -7
  30. package/build/fastStrike-1zd4mz1b.js +156 -0
  31. package/build/{fixes-j7c4cnnf.js → fixes-qe5rdb3d.js} +17 -16
  32. package/build/{index-a6t9qjms.js → index-1trvqqeg.js} +3 -3
  33. package/build/{index-b1yrfn72.js → index-3bv2yd2r.js} +10 -10
  34. package/build/{index-p66hh29n.js → index-4vc4m36f.js} +4 -4
  35. package/build/{index-n1yh9e86.js → index-gq9h8j5j.js} +1 -1
  36. package/build/{index-7xgt509v.js → index-q9c8pjd9.js} +7 -7
  37. package/build/{index-dkpyaczc.js → index-t0292j04.js} +2 -2
  38. package/build/{index-zpf189vt.js → index-vx40h3qp.js} +66 -41
  39. package/build/{index-2npx9yyc.js → index-vzzeev14.js} +11 -11
  40. package/build/{issues-7mwpw4k2.js → issues-6d8b9w7f.js} +17 -16
  41. package/build/{logs-0m32gc8g.js → logs-cfbd2jyf.js} +17 -16
  42. package/build/{offesecAgent-dakaw3em.js → offesecAgent-956zqy2c.js} +9 -9
  43. package/build/pentest-5677aybe.js +29 -0
  44. package/build/{pentests-129npjgd.js → pentests-sg9ewjha.js} +17 -16
  45. package/build/targetedPentest-8nnwew21.js +56 -0
  46. package/build/{targets-xjjzxehw.js → targets-es8w9353.js} +17 -16
  47. package/build/threatModel-hb40ht6h.js +27 -0
  48. package/build/{uninstall-et4833t2.js → uninstall-3t8hjepr.js} +1 -1
  49. package/build/{upload-mra1fnsg.js → upload-0te23vjs.js} +7 -7
  50. package/build/{utils-n9jqpcr0.js → utils-cpcmtj0f.js} +6 -6
  51. package/package.json +1 -1
  52. package/build/agent-6n0qsz43.js +0 -19
  53. package/build/agent-71xbavry.js +0 -25
  54. package/build/authentication-vvh0mzr4.js +0 -19
  55. package/build/blackboxAgent-5wvhzcrt.js +0 -19
  56. package/build/pentest-qhg337cs.js +0 -28
  57. package/build/targetedPentest-nj1s50qe.js +0 -36
  58. package/build/threatModel-5bzfqcz0.js +0 -26
@@ -1,23 +1,23 @@
1
1
  import {
2
2
  OffensiveSecurityAgent
3
- } from "./cli-rp597hwq.js";
3
+ } from "./cli-gpvaz7xr.js";
4
4
  import {
5
5
  detectOSAndEnhancePrompt
6
- } from "./cli-em393q4v.js";
6
+ } from "./cli-jx3sh6sh.js";
7
7
  import"./cli-c8131c4q.js";
8
8
  import {
9
9
  init_dist,
10
10
  stepCountIs
11
- } from "./cli-t47pwypw.js";
12
- import"./cli-5nz8dbg2.js";
11
+ } from "./cli-86hen4re.js";
12
+ import"./cli-3x9ygtbv.js";
13
13
  import {
14
14
  exports_external,
15
15
  init_zod
16
- } from "./cli-29yqhrjq.js";
16
+ } from "./cli-3k1x5rn3.js";
17
17
  import"./cli-gpnb45ck.js";
18
- import"./cli-32666wac.js";
19
- import"./cli-6gvxmjz0.js";
20
- import"./cli-kswc2h78.js";
18
+ import"./cli-hzw5gtyt.js";
19
+ import"./cli-2yqc0vnm.js";
20
+ import"./cli-f2bq20gj.js";
21
21
  import"./cli-8rxa073f.js";
22
22
 
23
23
  // src/core/agents/specialized/findingJudge/agent.ts
@@ -207,8 +207,10 @@ class FindingJudgeAgent extends OffensiveSecurityAgent {
207
207
  eventBus: opts.eventBus,
208
208
  sandbox: opts.sandbox,
209
209
  enableThinking: opts.enableThinking,
210
+ thinkingEffort: opts.thinkingEffort,
210
211
  openAIReasoningEffort: opts.openAIReasoningEffort,
211
212
  subagentId: opts.subagentId ?? "finding-judge",
213
+ subagentName: opts.subagentName ?? "Finding Judge",
212
214
  activeTools: [...FINDING_JUDGE_ACTIVE_TOOLS],
213
215
  responseSchema: FindingJudgeOutputSchema,
214
216
  stopWhen: stepCountIs(60)
@@ -0,0 +1,19 @@
1
+ import {
2
+ CodeAgent
3
+ } from "./cli-b0jq621d.js";
4
+ import"./cli-9fsre5pt.js";
5
+ import"./cli-tdgq36q1.js";
6
+ import"./cli-gpvaz7xr.js";
7
+ import"./cli-jx3sh6sh.js";
8
+ import"./cli-c8131c4q.js";
9
+ import"./cli-86hen4re.js";
10
+ import"./cli-3x9ygtbv.js";
11
+ import"./cli-3k1x5rn3.js";
12
+ import"./cli-gpnb45ck.js";
13
+ import"./cli-hzw5gtyt.js";
14
+ import"./cli-2yqc0vnm.js";
15
+ import"./cli-f2bq20gj.js";
16
+ import"./cli-8rxa073f.js";
17
+ export {
18
+ CodeAgent
19
+ };
@@ -0,0 +1,27 @@
1
+ import {
2
+ PentestResponseSchema,
3
+ TargetedPentestAgent,
4
+ buildPentestActiveTools,
5
+ buildPentestPrompt,
6
+ buildPentestSystemPrompt
7
+ } from "./cli-84kpy9q6.js";
8
+ import"./cli-9fsre5pt.js";
9
+ import"./cli-tdgq36q1.js";
10
+ import"./cli-gpvaz7xr.js";
11
+ import"./cli-jx3sh6sh.js";
12
+ import"./cli-c8131c4q.js";
13
+ import"./cli-86hen4re.js";
14
+ import"./cli-3x9ygtbv.js";
15
+ import"./cli-3k1x5rn3.js";
16
+ import"./cli-gpnb45ck.js";
17
+ import"./cli-hzw5gtyt.js";
18
+ import"./cli-2yqc0vnm.js";
19
+ import"./cli-f2bq20gj.js";
20
+ import"./cli-8rxa073f.js";
21
+ export {
22
+ buildPentestSystemPrompt,
23
+ buildPentestPrompt,
24
+ buildPentestActiveTools,
25
+ TargetedPentestAgent,
26
+ PentestResponseSchema
27
+ };
@@ -12,26 +12,27 @@ import {
12
12
  searchEndpoints,
13
13
  updateApp,
14
14
  updateEndpoint
15
- } from "./cli-1ss38kk9.js";
16
- import"./cli-e7vgd0zd.js";
17
- import"./cli-yrtv50qd.js";
18
- import"./cli-ahfgjewh.js";
19
- import"./cli-jz8d6pcc.js";
20
- import"./cli-hzmf5xgq.js";
21
- import"./cli-08h8jy0d.js";
15
+ } from "./cli-8fx3r1dj.js";
16
+ import"./cli-r0rzk777.js";
17
+ import"./cli-z43s0k01.js";
18
+ import"./cli-pmf3g5b8.js";
19
+ import"./cli-84kpy9q6.js";
20
+ import"./cli-192yezw4.js";
21
+ import"./cli-b0jq621d.js";
22
+ import"./cli-rsv7cf68.js";
22
23
  import"./cli-9fsre5pt.js";
23
- import"./cli-8qbrq7q4.js";
24
- import"./cli-rp597hwq.js";
25
- import"./cli-em393q4v.js";
24
+ import"./cli-tdgq36q1.js";
25
+ import"./cli-gpvaz7xr.js";
26
+ import"./cli-jx3sh6sh.js";
26
27
  import"./cli-fw5r7pfj.js";
27
28
  import"./cli-c8131c4q.js";
28
- import"./cli-t47pwypw.js";
29
- import"./cli-5nz8dbg2.js";
30
- import"./cli-29yqhrjq.js";
29
+ import"./cli-86hen4re.js";
30
+ import"./cli-3x9ygtbv.js";
31
+ import"./cli-3k1x5rn3.js";
31
32
  import"./cli-gpnb45ck.js";
32
- import"./cli-32666wac.js";
33
- import"./cli-6gvxmjz0.js";
34
- import"./cli-kswc2h78.js";
33
+ import"./cli-hzw5gtyt.js";
34
+ import"./cli-2yqc0vnm.js";
35
+ import"./cli-f2bq20gj.js";
35
36
  import"./cli-8rxa073f.js";
36
37
 
37
38
  // src/cli/apps.ts
@@ -1,18 +1,19 @@
1
1
  #!/usr/bin/env bun
2
- import"./cli-1ss38kk9.js";
3
- import"./cli-e7vgd0zd.js";
4
- import"./cli-yrtv50qd.js";
5
- import"./cli-ahfgjewh.js";
6
- import"./cli-jz8d6pcc.js";
7
- import"./cli-hzmf5xgq.js";
8
- import"./cli-08h8jy0d.js";
2
+ import"./cli-8fx3r1dj.js";
3
+ import"./cli-r0rzk777.js";
4
+ import"./cli-z43s0k01.js";
5
+ import"./cli-pmf3g5b8.js";
6
+ import"./cli-84kpy9q6.js";
7
+ import"./cli-192yezw4.js";
8
+ import"./cli-b0jq621d.js";
9
+ import"./cli-rsv7cf68.js";
9
10
  import"./cli-9fsre5pt.js";
10
- import"./cli-8qbrq7q4.js";
11
- import"./cli-rp597hwq.js";
12
- import"./cli-em393q4v.js";
11
+ import"./cli-tdgq36q1.js";
12
+ import"./cli-gpvaz7xr.js";
13
+ import"./cli-jx3sh6sh.js";
13
14
  import"./cli-fw5r7pfj.js";
14
15
  import"./cli-c8131c4q.js";
15
- import"./cli-t47pwypw.js";
16
+ import"./cli-86hen4re.js";
16
17
  import {
17
18
  disconnect,
18
19
  fetchWorkspaces,
@@ -25,15 +26,15 @@ import {
25
26
  pollWorkOSToken,
26
27
  selectWorkspace,
27
28
  startDeviceFlow
28
- } from "./cli-5nz8dbg2.js";
29
- import"./cli-29yqhrjq.js";
29
+ } from "./cli-3x9ygtbv.js";
30
+ import"./cli-3k1x5rn3.js";
30
31
  import"./cli-gpnb45ck.js";
31
32
  import {
32
33
  config,
33
34
  init_config
34
- } from "./cli-32666wac.js";
35
- import"./cli-6gvxmjz0.js";
36
- import"./cli-kswc2h78.js";
35
+ } from "./cli-hzw5gtyt.js";
36
+ import"./cli-2yqc0vnm.js";
37
+ import"./cli-f2bq20gj.js";
37
38
  import {
38
39
  __require
39
40
  } from "./cli-8rxa073f.js";
@@ -0,0 +1,19 @@
1
+ import {
2
+ runAuthenticationAgent
3
+ } from "./cli-192yezw4.js";
4
+ import"./cli-9fsre5pt.js";
5
+ import"./cli-tdgq36q1.js";
6
+ import"./cli-gpvaz7xr.js";
7
+ import"./cli-jx3sh6sh.js";
8
+ import"./cli-c8131c4q.js";
9
+ import"./cli-86hen4re.js";
10
+ import"./cli-3x9ygtbv.js";
11
+ import"./cli-3k1x5rn3.js";
12
+ import"./cli-gpnb45ck.js";
13
+ import"./cli-hzw5gtyt.js";
14
+ import"./cli-2yqc0vnm.js";
15
+ import"./cli-f2bq20gj.js";
16
+ import"./cli-8rxa073f.js";
17
+ export {
18
+ runAuthenticationAgent
19
+ };
@@ -0,0 +1,19 @@
1
+ import {
2
+ BlackboxAttackSurfaceAgent
3
+ } from "./cli-z43s0k01.js";
4
+ import"./cli-9fsre5pt.js";
5
+ import"./cli-tdgq36q1.js";
6
+ import"./cli-gpvaz7xr.js";
7
+ import"./cli-jx3sh6sh.js";
8
+ import"./cli-c8131c4q.js";
9
+ import"./cli-86hen4re.js";
10
+ import"./cli-3x9ygtbv.js";
11
+ import"./cli-3k1x5rn3.js";
12
+ import"./cli-gpnb45ck.js";
13
+ import"./cli-hzw5gtyt.js";
14
+ import"./cli-2yqc0vnm.js";
15
+ import"./cli-f2bq20gj.js";
16
+ import"./cli-8rxa073f.js";
17
+ export {
18
+ BlackboxAttackSurfaceAgent
19
+ };
@@ -1,23 +1,24 @@
1
1
  import {
2
2
  runPentestWorkflow
3
- } from "./cli-e7vgd0zd.js";
4
- import"./cli-yrtv50qd.js";
5
- import"./cli-ahfgjewh.js";
6
- import"./cli-hzmf5xgq.js";
7
- import"./cli-08h8jy0d.js";
3
+ } from "./cli-r0rzk777.js";
4
+ import"./cli-z43s0k01.js";
5
+ import"./cli-pmf3g5b8.js";
6
+ import"./cli-84kpy9q6.js";
7
+ import"./cli-b0jq621d.js";
8
+ import"./cli-rsv7cf68.js";
8
9
  import"./cli-9fsre5pt.js";
9
- import"./cli-8qbrq7q4.js";
10
- import"./cli-rp597hwq.js";
11
- import"./cli-em393q4v.js";
10
+ import"./cli-tdgq36q1.js";
11
+ import"./cli-gpvaz7xr.js";
12
+ import"./cli-jx3sh6sh.js";
12
13
  import"./cli-fw5r7pfj.js";
13
14
  import"./cli-c8131c4q.js";
14
- import"./cli-t47pwypw.js";
15
- import"./cli-5nz8dbg2.js";
16
- import"./cli-29yqhrjq.js";
15
+ import"./cli-86hen4re.js";
16
+ import"./cli-3x9ygtbv.js";
17
+ import"./cli-3k1x5rn3.js";
17
18
  import"./cli-gpnb45ck.js";
18
- import"./cli-32666wac.js";
19
- import"./cli-6gvxmjz0.js";
20
- import"./cli-kswc2h78.js";
19
+ import"./cli-hzw5gtyt.js";
20
+ import"./cli-2yqc0vnm.js";
21
+ import"./cli-f2bq20gj.js";
21
22
  import"./cli-8rxa073f.js";
22
23
 
23
24
  // src/core/api/blackboxPentest.ts
@@ -1,9 +1,9 @@
1
1
  import {
2
2
  OffensiveSecurityAgent
3
- } from "./cli-rp597hwq.js";
3
+ } from "./cli-gpvaz7xr.js";
4
4
  import {
5
5
  detectOSAndEnhancePrompt
6
- } from "./cli-em393q4v.js";
6
+ } from "./cli-jx3sh6sh.js";
7
7
  import {
8
8
  createLogger,
9
9
  hasToolCall,
@@ -11,7 +11,7 @@ import {
11
11
  init_lazyLogger,
12
12
  init_structured,
13
13
  scopedLogger
14
- } from "./cli-t47pwypw.js";
14
+ } from "./cli-86hen4re.js";
15
15
 
16
16
  // src/core/agents/specialized/authenticationAgent/agent.ts
17
17
  init_dist();
@@ -37,9 +37,9 @@ Obtain valid credentials/sessions that other agents can use for authenticated te
37
37
  # Available Tools
38
38
 
39
39
  ## API Authentication
40
- - \`authenticate_session\` — Submit credentials via form POST, JSON POST, or HTTP Basic auth.
41
- Params: loginUrl, username, password, method (form_post|json_post|basic_auth), usernameField, passwordField, additionalFields.
42
- - \`execute_command\` — Run curl or other shell commands for custom/complex API auth flows.
40
+ - \`execute_command\` — Run curl (or other shell commands) to submit credentials via form POST,
41
+ JSON POST, or HTTP Basic auth, and to capture the Set-Cookie / token response. Use this for all
42
+ custom and complex API auth flows.
43
43
 
44
44
  ## Browser Authentication
45
45
  - \`browser_navigate\` — Navigate to login page
@@ -77,11 +77,11 @@ Look for:
77
77
  ## Step 2: Authenticate
78
78
 
79
79
  ### API path (use when target is an API or has a simple form):
80
- 1. Call \`authenticate_session\` with the correct method and credentials.
81
- - \`form_post\` for HTML forms
82
- - \`json_post\` for JSON APIs
83
- - \`basic_auth\` for HTTP Basic
84
- 2. Check the response — if authenticated is true, you have a session cookie.
80
+ 1. Use \`execute_command\` with curl to submit the credentials, matching the target's scheme:
81
+ - \`curl -i -d 'username=...&password=...' <loginUrl>\` for HTML form POST
82
+ - \`curl -i -H 'Content-Type: application/json' -d '{"username":"...","password":"..."}' <loginUrl>\` for JSON APIs
83
+ - \`curl -i -u '<user>:<pass>' <url>\` for HTTP Basic
84
+ 2. Inspect the response (\`-i\` shows headers) capture any \`Set-Cookie\` value or token to use as the session credential.
85
85
 
86
86
  ### Browser path (use for SPAs, OAuth, JS-rendered forms):
87
87
  1. \`browser_navigate\` to the login URL
@@ -113,7 +113,7 @@ If both API and browser approaches fail, use \`delegate_to_auth_subagent\` for c
113
113
  **First**, call \`complete_authentication\` with:
114
114
  - \`success\`: whether auth succeeded
115
115
  - \`summary\`: what happened and what credentials/cookies were obtained
116
- - \`exportedCookies\`: the cookie string for downstream HTTP requests (from browser_get_cookies cookieHeader or authenticate_session response)
116
+ - \`exportedCookies\`: the cookie string for downstream HTTP requests (from browser_get_cookies cookieHeader or the Set-Cookie header in the curl response)
117
117
  - \`exportedHeaders\`: auth headers map, e.g. {"Authorization": "Bearer <token>"} (from browser_evaluate localStorage tokens or API response)
118
118
  - \`strategy\`: method used ("browser", "form_post", "json_post", "basic_auth", "bearer")
119
119
  - \`authBarrier\`: if a barrier was encountered (captcha, mfa, etc.)
@@ -127,13 +127,21 @@ These are the ONLY way downstream agents receive the session credentials.
127
127
 
128
128
  # Error Recovery
129
129
 
130
- If authentication fails:
130
+ If authentication fails, try these mechanical fixes (they are login mechanics, not credential changes):
131
131
  1. Try alternative field names (email vs username, passwd vs password)
132
132
  2. Check for CSRF token requirements (look in page source or hidden form fields)
133
133
  3. Verify the endpoint URL is correct
134
134
  4. Try a different method (form_post vs json_post)
135
135
  5. If all else fails, call \`complete_authentication\` with success=false
136
136
 
137
+ If credentials were provided to you, they are already verified and SHARED — do not modify them or their
138
+ account settings. When such provided credentials are genuinely rejected — wrong password, account locked, a
139
+ forced password change is required, MFA is required, or the email is not confirmed — do NOT try to recover by resetting or changing
140
+ the password, modifying MFA/2FA settings, or running any account-recovery flow. Fail fast: call
141
+ \`complete_authentication\` with success=false and a summary naming the reason. Do NOT register a new account
142
+ or self-sign-up to get around a rejected provided credential — that is a different account than the one
143
+ under test and only pollutes results.
144
+
137
145
  ## Rate Limiting
138
146
 
139
147
  If you encounter rate-limiting errors (e.g. "Rate limit exceeded", HTTP 429, "too many requests"):
@@ -179,6 +187,7 @@ class AuthenticationAgent extends OffensiveSecurityAgent {
179
187
  context,
180
188
  environmentVariables,
181
189
  enableThinking,
190
+ thinkingEffort,
182
191
  openAIReasoningEffort
183
192
  } = opts;
184
193
  const cm = session.credentialManager;
@@ -193,13 +202,14 @@ class AuthenticationAgent extends OffensiveSecurityAgent {
193
202
  abortSignal,
194
203
  eventBus,
195
204
  subagentId,
205
+ subagentName: opts.subagentName,
196
206
  environmentVariables,
197
207
  enableThinking,
208
+ thinkingEffort,
198
209
  openAIReasoningEffort,
199
210
  toolChoice: "auto",
200
211
  activeTools: [
201
212
  "execute_command",
202
- "authenticate_session",
203
213
  "complete_authentication",
204
214
  "browser_navigate",
205
215
  "browser_snapshot",
@@ -294,17 +304,25 @@ function buildAuthPrompt(target, authHints, credentialManager, context) {
294
304
  if (credBlock) {
295
305
  parts.push(`INSTRUCTIONS:
296
306
  You have credentials available via credential IDs — authenticate immediately.
297
- 1. Try authenticate_session first (pass the credentialId secrets are resolved automatically)
298
- 2. If authenticate_session fails, use browser tools. For browser_fill on password/secret fields,
307
+ 1. For API/form logins, use execute_command (curl) to submit credentials and capture the Set-Cookie / token response
308
+ 2. For browser-based logins, use the browser tools. For browser_fill on password/secret fields,
299
309
  pass credentialId + credentialField (e.g. credentialField="password") instead of the raw value —
300
310
  the secret is resolved securely at execution time. NEVER type a password directly.
301
- 3. Call complete_authentication with exported cookies/headers to persist credentials and end the run`);
311
+ 3. Call complete_authentication with exported cookies/headers to persist credentials and end the run
312
+
313
+ The credentials above were provided to you and have already been verified — they are SHARED across runs, so
314
+ do not modify them or their account settings. NEVER change the password, complete a password reset /
315
+ forced-password-change / account-recovery flow, or modify MFA/2FA settings (enrolling, disabling, or
316
+ resetting a second factor) for this account. If they do not authenticate (rejected, locked out, forced
317
+ password change required, MFA required, email not confirmed), call complete_authentication with
318
+ success=false and a clear summary of why — do not attempt to recover, reset, or rotate them. Do NOT
319
+ register a new account or self-sign-up to work around a failed login: that is not the credential under test
320
+ and only pollutes results — fail fast with success=false instead.`);
302
321
  } else {
303
322
  parts.push(`INSTRUCTIONS:
304
323
  1. Probe the target with execute_command (curl) to determine the auth mechanism
305
- 2. Attempt authentication with authenticate_session or the browser tools
306
- 3. If that fails, try delegate_to_auth_subagent as a fallback
307
- 4. Call complete_authentication with exported cookies/headers to persist credentials and end the run`);
324
+ 2. Attempt authentication with execute_command (curl) or the browser tools
325
+ 3. Call complete_authentication with exported cookies/headers to persist credentials and end the run`);
308
326
  }
309
327
  return parts.join(`
310
328
  `);
@@ -1,7 +1,7 @@
1
1
  import {
2
2
  getCurrentVersion,
3
3
  init_installation
4
- } from "./cli-kswc2h78.js";
4
+ } from "./cli-f2bq20gj.js";
5
5
  import {
6
6
  __esm
7
7
  } from "./cli-8rxa073f.js";
@@ -24438,4 +24438,4 @@ var require_src = __commonJS((exports) => {
24438
24438
  };
24439
24439
  });
24440
24440
 
24441
- export { AISDKError, APICallError, EmptyResponseBodyError, getErrorMessage, InvalidArgumentError, InvalidPromptError, InvalidResponseDataError, JSONParseError, LoadAPIKeyError, LoadSettingError, NoContentGeneratedError, NoSuchModelError, TooManyEmbeddingValuesForCallError, TypeValidationError, UnsupportedFunctionalityError, isJSONArray, isJSONObject, init_dist, safeParse, toJSONSchema, init_core2 as init_core, exports_iso, safeParseAsync2 as safeParseAsync, string2 as string, number2 as number, boolean2 as boolean, _null3 as _null, unknown, array, object, looseObject, union, discriminatedUnion, intersection, record, _enum2 as _enum, literal, optional, custom, preprocess, exports_external, init_v4, ZodFirstPartyTypeKind2 as ZodFirstPartyTypeKind, init_v3, EventSourceParserStream, init_stream, combineHeaders, createToolNameMapping, delay, DelayedPromise, extractResponseHeaders, convertBase64ToUint8Array, convertUint8ArrayToBase64, convertToBase64, convertToFormData, cancelResponseBody, DownloadError, fetchWithValidatedRedirects, DEFAULT_MAX_DOWNLOAD_SIZE, readResponseWithSizeLimit, downloadBlob, createIdGenerator, generateId, getErrorMessage2 as getErrorMessage1, isAbortError, getRuntimeEnvironmentUserAgent, normalizeHeaders, withUserAgentSuffix, getFromApi, isNonNullable, isSameOrigin, isUrlSupported, loadApiKey, loadOptionalSetting, loadSetting, lazySchema, jsonSchema, asSchema, zodSchema, validateTypes, safeValidateTypes, safeParseJSON, isParsableJson, parseJsonEventStream, parseProviderOptions, postJsonToApi, postFormDataToApi, tool, dynamicTool, createProviderToolFactory, createProviderToolFactoryWithOutputSchema, resolve, createJsonErrorResponseHandler, createEventSourceResponseHandler, createJsonResponseHandler, stripFileExtension, withoutTrailingSlash, executeTool, init_dist3 as init_dist1, zod_default, init_zod, GatewayError, GatewayAuthenticationError, createGatewayProvider, gateway, init_dist4 as init_dist2, require_src };
24441
+ export { AISDKError, APICallError, EmptyResponseBodyError, getErrorMessage, InvalidArgumentError, InvalidPromptError, InvalidResponseDataError, JSONParseError, LoadAPIKeyError, LoadSettingError, NoContentGeneratedError, NoSuchModelError, TooManyEmbeddingValuesForCallError, TypeValidationError, UnsupportedFunctionalityError, isJSONArray, isJSONObject, init_dist, safeParse, toJSONSchema, init_core2 as init_core, exports_iso, safeParseAsync2 as safeParseAsync, string2 as string, number2 as number, boolean2 as boolean, _null3 as _null, unknown, array, object, looseObject, union, discriminatedUnion, intersection, record, _enum2 as _enum, literal, optional, custom, preprocess, exports_external, init_v4, ZodFirstPartyTypeKind2 as ZodFirstPartyTypeKind, init_v3, EventSourceParserStream, init_stream, combineHeaders, createToolNameMapping, delay, DelayedPromise, extractResponseHeaders, convertBase64ToUint8Array, convertUint8ArrayToBase64, convertToBase64, convertToFormData, cancelResponseBody, DownloadError, fetchWithValidatedRedirects, DEFAULT_MAX_DOWNLOAD_SIZE, readResponseWithSizeLimit, downloadBlob, createIdGenerator, generateId, getErrorMessage2 as getErrorMessage1, isAbortError, getRuntimeEnvironmentUserAgent, normalizeHeaders, withUserAgentSuffix, getFromApi, isNonNullable, isSameOrigin, isUrlSupported, loadApiKey, loadOptionalSetting, loadSetting, lazySchema, jsonSchema, asSchema, zodSchema, validateTypes, safeValidateTypes, parseJSON, safeParseJSON, isParsableJson, parseJsonEventStream, parseProviderOptions, postJsonToApi, postFormDataToApi, tool, dynamicTool, createProviderToolFactory, createProviderToolFactoryWithOutputSchema, resolve, createJsonErrorResponseHandler, createEventSourceResponseHandler, createJsonResponseHandler, stripFileExtension, withoutTrailingSlash, executeTool, init_dist3 as init_dist1, zod_default, init_zod, GatewayError, GatewayAuthenticationError, createGatewayProvider, gateway, init_dist4 as init_dist2, require_src };
@@ -1,7 +1,7 @@
1
1
  import {
2
2
  config,
3
3
  init_config
4
- } from "./cli-32666wac.js";
4
+ } from "./cli-hzw5gtyt.js";
5
5
  import {
6
6
  __esm
7
7
  } from "./cli-8rxa073f.js";