0sec-cli 0.17.0 → 0.21.4

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 (171) hide show
  1. package/{0sec.js → 0.js} +92 -79
  2. package/LICENSE +1 -1
  3. package/README.md +77 -37
  4. package/chunks/adapt-loop-IGBRQAXO.js +18 -0
  5. package/chunks/{adgraph-JLGA6RYI.js → adgraph-AUDQTBYA.js} +5 -5
  6. package/chunks/agent/skills/frameworks/entra-id.yaml +2 -2
  7. package/chunks/agent/skills/techniques/assumption-mining.yaml +2 -2
  8. package/chunks/agent/skills/techniques/cve-poc-adaptation.yaml +2 -2
  9. package/chunks/agent/skills/techniques/entra-attack-paths.yaml +1 -1
  10. package/chunks/agent/skills/techniques/kernel-weaponization.yaml +1 -1
  11. package/chunks/agent/skills/techniques/llm-prompt-injection.yaml +2 -2
  12. package/chunks/agent/skills/techniques/npm-ecosystem.yaml +1 -1
  13. package/chunks/agent/skills/techniques/poc-verification.yaml +1 -1
  14. package/chunks/agent/skills/techniques/seedless-depth-review.yaml +20 -38
  15. package/chunks/{artifact-scraper-GJEZMOHF.js → artifact-scraper-LNQJUORS.js} +6 -6
  16. package/chunks/{assumption-mining-BVMMUZHB.js → assumption-mining-4MJTP6H5.js} +24 -26
  17. package/chunks/{chunk-P6WKNFWX.js → chunk-2OQOQ2FZ.js} +8 -8
  18. package/chunks/{chunk-5G3ZXFBW.js → chunk-2WNCI664.js} +3 -3
  19. package/chunks/{chunk-HDWV7PGI.js → chunk-2WSXFFJZ.js} +4 -4
  20. package/chunks/{chunk-DW5UWPFY.js → chunk-4VGLO2YS.js} +6 -5
  21. package/chunks/{chunk-SNKTC4BP.js → chunk-5T6D5BVY.js} +88 -88
  22. package/chunks/{chunk-OEFNRYI2.js → chunk-6GHSR47F.js} +3 -6
  23. package/chunks/chunk-6YNKRUMC.js +4474 -0
  24. package/chunks/{chunk-O462Y7P2.js → chunk-ANDKY54G.js} +22317 -19616
  25. package/chunks/{chunk-53G27VPS.js → chunk-AZ7L3HFD.js} +7 -2
  26. package/chunks/{chunk-2SANI5RH.js → chunk-BACXRTQ4.js} +691 -318
  27. package/chunks/{chunk-SOG2U7B3.js → chunk-CAJJRUTV.js} +4 -4
  28. package/chunks/{chunk-57ZENEX2.js → chunk-CGHCEN7W.js} +3 -3
  29. package/chunks/{chunk-VGRDNSHA.js → chunk-CL5KAUM6.js} +17 -16
  30. package/chunks/{chunk-QOKTUOU2.js → chunk-CXKDWFNO.js} +6 -6
  31. package/chunks/{chunk-RWONANDA.js → chunk-DQTNI3KY.js} +5 -5
  32. package/chunks/{chunk-K26SZ37E.js → chunk-E2UOY5PJ.js} +288 -100
  33. package/chunks/{chunk-CLHCDHP4.js → chunk-ER3SUMYJ.js} +40 -18
  34. package/chunks/{chunk-IORC6MQX.js → chunk-FAH6V4QM.js} +31964 -32279
  35. package/chunks/{chunk-6LKRLK2R.js → chunk-FHC2B7LN.js} +3 -3
  36. package/chunks/{chunk-4Y4KQJXE.js → chunk-FWAYJ2IV.js} +16 -16
  37. package/chunks/{chunk-WVTBZEQO.js → chunk-G34QP2XW.js} +8 -8
  38. package/chunks/{chunk-MYVT64FN.js → chunk-GHWODZMR.js} +2 -2
  39. package/chunks/{chunk-F3WBKITT.js → chunk-GIQKESMN.js} +10 -10
  40. package/chunks/{chunk-2RMLOJVB.js → chunk-GVD6SJGH.js} +2 -2
  41. package/chunks/{chunk-RDZYQQLW.js → chunk-HBKCGJAV.js} +7 -7
  42. package/chunks/{chunk-SF4KZ4O3.js → chunk-HLFS6WV2.js} +2 -2
  43. package/chunks/chunk-HPQZHOIU.js +67 -0
  44. package/chunks/{chunk-3QFDYBZQ.js → chunk-IMGWPNQM.js} +231 -1308
  45. package/chunks/{chunk-3MOLBTLS.js → chunk-K2PWUPUI.js} +2 -2
  46. package/chunks/{chunk-MMLDQR4H.js → chunk-NDJU5ZZ7.js} +14 -14
  47. package/chunks/{chunk-H44E2CRN.js → chunk-NOPBXZUV.js} +3 -3
  48. package/chunks/{chunk-HE7LCA7G.js → chunk-O6SD4A36.js} +3 -3
  49. package/chunks/{chunk-SAFFWQW4.js → chunk-P6YG6TEZ.js} +6 -6
  50. package/chunks/{chunk-KKGE5RQE.js → chunk-PC6RCKQV.js} +198 -11
  51. package/chunks/{chunk-LP3HHYQU.js → chunk-PD2BBBKT.js} +2 -2
  52. package/chunks/{chunk-BKZFDZ23.js → chunk-QCUFBVIZ.js} +3 -3
  53. package/chunks/{chunk-KLTNTE2Z.js → chunk-QZVG3BG4.js} +14 -14
  54. package/chunks/{chunk-D6S3IIPG.js → chunk-RF5QGKLR.js} +9 -9
  55. package/chunks/{chunk-LOHTE223.js → chunk-SBMB4OL3.js} +9 -9
  56. package/chunks/{chunk-IOL7D5YV.js → chunk-SQCBHFWN.js} +3 -3
  57. package/chunks/{chunk-A6CLR72I.js → chunk-TF46UWFU.js} +3 -3
  58. package/chunks/chunk-TH2LW437.js +7829 -0
  59. package/chunks/chunk-TRH2PJSN.js +547 -0
  60. package/chunks/{chunk-RJWOYEOG.js → chunk-UEX7PFSE.js} +5 -5
  61. package/chunks/{chunk-VQG4FT5D.js → chunk-UFHN6RIU.js} +2 -2
  62. package/chunks/{chunk-WU6AFRAZ.js → chunk-V36HVTUL.js} +12 -12
  63. package/chunks/{chunk-IR537GON.js → chunk-VCSFCHAJ.js} +2 -2
  64. package/chunks/{chunk-YLMN3N25.js → chunk-VIT5ALXF.js} +3 -3
  65. package/chunks/{chunk-UJ4IK5PO.js → chunk-VOAXLO4A.js} +10 -10
  66. package/chunks/{chunk-UM3ZNQIM.js → chunk-W4JOXE4N.js} +100 -84
  67. package/chunks/{chunk-DN25OQQA.js → chunk-WF5W75WY.js} +25 -25
  68. package/chunks/{chunk-QKICO43A.js → chunk-WPQLBN4S.js} +5 -5
  69. package/chunks/{chunk-HT6P7RY3.js → chunk-WZISK5VC.js} +37 -35
  70. package/chunks/{chunk-QJQKHO7G.js → chunk-Y5H6E24H.js} +3 -3
  71. package/chunks/{chunk-KTQDLNSR.js → chunk-YA4PUM4H.js} +41 -41
  72. package/chunks/{chunk-47TQJWDH.js → chunk-YHWWF4QY.js} +9 -9
  73. package/chunks/{chunk-2CJ776PV.js → chunk-YPOA3W4O.js} +48 -39
  74. package/chunks/{chunk-7DQEV5QI.js → chunk-Z3IKZX3X.js} +4 -4
  75. package/chunks/codex-models-TYYV4JNN.js +15 -0
  76. package/chunks/{commands-U3AMV5ZU.js → commands-WF5RG4I2.js} +5620 -2513
  77. package/chunks/corpus-v1.json +2 -2
  78. package/chunks/data/appsec-archetypes.json +2 -2
  79. package/chunks/data/chromium-archetypes.json +1 -1
  80. package/chunks/data/freebsd-archetypes.json +1 -1
  81. package/chunks/data/kernel-archetypes.json +2 -2
  82. package/chunks/db-U3WQZVAO.js +16 -0
  83. package/chunks/{disclose-A6AEIEDA.js → disclose-67GZCDBO.js} +5 -5
  84. package/chunks/{dist-JR67XKYO.js → dist-ACC3DZUZ.js} +11 -5
  85. package/chunks/{dist-GL66KMUX.js → dist-EVTN3UTT.js} +6 -6
  86. package/chunks/{dist-FDKALV4R.js → dist-F6X62TQK.js} +290 -327
  87. package/chunks/dist-KEULE5IQ.js +21914 -0
  88. package/chunks/dist-XZB53PS5.js +53 -0
  89. package/chunks/eval-runner-SA6OUGHZ.js +26 -0
  90. package/chunks/example-manifest.json +2 -2
  91. package/chunks/{exploit-agent-XP23ISN7.js → exploit-agent-36Q7XQFP.js} +4 -4
  92. package/chunks/{exploit-autoclimb-E6T7RRSC.js → exploit-autoclimb-J4OTSTZ6.js} +6 -6
  93. package/chunks/{exploit-climb-2FAUP6XU.js → exploit-climb-PYEJDIC4.js} +12 -12
  94. package/chunks/fix-J2KBRJDV.js +12 -0
  95. package/chunks/{github-issues-MJ6OYOOU.js → github-issues-IGTTWM7V.js} +7 -7
  96. package/chunks/harness-GDUMKGSE.js +22 -0
  97. package/chunks/http-conformance-U5F6GKYG.js +11 -0
  98. package/chunks/http-sender-I5XFFY35.js +10 -0
  99. package/chunks/hunt-scan-UDJSCISU.js +36 -0
  100. package/chunks/{identity-6ZAIIWOR.js → identity-JTIVJSV7.js} +5 -5
  101. package/chunks/{kernel-primitive-TENE3R7T.js → kernel-primitive-F2IXUFAX.js} +6 -6
  102. package/chunks/{kernel-vm-runner-4F6QSNFY.js → kernel-vm-runner-276LHIOV.js} +6 -6
  103. package/chunks/memsafety-scan-NHUOGTEX.js +16 -0
  104. package/chunks/{native-loop-NTONUDP7.js → native-loop-3BSYVDUI.js} +17 -18
  105. package/chunks/{npm-detectors-KB5Y5ZFX.js → npm-detectors-VIYJXKFQ.js} +6 -6
  106. package/chunks/npm-dynamic-discovery-5J7FT3XM.js +13 -0
  107. package/chunks/orchestrate-DHBFRTSI.js +59 -0
  108. package/chunks/{pre-recon-cve-66EB6G4M.js → pre-recon-cve-X2K2P5YQ.js} +4 -4
  109. package/chunks/prepare-KYHGFWCJ.js +13 -0
  110. package/chunks/process-PNMC36JI.js +15 -0
  111. package/chunks/{replay-runner-RRR4E2A7.js → replay-runner-LK2XFIVG.js} +7 -7
  112. package/chunks/{run-ESNN4V5W.js → run-CBGE6DRQ.js} +2401 -1810
  113. package/chunks/{runtime-62ZQAH7H.js → runtime-PXO5G6UV.js} +11 -11
  114. package/chunks/runtime-XFWJTBUO.js +12 -0
  115. package/chunks/{scan-stream-FHI2FYZE.js → scan-stream-BMOCPKQX.js} +7 -7
  116. package/chunks/{scope-BI7BF4ZY.js → scope-NJHIDDTN.js} +4 -4
  117. package/chunks/{session-store-BCFQYDCE.js → session-store-46WBZM22.js} +6 -6
  118. package/chunks/source-files-REHOM44I.js +12 -0
  119. package/chunks/{specdrift-WCLH6TTQ.js → specdrift-AFS54WEJ.js} +5 -5
  120. package/chunks/token-KRWP5JYA.js +72 -0
  121. package/chunks/token-util-DWTL33S3.js +8 -0
  122. package/chunks/variant-candidates-UH2WC2HA.js +13 -0
  123. package/chunks/{web-recon-prepass-DPVCBRZA.js → web-recon-prepass-SFXU44SS.js} +9 -9
  124. package/dashboard/assets/desktop-BT7RkC4q.js +32 -0
  125. package/dashboard/assets/desktop-OaBI0E0e.css +1 -0
  126. package/dashboard/assets/{findings-page-CACW9nw2.js → findings-page-B4rwF6fZ.js} +2 -2
  127. package/dashboard/assets/{format-PoISqsES.js → format-LNQSSpn6.js} +1 -1
  128. package/dashboard/assets/live-page-DoNwpPAO.js +1 -0
  129. package/dashboard/assets/{meta-tile-CcskIV_o.js → meta-tile-BMtBC-Qq.js} +1 -1
  130. package/dashboard/assets/operations-CMFVrXEe.css +2 -0
  131. package/dashboard/assets/operations-app-ER0gg7GN.js +2 -0
  132. package/dashboard/assets/{operations-D8nUP5_m.js → operations-e2CGYKB1.js} +2 -2
  133. package/dashboard/assets/{overview-page-DTGS8dPo.js → overview-page-CmeWH17A.js} +1 -1
  134. package/dashboard/assets/{page-header-MFVvEtZW.js → page-header-CIJyycfz.js} +1 -1
  135. package/dashboard/assets/scans-page-CuhzWhHx.js +1 -0
  136. package/dashboard/assets/{table-BYS-nIVA.js → table-BgsSBdke.js} +1 -1
  137. package/dashboard/assets/{tabs-DivxbhQy.js → tabs-vn6v7Bk6.js} +1 -1
  138. package/dashboard/desktop.html +3 -3
  139. package/dashboard/index.html +3 -3
  140. package/package.json +11 -11
  141. package/chunks/adapt-loop-ECQG7454.js +0 -18
  142. package/chunks/appsec-catalog-CBWHGTEL.js +0 -24
  143. package/chunks/chunk-H2FFLZNK.js +0 -3
  144. package/chunks/chunk-QI233I24.js +0 -333
  145. package/chunks/chunk-RRMJC3ZE.js +0 -105
  146. package/chunks/chunk-SZJCPG2I.js +0 -110
  147. package/chunks/chunk-WKNNZVJS.js +0 -2798
  148. package/chunks/cost-ledger-ZCKMBJEN.js +0 -13
  149. package/chunks/db-26NGQFKO.js +0 -16
  150. package/chunks/eval-runner-DDLE5RQ3.js +0 -27
  151. package/chunks/fix-IG7LYXH3.js +0 -12
  152. package/chunks/harness-HWOYFKFY.js +0 -22
  153. package/chunks/http-conformance-DU66MZIU.js +0 -11
  154. package/chunks/http-sender-GWH2IYEA.js +0 -10
  155. package/chunks/hunt-scan-XPELSPQQ.js +0 -38
  156. package/chunks/memsafety-scan-J7SECV5W.js +0 -16
  157. package/chunks/npm-dynamic-discovery-AHROOZDB.js +0 -13
  158. package/chunks/orchestrate-ZUWAUWBC.js +0 -62
  159. package/chunks/pipeline-FCARFZU3.js +0 -14
  160. package/chunks/prepare-MYY743TK.js +0 -13
  161. package/chunks/process-3Q7QJIOZ.js +0 -13
  162. package/chunks/runtime-J7PLXZNM.js +0 -12
  163. package/chunks/source-files-PWRQR6LY.js +0 -12
  164. package/chunks/variant-candidates-6KM6F6MD.js +0 -13
  165. package/dashboard/assets/0sec-icon-66SreztZ.gif +0 -0
  166. package/dashboard/assets/desktop-CXTQonNm.js +0 -32
  167. package/dashboard/assets/desktop-NOekk4QS.css +0 -1
  168. package/dashboard/assets/live-page-DrgQqQK5.js +0 -1
  169. package/dashboard/assets/operations-BKE8T-vY.css +0 -2
  170. package/dashboard/assets/operations-app-CQQhG54n.js +0 -2
  171. package/dashboard/assets/scans-page-ChVtq8Us.js +0 -1
