0sec-cli 0.21.4 → 0.22.0

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 (251) hide show
  1. package/0.js +56 -56
  2. package/README.md +48 -63
  3. package/chunks/{adapt-loop-IGBRQAXO.js → adapt-loop-7I57LXXR.js} +4 -4
  4. package/chunks/{artifact-scraper-LNQJUORS.js → artifact-scraper-PYZ3RU3O.js} +2 -2
  5. package/chunks/{assumption-mining-4MJTP6H5.js → assumption-mining-MFLF43IR.js} +16 -16
  6. package/chunks/{chunk-Z3IKZX3X.js → chunk-23DG5YKS.js} +1 -1
  7. package/chunks/{chunk-BACXRTQ4.js → chunk-2GV4HQKE.js} +87 -767
  8. package/chunks/{chunk-QZVG3BG4.js → chunk-5IBCBQEH.js} +1 -2
  9. package/chunks/{chunk-NDJU5ZZ7.js → chunk-5MWAG3FT.js} +3 -3
  10. package/chunks/{chunk-PC6RCKQV.js → chunk-76KSBWOQ.js} +59 -26
  11. package/chunks/chunk-7DEHG7YT.js +2143 -0
  12. package/chunks/{chunk-CL5KAUM6.js → chunk-7UFUALR2.js} +274 -8
  13. package/chunks/{chunk-IMGWPNQM.js → chunk-CAYANSH6.js} +67 -574
  14. package/chunks/{chunk-P6YG6TEZ.js → chunk-DKSCN2AB.js} +1 -1
  15. package/chunks/{chunk-O6SD4A36.js → chunk-DM5C5L5D.js} +1 -1
  16. package/chunks/{chunk-FAH6V4QM.js → chunk-EGZGZFAH.js} +1116 -2291
  17. package/chunks/chunk-HR2TU42B.js +1228 -0
  18. package/chunks/{chunk-TF46UWFU.js → chunk-HUNAPTKV.js} +1 -1
  19. package/chunks/chunk-IO7R7WBM.js +114 -0
  20. package/chunks/{chunk-W4JOXE4N.js → chunk-IXT64DV5.js} +709 -1929
  21. package/chunks/{chunk-HBKCGJAV.js → chunk-LCRTAQN2.js} +1 -1
  22. package/chunks/{chunk-WPQLBN4S.js → chunk-LPTRPRZR.js} +1 -1
  23. package/chunks/{chunk-Y5H6E24H.js → chunk-LYUAM3TG.js} +1 -1
  24. package/chunks/{chunk-NOPBXZUV.js → chunk-MICHDTBK.js} +1 -1
  25. package/chunks/{chunk-CAJJRUTV.js → chunk-OAYUPGF6.js} +1 -1
  26. package/chunks/{chunk-FWAYJ2IV.js → chunk-OWLJYJ5O.js} +8 -8
  27. package/chunks/chunk-RE5EZDG2.js +5523 -0
  28. package/chunks/{chunk-RF5QGKLR.js → chunk-RRD4XXPU.js} +3 -3
  29. package/chunks/{chunk-2WSXFFJZ.js → chunk-RSIUX3RW.js} +2 -2
  30. package/chunks/{chunk-ANDKY54G.js → chunk-SJBCK2EI.js} +4019 -7299
  31. package/chunks/{chunk-G34QP2XW.js → chunk-TM74SSHC.js} +1 -1
  32. package/chunks/{chunk-VOAXLO4A.js → chunk-TO35Y326.js} +5 -721
  33. package/chunks/{chunk-SBMB4OL3.js → chunk-TZFIAMWZ.js} +62 -8
  34. package/chunks/chunk-UELXHK2Y.js +1950 -0
  35. package/chunks/{chunk-YHWWF4QY.js → chunk-UU7PQP6N.js} +3 -3
  36. package/chunks/{chunk-E2UOY5PJ.js → chunk-UV5QWZGE.js} +12 -70
  37. package/chunks/{chunk-YA4PUM4H.js → chunk-VMRRNRMR.js} +1 -1
  38. package/chunks/{chunk-WZISK5VC.js → chunk-VNRY6AWF.js} +53 -7
  39. package/chunks/{chunk-ER3SUMYJ.js → chunk-W6UWZFKL.js} +0 -195
  40. package/chunks/{chunk-5T6D5BVY.js → chunk-XFCTUKXR.js} +1 -1
  41. package/chunks/{chunk-YPOA3W4O.js → chunk-YIQSGNAA.js} +875 -108
  42. package/chunks/{codex-models-TYYV4JNN.js → codex-models-7TLJSY3L.js} +5 -3
  43. package/chunks/{commands-WF5RG4I2.js → commands-NEI7L3QA.js} +2151 -3642
  44. package/chunks/{db-U3WQZVAO.js → db-5AP3JB4W.js} +3 -3
  45. package/chunks/{disclose-67GZCDBO.js → disclose-LDNKAVRH.js} +10 -8
  46. package/chunks/{dist-F6X62TQK.js → dist-3FNZIBB4.js} +223 -192
  47. package/chunks/{dist-EVTN3UTT.js → dist-5YHYNLI3.js} +2 -2
  48. package/chunks/{dist-ACC3DZUZ.js → dist-DD4H6HMQ.js} +3 -1
  49. package/chunks/{eval-runner-SA6OUGHZ.js → eval-runner-43BO2C4T.js} +11 -11
  50. package/chunks/{exploit-agent-36Q7XQFP.js → exploit-agent-N4A5ELBK.js} +1 -1
  51. package/chunks/{exploit-autoclimb-J4OTSTZ6.js → exploit-autoclimb-N7P6KIF5.js} +1 -1
  52. package/chunks/{exploit-climb-PYEJDIC4.js → exploit-climb-WNEJUB5W.js} +2 -2
  53. package/chunks/fix-Z452M4EC.js +26 -0
  54. package/chunks/{harness-GDUMKGSE.js → harness-QJJJVSG4.js} +3 -3
  55. package/chunks/{hunt-scan-UDJSCISU.js → hunt-scan-K6D2V3PX.js} +14 -14
  56. package/chunks/{identity-JTIVJSV7.js → identity-62SVRW4H.js} +1 -1
  57. package/chunks/{kernel-primitive-F2IXUFAX.js → kernel-primitive-TKUACPKD.js} +2 -2
  58. package/chunks/{kernel-vm-runner-276LHIOV.js → kernel-vm-runner-RAAO2PGT.js} +2 -2
  59. package/chunks/{memsafety-scan-NHUOGTEX.js → memsafety-scan-FCPAXIZE.js} +2 -2
  60. package/chunks/{native-loop-3BSYVDUI.js → native-loop-2ZRJENZ3.js} +10 -10
  61. package/chunks/{npm-detectors-VIYJXKFQ.js → npm-detectors-Z2ZIQCN4.js} +2 -2
  62. package/chunks/orchestrate-2GWGNTBF.js +58 -0
  63. package/chunks/{process-PNMC36JI.js → process-N245QIQG.js} +1 -4
  64. package/chunks/{run-CBGE6DRQ.js → run-U3XU4CTC.js} +9940 -12572
  65. package/chunks/{runtime-PXO5G6UV.js → runtime-G75TEWQY.js} +4 -5
  66. package/chunks/{scope-NJHIDDTN.js → scope-WXI46UHJ.js} +4 -1
  67. package/chunks/{session-store-46WBZM22.js → session-store-27L3ZU73.js} +2 -2
  68. package/chunks/{variant-candidates-UH2WC2HA.js → variant-candidates-YWZORZMK.js} +3 -3
  69. package/chunks/{web-recon-prepass-SFXU44SS.js → web-recon-prepass-YVMFXCIK.js} +3 -3
  70. package/cli-path-traversal-fixture.js +352 -0
  71. package/dashboard/assets/bot-Bg1Tp9_d.js +1 -0
  72. package/dashboard/assets/dist-B_dDCPbu.js +1 -0
  73. package/dashboard/assets/findings-page-mayGhNx6.js +5 -0
  74. package/dashboard/assets/format--susmHX7.js +1 -0
  75. package/dashboard/assets/input-TuVPR3Zl.js +1 -0
  76. package/dashboard/assets/jsx-runtime-MGseXjj5.js +3 -0
  77. package/dashboard/assets/live-page-HWWHX99U.js +1 -0
  78. package/dashboard/assets/meta-tile-ckHo-w7k.js +1 -0
  79. package/dashboard/assets/operations-BxZ0OoXO.js +10 -0
  80. package/dashboard/assets/operations-app-D3d35rgo.js +46 -0
  81. package/dashboard/assets/overview-page-W_4IteEr.js +1 -0
  82. package/dashboard/assets/page-header-Bw9AJgBV.js +1 -0
  83. package/dashboard/assets/scans-page-CgzVXHnn.js +1 -0
  84. package/dashboard/assets/siren-KQj8QAnJ.js +1 -0
  85. package/dashboard/assets/table-8EDklulN.js +1 -0
  86. package/dashboard/assets/tabs-CFHPOwg8.js +1 -0
  87. package/dashboard/index.html +2 -3
  88. package/node_modules/node-addon-api/LICENSE.md +9 -0
  89. package/node_modules/node-addon-api/README.md +95 -0
  90. package/node_modules/node-addon-api/common.gypi +21 -0
  91. package/node_modules/node-addon-api/except.gypi +25 -0
  92. package/node_modules/node-addon-api/index.js +14 -0
  93. package/node_modules/node-addon-api/napi-inl.deprecated.h +186 -0
  94. package/node_modules/node-addon-api/napi-inl.h +7250 -0
  95. package/node_modules/node-addon-api/napi.h +3463 -0
  96. package/node_modules/node-addon-api/node_addon_api.gyp +42 -0
  97. package/node_modules/node-addon-api/node_api.gyp +9 -0
  98. package/node_modules/node-addon-api/noexcept.gypi +26 -0
  99. package/node_modules/node-addon-api/nothing.c +0 -0
  100. package/node_modules/node-addon-api/package-support.json +21 -0
  101. package/node_modules/node-addon-api/package.json +481 -0
  102. package/node_modules/node-addon-api/tools/README.md +73 -0
  103. package/node_modules/node-addon-api/tools/check-napi.js +99 -0
  104. package/node_modules/node-addon-api/tools/clang-format.js +71 -0
  105. package/node_modules/node-addon-api/tools/conversion.js +301 -0
  106. package/node_modules/node-gyp-build/LICENSE +21 -0
  107. package/node_modules/node-gyp-build/README.md +58 -0
  108. package/node_modules/node-gyp-build/SECURITY.md +5 -0
  109. package/node_modules/node-gyp-build/bin.js +84 -0
  110. package/node_modules/node-gyp-build/build-test.js +19 -0
  111. package/node_modules/node-gyp-build/index.js +6 -0
  112. package/node_modules/node-gyp-build/node-gyp-build.js +207 -0
  113. package/node_modules/node-gyp-build/optional.js +7 -0
  114. package/node_modules/node-gyp-build/package.json +43 -0
  115. package/node_modules/tree-sitter/LICENSE +21 -0
  116. package/node_modules/tree-sitter/README.md +90 -0
  117. package/node_modules/tree-sitter/binding.gyp +76 -0
  118. package/node_modules/tree-sitter/index.js +895 -0
  119. package/node_modules/tree-sitter/package.json +62 -0
  120. package/node_modules/tree-sitter/prebuilds/darwin-arm64/tree-sitter.node +0 -0
  121. package/node_modules/tree-sitter/prebuilds/darwin-x64/tree-sitter.node +0 -0
  122. package/node_modules/tree-sitter/prebuilds/linux-x64/tree-sitter.node +0 -0
  123. package/node_modules/tree-sitter/prebuilds/win32-x64/tree-sitter.node +0 -0
  124. package/node_modules/tree-sitter/src/addon_data.h +47 -0
  125. package/node_modules/tree-sitter/src/binding.cc +35 -0
  126. package/node_modules/tree-sitter/src/conversions.cc +140 -0
  127. package/node_modules/tree-sitter/src/conversions.h +22 -0
  128. package/node_modules/tree-sitter/src/language.cc +106 -0
  129. package/node_modules/tree-sitter/src/language.h +17 -0
  130. package/node_modules/tree-sitter/src/logger.cc +70 -0
  131. package/node_modules/tree-sitter/src/logger.h +19 -0
  132. package/node_modules/tree-sitter/src/lookaheaditerator.cc +122 -0
  133. package/node_modules/tree-sitter/src/lookaheaditerator.h +33 -0
  134. package/node_modules/tree-sitter/src/node.cc +1056 -0
  135. package/node_modules/tree-sitter/src/node.h +30 -0
  136. package/node_modules/tree-sitter/src/parser.cc +298 -0
  137. package/node_modules/tree-sitter/src/parser.h +35 -0
  138. package/node_modules/tree-sitter/src/query.cc +383 -0
  139. package/node_modules/tree-sitter/src/query.h +39 -0
  140. package/node_modules/tree-sitter/src/tree.cc +307 -0
  141. package/node_modules/tree-sitter/src/tree.h +45 -0
  142. package/node_modules/tree-sitter/src/tree_cursor.cc +213 -0
  143. package/node_modules/tree-sitter/src/tree_cursor.h +52 -0
  144. package/node_modules/tree-sitter/tree-sitter.d.ts +211 -0
  145. package/node_modules/tree-sitter/vendor/tree-sitter/LICENSE +21 -0
  146. package/node_modules/tree-sitter/vendor/tree-sitter/README.md +21 -0
  147. package/node_modules/tree-sitter/vendor/tree-sitter/lib/README.md +6 -0
  148. package/node_modules/tree-sitter/vendor/tree-sitter/lib/include/tree_sitter/api.h +1266 -0
  149. package/node_modules/tree-sitter/vendor/tree-sitter/lib/src/alloc.c +48 -0
  150. package/node_modules/tree-sitter/vendor/tree-sitter/lib/src/alloc.h +41 -0
  151. package/node_modules/tree-sitter/vendor/tree-sitter/lib/src/array.h +290 -0
  152. package/node_modules/tree-sitter/vendor/tree-sitter/lib/src/atomic.h +68 -0
  153. package/node_modules/tree-sitter/vendor/tree-sitter/lib/src/clock.h +146 -0
  154. package/node_modules/tree-sitter/vendor/tree-sitter/lib/src/error_costs.h +11 -0
  155. package/node_modules/tree-sitter/vendor/tree-sitter/lib/src/get_changed_ranges.c +501 -0
  156. package/node_modules/tree-sitter/vendor/tree-sitter/lib/src/get_changed_ranges.h +36 -0
  157. package/node_modules/tree-sitter/vendor/tree-sitter/lib/src/host.h +21 -0
  158. package/node_modules/tree-sitter/vendor/tree-sitter/lib/src/language.c +221 -0
  159. package/node_modules/tree-sitter/vendor/tree-sitter/lib/src/language.h +299 -0
  160. package/node_modules/tree-sitter/vendor/tree-sitter/lib/src/length.h +52 -0
  161. package/node_modules/tree-sitter/vendor/tree-sitter/lib/src/lexer.c +419 -0
  162. package/node_modules/tree-sitter/vendor/tree-sitter/lib/src/lexer.h +49 -0
  163. package/node_modules/tree-sitter/vendor/tree-sitter/lib/src/lib.c +14 -0
  164. package/node_modules/tree-sitter/vendor/tree-sitter/lib/src/node.c +774 -0
  165. package/node_modules/tree-sitter/vendor/tree-sitter/lib/src/parser.c +2151 -0
  166. package/node_modules/tree-sitter/vendor/tree-sitter/lib/src/parser.h +230 -0
  167. package/node_modules/tree-sitter/vendor/tree-sitter/lib/src/point.h +62 -0
  168. package/node_modules/tree-sitter/vendor/tree-sitter/lib/src/query.c +4134 -0
  169. package/node_modules/tree-sitter/vendor/tree-sitter/lib/src/reduce_action.h +34 -0
  170. package/node_modules/tree-sitter/vendor/tree-sitter/lib/src/reusable_node.h +95 -0
  171. package/node_modules/tree-sitter/vendor/tree-sitter/lib/src/stack.c +899 -0
  172. package/node_modules/tree-sitter/vendor/tree-sitter/lib/src/stack.h +133 -0
  173. package/node_modules/tree-sitter/vendor/tree-sitter/lib/src/subtree.c +1060 -0
  174. package/node_modules/tree-sitter/vendor/tree-sitter/lib/src/subtree.h +382 -0
  175. package/node_modules/tree-sitter/vendor/tree-sitter/lib/src/tree.c +165 -0
  176. package/node_modules/tree-sitter/vendor/tree-sitter/lib/src/tree.h +31 -0
  177. package/node_modules/tree-sitter/vendor/tree-sitter/lib/src/tree_cursor.c +714 -0
  178. package/node_modules/tree-sitter/vendor/tree-sitter/lib/src/tree_cursor.h +48 -0
  179. package/node_modules/tree-sitter/vendor/tree-sitter/lib/src/unicode/ICU_SHA +1 -0
  180. package/node_modules/tree-sitter/vendor/tree-sitter/lib/src/unicode/LICENSE +414 -0
  181. package/node_modules/tree-sitter/vendor/tree-sitter/lib/src/unicode/README.md +29 -0
  182. package/node_modules/tree-sitter/vendor/tree-sitter/lib/src/unicode/ptypes.h +1 -0
  183. package/node_modules/tree-sitter/vendor/tree-sitter/lib/src/unicode/umachine.h +448 -0
  184. package/node_modules/tree-sitter/vendor/tree-sitter/lib/src/unicode/urename.h +1 -0
  185. package/node_modules/tree-sitter/vendor/tree-sitter/lib/src/unicode/utf.h +1 -0
  186. package/node_modules/tree-sitter/vendor/tree-sitter/lib/src/unicode/utf16.h +733 -0
  187. package/node_modules/tree-sitter/vendor/tree-sitter/lib/src/unicode/utf8.h +881 -0
  188. package/node_modules/tree-sitter/vendor/tree-sitter/lib/src/unicode.h +50 -0
  189. package/node_modules/tree-sitter/vendor/tree-sitter/lib/src/wasm/stdlib-symbols.txt +23 -0
  190. package/node_modules/tree-sitter/vendor/tree-sitter/lib/src/wasm/stdlib.c +109 -0
  191. package/node_modules/tree-sitter/vendor/tree-sitter/lib/src/wasm/wasm-stdlib.h +1294 -0
  192. package/node_modules/tree-sitter/vendor/tree-sitter/lib/src/wasm_store.c +1823 -0
  193. package/node_modules/tree-sitter/vendor/tree-sitter/lib/src/wasm_store.h +31 -0
  194. package/node_modules/tree-sitter/vendor/tree-sitter/test/fixtures/grammars/.gitkeep +0 -0
  195. package/node_modules/tree-sitter-c/LICENSE +21 -0
  196. package/node_modules/tree-sitter-c/README.md +18 -0
  197. package/node_modules/tree-sitter-c/binding.gyp +20 -0
  198. package/node_modules/tree-sitter-c/bindings/node/binding.cc +20 -0
  199. package/node_modules/tree-sitter-c/bindings/node/index.d.ts +28 -0
  200. package/node_modules/tree-sitter-c/bindings/node/index.js +7 -0
  201. package/node_modules/tree-sitter-c/grammar.js +1463 -0
  202. package/node_modules/tree-sitter-c/package.json +108 -0
  203. package/node_modules/tree-sitter-c/prebuilds/darwin-arm64/tree-sitter-c.node +0 -0
  204. package/node_modules/tree-sitter-c/prebuilds/darwin-x64/tree-sitter-c.node +0 -0
  205. package/node_modules/tree-sitter-c/prebuilds/linux-x64/tree-sitter-c.node +0 -0
  206. package/node_modules/tree-sitter-c/prebuilds/win32-x64/tree-sitter-c.node +0 -0
  207. package/node_modules/tree-sitter-c/queries/highlights.scm +81 -0
  208. package/node_modules/tree-sitter-c/queries/tags.scm +9 -0
  209. package/node_modules/tree-sitter-c/src/grammar.json +9682 -0
  210. package/node_modules/tree-sitter-c/src/node-types.json +4556 -0
  211. package/node_modules/tree-sitter-c/src/parser.c +113852 -0
  212. package/node_modules/tree-sitter-c/src/tree_sitter/alloc.h +54 -0
  213. package/node_modules/tree-sitter-c/src/tree_sitter/array.h +290 -0
  214. package/node_modules/tree-sitter-c/src/tree_sitter/parser.h +265 -0
  215. package/package.json +10 -3
  216. package/vendor/tree-sitter-0.21.1-node24.json +16 -0
  217. package/vendor/tree-sitter-0.21.1-node24.tgz +0 -0
  218. package/chunks/chunk-CGHCEN7W.js +0 -169
  219. package/chunks/chunk-CXKDWFNO.js +0 -102
  220. package/chunks/chunk-GIQKESMN.js +0 -687
  221. package/chunks/chunk-HPQZHOIU.js +0 -67
  222. package/chunks/chunk-PD2BBBKT.js +0 -245
  223. package/chunks/chunk-WF5W75WY.js +0 -1070
  224. package/chunks/fix-J2KBRJDV.js +0 -12
  225. package/chunks/orchestrate-DHBFRTSI.js +0 -59
  226. package/chunks/replay-runner-LK2XFIVG.js +0 -39
  227. package/dashboard/assets/bot-yILPnRgD.js +0 -1
  228. package/dashboard/assets/chevron-down-BeDJ-Vka.js +0 -1
  229. package/dashboard/assets/circle-alert-BEnMBMT-.js +0 -1
  230. package/dashboard/assets/client-DRYsuOGl.js +0 -9
  231. package/dashboard/assets/copy-Bi5vzoF9.js +0 -1
  232. package/dashboard/assets/desktop-BT7RkC4q.js +0 -32
  233. package/dashboard/assets/desktop-OaBI0E0e.css +0 -1
  234. package/dashboard/assets/dist-CmX-h7a4.js +0 -1
  235. package/dashboard/assets/dist-DAwYQmf_.js +0 -45
  236. package/dashboard/assets/findings-page-B4rwF6fZ.js +0 -5
  237. package/dashboard/assets/format-LNQSSpn6.js +0 -1
  238. package/dashboard/assets/jsx-runtime-C7oxC63R.js +0 -1
  239. package/dashboard/assets/live-page-DoNwpPAO.js +0 -1
  240. package/dashboard/assets/meta-tile-BMtBC-Qq.js +0 -1
  241. package/dashboard/assets/operations-app-ER0gg7GN.js +0 -2
  242. package/dashboard/assets/operations-e2CGYKB1.js +0 -4
  243. package/dashboard/assets/overview-page-CmeWH17A.js +0 -1
  244. package/dashboard/assets/page-header-CIJyycfz.js +0 -1
  245. package/dashboard/assets/play-Dwo-9xt6.js +0 -1
  246. package/dashboard/assets/scans-page-CuhzWhHx.js +0 -1
  247. package/dashboard/assets/search-CiooTLck.js +0 -1
  248. package/dashboard/assets/siren-CCBwTSuk.js +0 -1
  249. package/dashboard/assets/table-BgsSBdke.js +0 -1
  250. package/dashboard/assets/tabs-vn6v7Bk6.js +0 -1
  251. package/dashboard/desktop.html +0 -21
