0sec-cli 0.18.0 → 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.
- package/{0sec.js → 0.js} +90 -82
- package/LICENSE +1 -1
- package/README.md +62 -46
- package/chunks/adapt-loop-7I57LXXR.js +18 -0
- package/chunks/{adgraph-JLGA6RYI.js → adgraph-AUDQTBYA.js} +5 -5
- package/chunks/agent/skills/frameworks/entra-id.yaml +2 -2
- package/chunks/agent/skills/techniques/assumption-mining.yaml +2 -2
- package/chunks/agent/skills/techniques/cve-poc-adaptation.yaml +2 -2
- package/chunks/agent/skills/techniques/entra-attack-paths.yaml +1 -1
- package/chunks/agent/skills/techniques/kernel-weaponization.yaml +1 -1
- package/chunks/agent/skills/techniques/llm-prompt-injection.yaml +2 -2
- package/chunks/agent/skills/techniques/npm-ecosystem.yaml +1 -1
- package/chunks/agent/skills/techniques/poc-verification.yaml +1 -1
- package/chunks/agent/skills/techniques/seedless-depth-review.yaml +20 -38
- package/chunks/{artifact-scraper-HQ7HLP6V.js → artifact-scraper-PYZ3RU3O.js} +6 -6
- package/chunks/{assumption-mining-5SNIVVDN.js → assumption-mining-MFLF43IR.js} +24 -26
- package/chunks/{chunk-7DQEV5QI.js → chunk-23DG5YKS.js} +4 -4
- package/chunks/{chunk-UR4ELX2Y.js → chunk-2GV4HQKE.js} +340 -703
- package/chunks/{chunk-P6WKNFWX.js → chunk-2OQOQ2FZ.js} +8 -8
- package/chunks/{chunk-5G3ZXFBW.js → chunk-2WNCI664.js} +3 -3
- package/chunks/{chunk-DW5UWPFY.js → chunk-4VGLO2YS.js} +6 -5
- package/chunks/{chunk-KLTNTE2Z.js → chunk-5IBCBQEH.js} +13 -14
- package/chunks/{chunk-N7BOUYEV.js → chunk-5MWAG3FT.js} +14 -14
- package/chunks/{chunk-OEFNRYI2.js → chunk-6GHSR47F.js} +3 -6
- package/chunks/chunk-6YNKRUMC.js +4474 -0
- package/chunks/{chunk-6L26OBWI.js → chunk-76KSBWOQ.js} +255 -35
- package/chunks/chunk-7DEHG7YT.js +2143 -0
- package/chunks/{chunk-AD7WXDH6.js → chunk-7UFUALR2.js} +288 -22
- package/chunks/{chunk-53G27VPS.js → chunk-AZ7L3HFD.js} +7 -2
- package/chunks/{chunk-TSK2AG6J.js → chunk-CAYANSH6.js} +173 -1757
- package/chunks/{chunk-SAFFWQW4.js → chunk-DKSCN2AB.js} +7 -7
- package/chunks/{chunk-2JCCA2JL.js → chunk-DM5C5L5D.js} +3 -3
- package/chunks/{chunk-RWONANDA.js → chunk-DQTNI3KY.js} +5 -5
- package/chunks/{chunk-5JI7L7KV.js → chunk-EGZGZFAH.js} +10036 -12938
- package/chunks/{chunk-6LKRLK2R.js → chunk-FHC2B7LN.js} +3 -3
- package/chunks/{chunk-MYVT64FN.js → chunk-GHWODZMR.js} +2 -2
- package/chunks/{chunk-2RMLOJVB.js → chunk-GVD6SJGH.js} +2 -2
- package/chunks/{chunk-SF4KZ4O3.js → chunk-HLFS6WV2.js} +2 -2
- package/chunks/chunk-HR2TU42B.js +1228 -0
- package/chunks/{chunk-BFRB6HB2.js → chunk-HUNAPTKV.js} +3 -3
- package/chunks/chunk-IO7R7WBM.js +114 -0
- package/chunks/{chunk-WEBMRWEG.js → chunk-IXT64DV5.js} +656 -1868
- package/chunks/{chunk-3MOLBTLS.js → chunk-K2PWUPUI.js} +2 -2
- package/chunks/{chunk-WXQ6BJ6A.js → chunk-LCRTAQN2.js} +7 -7
- package/chunks/{chunk-SVJEDVYK.js → chunk-LPTRPRZR.js} +5 -5
- package/chunks/{chunk-CMKXP5RR.js → chunk-LYUAM3TG.js} +3 -3
- package/chunks/{chunk-BVAZO4WA.js → chunk-MICHDTBK.js} +3 -3
- package/chunks/{chunk-UCYRA73C.js → chunk-OAYUPGF6.js} +4 -4
- package/chunks/{chunk-XM5NLHYU.js → chunk-OWLJYJ5O.js} +14 -14
- package/chunks/{chunk-BKZFDZ23.js → chunk-QCUFBVIZ.js} +3 -3
- package/chunks/chunk-RE5EZDG2.js +5523 -0
- package/chunks/{chunk-ASUR522M.js → chunk-RRD4XXPU.js} +9 -9
- package/chunks/{chunk-AHTBZC3E.js → chunk-RSIUX3RW.js} +4 -4
- package/chunks/{chunk-BZNEY2ZS.js → chunk-SJBCK2EI.js} +15268 -16053
- package/chunks/{chunk-IOL7D5YV.js → chunk-SQCBHFWN.js} +3 -3
- package/chunks/chunk-TH2LW437.js +7829 -0
- package/chunks/{chunk-WVTBZEQO.js → chunk-TM74SSHC.js} +8 -8
- package/chunks/{chunk-U5FLXGHT.js → chunk-TO35Y326.js} +13 -729
- package/chunks/chunk-TRH2PJSN.js +547 -0
- package/chunks/{chunk-YYRBQVFE.js → chunk-TZFIAMWZ.js} +70 -16
- package/chunks/chunk-UELXHK2Y.js +1950 -0
- package/chunks/{chunk-RJWOYEOG.js → chunk-UEX7PFSE.js} +5 -5
- package/chunks/{chunk-VQG4FT5D.js → chunk-UFHN6RIU.js} +2 -2
- package/chunks/{chunk-JQHOLLTD.js → chunk-UU7PQP6N.js} +9 -9
- package/chunks/{chunk-BFR2CDV5.js → chunk-UV5QWZGE.js} +283 -153
- package/chunks/{chunk-WU6AFRAZ.js → chunk-V36HVTUL.js} +12 -12
- package/chunks/{chunk-IR537GON.js → chunk-VCSFCHAJ.js} +2 -2
- package/chunks/{chunk-YLMN3N25.js → chunk-VIT5ALXF.js} +3 -3
- package/chunks/{chunk-BATRQBOR.js → chunk-VMRRNRMR.js} +41 -41
- package/chunks/{chunk-72CISA2D.js → chunk-VNRY6AWF.js} +89 -41
- package/chunks/chunk-W6UWZFKL.js +298 -0
- package/chunks/{chunk-3KPWWJCI.js → chunk-XFCTUKXR.js} +88 -88
- package/chunks/{chunk-GMT2AZKM.js → chunk-YIQSGNAA.js} +897 -130
- package/chunks/codex-models-7TLJSY3L.js +17 -0
- package/chunks/{commands-TBC2F5CE.js → commands-NEI7L3QA.js} +2836 -1424
- package/chunks/corpus-v1.json +2 -2
- package/chunks/data/appsec-archetypes.json +2 -2
- package/chunks/data/chromium-archetypes.json +1 -1
- package/chunks/data/freebsd-archetypes.json +1 -1
- package/chunks/data/kernel-archetypes.json +2 -2
- package/chunks/db-5AP3JB4W.js +16 -0
- package/chunks/{disclose-EKTWSCGW.js → disclose-LDNKAVRH.js} +13 -11
- package/chunks/{dist-4YICS2J2.js → dist-3FNZIBB4.js} +394 -404
- package/chunks/{dist-4MAW5X6L.js → dist-5YHYNLI3.js} +6 -6
- package/chunks/{dist-FMGSR3DW.js → dist-DD4H6HMQ.js} +13 -5
- package/chunks/dist-KEULE5IQ.js +21914 -0
- package/chunks/dist-XZB53PS5.js +53 -0
- package/chunks/eval-runner-43BO2C4T.js +26 -0
- package/chunks/example-manifest.json +2 -2
- package/chunks/{exploit-agent-45YQOHPJ.js → exploit-agent-N4A5ELBK.js} +4 -4
- package/chunks/{exploit-autoclimb-UZGEMGYT.js → exploit-autoclimb-N7P6KIF5.js} +6 -6
- package/chunks/{exploit-climb-SG23KB2G.js → exploit-climb-WNEJUB5W.js} +12 -12
- package/chunks/fix-Z452M4EC.js +26 -0
- package/chunks/{github-issues-MJ6OYOOU.js → github-issues-IGTTWM7V.js} +7 -7
- package/chunks/harness-QJJJVSG4.js +22 -0
- package/chunks/http-conformance-U5F6GKYG.js +11 -0
- package/chunks/http-sender-I5XFFY35.js +10 -0
- package/chunks/hunt-scan-K6D2V3PX.js +36 -0
- package/chunks/{identity-6ZAIIWOR.js → identity-62SVRW4H.js} +5 -5
- package/chunks/{kernel-primitive-7U6CWHXD.js → kernel-primitive-TKUACPKD.js} +6 -6
- package/chunks/{kernel-vm-runner-3JAU4O6J.js → kernel-vm-runner-RAAO2PGT.js} +6 -6
- package/chunks/memsafety-scan-FCPAXIZE.js +16 -0
- package/chunks/{native-loop-RJCJPOUS.js → native-loop-2ZRJENZ3.js} +17 -18
- package/chunks/{npm-detectors-KB5Y5ZFX.js → npm-detectors-Z2ZIQCN4.js} +6 -6
- package/chunks/npm-dynamic-discovery-5J7FT3XM.js +13 -0
- package/chunks/orchestrate-2GWGNTBF.js +58 -0
- package/chunks/{pre-recon-cve-66EB6G4M.js → pre-recon-cve-X2K2P5YQ.js} +4 -4
- package/chunks/prepare-KYHGFWCJ.js +13 -0
- package/chunks/process-N245QIQG.js +12 -0
- package/chunks/{run-D56MPDKY.js → run-U3XU4CTC.js} +11507 -13632
- package/chunks/{runtime-G7YWIO3B.js → runtime-G75TEWQY.js} +10 -11
- package/chunks/runtime-XFWJTBUO.js +12 -0
- package/chunks/{scan-stream-FHI2FYZE.js → scan-stream-BMOCPKQX.js} +7 -7
- package/chunks/scope-WXI46UHJ.js +21 -0
- package/chunks/{session-store-GZ4A4KYT.js → session-store-27L3ZU73.js} +6 -6
- package/chunks/source-files-REHOM44I.js +12 -0
- package/chunks/{specdrift-WCLH6TTQ.js → specdrift-AFS54WEJ.js} +5 -5
- package/chunks/token-KRWP5JYA.js +72 -0
- package/chunks/token-util-DWTL33S3.js +8 -0
- package/chunks/variant-candidates-YWZORZMK.js +13 -0
- package/chunks/{web-recon-prepass-JJGPEOLE.js → web-recon-prepass-YVMFXCIK.js} +9 -9
- package/cli-path-traversal-fixture.js +352 -0
- package/dashboard/assets/bot-Bg1Tp9_d.js +1 -0
- package/dashboard/assets/dist-B_dDCPbu.js +1 -0
- package/dashboard/assets/findings-page-mayGhNx6.js +5 -0
- package/dashboard/assets/format--susmHX7.js +1 -0
- package/dashboard/assets/input-TuVPR3Zl.js +1 -0
- package/dashboard/assets/jsx-runtime-MGseXjj5.js +3 -0
- package/dashboard/assets/live-page-HWWHX99U.js +1 -0
- package/dashboard/assets/meta-tile-ckHo-w7k.js +1 -0
- package/dashboard/assets/operations-BxZ0OoXO.js +10 -0
- package/dashboard/assets/operations-CMFVrXEe.css +2 -0
- package/dashboard/assets/operations-app-D3d35rgo.js +46 -0
- package/dashboard/assets/overview-page-W_4IteEr.js +1 -0
- package/dashboard/assets/page-header-Bw9AJgBV.js +1 -0
- package/dashboard/assets/scans-page-CgzVXHnn.js +1 -0
- package/dashboard/assets/siren-KQj8QAnJ.js +1 -0
- package/dashboard/assets/table-8EDklulN.js +1 -0
- package/dashboard/assets/tabs-CFHPOwg8.js +1 -0
- package/dashboard/index.html +4 -5
- package/node_modules/node-addon-api/LICENSE.md +9 -0
- package/node_modules/node-addon-api/README.md +95 -0
- package/node_modules/node-addon-api/common.gypi +21 -0
- package/node_modules/node-addon-api/except.gypi +25 -0
- package/node_modules/node-addon-api/index.js +14 -0
- package/node_modules/node-addon-api/napi-inl.deprecated.h +186 -0
- package/node_modules/node-addon-api/napi-inl.h +7250 -0
- package/node_modules/node-addon-api/napi.h +3463 -0
- package/node_modules/node-addon-api/node_addon_api.gyp +42 -0
- package/node_modules/node-addon-api/node_api.gyp +9 -0
- package/node_modules/node-addon-api/noexcept.gypi +26 -0
- package/node_modules/node-addon-api/nothing.c +0 -0
- package/node_modules/node-addon-api/package-support.json +21 -0
- package/node_modules/node-addon-api/package.json +481 -0
- package/node_modules/node-addon-api/tools/README.md +73 -0
- package/node_modules/node-addon-api/tools/check-napi.js +99 -0
- package/node_modules/node-addon-api/tools/clang-format.js +71 -0
- package/node_modules/node-addon-api/tools/conversion.js +301 -0
- package/node_modules/node-gyp-build/LICENSE +21 -0
- package/node_modules/node-gyp-build/README.md +58 -0
- package/node_modules/node-gyp-build/SECURITY.md +5 -0
- package/node_modules/node-gyp-build/bin.js +84 -0
- package/node_modules/node-gyp-build/build-test.js +19 -0
- package/node_modules/node-gyp-build/index.js +6 -0
- package/node_modules/node-gyp-build/node-gyp-build.js +207 -0
- package/node_modules/node-gyp-build/optional.js +7 -0
- package/node_modules/node-gyp-build/package.json +43 -0
- package/node_modules/tree-sitter/LICENSE +21 -0
- package/node_modules/tree-sitter/README.md +90 -0
- package/node_modules/tree-sitter/binding.gyp +76 -0
- package/node_modules/tree-sitter/index.js +895 -0
- package/node_modules/tree-sitter/package.json +62 -0
- package/node_modules/tree-sitter/prebuilds/darwin-arm64/tree-sitter.node +0 -0
- package/node_modules/tree-sitter/prebuilds/darwin-x64/tree-sitter.node +0 -0
- package/node_modules/tree-sitter/prebuilds/linux-x64/tree-sitter.node +0 -0
- package/node_modules/tree-sitter/prebuilds/win32-x64/tree-sitter.node +0 -0
- package/node_modules/tree-sitter/src/addon_data.h +47 -0
- package/node_modules/tree-sitter/src/binding.cc +35 -0
- package/node_modules/tree-sitter/src/conversions.cc +140 -0
- package/node_modules/tree-sitter/src/conversions.h +22 -0
- package/node_modules/tree-sitter/src/language.cc +106 -0
- package/node_modules/tree-sitter/src/language.h +17 -0
- package/node_modules/tree-sitter/src/logger.cc +70 -0
- package/node_modules/tree-sitter/src/logger.h +19 -0
- package/node_modules/tree-sitter/src/lookaheaditerator.cc +122 -0
- package/node_modules/tree-sitter/src/lookaheaditerator.h +33 -0
- package/node_modules/tree-sitter/src/node.cc +1056 -0
- package/node_modules/tree-sitter/src/node.h +30 -0
- package/node_modules/tree-sitter/src/parser.cc +298 -0
- package/node_modules/tree-sitter/src/parser.h +35 -0
- package/node_modules/tree-sitter/src/query.cc +383 -0
- package/node_modules/tree-sitter/src/query.h +39 -0
- package/node_modules/tree-sitter/src/tree.cc +307 -0
- package/node_modules/tree-sitter/src/tree.h +45 -0
- package/node_modules/tree-sitter/src/tree_cursor.cc +213 -0
- package/node_modules/tree-sitter/src/tree_cursor.h +52 -0
- package/node_modules/tree-sitter/tree-sitter.d.ts +211 -0
- package/node_modules/tree-sitter/vendor/tree-sitter/LICENSE +21 -0
- package/node_modules/tree-sitter/vendor/tree-sitter/README.md +21 -0
- package/node_modules/tree-sitter/vendor/tree-sitter/lib/README.md +6 -0
- package/node_modules/tree-sitter/vendor/tree-sitter/lib/include/tree_sitter/api.h +1266 -0
- package/node_modules/tree-sitter/vendor/tree-sitter/lib/src/alloc.c +48 -0
- package/node_modules/tree-sitter/vendor/tree-sitter/lib/src/alloc.h +41 -0
- package/node_modules/tree-sitter/vendor/tree-sitter/lib/src/array.h +290 -0
- package/node_modules/tree-sitter/vendor/tree-sitter/lib/src/atomic.h +68 -0
- package/node_modules/tree-sitter/vendor/tree-sitter/lib/src/clock.h +146 -0
- package/node_modules/tree-sitter/vendor/tree-sitter/lib/src/error_costs.h +11 -0
- package/node_modules/tree-sitter/vendor/tree-sitter/lib/src/get_changed_ranges.c +501 -0
- package/node_modules/tree-sitter/vendor/tree-sitter/lib/src/get_changed_ranges.h +36 -0
- package/node_modules/tree-sitter/vendor/tree-sitter/lib/src/host.h +21 -0
- package/node_modules/tree-sitter/vendor/tree-sitter/lib/src/language.c +221 -0
- package/node_modules/tree-sitter/vendor/tree-sitter/lib/src/language.h +299 -0
- package/node_modules/tree-sitter/vendor/tree-sitter/lib/src/length.h +52 -0
- package/node_modules/tree-sitter/vendor/tree-sitter/lib/src/lexer.c +419 -0
- package/node_modules/tree-sitter/vendor/tree-sitter/lib/src/lexer.h +49 -0
- package/node_modules/tree-sitter/vendor/tree-sitter/lib/src/lib.c +14 -0
- package/node_modules/tree-sitter/vendor/tree-sitter/lib/src/node.c +774 -0
- package/node_modules/tree-sitter/vendor/tree-sitter/lib/src/parser.c +2151 -0
- package/node_modules/tree-sitter/vendor/tree-sitter/lib/src/parser.h +230 -0
- package/node_modules/tree-sitter/vendor/tree-sitter/lib/src/point.h +62 -0
- package/node_modules/tree-sitter/vendor/tree-sitter/lib/src/query.c +4134 -0
- package/node_modules/tree-sitter/vendor/tree-sitter/lib/src/reduce_action.h +34 -0
- package/node_modules/tree-sitter/vendor/tree-sitter/lib/src/reusable_node.h +95 -0
- package/node_modules/tree-sitter/vendor/tree-sitter/lib/src/stack.c +899 -0
- package/node_modules/tree-sitter/vendor/tree-sitter/lib/src/stack.h +133 -0
- package/node_modules/tree-sitter/vendor/tree-sitter/lib/src/subtree.c +1060 -0
- package/node_modules/tree-sitter/vendor/tree-sitter/lib/src/subtree.h +382 -0
- package/node_modules/tree-sitter/vendor/tree-sitter/lib/src/tree.c +165 -0
- package/node_modules/tree-sitter/vendor/tree-sitter/lib/src/tree.h +31 -0
- package/node_modules/tree-sitter/vendor/tree-sitter/lib/src/tree_cursor.c +714 -0
- package/node_modules/tree-sitter/vendor/tree-sitter/lib/src/tree_cursor.h +48 -0
- package/node_modules/tree-sitter/vendor/tree-sitter/lib/src/unicode/ICU_SHA +1 -0
- package/node_modules/tree-sitter/vendor/tree-sitter/lib/src/unicode/LICENSE +414 -0
- package/node_modules/tree-sitter/vendor/tree-sitter/lib/src/unicode/README.md +29 -0
- package/node_modules/tree-sitter/vendor/tree-sitter/lib/src/unicode/ptypes.h +1 -0
- package/node_modules/tree-sitter/vendor/tree-sitter/lib/src/unicode/umachine.h +448 -0
- package/node_modules/tree-sitter/vendor/tree-sitter/lib/src/unicode/urename.h +1 -0
- package/node_modules/tree-sitter/vendor/tree-sitter/lib/src/unicode/utf.h +1 -0
- package/node_modules/tree-sitter/vendor/tree-sitter/lib/src/unicode/utf16.h +733 -0
- package/node_modules/tree-sitter/vendor/tree-sitter/lib/src/unicode/utf8.h +881 -0
- package/node_modules/tree-sitter/vendor/tree-sitter/lib/src/unicode.h +50 -0
- package/node_modules/tree-sitter/vendor/tree-sitter/lib/src/wasm/stdlib-symbols.txt +23 -0
- package/node_modules/tree-sitter/vendor/tree-sitter/lib/src/wasm/stdlib.c +109 -0
- package/node_modules/tree-sitter/vendor/tree-sitter/lib/src/wasm/wasm-stdlib.h +1294 -0
- package/node_modules/tree-sitter/vendor/tree-sitter/lib/src/wasm_store.c +1823 -0
- package/node_modules/tree-sitter/vendor/tree-sitter/lib/src/wasm_store.h +31 -0
- package/node_modules/tree-sitter/vendor/tree-sitter/test/fixtures/grammars/.gitkeep +0 -0
- package/node_modules/tree-sitter-c/LICENSE +21 -0
- package/node_modules/tree-sitter-c/README.md +18 -0
- package/node_modules/tree-sitter-c/binding.gyp +20 -0
- package/node_modules/tree-sitter-c/bindings/node/binding.cc +20 -0
- package/node_modules/tree-sitter-c/bindings/node/index.d.ts +28 -0
- package/node_modules/tree-sitter-c/bindings/node/index.js +7 -0
- package/node_modules/tree-sitter-c/grammar.js +1463 -0
- package/node_modules/tree-sitter-c/package.json +108 -0
- package/node_modules/tree-sitter-c/prebuilds/darwin-arm64/tree-sitter-c.node +0 -0
- package/node_modules/tree-sitter-c/prebuilds/darwin-x64/tree-sitter-c.node +0 -0
- package/node_modules/tree-sitter-c/prebuilds/linux-x64/tree-sitter-c.node +0 -0
- package/node_modules/tree-sitter-c/prebuilds/win32-x64/tree-sitter-c.node +0 -0
- package/node_modules/tree-sitter-c/queries/highlights.scm +81 -0
- package/node_modules/tree-sitter-c/queries/tags.scm +9 -0
- package/node_modules/tree-sitter-c/src/grammar.json +9682 -0
- package/node_modules/tree-sitter-c/src/node-types.json +4556 -0
- package/node_modules/tree-sitter-c/src/parser.c +113852 -0
- package/node_modules/tree-sitter-c/src/tree_sitter/alloc.h +54 -0
- package/node_modules/tree-sitter-c/src/tree_sitter/array.h +290 -0
- package/node_modules/tree-sitter-c/src/tree_sitter/parser.h +265 -0
- package/package.json +20 -13
- package/vendor/tree-sitter-0.21.1-node24.json +16 -0
- package/vendor/tree-sitter-0.21.1-node24.tgz +0 -0
- package/chunks/adapt-loop-SMH6V4PD.js +0 -18
- package/chunks/appsec-catalog-CBWHGTEL.js +0 -24
- package/chunks/chunk-242TMK6G.js +0 -110
- package/chunks/chunk-57ZENEX2.js +0 -169
- package/chunks/chunk-ADOLI6DT.js +0 -102
- package/chunks/chunk-ATATQACO.js +0 -471
- package/chunks/chunk-C2WXWFBB.js +0 -1070
- package/chunks/chunk-F3WBKITT.js +0 -687
- package/chunks/chunk-H2FFLZNK.js +0 -3
- package/chunks/chunk-LP3HHYQU.js +0 -245
- package/chunks/chunk-QI233I24.js +0 -333
- package/chunks/chunk-RRMJC3ZE.js +0 -105
- package/chunks/chunk-Z5FA2XOX.js +0 -2798
- package/chunks/cost-ledger-NU63MYZM.js +0 -13
- package/chunks/db-KFWOAUUB.js +0 -16
- package/chunks/eval-runner-7ZF472KV.js +0 -27
- package/chunks/fix-IG7LYXH3.js +0 -12
- package/chunks/harness-7ODOLOWU.js +0 -22
- package/chunks/http-conformance-DU66MZIU.js +0 -11
- package/chunks/http-sender-GWH2IYEA.js +0 -10
- package/chunks/hunt-scan-MMKUOETU.js +0 -38
- package/chunks/memsafety-scan-J7SECV5W.js +0 -16
- package/chunks/npm-dynamic-discovery-AHROOZDB.js +0 -13
- package/chunks/orchestrate-OC2VZN2X.js +0 -62
- package/chunks/pipeline-BZK5BLJR.js +0 -14
- package/chunks/prepare-MYY743TK.js +0 -13
- package/chunks/process-LQRCS5OY.js +0 -13
- package/chunks/replay-runner-45G3VU7X.js +0 -39
- package/chunks/runtime-J7PLXZNM.js +0 -12
- package/chunks/scope-BI7BF4ZY.js +0 -18
- package/chunks/source-files-PWRQR6LY.js +0 -12
- package/chunks/variant-candidates-YERCYMPD.js +0 -13
- package/dashboard/assets/0sec-icon-66SreztZ.gif +0 -0
- package/dashboard/assets/bot-yILPnRgD.js +0 -1
- package/dashboard/assets/chevron-down-BeDJ-Vka.js +0 -1
- package/dashboard/assets/circle-alert-BEnMBMT-.js +0 -1
- package/dashboard/assets/client-DRYsuOGl.js +0 -9
- package/dashboard/assets/copy-Bi5vzoF9.js +0 -1
- package/dashboard/assets/desktop-CXTQonNm.js +0 -32
- package/dashboard/assets/desktop-NOekk4QS.css +0 -1
- package/dashboard/assets/dist-CmX-h7a4.js +0 -1
- package/dashboard/assets/dist-DAwYQmf_.js +0 -45
- package/dashboard/assets/findings-page-CACW9nw2.js +0 -5
- package/dashboard/assets/format-PoISqsES.js +0 -1
- package/dashboard/assets/jsx-runtime-C7oxC63R.js +0 -1
- package/dashboard/assets/live-page-DrgQqQK5.js +0 -1
- package/dashboard/assets/meta-tile-CcskIV_o.js +0 -1
- package/dashboard/assets/operations-BKE8T-vY.css +0 -2
- package/dashboard/assets/operations-D8nUP5_m.js +0 -4
- package/dashboard/assets/operations-app-CQQhG54n.js +0 -2
- package/dashboard/assets/overview-page-DTGS8dPo.js +0 -1
- package/dashboard/assets/page-header-MFVvEtZW.js +0 -1
- package/dashboard/assets/play-Dwo-9xt6.js +0 -1
- package/dashboard/assets/scans-page-ChVtq8Us.js +0 -1
- package/dashboard/assets/search-CiooTLck.js +0 -1
- package/dashboard/assets/siren-CCBwTSuk.js +0 -1
- package/dashboard/assets/table-BYS-nIVA.js +0 -1
- package/dashboard/assets/tabs-DivxbhQy.js +0 -1
- package/dashboard/desktop.html +0 -21
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
|
-
import { createRequire as
|
|
3
|
-
const require =
|
|
2
|
+
import { createRequire as __0CreateRequire } from "node:module";
|
|
3
|
+
const require = __0CreateRequire(import.meta.url);
|
|
4
4
|
|
|
5
5
|
// packages/core/dist/review/sanitizer-log.js
|
|
6
6
|
var ASAN_CATEGORY_BY_KIND = {
|
|
@@ -297,7 +297,7 @@ When the target's input filter strips letters or digits (alphanumerics) but stil
|
|
|
297
297
|
- NoSQL injection: username[$ne]=x&password[$ne]=x
|
|
298
298
|
- Check for CORS misconfig allowing credential theft
|
|
299
299
|
- Try parameter pollution: add role=admin, is_admin=true to registration/profile update
|
|
300
|
-
- **HTTP method tampering on Apache \`<Limit>\` blocks (XBEN-054 vector):** if the target uses HTTP basic auth or returns 401/403 on a GET, also try \`curl -X BOGUS https://target/\` (or any non-standard HTTP verb such as FAKEMETHOD or
|
|
300
|
+
- **HTTP method tampering on Apache \`<Limit>\` blocks (XBEN-054 vector):** if the target uses HTTP basic auth or returns 401/403 on a GET, also try \`curl -X BOGUS https://target/\` (or any non-standard HTTP verb such as FAKEMETHOD or ZERO). Apache \`<Limit GET POST>\` directives only restrict the listed methods, so any other verb bypasses the auth check entirely and the page renders as if authenticated. Always probe at least one bogus method before giving up on a basic-auth wall.`,
|
|
301
301
|
blind_exploitation: `## Blind Exploitation Playbook
|
|
302
302
|
|
|
303
303
|
When injection works but you can't see the output directly (blind SSTI, blind SQLi, blind LFI with WAF), use side-channels to confirm and extract data.
|
|
@@ -746,7 +746,7 @@ Target is an LLM-backed app (chatbot, agent, assistant). Goal: make the model ig
|
|
|
746
746
|
|
|
747
747
|
### Indirect injection (the high-value variant)
|
|
748
748
|
- If the app summarizes, browses, reads files, or answers over documents, plant the instruction in that *data* source, not the chat box. The model executes it when it ingests the content.
|
|
749
|
-
- Confirm via a benign canary: get the model to emit a unique token (e.g. \`
|
|
749
|
+
- Confirm via a benign canary: get the model to emit a unique token (e.g. \`ZERO-INJ-OK\`) only an injected instruction would produce.
|
|
750
750
|
|
|
751
751
|
### Confirm and pivot
|
|
752
752
|
- A successful injection is the entry point \u2014 pivot to the breadth playbooks: \`insecure_output_handling\` (does the output get rendered downstream?), \`excessive_agency\` (can you reach a tool call?), \`rag_poisoning\` (is there a writable retrieval surface?).
|
|
@@ -866,7 +866,7 @@ Python interpreter / sandbox such as Pydantic Monty). The bug class is memory
|
|
|
866
866
|
corruption reachable from attacker-controlled scripting: use-after-free,
|
|
867
867
|
double-free, type confusion, OOB, and **GC-root gaps**. This is discovery +
|
|
868
868
|
classification, NOT autonomous exploit synthesis (see
|
|
869
|
-
docs/
|
|
869
|
+
docs/0-rust-memsafety-pipeline.md).
|
|
870
870
|
|
|
871
871
|
### HARD CONSTRAINTS \u2014 bounty rules (never violate)
|
|
872
872
|
1. **Never open a PR or change code** in the target or any of its dependencies.
|
|
@@ -990,7 +990,7 @@ var INDICATORS = [
|
|
|
990
990
|
]
|
|
991
991
|
},
|
|
992
992
|
{
|
|
993
|
-
// Multi-identity access-control surface (
|
|
993
|
+
// Multi-identity access-control surface (0#564). Distinct from `idor`:
|
|
994
994
|
// these patterns point at object/function references that should be tested
|
|
995
995
|
// with the access_control_probe tool across identities, plus the authz
|
|
996
996
|
// signals (admin endpoints, role params, allow/deny status codes).
|
|
@@ -1323,7 +1323,7 @@ var INDICATORS = [
|
|
|
1323
1323
|
]
|
|
1324
1324
|
},
|
|
1325
1325
|
{
|
|
1326
|
-
// AI prompt-layer write target (
|
|
1326
|
+
// AI prompt-layer write target (0#775). Fires when a DB foothold
|
|
1327
1327
|
// coincides with LLM-app + prompt-store signals: the system prompt /
|
|
1328
1328
|
// guardrails / model config live in a writable DB row. Distinct from
|
|
1329
1329
|
// rag_poisoning (writable retrieval docs) — this is the *control* layer.
|
|
@@ -1352,7 +1352,7 @@ var INDICATORS = [
|
|
|
1352
1352
|
]
|
|
1353
1353
|
},
|
|
1354
1354
|
{
|
|
1355
|
-
// Rust / userspace memory-safety + sandbox-escape (
|
|
1355
|
+
// Rust / userspace memory-safety + sandbox-escape (0#696, Monty-mode).
|
|
1356
1356
|
// Fires on Rust unsafe / FFI surface, memory-corruption signals (sanitizer
|
|
1357
1357
|
// and miri output, GC-root / refcount language), and the language-runtime
|
|
1358
1358
|
// sandbox context the round-1 UAF lived in.
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
|
-
import { createRequire as
|
|
3
|
-
const require =
|
|
2
|
+
import { createRequire as __0CreateRequire } from "node:module";
|
|
3
|
+
const require = __0CreateRequire(import.meta.url);
|
|
4
4
|
import {
|
|
5
5
|
getDetectorById,
|
|
6
6
|
resolveDetectors,
|
|
7
7
|
runDetectorOnPackage
|
|
8
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-DQTNI3KY.js";
|
|
9
9
|
|
|
10
10
|
// packages/core/dist/stages/npm-dynamic-discovery.js
|
|
11
11
|
import { randomUUID } from "node:crypto";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
|
-
import { createRequire as
|
|
3
|
-
const require =
|
|
2
|
+
import { createRequire as __0CreateRequire } from "node:module";
|
|
3
|
+
const require = __0CreateRequire(import.meta.url);
|
|
4
4
|
|
|
5
5
|
// packages/core/dist/shared-analysis.js
|
|
6
6
|
import { execFileSync } from "node:child_process";
|
|
@@ -101,7 +101,7 @@ function runSemgrepScan(targetPath, emit, opts) {
|
|
|
101
101
|
return findings;
|
|
102
102
|
}
|
|
103
103
|
function selectedStaticScanner() {
|
|
104
|
-
return process.env["
|
|
104
|
+
return process.env["ZERO_STATIC"] === "semgrep" ? "semgrep" : "foxguard";
|
|
105
105
|
}
|
|
106
106
|
function runFoxguardScan(targetPath, emit, opts) {
|
|
107
107
|
emit({
|
|
@@ -130,7 +130,7 @@ function runFoxguardScan(targetPath, emit, opts) {
|
|
|
130
130
|
}
|
|
131
131
|
return selected.split(sep).join("/");
|
|
132
132
|
});
|
|
133
|
-
selectionDir = mkdtempSync(join(tmpdir(), "
|
|
133
|
+
selectionDir = mkdtempSync(join(tmpdir(), "0-foxguard-"));
|
|
134
134
|
selectionFile = join(selectionDir, "changed-files.txt");
|
|
135
135
|
writeFileSync(selectionFile, `${paths.join("\n")}
|
|
136
136
|
`, { mode: 384 });
|
|
@@ -178,7 +178,7 @@ function runFoxguardScan(targetPath, emit, opts) {
|
|
|
178
178
|
}
|
|
179
179
|
} catch (err) {
|
|
180
180
|
const message = err instanceof Error ? err.message : String(err);
|
|
181
|
-
logger(`[
|
|
181
|
+
logger(`[0] foxguard scan failed (${message}). Npm pin: foxguard@${foxguardTag}. Set ZERO_STATIC=semgrep to use semgrep.`);
|
|
182
182
|
emit({ type: "error", stage: "source-analysis", message: `Foxguard scan failed: ${message}` });
|
|
183
183
|
throw err;
|
|
184
184
|
} finally {
|
|
@@ -271,5 +271,6 @@ export {
|
|
|
271
271
|
CLI_RUNTIME_TYPES,
|
|
272
272
|
bufferToString,
|
|
273
273
|
selectedStaticScanner,
|
|
274
|
+
runFoxguardScan,
|
|
274
275
|
runSelectedStaticScan
|
|
275
276
|
};
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
|
-
import { createRequire as
|
|
3
|
-
const require =
|
|
2
|
+
import { createRequire as __0CreateRequire } from "node:module";
|
|
3
|
+
const require = __0CreateRequire(import.meta.url);
|
|
4
4
|
|
|
5
5
|
// packages/core/dist/agent/sanitized-env.js
|
|
6
6
|
var SENSITIVE_ENV_PATTERNS = [
|
|
@@ -51,20 +51,20 @@ var SENSITIVE_ENV_PATTERNS = [
|
|
|
51
51
|
"NVD_API",
|
|
52
52
|
"E2B_API",
|
|
53
53
|
"WPSCAN_API_TOKEN",
|
|
54
|
-
"
|
|
54
|
+
"ZERO_WPSCAN_API_TOKEN",
|
|
55
55
|
"GITHUB_TOKEN",
|
|
56
56
|
"GITLAB_TOKEN",
|
|
57
57
|
"GH_TOKEN",
|
|
58
58
|
"GL_TOKEN",
|
|
59
59
|
// Per-dispatch secrets injected by 0cloud's worker-controller.
|
|
60
|
-
"
|
|
61
|
-
"
|
|
62
|
-
"
|
|
63
|
-
"
|
|
64
|
-
"
|
|
65
|
-
"
|
|
66
|
-
"
|
|
67
|
-
"
|
|
60
|
+
"ZERO_CLOUD_TOKEN",
|
|
61
|
+
"ZERO_CHATGPT_ACCESS_TOKEN",
|
|
62
|
+
"ZERO_CHATGPT_OAUTH_REFRESH_TOKEN",
|
|
63
|
+
"ZERO_GITHUB_TOKEN",
|
|
64
|
+
"ZERO_GITLAB_TOKEN",
|
|
65
|
+
"ZERO_TARGET_AUTH_JSON",
|
|
66
|
+
"ZERO_GRAPH_ACCESS_TOKEN",
|
|
67
|
+
"ZERO_LLM_TARGET_KEY"
|
|
68
68
|
];
|
|
69
69
|
function sanitizedEnv(env = process.env) {
|
|
70
70
|
return allowlistedChildEnv({}, env);
|
|
@@ -95,9 +95,8 @@ var CHILD_ENV_ALLOWLIST = [
|
|
|
95
95
|
"AUTH_VALUE",
|
|
96
96
|
"AUTH_CURL_FLAG",
|
|
97
97
|
// Existing child-runtime configuration contract; each name is non-secret.
|
|
98
|
-
"
|
|
99
|
-
"
|
|
100
|
-
"0SEC_CLOUD_SCAN_ID"
|
|
98
|
+
"ZERO_FEATURE_JIT_SKILLS",
|
|
99
|
+
"ZERO_BASH_TIMEOUT_MS"
|
|
101
100
|
];
|
|
102
101
|
function allowlistedChildEnv(extras = {}, env = process.env) {
|
|
103
102
|
const out = {};
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
|
-
import { createRequire as
|
|
3
|
-
const require =
|
|
4
|
-
import {
|
|
5
|
-
LlmApiRuntime
|
|
6
|
-
} from "./chunk-UR4ELX2Y.js";
|
|
2
|
+
import { createRequire as __0CreateRequire } from "node:module";
|
|
3
|
+
const require = __0CreateRequire(import.meta.url);
|
|
7
4
|
import {
|
|
8
5
|
ProcessRuntime
|
|
9
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-W6UWZFKL.js";
|
|
7
|
+
import {
|
|
8
|
+
LlmApiRuntime
|
|
9
|
+
} from "./chunk-2GV4HQKE.js";
|
|
10
10
|
|
|
11
11
|
// packages/core/dist/runtime/cli-native.js
|
|
12
12
|
import { spawn } from "node:child_process";
|
|
@@ -215,7 +215,7 @@ function buildClaudePromptFromLastUser(messages) {
|
|
|
215
215
|
}
|
|
216
216
|
const parts = [];
|
|
217
217
|
if (toolResults.length > 0) {
|
|
218
|
-
parts.push(`[
|
|
218
|
+
parts.push(`[0:tool_results]
|
|
219
219
|
${JSON.stringify(toolResults, null, 2)}`);
|
|
220
220
|
}
|
|
221
221
|
if (textParts.length > 0) {
|
|
@@ -327,7 +327,7 @@ var OpenRouterRuntime = class _OpenRouterRuntime {
|
|
|
327
327
|
});
|
|
328
328
|
}
|
|
329
329
|
} else {
|
|
330
|
-
const model = config.model ?? process.env["
|
|
330
|
+
const model = config.model ?? process.env["ZERO_MODEL"] ?? "anthropic/claude-sonnet-4.6";
|
|
331
331
|
this.singleRuntime = this.createModelRuntime(model);
|
|
332
332
|
}
|
|
333
333
|
}
|
|
@@ -345,7 +345,7 @@ var OpenRouterRuntime = class _OpenRouterRuntime {
|
|
|
345
345
|
if (this.ensembleRuntimes.length > 0) {
|
|
346
346
|
return this.ensembleRuntimes.map((e) => e.model);
|
|
347
347
|
}
|
|
348
|
-
return [this.config.model ?? process.env["
|
|
348
|
+
return [this.config.model ?? process.env["ZERO_MODEL"] ?? "anthropic/claude-sonnet-4.6"];
|
|
349
349
|
}
|
|
350
350
|
/** Whether this runtime is in ensemble mode. */
|
|
351
351
|
get isEnsemble() {
|
|
@@ -638,7 +638,7 @@ var OllamaRuntime = class {
|
|
|
638
638
|
* Behaviour:
|
|
639
639
|
* - Each non-terminal frame's `message.content` is treated as a delta and
|
|
640
640
|
* forwarded to `callbacks.onDelta("assistant_response", delta)` exactly
|
|
641
|
-
* once (no accumulation passed to the callback —
|
|
641
|
+
* once (no accumulation passed to the callback — 0's contract is
|
|
642
642
|
* "incremental fragment only", see types.ts:88).
|
|
643
643
|
* - The terminal frame (`done: true`) is taken as authoritative for
|
|
644
644
|
* `tool_calls`, `done_reason`, and usage stats. Tool-call shape across
|
|
@@ -767,7 +767,7 @@ var RUNTIME_REGISTRY = [
|
|
|
767
767
|
{
|
|
768
768
|
type: "codex",
|
|
769
769
|
command: "codex",
|
|
770
|
-
description: "Codex CLI / direct ChatGPT Codex provider \u2014 full parity across web scans, package audits (npm/pypi/cargo/oci), and source code review (incl. linux-kernel). Set
|
|
770
|
+
description: "Codex CLI / direct ChatGPT Codex provider \u2014 full parity across web scans, package audits (npm/pypi/cargo/oci), and source code review (incl. linux-kernel). Set ZERO_CHATGPT_OAUTH_REFRESH_TOKEN to enable subscription auth without the local CLI binary (#402).",
|
|
771
771
|
strengths: ["verify", "source-analysis", "discovery"],
|
|
772
772
|
supportsSystemPrompt: false
|
|
773
773
|
},
|
|
@@ -784,7 +784,7 @@ var RUNTIME_REGISTRY = [
|
|
|
784
784
|
// so detection tools that key off `command` don't crash; the registry
|
|
785
785
|
// uses `isAvailable()` not `which(command)` for ollama.
|
|
786
786
|
command: "ollama",
|
|
787
|
-
description: "Ollama (local) \u2014 Gemma 4 27B via /api/chat with native function-calling. Pairs with `--seed-findings` for full-local hunts. See
|
|
787
|
+
description: "Ollama (local) \u2014 Gemma 4 27B via /api/chat with native function-calling. Pairs with `--seed-findings` for full-local hunts. See 0#369.",
|
|
788
788
|
strengths: ["source-analysis", "discovery"],
|
|
789
789
|
supportsSystemPrompt: true
|
|
790
790
|
}
|
|
@@ -806,7 +806,7 @@ function pickRuntimeForStage(stage, availableRuntimes) {
|
|
|
806
806
|
return first.done ? "claude" : first.value;
|
|
807
807
|
}
|
|
808
808
|
async function detectAvailableRuntimes() {
|
|
809
|
-
const { ProcessRuntime: ProcessRuntime2 } = await import("./process-
|
|
809
|
+
const { ProcessRuntime: ProcessRuntime2 } = await import("./process-N245QIQG.js");
|
|
810
810
|
const available = /* @__PURE__ */ new Set();
|
|
811
811
|
const checks = RUNTIME_REGISTRY.map(async (info) => {
|
|
812
812
|
const rt = new ProcessRuntime2({ type: info.type, timeout: 5e3 });
|
|
@@ -832,7 +832,7 @@ function createRuntime(config) {
|
|
|
832
832
|
return new ProcessRuntime(config);
|
|
833
833
|
case "ollama":
|
|
834
834
|
return new OllamaRuntime({
|
|
835
|
-
model: config.model ?? process.env["
|
|
835
|
+
model: config.model ?? process.env["ZERO_OLLAMA_MODEL"] ?? "gemma4:27b",
|
|
836
836
|
timeout: config.timeout,
|
|
837
837
|
host: process.env.OLLAMA_HOST
|
|
838
838
|
});
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
|
-
import { createRequire as
|
|
3
|
-
const require =
|
|
2
|
+
import { createRequire as __0CreateRequire } from "node:module";
|
|
3
|
+
const require = __0CreateRequire(import.meta.url);
|
|
4
4
|
import {
|
|
5
5
|
expandHomePath,
|
|
6
6
|
isExistingLocalTargetPath,
|
|
7
7
|
isExplicitLocalTargetPath
|
|
8
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-V36HVTUL.js";
|
|
9
9
|
|
|
10
10
|
// packages/cli/src/herdr-state.ts
|
|
11
11
|
var sink = null;
|
|
@@ -88,7 +88,6 @@ function resolveEngagement(rawTarget) {
|
|
|
88
88
|
kind: "source",
|
|
89
89
|
target: expandHomePath(target),
|
|
90
90
|
targetType: "source-code",
|
|
91
|
-
reviewStrategy: "lenses",
|
|
92
91
|
label: `source review ${target}`
|
|
93
92
|
}
|
|
94
93
|
};
|
|
@@ -100,7 +99,6 @@ function resolveEngagement(rawTarget) {
|
|
|
100
99
|
kind: "source",
|
|
101
100
|
target: raw,
|
|
102
101
|
targetType: "source-code",
|
|
103
|
-
reviewStrategy: "lenses",
|
|
104
102
|
label: `source review ${raw}`
|
|
105
103
|
}
|
|
106
104
|
};
|
|
@@ -124,7 +122,6 @@ function resolveEngagement(rawTarget) {
|
|
|
124
122
|
kind: "source",
|
|
125
123
|
target,
|
|
126
124
|
targetType: "source-code",
|
|
127
|
-
reviewStrategy: "lenses",
|
|
128
125
|
label: `source review ${target}`
|
|
129
126
|
}
|
|
130
127
|
};
|