@@ -1,6 +1,6 @@
1
1
  #!/usr/bin/env node
2
- import { createRequire as __0secCreateRequire } from "node:module";
3
- const require = __0secCreateRequire(import.meta.url);
2
+ import { createRequire as __0CreateRequire } from "node:module";
3
+ const require = __0CreateRequire(import.meta.url);
4
4
  import {
5
5
  BenchCaseSchema,
6
6
  BenchIntegrationRegistry,
@@ -20,6 +20,7 @@ import {
20
20
  CraftStagedOrchestrator,
21
21
  DEFAULT_CALL_TIMEOUT_MS,
22
22
  DEFAULT_HANDSHAKE_TIMEOUT_MS,
23
+ DEFAULT_MAX_TOOL_ITERATIONS,
23
24
  DEFAULT_RACE_WIDEN_DELAY_MS,
24
25
  DEFAULT_REGISTRY_URL,
25
26
  DEFAULT_SEED_DIRS,
@@ -55,6 +56,8 @@ import {
55
56
  HerdrEventSink,
56
57
  HuntResearchAdapter,
57
58
  KERNELCTF_TIER1_RACE_GRID,
59
+ KERNEL_FUNCTION_BATCH_SIZE,
60
+ KERNEL_FUNCTION_LABELS,
58
61
  KERNEL_RUN_PROGRAM_MAX_BYTES,
59
62
  KERNEL_RUN_TOOL_DEFINITION,
60
63
  KNOWN_ATTACK_SURFACES,
@@ -90,6 +93,7 @@ import {
90
93
  STAGE_ACTION_HISTORY_CAP,
91
94
  SYNTH_TOOL,
92
95
  SYNTH_TOOL_NAME,
96
+ ScanCostLedger,
93
97
  SourceAuditTargetSchema,
94
98
  SuiteOracleObjectiveSchema,
95
99
  SuiteTaskTargetSchema,
@@ -110,6 +114,7 @@ import {
110
114
  XNU_RECEIPT_SCHEMA_VERSION,
111
115
  XnuIokitResearchAdapter,
112
116
  XnuReceiptReplayer,
117
+ activeAppsecLensRegistryPath,
113
118
  addAttackResult,
114
119
  addFinding,
115
120
  agenticScan,
@@ -123,6 +128,11 @@ import {
123
128
  applySurfaceRanking,
124
129
  applyVerificationToFinding,
125
130
  approveObservation,
131
+ appsecArchetypeDigest,
132
+ appsecArchetypeToFinderLens,
133
+ appsecArchetypesPath,
134
+ appsecLensLedgerEntryDigest,
135
+ appsecUserArchetypesPath,
126
136
  arbReadValueWitnessed,
127
137
  arbWriteFaultWitnessed,
128
138
  arbWriteTargetV,
@@ -172,6 +182,7 @@ import {
172
182
  cardanoVerifyLenses,
173
183
  categoryToWebKind,
174
184
  changedFilesInRange,
185
+ checkAlreadyFixed,
175
186
  checkFixPresentInTarget,
176
187
  checkNotYetIntroduced,
177
188
  checkResearchNovelty,
@@ -199,10 +210,12 @@ import {
199
210
  crashSeverity,
200
211
  crashSignatureFromReport,
201
212
  crashSignatureFromText,
213
+ crashSummaryFromTriage,
202
214
  crashToFinding,
203
215
  crashTypeToCategory,
204
216
  createAgenticScanAdapter,
205
217
  createBenchIntegrationRegistry,
218
+ createConsoleJevRuntime,
206
219
  createConsoleRuntime,
207
220
  createConsoleSession,
208
221
  createCoreBenchIntegration,
@@ -273,6 +286,7 @@ import {
273
286
  extractDupeSignature,
274
287
  extractFeatures,
275
288
  extractKernelFindingMetadata,
289
+ extractKernelFunctions,
276
290
  extractTouchedFunctions,
277
291
  fetchRegistryIndex,
278
292
  fileDiff,
@@ -344,6 +358,8 @@ import {
344
358
  listMcpTools,
345
359
  listObservations,
346
360
  listPrograms,
361
+ loadAppsecArchetypes,
362
+ loadAppsecFinderLenses,
347
363
  loadCpg,
348
364
  loadH1Credentials,
349
365
  loadLedger,
@@ -445,9 +461,13 @@ import {
445
461
  raceStrategies,
446
462
  raceWidenEnv,
447
463
  raceWithDefaults,
464
+ radarCandidatesToSeedFindings,
448
465
  rankAndDedupeFoxguardLeads,
449
466
  rankBugsByProvenRung,
450
467
  rankCandidates,
468
+ rankCrashesWithJev,
469
+ rankKernelCommitsWithJev,
470
+ rankKernelHypothesesWithJev,
451
471
  rankResearchProposals,
452
472
  reachabilityGate,
453
473
  reachableTargets,
@@ -483,6 +503,7 @@ import {
483
503
  retireArchetype,
484
504
  reviewKernelCrashSubsystems,
485
505
  rootProofInstructions,
506
+ runBehavioralRepair,
486
507
  runBenchCase,
487
508
  runBenchSuite,
488
509
  runCliPathTraversalReplayFixture,
@@ -493,6 +514,7 @@ import {
493
514
  runEnsembleCraft,
494
515
  runExploitScan,
495
516
  runKernelExploitChain,
517
+ runKernelSourceJevPrepass,
496
518
  runKernelVariantHunt,
497
519
  runLensSynthesisLoop,
498
520
  runLlmIpiAudit,
@@ -506,6 +528,7 @@ import {
506
528
  runReproductionBundle,
507
529
  runResearch,
508
530
  runSecondAudit,
531
+ runSecureProject,
509
532
  runSelfConsistencyVerify,
510
533
  runStaticAnalysis,
511
534
  runStructuredVerify,
@@ -522,6 +545,7 @@ import {
522
545
  scan,
523
546
  scanForModuleInit,
524
547
  scanForPatchGapCandidates,
548
+ scanRepoCommitsWithJev,
525
549
  scanReportToBenchResult,
526
550
  scoreEvidence,
527
551
  scoreMemory,
@@ -551,6 +575,7 @@ import {
551
575
  summarizeTriageProvenance,
552
576
  synthesizeArchetypes,
553
577
  syzChoiceWeightsFromPlan,
578
+ syzWeightingContextFromJev,
554
579
  syzbotQueueBrief,
555
580
  tableMetrics,
556
581
  tallyConsensus,
@@ -564,6 +589,7 @@ import {
564
589
  toHuntCandidates,
565
590
  toScopeFile,
566
591
  toScopeJson,
592
+ toToolContextJevRuntime,
567
593
  toVerifyVerdict,
568
594
  trainProposalRanker,
569
595
  triageKcsanRace,
@@ -592,18 +618,37 @@ import {
592
618
  withVariantFeatureFlags,
593
619
  writeEnablement,
594
620
  xnuArtifactDigest
595
- } from "./chunk-IORC6MQX.js";
621
+ } from "./chunk-FAH6V4QM.js";
622
+ import {
623
+ MAX_POC_BYTES,
624
+ PocFetchError,
625
+ adaptAndVerify,
626
+ applyUnifiedDiff,
627
+ extractInlineCodeBlock,
628
+ fetchPoc,
629
+ renderAdaptationPrompt
630
+ } from "./chunk-RF5QGKLR.js";
596
631
  import {
597
632
  RateLimiter,
598
633
  TokenBucket,
599
634
  enumerateJsChunkUrls,
600
635
  parseRateLimitFlag,
601
636
  parseRetryAfter
602
- } from "./chunk-QJQKHO7G.js";
637
+ } from "./chunk-Y5H6E24H.js";
638
+ import {
639
+ createLiveHttpSender
640
+ } from "./chunk-GVD6SJGH.js";
641
+ import {
642
+ extractSpecInvariants,
643
+ mapInvariantsToImplementation,
644
+ planSpecdriftHypotheses,
645
+ runSpecdriftPlan,
646
+ runSpecdriftScan
647
+ } from "./chunk-QCUFBVIZ.js";
603
648
  import {
604
649
  getEvalCategories,
605
650
  runEval
606
- } from "./chunk-HDWV7PGI.js";
651
+ } from "./chunk-2WSXFFJZ.js";
607
652
  import {
608
653
  classifyUserspacePrimitive,
609
654
  crashArtifactToFinding,
@@ -619,11 +664,11 @@ import {
619
664
  runMemSafetyScan,
620
665
  runUserspaceFuzzLoop,
621
666
  sniffMemPrimitive
622
- } from "./chunk-WVTBZEQO.js";
667
+ } from "./chunk-G34QP2XW.js";
623
668
  import {
624
669
  leadToFinding,
625
670
  runNpmDynamicDiscovery
626
- } from "./chunk-5G3ZXFBW.js";
671
+ } from "./chunk-2WNCI664.js";
627
672
  import {
628
673
  OsvLookupError,
629
674
  createOsvAdvisoryLookup,
@@ -632,7 +677,7 @@ import {
632
677
  inProcessProbe,
633
678
  localSandboxProvider,
634
679
  staticProbe
635
- } from "./chunk-7DQEV5QI.js";
680
+ } from "./chunk-Z3IKZX3X.js";
636
681
  import {
637
682
  DETECTOR_REGISTRY,
638
683
  DETECTOR_REGISTRY_BY_ID,
@@ -645,7 +690,7 @@ import {
645
690
  resolveDetectors,
646
691
  runDetectorOnPackage,
647
692
  ssppFuzzDetector
648
- } from "./chunk-RWONANDA.js";
693
+ } from "./chunk-DQTNI3KY.js";
649
694
  import {
650
695
  PRIMITIVE_LIBRARY,
651
696
  RUNG_MARKER_TAG,
@@ -661,7 +706,7 @@ import {
661
706
  runStrategy,
662
707
  runWeaponization,
663
708
  selectStrategies
664
- } from "./chunk-KTQDLNSR.js";
709
+ } from "./chunk-YA4PUM4H.js";
665
710
  import {
666
711
  BENIGN_MAX_CLASS,
667
712
  UPGRADE_MIN_CLASS,
@@ -672,21 +717,16 @@ import {
672
717
  isDangerUpgrade,
673
718
  maxDangerClass,
674
719
  rankDanger
675
- } from "./chunk-HE7LCA7G.js";
676
- import {
677
- MAX_POC_BYTES,
678
- PocFetchError,
679
- adaptAndVerify,
680
- applyUnifiedDiff,
681
- extractInlineCodeBlock,
682
- fetchPoc,
683
- renderAdaptationPrompt
684
- } from "./chunk-D6S3IIPG.js";
720
+ } from "./chunk-O6SD4A36.js";
685
721
  import {
686
722
  applyReachabilityGate,
687
723
  classifyPathReachability,
688
724
  generateVariantCandidates
689
- } from "./chunk-A6CLR72I.js";
725
+ } from "./chunk-TF46UWFU.js";
726
+ import {
727
+ collectScopeFiles,
728
+ countScopeFilesUpTo
729
+ } from "./chunk-AZ7L3HFD.js";
690
730
  import {
691
731
  ASSUMPTION_MODEL_VERSION,
692
732
  INVARIANT_MODEL_VERSION,
@@ -727,53 +767,7 @@ import {
727
767
  violationsToHuntPlan,
728
768
  witnessAssumptionViolation,
729
769
  witnessDualViewContexts
730
- } from "./chunk-47TQJWDH.js";
731
- import {
732
- defaultDmesgOutPath,
733
- detectOutOfBandModuleLoad,
734
- loadKernelVmConfigFromEnv,
735
- prepareKernelVmArtifacts,
736
- verifyKernelFinding,
737
- writeProofFileReadOnly
738
- } from "./chunk-SNKTC4BP.js";
739
- import {
740
- evaluateVerificationSpec,
741
- runSourceFix
742
- } from "./chunk-F3WBKITT.js";
743
- import {
744
- DEFAULT_STEP_TIMEOUT_MS as DEFAULT_STEP_TIMEOUT_MS2,
745
- DockerRunner,
746
- LocalShellRunner,
747
- MAX_STREAM_CAPTURE_BYTES,
748
- QemuRunner,
749
- STREAM_EXCERPT_BYTES,
750
- argvForStep,
751
- assertionFromStepExpect,
752
- evaluateAssertion,
753
- excerpt,
754
- persistArtifact,
755
- runDeterministicReplay
756
- } from "./chunk-DN25OQQA.js";
757
- import {
758
- generateConformanceModel,
759
- judgeHttpDivergence,
760
- runHttpConformanceCheck,
761
- structurallyValidateConformanceModel
762
- } from "./chunk-IOL7D5YV.js";
763
- import {
764
- createLiveHttpSender
765
- } from "./chunk-2RMLOJVB.js";
766
- import {
767
- extractSpecInvariants,
768
- mapInvariantsToImplementation,
769
- planSpecdriftHypotheses,
770
- runSpecdriftPlan,
771
- runSpecdriftScan
772
- } from "./chunk-BKZFDZ23.js";
773
- import {
774
- collectScopeFiles,
775
- countScopeFilesUpTo
776
- } from "./chunk-53G27VPS.js";
770
+ } from "./chunk-YHWWF4QY.js";
777
771
  import {
778
772
  CHROMIUM_BARE_WORDS,
779
773
  FREEBSD_BARE_KERNEL_WORDS,
@@ -858,15 +852,7 @@ import {
858
852
  unresolvedHuntClaims,
859
853
  validateHuntClaimRecord,
860
854
  validateResearchProposal
861
- } from "./chunk-K26SZ37E.js";
862
- import {
863
- ESCALATION_LADDER,
864
- ladderUpTo,
865
- maxRung,
866
- ratchet,
867
- rungAtLeast,
868
- rungRank
869
- } from "./chunk-RJWOYEOG.js";
855
+ } from "./chunk-E2UOY5PJ.js";
870
856
  import {
871
857
  ACTION_LOG_ARGS_MAX,
872
858
  ACTION_LOG_ARG_VALUE_MAX,
@@ -878,6 +864,7 @@ import {
878
864
  BUILTIN_GUARDS,
879
865
  CONSERVATIVE_JITTER_MS,
880
866
  CONSERVATIVE_RPS,
867
+ CONTRIBUTION_ENDPOINT,
881
868
  DEFAULT_CONCURRENCY,
882
869
  DEFAULT_IMPROVEMENT_PROMOTION_POLICY,
883
870
  DEFAULT_MAX_DURATION_MS,
@@ -906,6 +893,8 @@ import {
906
893
  PLUGIN_CAPABILITIES,
907
894
  PROTOCOL_VERSION,
908
895
  RESULT_TRUNCATION_MARKER,
896
+ RunCapture,
897
+ RunContributionClient,
909
898
  SCOPE_DEPENDENT_BASH_GUARDS,
910
899
  SCOPE_GUARDS_INERT_EVENT,
911
900
  SELF_EXTENSION_SETTING_DEF,
@@ -937,10 +926,18 @@ import {
937
926
  classifyTakeover,
938
927
  clearSkillRegistry,
939
928
  composeGuards,
929
+ configureRunContributionsFromEnvironment,
930
+ contributionChunkSchema,
931
+ contributionClientPolicySchema,
932
+ contributionManifestSchema,
933
+ contributionPurposeSchema,
934
+ contributionReceiptSchema,
935
+ contributionTransitionSchema,
940
936
  createDockerEvolutionSandbox,
941
937
  createEvolutionCandidate,
942
938
  createEvolutionSandbox,
943
939
  createSmolvmEvolutionSandbox,
940
+ currentRunContribution,
944
941
  decideAddressing,
945
942
  decodeHostMessage,
946
943
  decodeMessage,
@@ -971,6 +968,7 @@ import {
971
968
  formatUserAgent,
972
969
  gateFlagsFor,
973
970
  getCloudSinkConfig,
971
+ getConfiguredRunContributionClient,
974
972
  getSkillById,
975
973
  getToolsForRole,
976
974
  getWorkspaceHarnessTrust,
@@ -1048,8 +1046,22 @@ import {
1048
1046
  verifyEvolutionSnapshot,
1049
1047
  verifyImprovementLedger,
1050
1048
  verifyPrompt,
1051
- wilson95
1052
- } from "./chunk-O462Y7P2.js";
1049
+ wilson95,
1050
+ withRunContribution
1051
+ } from "./chunk-ANDKY54G.js";
1052
+ import {
1053
+ DEFAULT_JOURNAL_SIDECAR_THRESHOLD_BYTES,
1054
+ JOURNAL_SCHEMA_VERSION,
1055
+ branchJournal,
1056
+ createJournalWriter,
1057
+ defaultJournalRootDir,
1058
+ loadJournal,
1059
+ migrateJournalEntry,
1060
+ rehydrateContext,
1061
+ resolveJournalPaths,
1062
+ streamJournal
1063
+ } from "./chunk-CAJJRUTV.js";
1064
+ import "./chunk-K2PWUPUI.js";
1053
1065
  import {
1054
1066
  IntelCache,
1055
1067
  advisorySweep,
@@ -1081,169 +1093,53 @@ import {
1081
1093
  searchTargetHistory,
1082
1094
  toGraphSnapshot,
1083
1095
  toOsvEcosystem
1084
- } from "./chunk-LOHTE223.js";
1085
- import "./chunk-3MOLBTLS.js";
1096
+ } from "./chunk-SBMB4OL3.js";
1086
1097
  import {
1087
1098
  parseSanitizerLog,
1088
1099
  renderSanitizerVerdict
1089
- } from "./chunk-P6WKNFWX.js";
1090
- import {
1091
- DEFAULT_JOURNAL_SIDECAR_THRESHOLD_BYTES,
1092
- JOURNAL_SCHEMA_VERSION,
1093
- branchJournal,
1094
- createJournalWriter,
1095
- defaultJournalRootDir,
1096
- loadJournal,
1097
- migrateJournalEntry,
1098
- rehydrateContext,
1099
- resolveJournalPaths,
1100
- streamJournal
1101
- } from "./chunk-SOG2U7B3.js";
1102
- import "./chunk-LP3HHYQU.js";
1103
- import "./chunk-KLTNTE2Z.js";
1104
- import "./chunk-HT6P7RY3.js";
1105
- import {
1106
- activeAppsecLensRegistryPath,
1107
- appsecArchetypeDigest,
1108
- appsecArchetypeToFinderLens,
1109
- appsecArchetypesPath,
1110
- appsecLensLedgerEntryDigest,
1111
- appsecUserArchetypesPath,
1112
- loadAppsecArchetypes,
1113
- loadAppsecFinderLenses
1114
- } from "./chunk-QI233I24.js";
1100
+ } from "./chunk-2OQOQ2FZ.js";
1115
1101
  import {
1116
- ScanCostLedger
1117
- } from "./chunk-SZJCPG2I.js";
1118
- import {
1119
- CORE_REVIEW_PROMPT,
1120
- DEFAULT_IGNORE_DIR_GLOBS,
1121
- DEFAULT_IGNORE_FILE_GLOBS,
1122
- DEFAULT_REVIEW_COVERAGE_POLICY,
1123
- DEFAULT_REVIEW_MATCHERS,
1124
- REFUSAL_FOLLOWUP_PROMPT,
1125
- ReviewLimitError,
1126
- ReviewStore,
1127
- SLUG_NOTES,
1128
- STALE_LOCK_MS,
1129
- TECH_HIGHLIGHTS,
1130
- appendAnalysis,
1131
- assembleReviewPrompt,
1132
- atomicWriteFile,
1133
- atomicWriteFileSync,
1134
- batchCandidates,
1135
- buildInvestigatePrompt,
1136
- candidateSignature,
1137
- collectScannableFiles,
1138
- compileMatchers,
1139
- computeReviewFindingId,
1140
- ensureReviewFindingIds,
1141
- evaluateReviewCoverage,
1142
- expandSurfaceInventory,
1143
- expectedFindingsForBatch,
1144
- extractFencedJson,
1145
- findingSignature,
1146
- generateSurfaceInventory,
1147
- globToRegex,
1148
- groundSurfaceInventory,
1149
- matchAnyGlob,
1150
- matchFileContent,
1151
- matchGlob,
1152
- mergeCandidates,
1153
- mergeFindings,
1154
- newRunId,
1155
- normalizeRelPath,
1156
- normalizeTitle,
1157
- parseInvestigateResults,
1158
- parseRefusalReport,
1159
- parseRevalidateVerdicts,
1160
- reconcileVerdicts,
1161
- runFileReviewPipeline,
1162
- runReviewProcess,
1163
- runReviewRevalidate,
1164
- runReviewScan,
1165
- validateSurfaceInventory
1166
- } from "./chunk-WKNNZVJS.js";
1167
- import "./chunk-RRMJC3ZE.js";
1168
- import "./chunk-H2FFLZNK.js";
1102
+ ESCALATION_LADDER,
1103
+ ladderUpTo,
1104
+ maxRung,
1105
+ ratchet,
1106
+ rungAtLeast,
1107
+ rungRank
1108
+ } from "./chunk-UEX7PFSE.js";
1169
1109
  import {
1170
- DEFAULT_STEP_TIMEOUT_MS,
1171
- DISCLOSURE_STATUSES,
1172
- IllegalTransitionError,
1173
- IncompleteEvidenceError,
1174
- MAX_CAPTURE_BYTES,
1175
- PUBLIC_STATUSES,
1176
- TERMINAL_STATUSES,
1177
- UnreproducedFindingError,
1178
- UnverifiedFindingError,
1179
- allowedNextStatuses,
1180
- assembleBundleIndex,
1181
- assembleEvidencePack,
1182
- assembleReproducibilityManifest,
1183
- canTransition,
1184
- composeExploitSession,
1185
- composeStepSession,
1186
- createDisclosureRecord,
1187
- decideFilingState,
1188
- dropSlug,
1189
- droppedFilename,
1190
- evidenceKindForFinding,
1191
- executePocSteps,
1192
- extractSiblingFix,
1193
- formatDroppedReason,
1194
- isDisclosureWorthy,
1195
- isFreezeAvailable,
1196
- isPubliclyDisclosed,
1197
- renderExploitScreenshot,
1198
- renderReproducibilityManifest,
1199
- renderVendorNotificationMarkdown,
1200
- setRuntimeDeps,
1201
- transition
1202
- } from "./chunk-UJ4IK5PO.js";
1110
+ defaultDmesgOutPath,
1111
+ detectOutOfBandModuleLoad,
1112
+ loadKernelVmConfigFromEnv,
1113
+ prepareKernelVmArtifacts,
1114
+ verifyKernelFinding,
1115
+ writeProofFileReadOnly
1116
+ } from "./chunk-5T6D5BVY.js";
1203
1117
  import {
1204
- Cvss4ParseError,
1205
- EmptyPocError,
1206
- REPORT_PLATFORMS,
1207
- computeCvss4BaseScore,
1208
- cvss4Severity,
1209
- detectVersionRange,
1210
- extractFileRefs,
1211
- formatCvss4Vector,
1212
- formatCweSection,
1213
- formatPatchStatusSection,
1214
- formatVersionRangeLine,
1215
- parseCvss4Vector,
1216
- redactSensitiveHeaders,
1217
- renderAdvisoryMarkdown,
1218
- renderCvssSection,
1219
- renderPlatformReport,
1220
- reportTemplate,
1221
- scoreCvss4Vector,
1222
- suggestCvss,
1223
- suggestCvss4,
1224
- suggestCwesForCategory,
1225
- verifyAgainstRef
1226
- } from "./chunk-UM3ZNQIM.js";
1118
+ evaluateVerificationSpec,
1119
+ runSourceFix
1120
+ } from "./chunk-GIQKESMN.js";
1121
+ import "./chunk-PD2BBBKT.js";
1227
1122
  import {
1228
- classifyReferences,
1229
- findCveArtifacts,
1230
- findRedHatTrackerUrls,
1231
- findUbuntuTrackerUrls,
1232
- normaliseCveId,
1233
- parseGhsaResponse,
1234
- parseNvdResponse as parseNvdResponse2,
1235
- parseOsvResponse as parseOsvResponse2,
1236
- parseRedHatTracker,
1237
- parseUbuntuTracker,
1238
- scoreCodeCandidate,
1239
- scoreRepoCandidate
1240
- } from "./chunk-QKICO43A.js";
1123
+ DEFAULT_STEP_TIMEOUT_MS as DEFAULT_STEP_TIMEOUT_MS2,
1124
+ DockerRunner,
1125
+ LocalShellRunner,
1126
+ MAX_STREAM_CAPTURE_BYTES,
1127
+ QemuRunner,
1128
+ STREAM_EXCERPT_BYTES,
1129
+ argvForStep,
1130
+ assertionFromStepExpect,
1131
+ evaluateAssertion,
1132
+ excerpt,
1133
+ persistArtifact,
1134
+ runDeterministicReplay
1135
+ } from "./chunk-WF5W75WY.js";
1136
+ import "./chunk-QZVG3BG4.js";
1241
1137
  import {
1242
- ScopePolicy,
1243
- extractUrls,
1244
- loadScope,
1245
- matchUrl
1246
- } from "./chunk-57ZENEX2.js";
1138
+ generateConformanceModel,
1139
+ judgeHttpDivergence,
1140
+ runHttpConformanceCheck,
1141
+ structurallyValidateConformanceModel
1142
+ } from "./chunk-SQCBHFWN.js";
1247
1143
  import {
1248
1144
  DEFAULT_ENSEMBLE_MODELS,
1249
1145
  OpenRouterRuntime,
@@ -1252,54 +1148,17 @@ import {
1252
1148
  detectAvailableRuntimes,
1253
1149
  getRuntimeInfo,
1254
1150
  pickRuntimeForStage
1255
- } from "./chunk-MMLDQR4H.js";
1256
- import {
1257
- CloudAuthError,
1258
- CloudAuthMissingError,
1259
- CloudClient,
1260
- CloudError,
1261
- CloudForbiddenError,
1262
- CloudNetworkError,
1263
- CloudUnauthorizedError,
1264
- DEFAULT_CLOUD_HOST,
1265
- FEATURE_PRESETS,
1266
- LlmApiRuntime,
1267
- MAX_BUFFERED,
1268
- MAX_CODE_LENGTH,
1269
- MAX_FIELDS,
1270
- MAX_FIELD_VALUE_LENGTH,
1271
- MAX_MESSAGE_LENGTH,
1272
- OperatorAbortError,
1273
- QuotaExhaustedError,
1274
- _resetDiagnosticsForTests,
1275
- applyFeaturePreset,
1276
- applyFeaturePresetFromEnv,
1277
- claimDiagnostics,
1278
- diag,
1279
- features,
1280
- formatDiagnosticLine,
1281
- isDiagnosticsClaimed,
1282
- loadCloudCredentials,
1283
- parseUsageLimitReached,
1284
- recentDiagnostics,
1285
- resolveFeaturePreset,
1286
- stderrDiagnosticSink,
1287
- subscribeDiagnostics
1288
- } from "./chunk-2SANI5RH.js";
1151
+ } from "./chunk-NDJU5ZZ7.js";
1289
1152
  import {
1290
1153
  ProcessRuntime
1291
- } from "./chunk-CLHCDHP4.js";
1154
+ } from "./chunk-ER3SUMYJ.js";
1292
1155
  import {
1293
1156
  cloudEventSink,
1294
1157
  eventBus,
1295
1158
  isCloudEventSinkActive,
1296
1159
  maybeSubscribeCloudEventSink,
1297
1160
  presentationEventSink
1298
- } from "./chunk-QOKTUOU2.js";
1299
- import {
1300
- estimateCost
1301
- } from "./chunk-KKGE5RQE.js";
1302
- import "./chunk-YLMN3N25.js";
1161
+ } from "./chunk-CXKDWFNO.js";
1303
1162
  import {
1304
1163
  AD_ANALYZERS_BY_ID,
1305
1164
  buildAdGraph,
@@ -1307,7 +1166,7 @@ import {
1307
1166
  ingestBloodHoundJson,
1308
1167
  parseBloodHoundFile,
1309
1168
  runAdGraphAnalysis
1310
- } from "./chunk-6LKRLK2R.js";
1169
+ } from "./chunk-FHC2B7LN.js";
1311
1170
  import {
1312
1171
  AZ_EDGE_TECHNIQUES,
1313
1172
  ENTRA_PATH_ANALYZERS,
@@ -1400,7 +1259,7 @@ import {
1400
1259
  tier0TargetIds,
1401
1260
  tokenFingerprint,
1402
1261
  writebackEnabled
1403
- } from "./chunk-SAFFWQW4.js";
1262
+ } from "./chunk-P6YG6TEZ.js";
1404
1263
  import {
1405
1264
  AD_ANALYZERS,
1406
1265
  AD_EDGE_TECHNIQUES,
@@ -1418,7 +1277,80 @@ import {
1418
1277
  reachableFrom,
1419
1278
  reachableTo,
1420
1279
  shortestPaths
1421
- } from "./chunk-VQG4FT5D.js";
1280
+ } from "./chunk-UFHN6RIU.js";
1281
+ import "./chunk-WZISK5VC.js";
1282
+ import {
1283
+ DEFAULT_STEP_TIMEOUT_MS,
1284
+ DISCLOSURE_STATUSES,
1285
+ IllegalTransitionError,
1286
+ IncompleteEvidenceError,
1287
+ MAX_CAPTURE_BYTES,
1288
+ PUBLIC_STATUSES,
1289
+ TERMINAL_STATUSES,
1290
+ UnreproducedFindingError,
1291
+ UnverifiedFindingError,
1292
+ allowedNextStatuses,
1293
+ assembleBundleIndex,
1294
+ assembleEvidencePack,
1295
+ assembleReproducibilityManifest,
1296
+ canTransition,
1297
+ composeExploitSession,
1298
+ composeStepSession,
1299
+ createDisclosureRecord,
1300
+ decideFilingState,
1301
+ dropSlug,
1302
+ droppedFilename,
1303
+ evidenceKindForFinding,
1304
+ executePocSteps,
1305
+ extractSiblingFix,
1306
+ formatDroppedReason,
1307
+ isDisclosureWorthy,
1308
+ isFreezeAvailable,
1309
+ isPubliclyDisclosed,
1310
+ renderExploitScreenshot,
1311
+ renderReproducibilityManifest,
1312
+ renderVendorNotificationMarkdown,
1313
+ setRuntimeDeps,
1314
+ transition
1315
+ } from "./chunk-VOAXLO4A.js";
1316
+ import {
1317
+ Cvss4ParseError,
1318
+ EmptyPocError,
1319
+ REPORT_PLATFORMS,
1320
+ computeCvss4BaseScore,
1321
+ cvss4Severity,
1322
+ detectVersionRange,
1323
+ extractFileRefs,
1324
+ formatCvss4Vector,
1325
+ formatCweSection,
1326
+ formatPatchStatusSection,
1327
+ formatVersionRangeLine,
1328
+ parseCvss4Vector,
1329
+ redactSensitiveHeaders,
1330
+ renderAdvisoryMarkdown,
1331
+ renderCvssSection,
1332
+ renderPlatformReport,
1333
+ reportTemplate,
1334
+ scoreCvss4Vector,
1335
+ suggestCvss,
1336
+ suggestCvss4,
1337
+ suggestCwesForCategory,
1338
+ verifyAgainstRef
1339
+ } from "./chunk-W4JOXE4N.js";
1340
+ import {
1341
+ classifyReferences,
1342
+ findCveArtifacts,
1343
+ findRedHatTrackerUrls,
1344
+ findUbuntuTrackerUrls,
1345
+ normaliseCveId,
1346
+ parseGhsaResponse,
1347
+ parseNvdResponse as parseNvdResponse2,
1348
+ parseOsvResponse as parseOsvResponse2,
1349
+ parseRedHatTracker,
1350
+ parseUbuntuTracker,
1351
+ scoreCodeCandidate,
1352
+ scoreRepoCandidate
1353
+ } from "./chunk-WPQLBN4S.js";
1422
1354
  import {
1423
1355
  detectTargetType,
1424
1356
  expandHomePath,
@@ -1426,9 +1358,56 @@ import {
1426
1358
  isExplicitLocalTargetPath,
1427
1359
  prepare,
1428
1360
  resolveLocalTargetPath
1429
- } from "./chunk-WU6AFRAZ.js";
1430
- import "./chunk-DW5UWPFY.js";
1431
- import "./chunk-IR537GON.js";
1361
+ } from "./chunk-V36HVTUL.js";
1362
+ import "./chunk-4VGLO2YS.js";
1363
+ import "./chunk-6YNKRUMC.js";
1364
+ import {
1365
+ ScopePolicy,
1366
+ extractUrls,
1367
+ loadScope,
1368
+ matchUrl
1369
+ } from "./chunk-CGHCEN7W.js";
1370
+ import {
1371
+ loadCodexModelCatalog
1372
+ } from "./chunk-HPQZHOIU.js";
1373
+ import {
1374
+ CloudAuthError,
1375
+ CloudAuthMissingError,
1376
+ CloudClient,
1377
+ CloudError,
1378
+ CloudForbiddenError,
1379
+ CloudNetworkError,
1380
+ CloudUnauthorizedError,
1381
+ DEFAULT_CLOUD_HOST,
1382
+ FEATURE_PRESETS,
1383
+ LlmApiRuntime,
1384
+ MAX_BUFFERED,
1385
+ MAX_CODE_LENGTH,
1386
+ MAX_FIELDS,
1387
+ MAX_FIELD_VALUE_LENGTH,
1388
+ MAX_MESSAGE_LENGTH,
1389
+ OperatorAbortError,
1390
+ QuotaExhaustedError,
1391
+ _resetDiagnosticsForTests,
1392
+ applyFeaturePreset,
1393
+ applyFeaturePresetFromEnv,
1394
+ claimDiagnostics,
1395
+ diag,
1396
+ features,
1397
+ formatDiagnosticLine,
1398
+ isDiagnosticsClaimed,
1399
+ loadCloudCredentials,
1400
+ parseUsageLimitReached,
1401
+ recentDiagnostics,
1402
+ resolveFeaturePreset,
1403
+ stderrDiagnosticSink,
1404
+ subscribeDiagnostics
1405
+ } from "./chunk-BACXRTQ4.js";
1406
+ import {
1407
+ estimateCost
1408
+ } from "./chunk-PC6RCKQV.js";
1409
+ import "./chunk-VIT5ALXF.js";
1410
+ import "./chunk-VCSFCHAJ.js";
1432
1411
  export {
1433
1412
  ACTION_LOG_ARGS_MAX,
1434
1413
  ACTION_LOG_ARG_VALUE_MAX,
@@ -1460,7 +1439,7 @@ export {
1460
1439
  COMPACT_DETAIL_CHARS,
1461
1440
  CONSERVATIVE_JITTER_MS,
1462
1441
  CONSERVATIVE_RPS,
1463
- CORE_REVIEW_PROMPT,
1442
+ CONTRIBUTION_ENDPOINT,
1464
1443
  CloudAuthError,
1465
1444
  CloudAuthMissingError,
1466
1445
  CloudClient,
@@ -1477,16 +1456,13 @@ export {
1477
1456
  DEFAULT_CONCURRENCY,
1478
1457
  DEFAULT_ENSEMBLE_MODELS,
1479
1458
  DEFAULT_HANDSHAKE_TIMEOUT_MS,
1480
- DEFAULT_IGNORE_DIR_GLOBS,
1481
- DEFAULT_IGNORE_FILE_GLOBS,
1482
1459
  DEFAULT_IMPROVEMENT_PROMOTION_POLICY,
1483
1460
  DEFAULT_JOURNAL_SIDECAR_THRESHOLD_BYTES,
1484
1461
  DEFAULT_MAX_DURATION_MS,
1462
+ DEFAULT_MAX_TOOL_ITERATIONS,
1485
1463
  DEFAULT_MCP_PATHS,
1486
1464
  DEFAULT_RACE_WIDEN_DELAY_MS,
1487
1465
  DEFAULT_REGISTRY_URL,
1488
- DEFAULT_REVIEW_COVERAGE_POLICY,
1489
- DEFAULT_REVIEW_MATCHERS,
1490
1466
  DEFAULT_SEED_DIRS,
1491
1467
  DEFAULT_SPEC_PATHS,
1492
1468
  DEFAULT_STEP_TIMEOUT_MS,
@@ -1560,6 +1536,8 @@ export {
1560
1536
  IntelCache,
1561
1537
  JOURNAL_SCHEMA_VERSION,
1562
1538
  KERNELCTF_TIER1_RACE_GRID,
1539
+ KERNEL_FUNCTION_BATCH_SIZE,
1540
+ KERNEL_FUNCTION_LABELS,
1563
1541
  KERNEL_RUN_PROGRAM_MAX_BYTES,
1564
1542
  KERNEL_RUN_TOOL_DEFINITION,
1565
1543
  KNOWN_ATTACK_SURFACES,
@@ -1634,7 +1612,6 @@ export {
1634
1612
  RECENCY_DETECTORS_ALL,
1635
1613
  RECENCY_DETECTORS_FULL,
1636
1614
  RECENCY_REACHABLE_ALLOWLIST,
1637
- REFUSAL_FOLLOWUP_PROMPT,
1638
1615
  REPORT_PLATFORMS,
1639
1616
  RESULT_TRUNCATION_MARKER,
1640
1617
  ROLE_TEMPLATE_IDS,
@@ -1642,15 +1619,13 @@ export {
1642
1619
  RUNTIME_REGISTRY,
1643
1620
  RateLimiter,
1644
1621
  ResearchAdapterRegistry,
1645
- ReviewLimitError,
1646
- ReviewStore,
1622
+ RunCapture,
1623
+ RunContributionClient,
1647
1624
  SCOPE_DEPENDENT_BASH_GUARDS,
1648
1625
  SCOPE_GUARDS_INERT_EVENT,
1649
1626
  SELF_EXTENSION_SETTING_DEF,
1650
1627
  SEMANTIC_COSMETIC_RUBRIC,
1651
- SLUG_NOTES,
1652
1628
  STAGE_ACTION_HISTORY_CAP,
1653
- STALE_LOCK_MS,
1654
1629
  STANDARD_RPS,
1655
1630
  SYNTH_TOOL,
1656
1631
  SYNTH_TOOL_NAME,
@@ -1661,7 +1636,6 @@ export {
1661
1636
  SuiteOracleObjectiveSchema,
1662
1637
  SuiteTaskTargetSchema,
1663
1638
  TECHNIQUE_LIBRARY,
1664
- TECH_HIGHLIGHTS,
1665
1639
  TERMINAL_STATUSES,
1666
1640
  TIER0_GRAPH_PERMISSIONS,
1667
1641
  TIER0_ROLE_TEMPLATE_IDS,
@@ -1719,7 +1693,6 @@ export {
1719
1693
  analyzeToken,
1720
1694
  apiSpecToAssets,
1721
1695
  appFixVariantsToSeedFindings,
1722
- appendAnalysis,
1723
1696
  appendHuntClaim,
1724
1697
  appendImprovementLedgerEntry,
1725
1698
  appendLedgerEntry,
@@ -1748,15 +1721,12 @@ export {
1748
1721
  assembleBundleIndex,
1749
1722
  assembleEvidencePack,
1750
1723
  assembleReproducibilityManifest,
1751
- assembleReviewPrompt,
1752
1724
  assertReadOnlyAction,
1753
1725
  assertionFromStepExpect,
1754
1726
  assessEscalation,
1755
1727
  assumptionsToHuntPlan,
1756
1728
  atlasTechniquesForCategory,
1757
1729
  atlasTechniquesForEvent,
1758
- atomicWriteFile,
1759
- atomicWriteFileSync,
1760
1730
  attackPrompt,
1761
1731
  attemptExploitabilityUpgrade,
1762
1732
  attemptWinRace,
@@ -1767,7 +1737,6 @@ export {
1767
1737
  automationVerdict,
1768
1738
  autonomousClimb,
1769
1739
  availableRefuterCandidates,
1770
- batchCandidates,
1771
1740
  blindVerifyPrompt,
1772
1741
  bootedCacheKey,
1773
1742
  boundaryCrossings,
@@ -1795,7 +1764,6 @@ export {
1795
1764
  buildIntelDossier,
1796
1765
  buildInvariantHuntContext,
1797
1766
  buildInvariantModel,
1798
- buildInvestigatePrompt,
1799
1767
  buildKernelPromotionEnvelope,
1800
1768
  buildKernelVerifyInitialPrompt,
1801
1769
  buildKernelVerifySystemPrompt,
@@ -1825,7 +1793,6 @@ export {
1825
1793
  canTransition,
1826
1794
  candidateGrepPatterns,
1827
1795
  candidateReferenceTokens,
1828
- candidateSignature,
1829
1796
  canonicalEntryPayload,
1830
1797
  canonicalEvolutionJson,
1831
1798
  canonicalProposalJson,
@@ -1836,6 +1803,7 @@ export {
1836
1803
  categoryToWebKind,
1837
1804
  shouldWeaponize as ceilingClearsWeaponizeBar,
1838
1805
  changedFilesInRange,
1806
+ checkAlreadyFixed,
1839
1807
  checkFixPresentInTarget,
1840
1808
  checkNotYetIntroduced,
1841
1809
  checkNovelty,
@@ -1865,12 +1833,10 @@ export {
1865
1833
  cloudEventSink,
1866
1834
  clusterCandidates,
1867
1835
  coerceEnablementRecord,
1868
- collectScannableFiles,
1869
1836
  collectScopeFiles,
1870
1837
  collectTenantSnapshot,
1871
1838
  compareScorecards,
1872
1839
  compileAndRunReproducer,
1873
- compileMatchers,
1874
1840
  composeExploitSession,
1875
1841
  composeGadgetSetup,
1876
1842
  composeGate,
@@ -1880,11 +1846,17 @@ export {
1880
1846
  computeEstablisherSets,
1881
1847
  computeEstablisherWrappers,
1882
1848
  computePriorityScore,
1883
- computeReviewFindingId,
1884
1849
  computeSurfaceScore,
1850
+ configureRunContributionsFromEnvironment,
1885
1851
  confirmedMissToCandidate,
1886
1852
  connectMcpServers,
1887
1853
  consolidateMemory,
1854
+ contributionChunkSchema,
1855
+ contributionClientPolicySchema,
1856
+ contributionManifestSchema,
1857
+ contributionPurposeSchema,
1858
+ contributionReceiptSchema,
1859
+ contributionTransitionSchema,
1888
1860
  controlRungForDemo,
1889
1861
  corpusV1Path,
1890
1862
  countCommits,
@@ -1895,10 +1867,12 @@ export {
1895
1867
  crashSeverity,
1896
1868
  crashSignatureFromReport,
1897
1869
  crashSignatureFromText,
1870
+ crashSummaryFromTriage,
1898
1871
  crashToFinding,
1899
1872
  crashTypeToCategory,
1900
1873
  createAgenticScanAdapter,
1901
1874
  createBenchIntegrationRegistry,
1875
+ createConsoleJevRuntime,
1902
1876
  createConsoleRuntime,
1903
1877
  createConsoleSession,
1904
1878
  createCoreBenchIntegration,
@@ -1932,6 +1906,7 @@ export {
1932
1906
  createXnuFuzzReceipt,
1933
1907
  crossCheckAssumptions,
1934
1908
  crossFamilyRefuteEnabled,
1909
+ currentRunContribution,
1935
1910
  cvss4Severity,
1936
1911
  decideAddressing,
1937
1912
  decideFilingState,
@@ -2014,7 +1989,6 @@ export {
2014
1989
  encodePluginMessage,
2015
1990
  encodeProgram,
2016
1991
  ensurePluginsRoot,
2017
- ensureReviewFindingIds,
2018
1992
  entraAnchors,
2019
1993
  entraNodeId,
2020
1994
  enumerateAttackSurfaces,
@@ -2032,7 +2006,6 @@ export {
2032
2006
  evaluateGuards,
2033
2007
  evaluateImprovementPromotion,
2034
2008
  evaluateRegression,
2035
- evaluateReviewCoverage,
2036
2009
  evaluateSignature,
2037
2010
  evaluateVerificationSpec,
2038
2011
  eventBus,
@@ -2045,8 +2018,6 @@ export {
2045
2018
  executeKernelRun,
2046
2019
  executePocSteps,
2047
2020
  expandHomePath,
2048
- expandSurfaceInventory,
2049
- expectedFindingsForBatch,
2050
2021
  extractAttributionFromScopeJson,
2051
2022
  extractCFromLlmOutput,
2052
2023
  extractCorpus,
@@ -2054,10 +2025,10 @@ export {
2054
2025
  extractDupeSignature,
2055
2026
  extractEngagementFromScopeJson,
2056
2027
  extractFeatures,
2057
- extractFencedJson,
2058
2028
  extractFileRefs,
2059
2029
  extractInlineCodeBlock,
2060
2030
  extractKernelFindingMetadata,
2031
+ extractKernelFunctions,
2061
2032
  extractResponseText,
2062
2033
  extractSiblingFix,
2063
2034
  extractSpecInvariants,
@@ -2098,7 +2069,6 @@ export {
2098
2069
  findUbuntuTrackerUrls,
2099
2070
  findUnconstrainedDelegation,
2100
2071
  findViolationsDataflow,
2101
- findingSignature,
2102
2072
  findingToQuery,
2103
2073
  findingTokens,
2104
2074
  fnv1a64,
@@ -2135,10 +2105,10 @@ export {
2135
2105
  generateRaceSmellCandidates,
2136
2106
  generateRemediation,
2137
2107
  generateRemediationWithLLM,
2138
- generateSurfaceInventory,
2139
2108
  generateSyzChoiceWeights,
2140
2109
  generateVariantCandidates,
2141
2110
  getCloudSinkConfig,
2111
+ getConfiguredRunContributionClient,
2142
2112
  getDetectorById,
2143
2113
  getEvalCategories,
2144
2114
  getObservation,
@@ -2150,9 +2120,7 @@ export {
2150
2120
  getTechnique,
2151
2121
  getToolsForRole,
2152
2122
  getWorkspaceHarnessTrust,
2153
- globToRegex,
2154
2123
  grantedPermissionNames,
2155
- groundSurfaceInventory,
2156
2124
  guardApprovalUnavailable,
2157
2125
  guardNetworkRequiresScope,
2158
2126
  guardPackage,
@@ -2256,6 +2224,7 @@ export {
2256
2224
  loadAssumptionModel,
2257
2225
  loadChromiumArchetypes,
2258
2226
  loadCloudCredentials,
2227
+ loadCodexModelCatalog,
2259
2228
  loadCpg,
2260
2229
  loadEvolutionConfigFile,
2261
2230
  loadEvolutionRegistry,
@@ -2314,10 +2283,7 @@ export {
2314
2283
  markProcessed,
2315
2284
  markerFired,
2316
2285
  markerLine,
2317
- matchAnyGlob,
2318
2286
  matchCrashSignature,
2319
- matchFileContent,
2320
- matchGlob,
2321
2287
  matchNegative,
2322
2288
  matchTriggers,
2323
2289
  matchUrl,
@@ -2332,9 +2298,7 @@ export {
2332
2298
  memCorruptionVerdict,
2333
2299
  memPrimitiveToCategory,
2334
2300
  memoryTokens,
2335
- mergeCandidates,
2336
2301
  mergeCraftEvidence,
2337
- mergeFindings,
2338
2302
  mergeHarvestedMisses,
2339
2303
  mergeIntel,
2340
2304
  migrateJournalEntry,
@@ -2353,7 +2317,6 @@ export {
2353
2317
  networkScopeRequiredRefusal,
2354
2318
  newCorrelationId,
2355
2319
  newMessageId,
2356
- newRunId,
2357
2320
  nodeChildSpawner,
2358
2321
  nodeOrStub,
2359
2322
  normaliseCveId,
@@ -2364,10 +2327,8 @@ export {
2364
2327
  normalizeGuid,
2365
2328
  normalizeId,
2366
2329
  normalizeProposalPath,
2367
- normalizeRelPath,
2368
2330
  normalizeStageAction,
2369
2331
  normalizeStageEndDetail,
2370
- normalizeTitle,
2371
2332
  objectTypeToken,
2372
2333
  objectiveOracle,
2373
2334
  objectiveOracleEvaluatorAttestation,
@@ -2399,7 +2360,6 @@ export {
2399
2360
  parseHarnessGenerationSpec,
2400
2361
  parseNvdResponse as parseIntelNvdResponse,
2401
2362
  parseOsvResponse as parseIntelOsvResponse,
2402
- parseInvestigateResults,
2403
2363
  parseKcsanReport,
2404
2364
  parseKernelConfig,
2405
2365
  parseListing,
@@ -2414,10 +2374,8 @@ export {
2414
2374
  parseOsvResponse2 as parseOsvResponse,
2415
2375
  parseRateLimitFlag,
2416
2376
  parseRedHatTracker,
2417
- parseRefusalReport,
2418
2377
  parseRegistryIndex,
2419
2378
  parseRetryAfter,
2420
- parseRevalidateVerdicts,
2421
2379
  parseSanitizerLog,
2422
2380
  parseSeedFindings,
2423
2381
  parseSelectorMapText,
@@ -2471,10 +2429,14 @@ export {
2471
2429
  raceStrategies,
2472
2430
  raceWidenEnv,
2473
2431
  raceWithDefaults,
2432
+ radarCandidatesToSeedFindings,
2474
2433
  rankAndDedupeFoxguardLeads,
2475
2434
  rankBugsByProvenRung,
2476
2435
  rankCandidates,
2436
+ rankCrashesWithJev,
2477
2437
  rankDanger,
2438
+ rankKernelCommitsWithJev,
2439
+ rankKernelHypothesesWithJev,
2478
2440
  rankResearchProposals,
2479
2441
  ratchet,
2480
2442
  reachabilityGate,
@@ -2490,7 +2452,6 @@ export {
2490
2452
  readUnstableDetector,
2491
2453
  recentDiagnostics,
2492
2454
  reconcile,
2493
- reconcileVerdicts,
2494
2455
  recordEvolutionVersion,
2495
2456
  redactRecordStrings,
2496
2457
  redactSecrets,
@@ -2557,6 +2518,7 @@ export {
2557
2518
  runAllAnalyzers,
2558
2519
  runAnalysisAgent,
2559
2520
  runAssumptionHunt,
2521
+ runBehavioralRepair,
2560
2522
  runBenchCase,
2561
2523
  runBenchSuite,
2562
2524
  runCliPathTraversalReplayFixture,
@@ -2571,13 +2533,13 @@ export {
2571
2533
  runEval,
2572
2534
  runEvolution,
2573
2535
  runExploitScan,
2574
- runFileReviewPipeline,
2575
2536
  runHttpConformanceCheck,
2576
2537
  runHuntScan,
2577
2538
  runHybridPathAnalysis,
2578
2539
  runIdentityAssessment,
2579
2540
  runJsRecon,
2580
2541
  runKernelExploitChain,
2542
+ runKernelSourceJevPrepass,
2581
2543
  runKernelVariantHunt,
2582
2544
  runLensSynthesisLoop,
2583
2545
  runLlmIpiAudit,
@@ -2594,10 +2556,8 @@ export {
2594
2556
  runRecon,
2595
2557
  runReproductionBundle,
2596
2558
  runResearch,
2597
- runReviewProcess,
2598
- runReviewRevalidate,
2599
- runReviewScan,
2600
2559
  runSecondAudit,
2560
+ runSecureProject,
2601
2561
  runSelfConsistencyVerify,
2602
2562
  runSourceFix,
2603
2563
  runSpecdriftPlan,
@@ -2624,6 +2584,7 @@ export {
2624
2584
  scanDualViewContexts,
2625
2585
  scanForModuleInit,
2626
2586
  scanForPatchGapCandidates,
2587
+ scanRepoCommitsWithJev,
2627
2588
  scanReportToBenchResult,
2628
2589
  scanViolatingContexts,
2629
2590
  scopeRequiredRefusal,
@@ -2698,6 +2659,7 @@ export {
2698
2659
  syncLoreMirror,
2699
2660
  synthesizeArchetypes,
2700
2661
  syzChoiceWeightsFromPlan,
2662
+ syzWeightingContextFromJev,
2701
2663
  syzbotQueueBrief,
2702
2664
  tableMetrics,
2703
2665
  tallyConsensus,
@@ -2716,6 +2678,7 @@ export {
2716
2678
  toOsvEcosystem,
2717
2679
  toScopeFile,
2718
2680
  toScopeJson,
2681
+ toToolContextJevRuntime,
2719
2682
  toVerifyVerdict,
2720
2683
  tokenFingerprint,
2721
2684
  toolCallPreview,
@@ -2738,7 +2701,6 @@ export {
2738
2701
  validateProposalAttempt,
2739
2702
  validateProposalReplay,
2740
2703
  validateResearchProposal,
2741
- validateSurfaceInventory,
2742
2704
  validateUpdateTodosArgs,
2743
2705
  validateXnuFuzzReceipt,
2744
2706
  variableLengthSchedule,
@@ -2762,6 +2724,7 @@ export {
2762
2724
  widenEnvFor,
2763
2725
  wilson95,
2764
2726
  withEnvOverrides,
2727
+ withRunContribution,
2765
2728
  withVariantFeatureFlags,
2766
2729
  witnessAssumptionViolation,
2767
2730
  witnessDualViewContexts,