package/0.js CHANGED
@@ -3,8 +3,9 @@ import { createRequire as __0CreateRequire } from "node:module";
3
3
  const require = __0CreateRequire(import.meta.url);
4
4
  import {
5
5
  Command,
6
+ launchConfiguredWorkbench,
6
7
  runStartupUpdate
7
- } from "./chunks/chunk-CL5KAUM6.js";
8
+ } from "./chunks/chunk-7UFUALR2.js";
8
9
  import {
9
10
  resolveEngagement,
10
11
  setHerdrSink
@@ -15,67 +16,64 @@ import {
15
16
  installProcessPresentationStreamBridge,
16
17
  maybeLoadCodexAuth,
17
18
  presentationEventBus
18
- } from "./chunks/chunk-YPOA3W4O.js";
19
- import {
20
- source_default
21
- } from "./chunks/chunk-HLFS6WV2.js";
19
+ } from "./chunks/chunk-YIQSGNAA.js";
22
20
  import {
23
21
  createHerdrEventSink,
24
22
  maybeSubscribeOperationalEventSink
25
- } from "./chunks/chunk-FAH6V4QM.js";
26
- import "./chunks/chunk-RF5QGKLR.js";
27
- import "./chunks/chunk-Y5H6E24H.js";
28
- import "./chunks/chunk-GVD6SJGH.js";
23
+ } from "./chunks/chunk-EGZGZFAH.js";
24
+ import "./chunks/chunk-LYUAM3TG.js";
25
+ import {
26
+ source_default
27
+ } from "./chunks/chunk-HLFS6WV2.js";
29
28
  import "./chunks/chunk-QCUFBVIZ.js";
30
- import "./chunks/chunk-2WSXFFJZ.js";
31
- import "./chunks/chunk-G34QP2XW.js";
29
+ import "./chunks/chunk-RSIUX3RW.js";
30
+ import "./chunks/chunk-TM74SSHC.js";
32
31
  import "./chunks/chunk-2WNCI664.js";
33
- import "./chunks/chunk-Z3IKZX3X.js";
32
+ import "./chunks/chunk-23DG5YKS.js";
34
33
  import "./chunks/chunk-DQTNI3KY.js";
35
- import "./chunks/chunk-YA4PUM4H.js";
36
- import "./chunks/chunk-O6SD4A36.js";
37
- import "./chunks/chunk-TF46UWFU.js";
34
+ import "./chunks/chunk-VMRRNRMR.js";
35
+ import "./chunks/chunk-DM5C5L5D.js";
36
+ import "./chunks/chunk-RRD4XXPU.js";
37
+ import "./chunks/chunk-HUNAPTKV.js";
38
38
  import "./chunks/chunk-AZ7L3HFD.js";
39
- import "./chunks/chunk-YHWWF4QY.js";
40
- import "./chunks/chunk-E2UOY5PJ.js";
41
- import {
42
- analyticsPipeline,
43
- configureRunContributionsFromEnvironment
44
- } from "./chunks/chunk-ANDKY54G.js";
45
- import "./chunks/chunk-CAJJRUTV.js";
39
+ import "./chunks/chunk-UU7PQP6N.js";
40
+ import "./chunks/chunk-UV5QWZGE.js";
41
+ import "./chunks/chunk-SJBCK2EI.js";
46
42
  import "./chunks/chunk-K2PWUPUI.js";
47
- import "./chunks/chunk-SBMB4OL3.js";
43
+ import "./chunks/chunk-TZFIAMWZ.js";
48
44
  import "./chunks/chunk-2OQOQ2FZ.js";
49
45
  import "./chunks/chunk-UEX7PFSE.js";
50
- import "./chunks/chunk-5T6D5BVY.js";
51
- import "./chunks/chunk-GIQKESMN.js";
52
- import "./chunks/chunk-PD2BBBKT.js";
53
- import "./chunks/chunk-WF5W75WY.js";
54
- import "./chunks/chunk-QZVG3BG4.js";
55
- import "./chunks/chunk-SQCBHFWN.js";
56
- import "./chunks/chunk-NDJU5ZZ7.js";
57
- import "./chunks/chunk-ER3SUMYJ.js";
46
+ import "./chunks/chunk-OAYUPGF6.js";
47
+ import "./chunks/chunk-XFCTUKXR.js";
48
+ import "./chunks/chunk-HR2TU42B.js";
58
49
  import {
50
+ analyticsPipeline,
51
+ configureRunContributionsFromEnvironment,
59
52
  eventBus,
60
- maybeSubscribeCloudEventSink,
61
53
  presentationEventSink
62
- } from "./chunks/chunk-CXKDWFNO.js";
54
+ } from "./chunks/chunk-RE5EZDG2.js";
55
+ import "./chunks/chunk-SQCBHFWN.js";
56
+ import "./chunks/chunk-GVD6SJGH.js";
57
+ import "./chunks/chunk-5MWAG3FT.js";
58
+ import "./chunks/chunk-W6UWZFKL.js";
63
59
  import "./chunks/chunk-FHC2B7LN.js";
64
- import "./chunks/chunk-P6YG6TEZ.js";
60
+ import "./chunks/chunk-DKSCN2AB.js";
65
61
  import "./chunks/chunk-UFHN6RIU.js";
66
- import "./chunks/chunk-WZISK5VC.js";
67
- import "./chunks/chunk-VOAXLO4A.js";
68
- import "./chunks/chunk-W4JOXE4N.js";
69
- import "./chunks/chunk-WPQLBN4S.js";
62
+ import "./chunks/chunk-VNRY6AWF.js";
63
+ import "./chunks/chunk-TO35Y326.js";
64
+ import "./chunks/chunk-IXT64DV5.js";
65
+ import "./chunks/chunk-UELXHK2Y.js";
66
+ import "./chunks/chunk-LPTRPRZR.js";
70
67
  import "./chunks/chunk-V36HVTUL.js";
71
68
  import "./chunks/chunk-4VGLO2YS.js";
72
69
  import "./chunks/chunk-6YNKRUMC.js";
73
- import "./chunks/chunk-CGHCEN7W.js";
74
- import "./chunks/chunk-HPQZHOIU.js";
75
- import "./chunks/chunk-BACXRTQ4.js";
70
+ import "./chunks/chunk-7DEHG7YT.js";
71
+ import "./chunks/chunk-5IBCBQEH.js";
72
+ import "./chunks/chunk-IO7R7WBM.js";
73
+ import "./chunks/chunk-2GV4HQKE.js";
76
74
  import {
77
75
  VERSION
78
- } from "./chunks/chunk-PC6RCKQV.js";
76
+ } from "./chunks/chunk-76KSBWOQ.js";
79
77
  import "./chunks/chunk-VIT5ALXF.js";
80
78
  import "./chunks/chunk-VCSFCHAJ.js";
81
79
 
@@ -101,7 +99,7 @@ import { fileURLToPath } from "node:url";
101
99
  var BYPASS_ENV = "ZERO_ALLOW_STALE_SOURCE_DIST";
102
100
  function currentBuildCommit() {
103
101
  if (true) {
104
- return "27671f61aa4861a39c52482b3f65603deb8fbee8";
102
+ return "b6570dfd5d65a2c97a14cfb1432c4f7b975fb411";
105
103
  }
106
104
  return void 0;
107
105
  }
@@ -187,10 +185,18 @@ function enforceSourceDistFreshness(opts = {}) {
187
185
  }
188
186
 
189
187
  // packages/cli/src/index.ts
188
+ try {
189
+ const workbenchExitCode = await launchConfiguredWorkbench(process.argv.slice(2));
190
+ if (workbenchExitCode !== void 0) process.exit(workbenchExitCode);
191
+ } catch (error) {
192
+ process.stderr.write(`[0] ${error instanceof Error ? error.message : String(error)}
193
+ `);
194
+ process.exit(125);
195
+ }
196
+ var isWorkbenchManagement = process.argv[2] === "workbench" || process.argv[2] === "config";
190
197
  installConsolePresentationBridge();
191
198
  installProcessPresentationStreamBridge();
192
- maybeLoadCodexAuth();
193
- maybeSubscribeCloudEventSink();
199
+ if (!isWorkbenchManagement) maybeLoadCodexAuth();
194
200
  try {
195
201
  getSettings();
196
202
  } catch {
@@ -207,9 +213,9 @@ var herdrSink = createHerdrEventSink();
207
213
  if (herdrSink) eventBus.subscribe(herdrSink);
208
214
  setHerdrSink(herdrSink);
209
215
  enforceSourceDistFreshness({ entryUrl: import.meta.url });
210
- await runStartupUpdate(VERSION);
216
+ if (!isWorkbenchManagement) await runStartupUpdate(VERSION);
211
217
  async function buildProgram() {
212
- const c = await import("./chunks/commands-WF5RG4I2.js");
218
+ const c = await import("./chunks/commands-NEI7L3QA.js");
213
219
  const program = new Command();
214
220
  program.name("0").description("Open-source multi-model security research harness").version(VERSION).enablePositionalOptions();
215
221
  c.registerScanCommand(program);
@@ -220,8 +226,6 @@ async function buildProgram() {
220
226
  c.registerSecureCommand(program);
221
227
  c.registerReviewCommand(program);
222
228
  c.registerFixCommand(program);
223
- c.registerConnectCommand(program);
224
- c.registerGuideCommand(program);
225
229
  c.registerAuditCommand(program);
226
230
  c.registerDoctorCommand(program);
227
231
  c.registerDashboardCommand(program);
@@ -249,8 +253,6 @@ async function buildProgram() {
249
253
  c.registerUpgradeCommand(program);
250
254
  c.registerDepsCommand(program);
251
255
  c.registerH1Command(program);
252
- c.registerAuthCommand(program);
253
- c.registerHostedCommand(program);
254
256
  c.registerIntelCommand(program);
255
257
  c.registerReconCommand(program);
256
258
  c.registerConsoleCommand(program);
@@ -270,16 +272,14 @@ async function buildProgram() {
270
272
  c.registerThemeCommand(program);
271
273
  c.registerEvolveCommand(program);
272
274
  c.registerConfigCommand(program);
273
- c.registerServiceCommand(program);
274
- c.registerProjectSetupCommand(program);
275
- c.registerAuditSkillsCommand(program);
275
+ c.registerWorkbenchCommand(program);
276
276
  c.registerHackstoreCommand(program);
277
277
  return program;
278
278
  }
279
279
  async function showInteractiveMenu() {
280
280
  const { isBunRuntime } = await import("./chunks/runtime-XFWJTBUO.js");
281
281
  if (isBunRuntime()) {
282
- const { showOpenTuiHome } = await import("./chunks/run-CBGE6DRQ.js");
282
+ const { showOpenTuiHome } = await import("./chunks/run-U3XU4CTC.js");
283
283
  await showOpenTuiHome();
284
284
  return;
285
285
  }
@@ -302,7 +302,7 @@ process.once("beforeExit", () => {
302
302
  });
303
303
  });
304
304
  var userArgs = process.argv.slice(2);
305
- var knownCommands = ["scan", "resume", "replay", "history", "findings", "secure", "connect", "guide", "review", "fix", "audit", "deps", "doctor", "dashboard", "tui", "watch", "orchestrate", "db", "mcp-server", "triage", "eval", "bench", "ingest", "kernel", "disclose", "verify", "exploit", "hunt", "recency-hunt", "deep-review", "lens-synth", "memsafety", "assumption-hunt", "specdrift", "protocol-check", "cve", "upgrade", "update", "h1", "auth", "login", "models", "balance", "intel", "recon", "js-recon", "npm-discovery", "identity", "adgraph", "entragraph", "cloud", "service", "project", "skills", "xnu-fuzz", "research", "radar", "timeline", "console", "agent-assure", "binary", "plugin", "theme", "config", "evolve", "hackstore", "hack", "store", "help"];
305
+ var knownCommands = ["scan", "resume", "replay", "history", "findings", "secure", "review", "fix", "audit", "deps", "doctor", "dashboard", "tui", "watch", "orchestrate", "db", "mcp-server", "triage", "eval", "bench", "ingest", "kernel", "disclose", "verify", "exploit", "hunt", "recency-hunt", "deep-review", "lens-synth", "memsafety", "assumption-hunt", "specdrift", "protocol-check", "cve", "upgrade", "update", "h1", "intel", "recon", "js-recon", "npm-discovery", "identity", "adgraph", "entragraph", "cloud", "xnu-fuzz", "research", "radar", "timeline", "console", "agent-assure", "binary", "plugin", "theme", "config", "workbench", "evolve", "hackstore", "hack", "store", "help"];
306
306
  if (userArgs.length === 0) {
307
307
  showInteractiveMenu().catch((err) => {
308
308
  console.error(source_default.red(err instanceof Error ? err.message : String(err)));
package/README.md CHANGED
@@ -1,6 +1,6 @@
1
1
  <p align="center">
2
2
  <a href="https://0.security/">
3
- <img src="assets/readme-cover.png" alt="Software already builds software. Now it can secure itself, too." width="100%">
3
+ <img src="assets/readme-cover.png" alt="0security terminal security research workflow" width="100%">
4
4
  </a>
5
5
  </p>
6
6
 
@@ -13,13 +13,12 @@
13
13
 
14
14
  <p align="center">
15
15
  <strong>The open-source, self-evolving, multi-model harness for security research.</strong><br/>
16
- <sub>The Swiss Applied AI &amp; Cybersecurity Research Lab</sub><br/>
16
+ <sub>Backed by Y Combinator · The Swiss Applied AI &amp; Cybersecurity Research Lab</sub><br/>
17
17
  <a href="https://0.security/">0.security</a> ·
18
18
  <a href="https://docs.0.security/">Documentation</a> ·
19
19
  <a href="https://github.com/0sec-labs/foxguard">FoxGuard</a>
20
20
  </p>
21
21
 
22
-
23
22
  <p align="center">
24
23
  <a href="LICENSE"><img src="https://img.shields.io/badge/license-MIT%20OR%20Apache--2.0-1A1815?style=flat-square&labelColor=1A1815" alt="License: MIT OR Apache-2.0"></a>
25
24
  <a href="https://github.com/0sec-labs/0/releases/latest"><img src="https://img.shields.io/github/v/release/0sec-labs/0?style=flat-square&labelColor=1A1815&color=1A1815" alt="Latest release"></a>
@@ -30,88 +29,74 @@
30
29
  <img src="assets/security-cycle-diagram.webp" alt="Zero studies, finds, fixes, reports, and improves." width="100%">
31
30
  </p>
32
31
 
32
+ ## Security research, in your workspace
33
33
 
34
- ## The harness behind our research breakthroughs.
35
-
36
- Find novel vulnerabilities in the deepest layers of software. Explore our
37
- [public disclosures and upstream fixes](https://0.security/research/#disclosures),
38
- including research in the Linux kernel.
34
+ 0 is an open-source, multi-model harness for investigating software security:
35
+ read code, run tools, investigate findings and review proposed fixes.
36
+ Built by the Swiss Applied AI & Cybersecurity Research Lab, it supports our
37
+ [public disclosures and upstream fixes](https://0.security/research/#disclosures).
39
38
 
40
39
  ## Get started
41
40
 
42
- ### Docs for your agent
43
-
44
- Copy this prompt into your coding agent:
45
-
46
- > Set up the 0.security harness using https://0.security/harness/setup.md and read https://0.security/llms.txt for the documentation index. Confirm my targets and scope before testing, and ask before changing files.
47
-
48
- ### Quick install
41
+ Install on Apple Silicon macOS or x64/ARM64 Linux, then open 0:
49
42
 
50
43
  ```bash
51
44
  curl -fsSL https://raw.githubusercontent.com/0sec-labs/0/main/install.sh | bash
45
+ export PATH="$HOME/.0/bin:$PATH"
52
46
  0
53
47
  ```
54
48
 
55
- Bring your model access and configure connections in the terminal. Run locally
56
- or through the CLI in CI/CD, inspect findings and verification results, and
57
- export reports as JSON, Markdown or SARIF.
58
-
59
- [Setup guide](https://0.security/harness/setup.md) ·
60
- [Research workflows](https://docs.0.security/research-workflows/) ·
61
- [Documentation](https://docs.0.security/)
62
-
63
- ## Built for security research
64
49
 
65
- - **Open research.** Benchmark-led agent design and A/B-tested attack strategies,
66
- with public findings that others can inspect.
67
- - **Extensible tools.** Use the in-house security linter, connect your own tools,
68
- and let agents write and run tools for the investigation.
69
- - **Adaptive agents.** Delegate focused investigations to subagents with fresh
70
- context and bounded budgets, then collect their findings. See the
71
- [agent loop](https://docs.0.security/agent-loop/) and
72
- [worker monitoring](https://docs.0.security/console/#monitoring-subagents).
73
- - **Multi-model harness.** Bring the models you prefer into one security workflow.
74
- Combine deterministic steps with adaptive investigations.
75
- - **Evaluated self-improvement.** Propose changes, evaluate them, and select better
76
- versions for future runs. Learn more about the
77
- [improvement plane](https://docs.0.security/improvement-plane/).
78
50
 
79
- ### Available on 0.security
51
+ ## Work locally, extend deliberately
80
52
 
81
- **Optimized Model Routing: The best LLM for each step**
53
+ - Describe an authorized repository and investigation goal in chat, or use
54
+ `0 review ./authorized-repo` for a source review.
55
+ - Review findings and proposed changes.
56
+ Follow the [research workflows](https://docs.0.security/research-workflows/)
57
+ for deeper investigations.
58
+ - Connect your tools through [MCP and integrations](https://docs.0.security/integrations/).
59
+ Browse `/hackstore`, or [build and locally install an extension](https://docs.0.security/hackstore/).
60
+ Community plugins run as local processes; review them before enabling.
82
61
 
83
- The managed service adds model routing, non-public frontier cyber models,
84
- a purpose-built attack runtime and a curated offensive toolchain. These hosted
85
- capabilities are separate from running the open-source harness with your own
86
- model access. [Explore 0.security](https://0.security/).
62
+ ## Why 0?
87
63
 
88
- ## Make software secure itself.
64
+ Use the models you want. Bring the tools you need. Make the workflow your own.
65
+ 0 brings security investigations and fixes into one terminal workspace, with
66
+ focused agents and an extensible toolchain. The harness is open source and
67
+ runs under your control.
89
68
 
90
- The world's best security should belong to everyone. Software already writes
91
- itself; we believe it should secure itself, too. Our goal is security that
92
- finds and fixes vulnerabilities as software changes, so people can focus on
93
- what they want to create.
69
+ ## Guides
94
70
 
95
- Research comes first. Public disclosures, upstream fixes and reproducible
96
- results let people check our work. Open tools let them question it, extend it
97
- and build something better. Self-securing software is the future we're working
98
- toward.
71
+ - [Quick start and installation](https://docs.0.security/getting-started/)
72
+ - [Models and provider connections](https://docs.0.security/api-keys/)
73
+ - [Console, sessions and agents](https://docs.0.security/console/)
74
+ - [Plugins and Hackstore publishing](https://docs.0.security/hackstore/)
75
+ - [Scope and authorization](https://docs.0.security/scope/)
76
+ - [GitHub Actions](https://docs.0.security/ci/github-action/)
77
+ - [Troubleshooting](https://docs.0.security/troubleshooting/)
99
78
 
100
- [Read our manifesto](https://0.security/about/) ·
101
- [Explore our research](https://0.security/research/)
79
+ ## Status and safety
102
80
 
103
- ## Status
81
+ This is a **research preview**, not a guarantee of coverage or correctness.
82
+ Review results and generated fixes before applying them. Tool making and
83
+ [evaluated self-improvement](https://docs.0.security/improvement-plane/) are research workflows.
104
84
 
105
- This is a research preview. Coverage and verification depth vary by workflow;
106
- inspect the evidence and review generated fixes before applying them.
107
- Tool making and evaluated self-improvement are developing research workflows.
108
- Only test systems you own or are authorized to assess.
85
+ Only test systems you own or are authorized to assess. The optional
86
+ [scope plugin](https://docs.0.security/scope/) is disabled by default:
87
+ enable it explicitly with `0 plugin enable scope` and configure your boundaries.
88
+ The default console uses YOLO mode; use `0 console --mode standard` for
109
89
 
110
- ## Contributing
90
+ ## Contributing and license
111
91
 
112
- Read [CONTRIBUTING.md](CONTRIBUTING.md) to build and extend the harness.
92
+ Build and extend the harness with [CONTRIBUTING.md](CONTRIBUTING.md).
113
93
  Report security issues through [SECURITY.md](SECURITY.md).
94
+ Licensed under [MIT](LICENSE-MIT) OR [Apache-2.0](LICENSE).
114
95
 
115
- ## License
96
+ ## Acknowledgments
116
97
 
117
- [MIT](LICENSE-MIT) OR [Apache-2.0](LICENSE).
98
+ Thanks to the teams behind [OpenTUI](https://github.com/anomalyco/opentui),
99
+ [Bun](https://bun.sh/) and [React](https://react.dev/) for the interface stack,
100
+ and [Models.dev](https://models.dev/) and [LiteLLM](https://github.com/BerriAI/litellm)
101
+ for model metadata and pricing estimates. Thank you to everyone contributing
102
+ code, reporting bugs and sharing ideas.
@@ -5,10 +5,10 @@ import {
5
5
  adaptAndVerify,
6
6
  applyUnifiedDiff,
7
7
  renderAdaptationPrompt
8
- } from "./chunk-RF5QGKLR.js";
9
- import "./chunk-CAJJRUTV.js";
10
- import "./chunk-5T6D5BVY.js";
11
- import "./chunk-PC6RCKQV.js";
8
+ } from "./chunk-RRD4XXPU.js";
9
+ import "./chunk-OAYUPGF6.js";
10
+ import "./chunk-XFCTUKXR.js";
11
+ import "./chunk-76KSBWOQ.js";
12
12
  import "./chunk-VIT5ALXF.js";
13
13
  import "./chunk-VCSFCHAJ.js";
14
14
  export {
@@ -14,8 +14,8 @@ import {
14
14
  parseUbuntuTracker,
15
15
  scoreCodeCandidate,
16
16
  scoreRepoCandidate
17
- } from "./chunk-WPQLBN4S.js";
18
- import "./chunk-PC6RCKQV.js";
17
+ } from "./chunk-LPTRPRZR.js";
18
+ import "./chunk-76KSBWOQ.js";
19
19
  import "./chunk-VIT5ALXF.js";
20
20
  import "./chunk-VCSFCHAJ.js";
21
21
  export {
@@ -24,29 +24,29 @@ import {
24
24
  scoreDualViewWeaponizability,
25
25
  storeAssumptionModel,
26
26
  subjectSelfEnforces
27
- } from "./chunk-YHWWF4QY.js";
27
+ } from "./chunk-UU7PQP6N.js";
28
28
  import {
29
29
  composeGate,
30
30
  makeSkepticVerifier
31
- } from "./chunk-E2UOY5PJ.js";
32
- import "./chunk-ANDKY54G.js";
33
- import "./chunk-CAJJRUTV.js";
31
+ } from "./chunk-UV5QWZGE.js";
32
+ import "./chunk-SJBCK2EI.js";
34
33
  import "./chunk-K2PWUPUI.js";
35
- import "./chunk-SBMB4OL3.js";
34
+ import "./chunk-TZFIAMWZ.js";
36
35
  import "./chunk-2OQOQ2FZ.js";
37
36
  import "./chunk-UEX7PFSE.js";
38
- import "./chunk-5T6D5BVY.js";
39
- import "./chunk-PD2BBBKT.js";
40
- import "./chunk-QZVG3BG4.js";
41
- import "./chunk-NDJU5ZZ7.js";
42
- import "./chunk-ER3SUMYJ.js";
43
- import "./chunk-CXKDWFNO.js";
44
- import "./chunk-WZISK5VC.js";
45
- import "./chunk-W4JOXE4N.js";
37
+ import "./chunk-OAYUPGF6.js";
38
+ import "./chunk-XFCTUKXR.js";
39
+ import "./chunk-RE5EZDG2.js";
40
+ import "./chunk-5MWAG3FT.js";
41
+ import "./chunk-W6UWZFKL.js";
42
+ import "./chunk-VNRY6AWF.js";
43
+ import "./chunk-IXT64DV5.js";
44
+ import "./chunk-UELXHK2Y.js";
46
45
  import "./chunk-4VGLO2YS.js";
47
- import "./chunk-CGHCEN7W.js";
48
- import "./chunk-BACXRTQ4.js";
49
- import "./chunk-PC6RCKQV.js";
46
+ import "./chunk-7DEHG7YT.js";
47
+ import "./chunk-5IBCBQEH.js";
48
+ import "./chunk-2GV4HQKE.js";
49
+ import "./chunk-76KSBWOQ.js";
50
50
  import "./chunk-VIT5ALXF.js";
51
51
  import "./chunk-VCSFCHAJ.js";
52
52
  export {
@@ -3,7 +3,7 @@ import { createRequire as __0CreateRequire } from "node:module";
3
3
  const require = __0CreateRequire(import.meta.url);
4
4
  import {
5
5
  allowlistedChildEnv
6
- } from "./chunk-QZVG3BG4.js";
6
+ } from "./chunk-5IBCBQEH.js";
7
7
 
8
8
  // packages/core/dist/stages/npm-detectors/osv-lookup.js
9
9
  var DEFAULT_ENDPOINT = "https://api.osv.dev/v1/querybatch";