agentic-qe 3.15.12 → 3.15.13
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/.claude/skills/skills-manifest.json +1 -1
- package/CHANGELOG.md +118 -0
- package/assets/skills/skills-manifest.json +1 -1
- package/dist/cli/bundle.js +6 -6
- package/dist/cli/chunks/adapter-KCQDVYY2.js +2 -0
- package/dist/cli/chunks/{agent-booster-wasm-5VZCKTIJ.js → agent-booster-wasm-6RRQWMNE.js} +2 -2
- package/dist/cli/chunks/{agent-handler-K3C6CQCD.js → agent-handler-AOH6TV7W.js} +2 -2
- package/dist/cli/chunks/{agent-memory-branch-NVFQ25WS.js → agent-memory-branch-2P54SF5N.js} +2 -2
- package/dist/cli/chunks/aqe-learning-engine-SAQOHSGN.js +2 -0
- package/dist/cli/chunks/{arena-QGWIJADQ.js → arena-NSVFCAF5.js} +2 -2
- package/dist/cli/chunks/{arena-TSZVDSXS.js → arena-X6MOGQHA.js} +4 -4
- package/dist/cli/chunks/{audit-KIEE2SHJ.js → audit-27DJLQNM.js} +3 -3
- package/dist/cli/chunks/base-WCACU3FN.js +2 -0
- package/dist/cli/chunks/{better-sqlite3-BNB32NW3.js → better-sqlite3-BU5GXILS.js} +2 -2
- package/dist/cli/chunks/{brain-handler-MPC5SPYI.js → brain-handler-GTQNHHZS.js} +3 -3
- package/dist/cli/chunks/{branch-enumerator-LZ7UXKAY.js → branch-enumerator-5CLULOCU.js} +2 -2
- package/dist/cli/chunks/{browser-VDHAW4RK.js → browser-R4DMU3LN.js} +2 -2
- package/dist/cli/chunks/browser-workflow-G6IASEAP.js +2 -0
- package/dist/cli/chunks/{chunk-QUJJYTJH.js → chunk-2G7TVT6W.js} +2 -2
- package/dist/cli/chunks/{chunk-FAGKBOX2.js → chunk-32ZMWEP3.js} +2 -2
- package/dist/cli/chunks/{chunk-FNUFTWEO.js → chunk-3AN5TNGD.js} +3 -3
- package/dist/cli/chunks/{chunk-JOWUS2X5.js → chunk-3LJ7LQMV.js} +1 -1
- package/dist/cli/chunks/{chunk-O4QJMANM.js → chunk-3QZEGE67.js} +1 -1
- package/dist/cli/chunks/{chunk-ICKUINKD.js → chunk-3RZV5DGO.js} +2 -2
- package/dist/cli/chunks/{chunk-W4II6SIH.js → chunk-3Y2ROSCL.js} +2 -2
- package/dist/cli/chunks/{chunk-L7NGKANW.js → chunk-3Y7TJFHU.js} +2 -2
- package/dist/cli/chunks/{chunk-UUZZXHUF.js → chunk-3YNLWPBF.js} +2 -2
- package/dist/cli/chunks/{chunk-JR6CUKAI.js → chunk-42J34YG4.js} +2 -2
- package/dist/cli/chunks/{chunk-65TH6RPD.js → chunk-4OVC4RIL.js} +1 -1
- package/dist/cli/chunks/{chunk-DRCBRUGN.js → chunk-526QYFJU.js} +2 -2
- package/dist/cli/chunks/{chunk-MCPXNUDK.js → chunk-5FKWCZNF.js} +2 -2
- package/dist/cli/chunks/{chunk-NX4BCSOZ.js → chunk-5K26BEYB.js} +2 -2
- package/dist/cli/chunks/{chunk-MCPEC6OO.js → chunk-5MDERQH3.js} +1 -1
- package/dist/cli/chunks/{chunk-7JFDLL2F.js → chunk-5VMAV6T6.js} +1 -1
- package/dist/cli/chunks/{chunk-5TAEW5OV.js → chunk-5ZGM3RMH.js} +1 -1
- package/dist/cli/chunks/{chunk-SG2TX72G.js → chunk-6KATY3KS.js} +2 -2
- package/dist/cli/chunks/{chunk-KA5SHLMW.js → chunk-6Z7PRBSG.js} +2 -2
- package/dist/cli/chunks/{chunk-LFBA735S.js → chunk-72ASBE35.js} +3 -3
- package/dist/cli/chunks/{chunk-TOWOJGEI.js → chunk-756CGMEH.js} +1 -1
- package/dist/cli/chunks/{chunk-IVTQF55W.js → chunk-75RDHBAX.js} +3 -3
- package/dist/cli/chunks/{chunk-66PXR3NI.js → chunk-7CMTY45A.js} +2 -2
- package/dist/cli/chunks/{chunk-WLRU6ESI.js → chunk-7JUC2MVZ.js} +2 -2
- package/dist/cli/chunks/{chunk-SBHM5X2S.js → chunk-7NA7JXNB.js} +2 -2
- package/dist/cli/chunks/{chunk-HZBXJFGN.js → chunk-7PLIEBY7.js} +2 -2
- package/dist/cli/chunks/{chunk-2ASQRBK2.js → chunk-7YTGHGK4.js} +2 -2
- package/dist/cli/chunks/{chunk-SQVZ3TRU.js → chunk-A64JFBWI.js} +2 -2
- package/dist/cli/chunks/{chunk-2PPSS4JD.js → chunk-AL6FBH3E.js} +2 -2
- package/dist/cli/chunks/{chunk-3IU4LDZR.js → chunk-AQSVJNEH.js} +2 -2
- package/dist/cli/chunks/{chunk-C74M4WUI.js → chunk-ARJW4I2O.js} +2 -2
- package/dist/cli/chunks/{chunk-VF7FTD64.js → chunk-ASQYASNV.js} +1 -1
- package/dist/cli/chunks/{chunk-HLGFHHWV.js → chunk-BEGR4D6N.js} +2 -2
- package/dist/cli/chunks/{chunk-EN7GRVEQ.js → chunk-BK577VL7.js} +2 -2
- package/dist/cli/chunks/{chunk-KGA7VAI4.js → chunk-BLSLEVDI.js} +2 -2
- package/dist/cli/chunks/{chunk-HM3LSFTY.js → chunk-BTVEYBW2.js} +2 -2
- package/dist/cli/chunks/{chunk-J7Y7ZBIT.js → chunk-C6JTLKG7.js} +5 -5
- package/dist/cli/chunks/{chunk-PTBOLBM4.js → chunk-C7JM7CD3.js} +2 -2
- package/dist/cli/chunks/{chunk-IL7GQNNE.js → chunk-CCMKSHAT.js} +2 -2
- package/dist/cli/chunks/{chunk-23PQF7NN.js → chunk-CE7B5LU7.js} +1 -1
- package/dist/cli/chunks/{chunk-BMG2JLSQ.js → chunk-CM4LSLKR.js} +2 -2
- package/dist/cli/chunks/chunk-CRWPZT74.js +62 -0
- package/dist/cli/chunks/{chunk-4HWUECVD.js → chunk-CT6SAVXQ.js} +2 -2
- package/dist/cli/chunks/chunk-CV77DMDQ.js +2 -0
- package/dist/cli/chunks/{chunk-CU36D7TN.js → chunk-DFUASIKA.js} +2 -2
- package/dist/cli/chunks/{chunk-T4EN5VVK.js → chunk-DLD7RUZ4.js} +2 -2
- package/dist/cli/chunks/{chunk-IA55PFLG.js → chunk-DNDL7SOS.js} +2 -2
- package/dist/cli/chunks/{chunk-6QRI3JVE.js → chunk-DVGRPK7A.js} +2 -2
- package/dist/cli/chunks/{chunk-UREDS662.js → chunk-E56B6IDX.js} +2 -2
- package/dist/cli/chunks/{chunk-ZGROHCOW.js → chunk-E7CLYGS7.js} +1 -1
- package/dist/cli/chunks/{chunk-YNVEDFPQ.js → chunk-EXGMJFAT.js} +1 -1
- package/dist/cli/chunks/{chunk-JRYWLOBD.js → chunk-F3YS57NF.js} +2 -2
- package/dist/cli/chunks/{chunk-ZYOYR3UR.js → chunk-FZ76G4QJ.js} +1 -1
- package/dist/cli/chunks/{chunk-UIKQPO4Y.js → chunk-G2Q66Z23.js} +2 -2
- package/dist/cli/chunks/{chunk-5S4UIDFK.js → chunk-G6WDYBLQ.js} +1 -1
- package/dist/cli/chunks/{chunk-4SA7M34P.js → chunk-G77ERMUD.js} +1 -1
- package/dist/cli/chunks/{chunk-ADUAJIAU.js → chunk-GB6HBNH2.js} +2 -2
- package/dist/cli/chunks/{chunk-IETBWYHW.js → chunk-GHM6MQNK.js} +2 -2
- package/dist/cli/chunks/{chunk-QWG3SILX.js → chunk-GHY6Z6KO.js} +5 -5
- package/dist/cli/chunks/{chunk-AJEXPFAB.js → chunk-GII6UM3F.js} +1 -1
- package/dist/cli/chunks/{chunk-SDRJJUPO.js → chunk-GU5HNCWI.js} +1 -1
- package/dist/cli/chunks/{chunk-ULCW6IVQ.js → chunk-H4GG2NLO.js} +2 -2
- package/dist/cli/chunks/{chunk-7TA5MUPW.js → chunk-H4H2YSFH.js} +1 -1
- package/dist/cli/chunks/{chunk-5A66EGEW.js → chunk-HD7YIFOI.js} +2 -2
- package/dist/cli/chunks/{chunk-CDA5Z74H.js → chunk-HOAJUIBQ.js} +2 -2
- package/dist/cli/chunks/{chunk-4KUOYDY2.js → chunk-HQZGPJYG.js} +2 -2
- package/dist/cli/chunks/{chunk-G3AABG4Q.js → chunk-HZ5NXFXH.js} +2 -2
- package/dist/cli/chunks/{chunk-U6IXYQO4.js → chunk-I3C7JOXC.js} +2 -2
- package/dist/cli/chunks/{chunk-MAJXZYGK.js → chunk-IC3TQEOA.js} +1 -1
- package/dist/cli/chunks/{chunk-RYHG3I7J.js → chunk-IJUHSJ2U.js} +2 -2
- package/dist/cli/chunks/{chunk-DZGPUGUG.js → chunk-J2ZIFFM6.js} +2 -2
- package/dist/cli/chunks/{chunk-NA3F6FEO.js → chunk-JGZ722G3.js} +2 -2
- package/dist/cli/chunks/{chunk-PX5OPXY6.js → chunk-JQGMW45H.js} +1 -1
- package/dist/cli/chunks/{chunk-WGTEZT7G.js → chunk-JRRXCODW.js} +2 -2
- package/dist/cli/chunks/{chunk-4Y6OEBJZ.js → chunk-K3TLLJMX.js} +1 -1
- package/dist/cli/chunks/{chunk-RCOLPF3B.js → chunk-K4CZA77U.js} +2 -2
- package/dist/cli/chunks/{chunk-YIDAXOUX.js → chunk-K65CGKLD.js} +2 -2
- package/dist/cli/chunks/{chunk-5ADXFUMO.js → chunk-KADFXPPN.js} +2 -2
- package/dist/cli/chunks/{chunk-P5E26N2X.js → chunk-KB56CPU4.js} +2 -2
- package/dist/cli/chunks/{chunk-YLKIXEPP.js → chunk-KCW47QR5.js} +1 -1
- package/dist/cli/chunks/{chunk-SPC4RBLF.js → chunk-KDNJ4F3P.js} +2 -2
- package/dist/cli/chunks/{chunk-P7UFJ6DO.js → chunk-KDVZND5Q.js} +1 -1
- package/dist/cli/chunks/{chunk-TLRHAMX5.js → chunk-KUAKV3IW.js} +1 -1
- package/dist/cli/chunks/{chunk-ZROAMFX2.js → chunk-KV4T4MXK.js} +2 -2
- package/dist/cli/chunks/{chunk-UZED4YZ5.js → chunk-KWYH3FI4.js} +1 -1
- package/dist/cli/chunks/{chunk-33I2ZP6E.js → chunk-LFJALJOA.js} +2 -2
- package/dist/cli/chunks/{chunk-TXEUVUMO.js → chunk-LL7LDPXS.js} +1 -1
- package/dist/cli/chunks/{chunk-W5HQIYQU.js → chunk-LUZNKJE6.js} +3 -3
- package/dist/cli/chunks/{chunk-GKFV6CUD.js → chunk-LWR3FV3Y.js} +2 -2
- package/dist/cli/chunks/{chunk-TVA5GRIU.js → chunk-LZYQHVD4.js} +2 -2
- package/dist/cli/chunks/{chunk-2JYUA27M.js → chunk-M6AAGIG7.js} +1 -1
- package/dist/cli/chunks/{chunk-PT2NXS43.js → chunk-MAMQA43L.js} +1 -1
- package/dist/cli/chunks/chunk-MB46UBGY.js +3 -0
- package/dist/cli/chunks/{chunk-ZPVGX4DI.js → chunk-MFW5HSG4.js} +2 -2
- package/dist/cli/chunks/{chunk-47RMGDG4.js → chunk-MGZ5FJUW.js} +2 -2
- package/dist/cli/chunks/{chunk-G24SWTAX.js → chunk-MVVB7C2E.js} +410 -410
- package/dist/cli/chunks/{chunk-XZOYKB22.js → chunk-N4CYAKOX.js} +2 -2
- package/dist/cli/chunks/{chunk-QCPVUNN3.js → chunk-NT4DBXSX.js} +2 -2
- package/dist/cli/chunks/{chunk-3EWQN37E.js → chunk-NU3W5WFT.js} +2 -2
- package/dist/cli/chunks/{chunk-VZBC6DP7.js → chunk-NURIILUB.js} +1 -1
- package/dist/cli/chunks/{chunk-6E6HB4N4.js → chunk-NW7IBHJA.js} +4 -4
- package/dist/cli/chunks/{chunk-K3A3NWT3.js → chunk-NZ3GUMB2.js} +2 -2
- package/dist/cli/chunks/{chunk-GJKZ7UQO.js → chunk-NZD4DPSU.js} +2 -2
- package/dist/cli/chunks/{chunk-7QEUHNKO.js → chunk-O6FGXMHD.js} +1 -1
- package/dist/cli/chunks/{chunk-YVJEUX3I.js → chunk-OCAEXYFA.js} +2 -2
- package/dist/cli/chunks/{chunk-BOSMELJX.js → chunk-OFACHK5O.js} +2 -2
- package/dist/cli/chunks/{chunk-PGSJBXTD.js → chunk-P7A4NKTZ.js} +2 -2
- package/dist/cli/chunks/{chunk-HSA5IGGW.js → chunk-PB6J6HAA.js} +2 -2
- package/dist/cli/chunks/{chunk-TGMXUZZC.js → chunk-PHP5UBT4.js} +2 -2
- package/dist/cli/chunks/{chunk-NV74SICL.js → chunk-PIDQVU3L.js} +2 -2
- package/dist/cli/chunks/{chunk-TSOQ2QLT.js → chunk-PSFSPGUD.js} +2 -2
- package/dist/cli/chunks/{chunk-4A76VPU4.js → chunk-PT4FMJPQ.js} +2 -2
- package/dist/cli/chunks/{chunk-U7ZHDGXG.js → chunk-Q3UDLV5Z.js} +1 -1
- package/dist/cli/chunks/{chunk-BYRCB5JT.js → chunk-QDEJ4CI2.js} +2 -2
- package/dist/cli/chunks/{chunk-CA5UNWQF.js → chunk-QPNG5ZN2.js} +2 -2
- package/dist/cli/chunks/{chunk-W7H55PY4.js → chunk-R7SYRCRP.js} +1 -1
- package/dist/cli/chunks/{chunk-4LWMAAWK.js → chunk-RF7HWBHN.js} +2 -2
- package/dist/cli/chunks/{chunk-MMEALJ4D.js → chunk-RFNW2LGD.js} +2 -2
- package/dist/cli/chunks/{chunk-UCSK2RMI.js → chunk-S5AZCIZS.js} +2 -2
- package/dist/cli/chunks/{chunk-JW5PDJ5O.js → chunk-SE4VNN4I.js} +3 -3
- package/dist/cli/chunks/{chunk-URSTP3WI.js → chunk-SG3NX7QE.js} +2 -2
- package/dist/cli/chunks/{chunk-N7O3PF6Y.js → chunk-SSU73QAX.js} +2 -2
- package/dist/cli/chunks/{chunk-7DNR4KKR.js → chunk-SVLQRAMF.js} +1 -1
- package/dist/cli/chunks/{chunk-BC4T6SCV.js → chunk-SYV2V3PL.js} +4 -4
- package/dist/cli/chunks/{chunk-4CB3QPZM.js → chunk-T3PGQFDI.js} +2 -2
- package/dist/cli/chunks/{chunk-OHVYINGM.js → chunk-TCBBNUBP.js} +3 -3
- package/dist/cli/chunks/{chunk-YWWMNTBF.js → chunk-TOQWL2ZF.js} +2 -2
- package/dist/cli/chunks/{chunk-SITL5YZV.js → chunk-TSQC2KKZ.js} +2 -2
- package/dist/cli/chunks/{chunk-YUA6ZKKY.js → chunk-TWDW32W2.js} +2 -2
- package/dist/cli/chunks/{chunk-SUX5XB2Z.js → chunk-TWJTK4CC.js} +2 -2
- package/dist/cli/chunks/{chunk-32UTHIY5.js → chunk-U2FUXDDJ.js} +3 -3
- package/dist/cli/chunks/{chunk-ENGL7FIJ.js → chunk-UDQSYWVF.js} +1 -1
- package/dist/cli/chunks/{chunk-7OEFBWAG.js → chunk-UOC3O6RP.js} +2 -2
- package/dist/cli/chunks/chunk-UT2VZ33P.js +2 -0
- package/dist/cli/chunks/{chunk-MYF5CNGV.js → chunk-UTRV7T2N.js} +2 -2
- package/dist/cli/chunks/{chunk-KJDI5CHX.js → chunk-UXZSUMEA.js} +2 -2
- package/dist/cli/chunks/{chunk-DAUEK66C.js → chunk-VRHRBAEM.js} +1 -1
- package/dist/cli/chunks/{chunk-FZJCBSN4.js → chunk-VRVMIPTM.js} +2 -2
- package/dist/cli/chunks/{chunk-26672ISV.js → chunk-VTDFVFST.js} +2 -2
- package/dist/cli/chunks/{chunk-WTAUF6O4.js → chunk-VTOBUZL6.js} +2 -2
- package/dist/cli/chunks/{chunk-4PU5GTZW.js → chunk-VU5TBX2V.js} +2 -2
- package/dist/cli/chunks/{chunk-C3YOVASQ.js → chunk-W26B7ERY.js} +1 -1
- package/dist/cli/chunks/{chunk-CPIBIR3X.js → chunk-W2QWSQVE.js} +2 -2
- package/dist/cli/chunks/{chunk-L3PV7VXK.js → chunk-W3INMZZ6.js} +1 -1
- package/dist/cli/chunks/{chunk-5Z23ZMXZ.js → chunk-W3PPFHI5.js} +54 -54
- package/dist/cli/chunks/{chunk-NVRYELCY.js → chunk-WKGTGOYS.js} +3 -3
- package/dist/cli/chunks/{chunk-35NW676P.js → chunk-WNQS4WTS.js} +2 -2
- package/dist/cli/chunks/{chunk-O3IM4WRZ.js → chunk-WO274FRI.js} +2 -2
- package/dist/cli/chunks/{chunk-35MIUSXQ.js → chunk-WOCGL4QP.js} +2 -2
- package/dist/cli/chunks/{chunk-EF6OERRR.js → chunk-WQL7WCIZ.js} +1 -1
- package/dist/cli/chunks/{chunk-INZARYUD.js → chunk-X2Z7F4EU.js} +2 -2
- package/dist/cli/chunks/{chunk-2E2QO44T.js → chunk-X7N2JF2X.js} +2 -2
- package/dist/cli/chunks/{chunk-2IVE5AR3.js → chunk-XEAEYC6Y.js} +1 -1
- package/dist/cli/chunks/{chunk-IPA7K556.js → chunk-XNBOGCF3.js} +2 -2
- package/dist/cli/chunks/{chunk-A2JCRXTK.js → chunk-XPRVF4YE.js} +2 -2
- package/dist/cli/chunks/{chunk-VUR5THML.js → chunk-YBQH2VOP.js} +2 -2
- package/dist/cli/chunks/{chunk-A5Y7DAVQ.js → chunk-YQFLQE53.js} +2 -2
- package/dist/cli/chunks/{chunk-JGIJPDGD.js → chunk-YSZ5OE3Z.js} +2 -2
- package/dist/cli/chunks/{chunk-JNXK47OL.js → chunk-YXRASAPI.js} +2 -2
- package/dist/cli/chunks/{chunk-MYUMJ2ZI.js → chunk-YZEXYO4W.js} +1 -1
- package/dist/cli/chunks/{chunk-NNBQZR73.js → chunk-YZWBNBTW.js} +2 -2
- package/dist/cli/chunks/{chunk-WDEXOLK2.js → chunk-ZAKQLAHT.js} +1 -1
- package/dist/cli/chunks/{ci-BZNWW3I3.js → ci-ENOASTYB.js} +2 -2
- package/dist/cli/chunks/{ci-config-LOHNXOKV.js → ci-config-B26OXHQM.js} +2 -2
- package/dist/cli/chunks/{ci-output-LCOQBSJL.js → ci-output-JTCLLNOQ.js} +2 -2
- package/dist/cli/chunks/{circuit-breaker-7LRXTLFE.js → circuit-breaker-23JMFNM5.js} +2 -2
- package/dist/cli/chunks/{claude-flow-setup-HBU4VWC3.js → claude-flow-setup-ON6L462G.js} +2 -2
- package/dist/cli/chunks/client-TV3V2YZ5.js +2 -0
- package/dist/cli/chunks/{cline-installer-CO6MLH6X.js → cline-installer-OWQ4D2FQ.js} +2 -2
- package/dist/cli/chunks/{code-SIXBS6JM.js → code-2ZRL7SEU.js} +19 -18
- package/dist/cli/chunks/{code-index-extractor-GWJKZ2IQ.js → code-index-extractor-JXSQVM67.js} +2 -2
- package/dist/cli/chunks/{codex-installer-6NINVWXJ.js → codex-installer-7LXZYBSQ.js} +2 -2
- package/dist/cli/chunks/{completions-7VIX3GML.js → completions-C2LR623C.js} +2 -2
- package/dist/cli/chunks/{complexity-analyzer-FBQR6ZP2.js → complexity-analyzer-TGQLHCYJ.js} +2 -2
- package/dist/cli/chunks/{continuedev-installer-VA7RIXW5.js → continuedev-installer-RUGD24D2.js} +2 -2
- package/dist/cli/chunks/{copilot-installer-4QEBC4MU.js → copilot-installer-ZLFVLEJP.js} +2 -2
- package/dist/cli/chunks/core-handlers-PZT4OLWR.js +2 -0
- package/dist/cli/chunks/{cost-tracker-GRYKHPWL.js → cost-tracker-RT4QL745.js} +2 -2
- package/dist/cli/chunks/{coverage-USPMNKOU.js → coverage-NV3C4IMM.js} +3 -3
- package/dist/cli/chunks/cross-domain-router-QOFCZ7G4.js +2 -0
- package/dist/cli/chunks/{cursor-installer-ZXIPSZVH.js → cursor-installer-LJKLNFF6.js} +2 -2
- package/dist/cli/chunks/{daemon-D7F3RGI5.js → daemon-BMDXCQT5.js} +3 -3
- package/dist/cli/chunks/{daemon-N2VRHPSJ.js → daemon-FBH3IRYN.js} +4 -4
- package/dist/cli/chunks/{dag-attention-scheduler-NL6BA7BY.js → dag-attention-scheduler-JGDED55I.js} +2 -2
- package/dist/cli/chunks/{detect-XC2HCIIT.js → detect-SZIHIVCJ.js} +2 -2
- package/dist/cli/chunks/{dist-node-A3Y26MEI.js → dist-node-FV3KWXQ6.js} +2 -2
- package/dist/cli/chunks/{domain-handler-WV6SFXRB.js → domain-handler-GI5JWQOV.js} +2 -2
- package/dist/cli/chunks/{domain-plugins-KJIF6Z2B.js → domain-plugins-BUWY36TL.js} +2 -2
- package/dist/cli/chunks/domain-transfer-GCY7W5DA.js +2 -0
- package/dist/cli/chunks/dream-TRFBGDSQ.js +2 -0
- package/dist/cli/chunks/{embed-and-insert-pattern-PA3Y4KGO.js → embed-and-insert-pattern-GPRR3ZGD.js} +2 -2
- package/dist/cli/chunks/{eval-YGEZNUVE.js → eval-XPB3IGAP.js} +2 -2
- package/dist/cli/chunks/{experience-capture-middleware-D4T7NW6B.js → experience-capture-middleware-2E554UB3.js} +3 -3
- package/dist/cli/chunks/{fast-paths-6JYK7RYQ.js → fast-paths-ZSMWZPUC.js} +2 -2
- package/dist/cli/chunks/{feature-flags-RBH2GDSR.js → feature-flags-GIWVDVVC.js} +2 -2
- package/dist/cli/chunks/{feature-flags-DKXMDVPE.js → feature-flags-N7EOGE5P.js} +2 -2
- package/dist/cli/chunks/file-discovery-WCKGMSPZ.js +2 -0
- package/dist/cli/chunks/fleet-HCHDOUCX.js +44 -0
- package/dist/cli/chunks/{gnn-wrapper-MV54UC4C.js → gnn-wrapper-CZNCNXXZ.js} +2 -2
- package/dist/cli/chunks/{heartbeat-handler-7DKMVQQH.js → heartbeat-handler-6YUIF2YQ.js} +4 -4
- package/dist/cli/chunks/heartbeat-scheduler-P44A2OX3.js +2 -0
- package/dist/cli/chunks/hnsw-adapter-ZJQIQJKC.js +2 -0
- package/dist/cli/chunks/hnsw-index-HMG2GH3Z.js +2 -0
- package/dist/cli/chunks/{hnsw-legacy-bridge-6IWREDQC.js → hnsw-legacy-bridge-J3M3IK24.js} +2 -2
- package/dist/cli/chunks/{hnswlib-node-5BIESSCK.js → hnswlib-node-ULGTGDZW.js} +2 -2
- package/dist/cli/chunks/{hooks-3EETRM62.js → hooks-C4BUGYUQ.js} +10 -10
- package/dist/cli/chunks/hybrid-backend-B7M74PZG.js +2 -0
- package/dist/cli/chunks/{hypergraph-engine-RSWCB2D3.js → hypergraph-engine-WINGVMPG.js} +2 -2
- package/dist/cli/chunks/{hypergraph-handler-552LXKL3.js → hypergraph-handler-GADMWKAU.js} +3 -3
- package/dist/cli/chunks/impact-analyzer-PZYOVKQO.js +2 -0
- package/dist/cli/chunks/{init-guard-OTDBJ5HD.js → init-guard-K2T4QWAO.js} +2 -2
- package/dist/cli/chunks/{init-handler-3FK3TKEA.js → init-handler-PCZTDZYI.js} +6 -6
- package/dist/cli/chunks/init-wizard-TZDJQK3U.js +2 -0
- package/dist/cli/chunks/kernel-Y6RRIOKW.js +2 -0
- package/dist/cli/chunks/{kilocode-installer-KZ2O4LF3.js → kilocode-installer-XENXNEIU.js} +2 -2
- package/dist/cli/chunks/{kiro-installer-MLCCXRF7.js → kiro-installer-3PG2TJ67.js} +2 -2
- package/dist/cli/chunks/knowledge-graph-BVD5Z66M.js +2 -0
- package/dist/cli/chunks/{learning-QUCMBD77.js → learning-6KDH7FK4.js} +3 -3
- package/dist/cli/chunks/{llm-router-PDEV3UP2.js → llm-router-RKVDEWU2.js} +4 -4
- package/dist/cli/chunks/llm-router-service-KHCAMSUU.js +2 -0
- package/dist/cli/chunks/{load-XFVVLO7E.js → load-ITHC564X.js} +2 -2
- package/dist/cli/chunks/load-test-RUF7DZA5.js +2 -0
- package/dist/cli/chunks/{mcp-74G3CL2S.js → mcp-TCL5UW3N.js} +2 -2
- package/dist/cli/chunks/{memory-XIFM6JNX.js → memory-BKDAY2N2.js} +5 -5
- package/dist/cli/chunks/memory-backend-7ZLFOVGG.js +2 -0
- package/dist/cli/chunks/{memory-handlers-ZCKURV6S.js → memory-handlers-WN4FXFOA.js} +2 -2
- package/dist/cli/chunks/{multi-model-executor-7L4W3O2Q.js → multi-model-executor-VHAT7ZPF.js} +2 -2
- package/dist/cli/chunks/{opencode-installer-BPG422LF.js → opencode-installer-E3VM3EEY.js} +2 -2
- package/dist/cli/chunks/{orchestrator-OEAFLAEV.js → orchestrator-BMQ6X762.js} +5 -5
- package/dist/cli/chunks/pattern-null-store-RY6CVYHP.js +2 -0
- package/dist/cli/chunks/{pattern-usage-recorder-LOPNCULT.js → pattern-usage-recorder-GOOR2BV5.js} +2 -2
- package/dist/cli/chunks/{pipeline-VWTYUZB7.js → pipeline-5NSFQQIX.js} +2 -2
- package/dist/cli/chunks/{platform-WFJJ3X2E.js → platform-SQM34J5G.js} +2 -2
- package/dist/cli/chunks/{plugin-744TPUSG.js → plugin-UQJZRMZG.js} +2 -2
- package/dist/cli/chunks/{prime-radiant-advanced-wasm-BD5BLNDR.js → prime-radiant-advanced-wasm-WMDJOL4S.js} +2 -2
- package/dist/cli/chunks/project-root-IO5KRNGL.js +2 -0
- package/dist/cli/chunks/protocol-executor-U2CUDWDE.js +2 -0
- package/dist/cli/chunks/{protocol-handler-JIBILI74.js → protocol-handler-OBDCVY6X.js} +2 -2
- package/dist/cli/chunks/{prove-MNOL5FYW.js → prove-XDC7I4XT.js} +2 -2
- package/dist/cli/chunks/qe-reasoning-bank-DQSSX2IP.js +2 -0
- package/dist/cli/chunks/{quality-JEGBDGGX.js → quality-L4GQ6WX4.js} +2 -2
- package/dist/cli/chunks/{quality-gate-SYJ6ROMI.js → quality-gate-MJG66LKN.js} +3 -3
- package/dist/cli/chunks/queen-coordinator-6FN4BZIX.js +2 -0
- package/dist/cli/chunks/{real-embeddings-ZWXS5ZFV.js → real-embeddings-HW4G2LWL.js} +2 -2
- package/dist/cli/chunks/{ref-validation-RRHUFW2N.js → ref-validation-FC7JOJ2C.js} +2 -2
- package/dist/cli/chunks/{roocode-installer-XFO6JSVN.js → roocode-installer-KWS4CEIC.js} +2 -2
- package/dist/cli/chunks/router-YUO3I7RU.js +2 -0
- package/dist/cli/chunks/routing-feedback-36SLQGJE.js +2 -0
- package/dist/cli/chunks/{routing-handler-L2K3JASE.js → routing-handler-QF4WVB2S.js} +2 -2
- package/dist/cli/chunks/{ruvector-commands-A6CINHGM.js → ruvector-commands-2MTCOUK6.js} +2 -2
- package/dist/cli/chunks/rvf-dual-writer-FRYZH3WZ.js +2 -0
- package/dist/cli/chunks/rvf-migration-adapter-XXNITL5I.js +2 -0
- package/dist/cli/chunks/{rvf-migration-coordinator-T4RY7L53.js → rvf-migration-coordinator-BREJCXWN.js} +2 -2
- package/dist/cli/chunks/rvf-native-adapter-D2WWKJIV.js +2 -0
- package/dist/cli/chunks/{rvf-store-integrity-IR33TGQS.js → rvf-store-integrity-KKC6HOJD.js} +2 -2
- package/dist/cli/chunks/safe-db-4RRIGRXD.js +2 -0
- package/dist/cli/chunks/schedule-25RTO4DQ.js +2 -0
- package/dist/cli/chunks/scheduler-BPIOJZ5P.js +2 -0
- package/dist/cli/chunks/{security-Z5GDE2IH.js → security-OSAE7VAP.js} +3 -3
- package/dist/cli/chunks/{shared-rvf-adapter-SIZMEHPM.js → shared-rvf-adapter-COUOS665.js} +2 -2
- package/dist/cli/chunks/{shared-rvf-dual-writer-HLM65RDS.js → shared-rvf-dual-writer-YXMPZKQE.js} +2 -2
- package/dist/cli/chunks/sqlite-persistence-EDF47DDX.js +2 -0
- package/dist/cli/chunks/{standalone-memory-SKSZG7P5.js → standalone-memory-E6JBMOIL.js} +2 -2
- package/dist/cli/chunks/{status-handler-766YOOMJ.js → status-handler-AFTCIYIX.js} +2 -2
- package/dist/cli/chunks/{structural-health-M45FNOLT.js → structural-health-2FROCEI4.js} +2 -2
- package/dist/cli/chunks/{sync-B2U366I3.js → sync-VAYTOWDC.js} +2 -2
- package/dist/cli/chunks/{sync-6CJ24B5T.js → sync-YIQYOFGW.js} +2 -2
- package/dist/cli/chunks/task-handler-KVQHDEX3.js +62 -0
- package/dist/cli/chunks/task-handlers-MVVECQA6.js +9 -0
- package/dist/cli/chunks/{test-TODH7KRF.js → test-5JSVTOMY.js} +4 -4
- package/dist/cli/chunks/test-runner-process-LEPF2OSS.js +2 -0
- package/dist/cli/chunks/{test-scheduling-VMVMVRHT.js → test-scheduling-HBOHVLI3.js} +3 -3
- package/dist/cli/chunks/{token-bootstrap-XQW7BMCK.js → token-bootstrap-5VEPTPFA.js} +2 -2
- package/dist/cli/chunks/{token-usage-JCZEIRKO.js → token-usage-TBJHDLY6.js} +2 -2
- package/dist/cli/chunks/{transformers-U2ML3OHE.js → transformers-VAWYMHMZ.js} +2 -2
- package/dist/cli/chunks/tree-sitter-wasm-parser-TSZTCMFV.js +2 -0
- package/dist/cli/chunks/{types-GGEPCHP6.js → types-R5SDZU2E.js} +2 -2
- package/dist/cli/chunks/unified-memory-TLGSSLMI.js +2 -0
- package/dist/cli/chunks/unified-memory-hnsw-MSUR7ZOO.js +2 -0
- package/dist/cli/chunks/unified-persistence-VFFOTWK7.js +2 -0
- package/dist/cli/chunks/{upgrade-T5GRM7HS.js → upgrade-K5PIHXRB.js} +2 -2
- package/dist/cli/chunks/{validate-XMUJPLP3.js → validate-RPTS7RYJ.js} +2 -2
- package/dist/cli/chunks/{validate-swarm-KJLF7JEH.js → validate-swarm-B2ZL556X.js} +2 -2
- package/dist/cli/chunks/visual-security-6Q44XNLB.js +2 -0
- package/dist/cli/chunks/{web-tree-sitter-LOHVZ7G5.js → web-tree-sitter-K4DUJC32.js} +2 -2
- package/dist/cli/chunks/{windsurf-installer-33FBTXJU.js → windsurf-installer-OK2AJN35.js} +2 -2
- package/dist/cli/chunks/witness-chain-KDOMXDQX.js +2 -0
- package/dist/cli/chunks/witness-chain-N3OY2RMH.js +2 -0
- package/dist/cli/chunks/{witness-chain-repair-VWBO4NXE.js → witness-chain-repair-L6Y5RFXR.js} +2 -2
- package/dist/cli/chunks/{witness-chain-verifier-BHJ3ZAEK.js → witness-chain-verifier-N4CW7FZX.js} +2 -2
- package/dist/cli/chunks/{witness-key-manager-WNVPH2Z3.js → witness-key-manager-TDNPS3WD.js} +2 -2
- package/dist/cli/chunks/{workflow-6QR5MQTO.js → workflow-XRZA3YCY.js} +4 -4
- package/dist/cli/chunks/workflow-orchestrator-CVNNT2RJ.js +2 -0
- package/dist/cli/chunks/{wrappers-EHOL62TS.js → wrappers-5JIFWKN6.js} +2 -2
- package/dist/cli/commands/code.js +6 -0
- package/dist/cli/commands/fleet-run.d.ts +12 -0
- package/dist/cli/commands/fleet-run.js +175 -0
- package/dist/cli/commands/fleet.js +2 -117
- package/dist/cli/handlers/task-handler.d.ts +5 -0
- package/dist/cli/handlers/task-handler.js +20 -0
- package/dist/cli/utils/fleet-operation.d.ts +5 -2
- package/dist/cli/utils/fleet-operation.js +13 -2
- package/dist/cli/utils/fleet-result.d.ts +16 -2
- package/dist/cli/utils/fleet-result.js +26 -21
- package/dist/cli/utils/fleet-shard.d.ts +36 -0
- package/dist/cli/utils/fleet-shard.js +110 -0
- package/dist/coordination/handlers/code-intelligence-handlers.js +21 -1
- package/dist/coordination/handlers/handler-types.d.ts +2 -2
- package/dist/coordination/handlers/handler-utils.d.ts +6 -0
- package/dist/coordination/handlers/handler-utils.js +14 -4
- package/dist/coordination/handlers/misc-handlers.js +5 -2
- package/dist/coordination/handlers/quality-handlers.js +2 -2
- package/dist/coordination/handlers/security-handlers.js +12 -2
- package/dist/coordination/protocols/security-audit.js +11 -1
- package/dist/coordination/task-executor.js +7 -2
- package/dist/domains/code-intelligence/coordinator-gnn.d.ts +2 -16
- package/dist/domains/code-intelligence/coordinator-gnn.js +1 -62
- package/dist/domains/code-intelligence/coordinator.d.ts +12 -6
- package/dist/domains/code-intelligence/coordinator.js +24 -27
- package/dist/domains/code-intelligence/interfaces.d.ts +9 -0
- package/dist/domains/code-intelligence/services/semantic-analyzer.d.ts +43 -5
- package/dist/domains/code-intelligence/services/semantic-analyzer.js +134 -71
- package/dist/domains/coverage-analysis/collected-metrics.d.ts +10 -0
- package/dist/domains/coverage-analysis/collected-metrics.js +29 -0
- package/dist/domains/coverage-analysis/services/coverage-analyzer.js +11 -3
- package/dist/domains/coverage-analysis/services/coverage-parser.d.ts +2 -0
- package/dist/domains/coverage-analysis/services/coverage-parser.js +18 -2
- package/dist/domains/quality-assessment/coherence/gate-controller.js +16 -4
- package/dist/domains/quality-assessment/coherence/lambda-calculator.d.ts +8 -0
- package/dist/domains/quality-assessment/coherence/lambda-calculator.js +57 -14
- package/dist/domains/quality-assessment/coherence/types.d.ts +12 -7
- package/dist/domains/quality-assessment/coordinator-gate-evaluation.js +3 -1
- package/dist/domains/quality-assessment/coordinator-reports.d.ts +30 -10
- package/dist/domains/quality-assessment/coordinator-reports.js +93 -57
- package/dist/domains/quality-assessment/coordinator.d.ts +14 -40
- package/dist/domains/quality-assessment/coordinator.js +10 -4
- package/dist/domains/quality-assessment/interfaces.d.ts +2 -0
- package/dist/domains/quality-assessment/services/coherence-gate.js +15 -2
- package/dist/domains/quality-assessment/services/quality-gate.js +6 -4
- package/dist/domains/security-compliance/index.d.ts +1 -1
- package/dist/domains/security-compliance/interfaces.d.ts +46 -5
- package/dist/domains/security-compliance/services/scanners/dast-auth-testing.d.ts +3 -3
- package/dist/domains/security-compliance/services/scanners/dast-auth-testing.js +15 -14
- package/dist/domains/security-compliance/services/scanners/dast-helpers.d.ts +8 -9
- package/dist/domains/security-compliance/services/scanners/dast-helpers.js +19 -44
- package/dist/domains/security-compliance/services/scanners/dast-injection-testing.d.ts +3 -3
- package/dist/domains/security-compliance/services/scanners/dast-injection-testing.js +13 -9
- package/dist/domains/security-compliance/services/scanners/dast-requests.d.ts +54 -0
- package/dist/domains/security-compliance/services/scanners/dast-requests.js +125 -0
- package/dist/domains/security-compliance/services/scanners/dast-scanner.d.ts +5 -1
- package/dist/domains/security-compliance/services/scanners/dast-scanner.js +125 -155
- package/dist/domains/security-compliance/services/scanners/index.d.ts +1 -1
- package/dist/domains/security-compliance/services/scanners/index.js +1 -1
- package/dist/domains/security-compliance/services/scanners/scanner-types.d.ts +2 -2
- package/dist/domains/security-compliance/services/security-auditor-dast.js +183 -212
- package/dist/domains/security-compliance/services/security-auditor-reports.js +5 -1
- package/dist/domains/security-compliance/services/security-auditor.d.ts +11 -3
- package/dist/domains/security-compliance/services/security-auditor.js +106 -65
- package/dist/domains/test-execution/coordinator.d.ts +2 -1
- package/dist/domains/test-execution/coordinator.js +33 -27
- package/dist/domains/test-execution/interfaces.d.ts +5 -0
- package/dist/domains/test-execution/services/test-executor.d.ts +6 -0
- package/dist/domains/test-execution/services/test-executor.js +16 -4
- package/dist/domains/visual-accessibility/coordinator.js +34 -9
- package/dist/domains/visual-accessibility/interfaces.d.ts +27 -0
- package/dist/domains/visual-accessibility/plugin.js +5 -0
- package/dist/domains/visual-accessibility/services/accessibility-tester-heuristics.d.ts +13 -21
- package/dist/domains/visual-accessibility/services/accessibility-tester-heuristics.js +13 -297
- package/dist/domains/visual-accessibility/services/accessibility-tester.d.ts +13 -5
- package/dist/domains/visual-accessibility/services/accessibility-tester.js +96 -73
- package/dist/integrations/embeddings/index/HNSWIndex.js +8 -4
- package/dist/integrations/ruvector/transfer-coherence-stub.js +5 -10
- package/dist/mcp/bundle.js +480 -480
- package/dist/mcp/handlers/domain-handler-configs.d.ts +8 -0
- package/dist/mcp/handlers/domain-handler-configs.js +9 -2
- package/dist/mcp/handlers/handler-factory.js +3 -0
- package/dist/mcp/handlers/model-route-handlers.d.ts +107 -0
- package/dist/mcp/handlers/model-route-handlers.js +139 -0
- package/dist/mcp/handlers/orchestrate-routes.js +41 -3
- package/dist/mcp/handlers/task-handlers.d.ts +3 -251
- package/dist/mcp/handlers/task-handlers.js +6 -828
- package/dist/mcp/handlers/task-inference.d.ts +26 -0
- package/dist/mcp/handlers/task-inference.js +156 -0
- package/dist/mcp/handlers/task-learning-handlers.d.ts +92 -0
- package/dist/mcp/handlers/task-learning-handlers.js +230 -0
- package/dist/mcp/handlers/task-orchestrate-handler.d.ts +73 -0
- package/dist/mcp/handlers/task-orchestrate-handler.js +361 -0
- package/dist/mcp/protocol-server.js +12 -2
- package/dist/mcp/tools/code-intelligence/analyze.js +3 -6
- package/dist/mcp/tools/coverage-analysis/index.d.ts +4 -0
- package/dist/mcp/tools/coverage-analysis/index.js +8 -2
- package/dist/mcp/tools/visual-accessibility/index.d.ts +7 -0
- package/dist/mcp/tools/visual-accessibility/index.js +29 -13
- package/dist/shared/events/domain-events.d.ts +2 -0
- package/dist/shared/metrics/code-metrics.js +21 -3
- package/dist/shared/parsers/typescript-parser.d.ts +6 -0
- package/dist/shared/parsers/typescript-parser.js +13 -1
- package/package.json +1 -1
- package/dist/cli/chunks/adapter-HL7MOCQN.js +0 -2
- package/dist/cli/chunks/aqe-learning-engine-OZ2DXB4G.js +0 -2
- package/dist/cli/chunks/base-WIM7G3HC.js +0 -2
- package/dist/cli/chunks/browser-workflow-QRKCFVR3.js +0 -2
- package/dist/cli/chunks/chunk-QSGEBCDB.js +0 -62
- package/dist/cli/chunks/chunk-UJNGGFGX.js +0 -2
- package/dist/cli/chunks/chunk-VXVTFKRA.js +0 -2
- package/dist/cli/chunks/chunk-XCNSGSKV.js +0 -3
- package/dist/cli/chunks/client-4PNYDFYS.js +0 -2
- package/dist/cli/chunks/core-handlers-ODO6LUWQ.js +0 -2
- package/dist/cli/chunks/cross-domain-router-DT4MHJKK.js +0 -2
- package/dist/cli/chunks/domain-transfer-L3F6AES2.js +0 -2
- package/dist/cli/chunks/dream-QOB3JCOM.js +0 -2
- package/dist/cli/chunks/file-discovery-BN76S2PR.js +0 -2
- package/dist/cli/chunks/fleet-43YMXACN.js +0 -46
- package/dist/cli/chunks/heartbeat-scheduler-3NNP4WCP.js +0 -2
- package/dist/cli/chunks/hnsw-adapter-MZR7Y4WF.js +0 -2
- package/dist/cli/chunks/hnsw-index-HE4AX22U.js +0 -2
- package/dist/cli/chunks/hybrid-backend-IHUHB3Y2.js +0 -2
- package/dist/cli/chunks/impact-analyzer-FI6GI6PD.js +0 -2
- package/dist/cli/chunks/init-wizard-WLQKH5Y5.js +0 -2
- package/dist/cli/chunks/kernel-2WZOQEZS.js +0 -2
- package/dist/cli/chunks/knowledge-graph-G3LVKK6P.js +0 -2
- package/dist/cli/chunks/llm-router-service-MM75HKWJ.js +0 -2
- package/dist/cli/chunks/load-test-BEWEE44J.js +0 -2
- package/dist/cli/chunks/memory-backend-NYKBBKZR.js +0 -2
- package/dist/cli/chunks/pattern-null-store-QGPUIV6M.js +0 -2
- package/dist/cli/chunks/project-root-C7ELXZRK.js +0 -2
- package/dist/cli/chunks/protocol-executor-SUVE33BM.js +0 -2
- package/dist/cli/chunks/qe-reasoning-bank-YWZMMGJB.js +0 -2
- package/dist/cli/chunks/queen-coordinator-ZFAKXRN7.js +0 -2
- package/dist/cli/chunks/router-4FTAVYLJ.js +0 -2
- package/dist/cli/chunks/routing-feedback-IO2KOWMJ.js +0 -2
- package/dist/cli/chunks/rvf-dual-writer-KCIRNE7C.js +0 -2
- package/dist/cli/chunks/rvf-migration-adapter-MFC5WTJU.js +0 -2
- package/dist/cli/chunks/rvf-native-adapter-I3KWHE7X.js +0 -2
- package/dist/cli/chunks/safe-db-QXDZ6QY3.js +0 -2
- package/dist/cli/chunks/schedule-CZKD6RIY.js +0 -2
- package/dist/cli/chunks/scheduler-BLA3Q4CH.js +0 -2
- package/dist/cli/chunks/sqlite-persistence-XIUYDJC4.js +0 -2
- package/dist/cli/chunks/task-handler-P6IFLCKP.js +0 -62
- package/dist/cli/chunks/task-handlers-DPWMUKFC.js +0 -9
- package/dist/cli/chunks/test-runner-process-46IPK3GH.js +0 -2
- package/dist/cli/chunks/tree-sitter-wasm-parser-MOI2WWNJ.js +0 -2
- package/dist/cli/chunks/unified-memory-FL26RTV3.js +0 -2
- package/dist/cli/chunks/unified-memory-hnsw-E2BPTH3U.js +0 -2
- package/dist/cli/chunks/unified-persistence-5ZOUPKHF.js +0 -2
- package/dist/cli/chunks/visual-security-IJVPO5FA.js +0 -2
- package/dist/cli/chunks/witness-chain-5FAFCQKP.js +0 -2
- package/dist/cli/chunks/witness-chain-V2M32W5D.js +0 -2
- package/dist/cli/chunks/workflow-orchestrator-3JLF3IX7.js +0 -2
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
* Common types, interfaces, and patterns used across all scanner modules
|
|
4
4
|
*/
|
|
5
5
|
import type { MemoryBackend } from '@kernel/interfaces.js';
|
|
6
|
-
import type { Vulnerability, VulnerabilitySeverity, VulnerabilityCategory, VulnerabilityLocation, RemediationAdvice, ScanSummary, SecurityCoverage, ScanStatus, SASTResult, DASTResult, DASTOptions, AuthCredentials, RuleSet, FalsePositiveCheck, UncheckedDependency, LocalDependency } from '../../interfaces.js';
|
|
6
|
+
import type { Vulnerability, VulnerabilitySeverity, VulnerabilityCategory, VulnerabilityLocation, RemediationAdvice, ScanSummary, SecurityCoverage, ScanStatus, SASTResult, DASTResult, DASTRequestFailure, DASTOptions, AuthCredentials, RuleSet, FalsePositiveCheck, UncheckedDependency, LocalDependency } from '../../interfaces.js';
|
|
7
7
|
import type { HybridRouter, ChatResponse } from '@shared/llm/index.js';
|
|
8
8
|
/**
|
|
9
9
|
* Combined security scanner configuration
|
|
@@ -117,5 +117,5 @@ export interface MutableScanSummary {
|
|
|
117
117
|
totalFiles: number;
|
|
118
118
|
scanDurationMs: number;
|
|
119
119
|
}
|
|
120
|
-
export type { Vulnerability, VulnerabilitySeverity, VulnerabilityCategory, VulnerabilityLocation, RemediationAdvice, ScanSummary, SecurityCoverage, ScanStatus, SASTResult, DASTResult, DASTOptions, AuthCredentials, RuleSet, FalsePositiveCheck, UncheckedDependency, LocalDependency, MemoryBackend, HybridRouter, ChatResponse, };
|
|
120
|
+
export type { Vulnerability, VulnerabilitySeverity, VulnerabilityCategory, VulnerabilityLocation, RemediationAdvice, ScanSummary, SecurityCoverage, ScanStatus, SASTResult, DASTResult, DASTRequestFailure, DASTOptions, AuthCredentials, RuleSet, FalsePositiveCheck, UncheckedDependency, LocalDependency, MemoryBackend, HybridRouter, ChatResponse, };
|
|
121
121
|
//# sourceMappingURL=scanner-types.d.ts.map
|
|
@@ -4,49 +4,44 @@
|
|
|
4
4
|
*/
|
|
5
5
|
import { LoggerFactory } from '../../../logging/index.js';
|
|
6
6
|
import { v4 as uuidv4 } from 'uuid';
|
|
7
|
-
import {
|
|
7
|
+
import { assertScannableResponse, dastRequestFailure, parseDastTarget, probe, summarizeFailures, } from './scanners/dast-requests.js';
|
|
8
8
|
// ============================================================================
|
|
9
9
|
// DAST Scanning
|
|
10
10
|
// ============================================================================
|
|
11
11
|
/**
|
|
12
12
|
* Perform DAST scan using HTTP requests to test for vulnerabilities
|
|
13
13
|
* Tests for common web vulnerabilities: XSS, SQL injection, security headers, etc.
|
|
14
|
+
*
|
|
15
|
+
* #1052: runAudit has no error channel for one phase, so a target that could
|
|
16
|
+
* not be scanned is a result with status 'failed' and the reason, never an
|
|
17
|
+
* empty result that reads as "no findings".
|
|
14
18
|
*/
|
|
15
19
|
const logger = LoggerFactory.create('security-compliance/security-auditor-dast');
|
|
16
20
|
export async function performDASTScan(targetUrl) {
|
|
17
21
|
const scanId = uuidv4();
|
|
18
22
|
const startTime = Date.now();
|
|
19
23
|
const vulnerabilities = [];
|
|
24
|
+
const failedRequests = [];
|
|
20
25
|
let crawledUrls = 0;
|
|
26
|
+
const finish = (failure) => ({
|
|
27
|
+
scanId,
|
|
28
|
+
targetUrl,
|
|
29
|
+
vulnerabilities: failure ? [] : vulnerabilities,
|
|
30
|
+
summary: summarize(failure ? [] : vulnerabilities, Date.now() - startTime),
|
|
31
|
+
crawledUrls,
|
|
32
|
+
status: failure ? 'failed' : failedRequests.length > 0 ? 'incomplete' : 'complete',
|
|
33
|
+
failedRequests,
|
|
34
|
+
...(failure ? { error: `${failure.code ? `${failure.code}: ` : ''}${failure.message}` }
|
|
35
|
+
: failedRequests.length > 0 ? { error: summarizeFailures(failedRequests) } : {}),
|
|
36
|
+
});
|
|
21
37
|
try {
|
|
22
|
-
|
|
23
|
-
let parsedUrl;
|
|
24
|
-
try {
|
|
25
|
-
parsedUrl = new URL(targetUrl);
|
|
26
|
-
}
|
|
27
|
-
catch {
|
|
28
|
-
return {
|
|
29
|
-
scanId,
|
|
30
|
-
targetUrl,
|
|
31
|
-
vulnerabilities: [{
|
|
32
|
-
id: uuidv4(),
|
|
33
|
-
title: 'Invalid Target URL',
|
|
34
|
-
description: 'The provided target URL is not valid',
|
|
35
|
-
severity: 'informational',
|
|
36
|
-
category: 'security-misconfiguration',
|
|
37
|
-
location: { file: targetUrl },
|
|
38
|
-
remediation: { description: 'Provide a valid URL', estimatedEffort: 'trivial', automatable: false },
|
|
39
|
-
references: [],
|
|
40
|
-
}],
|
|
41
|
-
summary: { critical: 0, high: 0, medium: 0, low: 0, informational: 1, totalFiles: 0, scanDurationMs: Date.now() - startTime },
|
|
42
|
-
crawledUrls: 0,
|
|
43
|
-
};
|
|
44
|
-
}
|
|
38
|
+
const parsedUrl = parseDastTarget(targetUrl);
|
|
45
39
|
// Perform HTTP request to check security headers and response characteristics
|
|
46
40
|
const controller = new AbortController();
|
|
47
41
|
const timeoutId = setTimeout(() => controller.abort(), 30000); // 30s timeout
|
|
42
|
+
let response;
|
|
48
43
|
try {
|
|
49
|
-
|
|
44
|
+
response = await fetch(targetUrl, {
|
|
50
45
|
method: 'GET',
|
|
51
46
|
headers: {
|
|
52
47
|
'User-Agent': 'AgenticQE-SecurityScanner/3.0',
|
|
@@ -55,198 +50,188 @@ export async function performDASTScan(targetUrl) {
|
|
|
55
50
|
signal: controller.signal,
|
|
56
51
|
redirect: 'follow',
|
|
57
52
|
});
|
|
53
|
+
await response.body?.cancel().catch(() => undefined);
|
|
54
|
+
// The headers of a 401/403/407/408/429/5xx page are not the target's.
|
|
55
|
+
assertScannableResponse(response.status);
|
|
56
|
+
}
|
|
57
|
+
catch (fetchError) {
|
|
58
|
+
throw dastRequestFailure(fetchError);
|
|
59
|
+
}
|
|
60
|
+
finally {
|
|
58
61
|
clearTimeout(timeoutId);
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
id: uuidv4(),
|
|
104
|
-
title: check.title,
|
|
105
|
-
description: check.description,
|
|
106
|
-
severity: check.severity,
|
|
107
|
-
category: 'security-misconfiguration',
|
|
108
|
-
location: {
|
|
109
|
-
file: targetUrl,
|
|
110
|
-
snippet: `Response Headers: ${check.header} not present`,
|
|
111
|
-
},
|
|
112
|
-
remediation: {
|
|
113
|
-
description: check.remediation,
|
|
114
|
-
estimatedEffort: 'minor',
|
|
115
|
-
automatable: true,
|
|
116
|
-
},
|
|
117
|
-
references: [
|
|
118
|
-
'https://owasp.org/www-project-secure-headers/',
|
|
119
|
-
],
|
|
120
|
-
});
|
|
121
|
-
}
|
|
122
|
-
}
|
|
123
|
-
// Check for insecure cookies
|
|
124
|
-
const cookies = headers.get('set-cookie');
|
|
125
|
-
if (cookies) {
|
|
126
|
-
if (!cookies.toLowerCase().includes('secure')) {
|
|
127
|
-
vulnerabilities.push({
|
|
128
|
-
id: uuidv4(),
|
|
129
|
-
title: 'Cookie Without Secure Flag',
|
|
130
|
-
description: 'Session cookie is set without the Secure flag',
|
|
131
|
-
severity: 'medium',
|
|
132
|
-
category: 'sensitive-data',
|
|
133
|
-
location: { file: targetUrl, snippet: `Set-Cookie: ${cookies.substring(0, 50)}...` },
|
|
134
|
-
remediation: { description: 'Add Secure flag to cookies', estimatedEffort: 'trivial', automatable: true },
|
|
135
|
-
references: ['https://owasp.org/www-community/controls/SecureCookieAttribute'],
|
|
136
|
-
});
|
|
137
|
-
}
|
|
138
|
-
if (!cookies.toLowerCase().includes('httponly')) {
|
|
139
|
-
vulnerabilities.push({
|
|
140
|
-
id: uuidv4(),
|
|
141
|
-
title: 'Cookie Without HttpOnly Flag',
|
|
142
|
-
description: 'Session cookie is set without the HttpOnly flag, making it accessible to JavaScript',
|
|
143
|
-
severity: 'medium',
|
|
144
|
-
category: 'sensitive-data',
|
|
145
|
-
location: { file: targetUrl, snippet: `Set-Cookie: ${cookies.substring(0, 50)}...` },
|
|
146
|
-
remediation: { description: 'Add HttpOnly flag to session cookies', estimatedEffort: 'trivial', automatable: true },
|
|
147
|
-
references: ['https://owasp.org/www-community/HttpOnly'],
|
|
148
|
-
});
|
|
149
|
-
}
|
|
150
|
-
if (!cookies.toLowerCase().includes('samesite')) {
|
|
151
|
-
vulnerabilities.push({
|
|
152
|
-
id: uuidv4(),
|
|
153
|
-
title: 'Cookie Without SameSite Attribute',
|
|
154
|
-
description: 'Cookie is set without the SameSite attribute, potentially vulnerable to CSRF',
|
|
155
|
-
severity: 'low',
|
|
156
|
-
category: 'broken-auth',
|
|
157
|
-
location: { file: targetUrl, snippet: `Set-Cookie: ${cookies.substring(0, 50)}...` },
|
|
158
|
-
remediation: { description: 'Add SameSite=Strict or SameSite=Lax to cookies', estimatedEffort: 'trivial', automatable: true },
|
|
159
|
-
references: ['https://owasp.org/www-community/SameSite'],
|
|
160
|
-
});
|
|
161
|
-
}
|
|
162
|
-
}
|
|
163
|
-
// Check for server information disclosure
|
|
164
|
-
const server = headers.get('server');
|
|
165
|
-
if (server && /[0-9]+\.[0-9]+/.test(server)) {
|
|
62
|
+
}
|
|
63
|
+
crawledUrls = 1;
|
|
64
|
+
// Check security headers
|
|
65
|
+
const headers = response.headers;
|
|
66
|
+
// Check for missing security headers
|
|
67
|
+
const securityHeaderChecks = [
|
|
68
|
+
{
|
|
69
|
+
header: 'strict-transport-security',
|
|
70
|
+
title: 'Missing HTTP Strict Transport Security (HSTS)',
|
|
71
|
+
description: 'HSTS header is missing, allowing downgrade attacks',
|
|
72
|
+
severity: 'medium',
|
|
73
|
+
remediation: 'Add Strict-Transport-Security header with appropriate max-age',
|
|
74
|
+
},
|
|
75
|
+
{
|
|
76
|
+
header: 'x-content-type-options',
|
|
77
|
+
title: 'Missing X-Content-Type-Options Header',
|
|
78
|
+
description: 'X-Content-Type-Options header is missing, allowing MIME sniffing attacks',
|
|
79
|
+
severity: 'low',
|
|
80
|
+
remediation: 'Add X-Content-Type-Options: nosniff header',
|
|
81
|
+
},
|
|
82
|
+
{
|
|
83
|
+
header: 'x-frame-options',
|
|
84
|
+
title: 'Missing X-Frame-Options Header',
|
|
85
|
+
description: 'X-Frame-Options header is missing, allowing clickjacking attacks',
|
|
86
|
+
severity: 'medium',
|
|
87
|
+
remediation: 'Add X-Frame-Options: DENY or SAMEORIGIN header',
|
|
88
|
+
},
|
|
89
|
+
{
|
|
90
|
+
header: 'content-security-policy',
|
|
91
|
+
title: 'Missing Content Security Policy',
|
|
92
|
+
description: 'CSP header is missing, increasing XSS attack surface',
|
|
93
|
+
severity: 'medium',
|
|
94
|
+
remediation: 'Implement a Content-Security-Policy header',
|
|
95
|
+
},
|
|
96
|
+
{
|
|
97
|
+
header: 'x-xss-protection',
|
|
98
|
+
title: 'Missing X-XSS-Protection Header',
|
|
99
|
+
description: 'X-XSS-Protection header is missing (legacy XSS filter)',
|
|
100
|
+
severity: 'low',
|
|
101
|
+
remediation: 'Add X-XSS-Protection: 1; mode=block header',
|
|
102
|
+
},
|
|
103
|
+
];
|
|
104
|
+
for (const check of securityHeaderChecks) {
|
|
105
|
+
if (!headers.get(check.header)) {
|
|
166
106
|
vulnerabilities.push({
|
|
167
107
|
id: uuidv4(),
|
|
168
|
-
title:
|
|
169
|
-
description:
|
|
170
|
-
severity:
|
|
108
|
+
title: check.title,
|
|
109
|
+
description: check.description,
|
|
110
|
+
severity: check.severity,
|
|
171
111
|
category: 'security-misconfiguration',
|
|
172
|
-
location: {
|
|
173
|
-
|
|
174
|
-
|
|
112
|
+
location: {
|
|
113
|
+
file: targetUrl,
|
|
114
|
+
snippet: `Response Headers: ${check.header} not present`,
|
|
115
|
+
},
|
|
116
|
+
remediation: {
|
|
117
|
+
description: check.remediation,
|
|
118
|
+
estimatedEffort: 'minor',
|
|
119
|
+
automatable: true,
|
|
120
|
+
},
|
|
121
|
+
references: [
|
|
122
|
+
'https://owasp.org/www-project-secure-headers/',
|
|
123
|
+
],
|
|
175
124
|
});
|
|
176
125
|
}
|
|
177
|
-
|
|
178
|
-
|
|
126
|
+
}
|
|
127
|
+
// Check for insecure cookies
|
|
128
|
+
const cookies = headers.get('set-cookie');
|
|
129
|
+
if (cookies) {
|
|
130
|
+
if (!cookies.toLowerCase().includes('secure')) {
|
|
179
131
|
vulnerabilities.push({
|
|
180
132
|
id: uuidv4(),
|
|
181
|
-
title: '
|
|
182
|
-
description: '
|
|
183
|
-
severity: '
|
|
133
|
+
title: 'Cookie Without Secure Flag',
|
|
134
|
+
description: 'Session cookie is set without the Secure flag',
|
|
135
|
+
severity: 'medium',
|
|
184
136
|
category: 'sensitive-data',
|
|
185
|
-
location: { file: targetUrl },
|
|
186
|
-
remediation: { description: '
|
|
187
|
-
references: ['https://owasp.org/www-
|
|
137
|
+
location: { file: targetUrl, snippet: `Set-Cookie: ${cookies.substring(0, 50)}...` },
|
|
138
|
+
remediation: { description: 'Add Secure flag to cookies', estimatedEffort: 'trivial', automatable: true },
|
|
139
|
+
references: ['https://owasp.org/www-community/controls/SecureCookieAttribute'],
|
|
188
140
|
});
|
|
189
141
|
}
|
|
190
|
-
|
|
191
|
-
|
|
192
|
-
|
|
193
|
-
|
|
194
|
-
|
|
195
|
-
|
|
196
|
-
|
|
197
|
-
|
|
198
|
-
|
|
199
|
-
|
|
200
|
-
|
|
201
|
-
method: 'GET',
|
|
202
|
-
signal: AbortSignal.timeout(5000),
|
|
203
|
-
});
|
|
204
|
-
if (testResponse.ok && testResponse.status === 200) {
|
|
205
|
-
const text = await testResponse.text();
|
|
206
|
-
// Verify it's actually the sensitive content, not a custom 404
|
|
207
|
-
if (text.length > 10 && !text.toLowerCase().includes('not found')) {
|
|
208
|
-
crawledUrls++;
|
|
209
|
-
vulnerabilities.push({
|
|
210
|
-
id: uuidv4(),
|
|
211
|
-
title: endpoint.vuln,
|
|
212
|
-
description: `Sensitive file found at ${endpoint.path}`,
|
|
213
|
-
severity: endpoint.severity,
|
|
214
|
-
category: 'sensitive-data',
|
|
215
|
-
location: { file: testUrl },
|
|
216
|
-
remediation: { description: 'Remove or restrict access to sensitive files', estimatedEffort: 'trivial', automatable: true },
|
|
217
|
-
references: ['https://owasp.org/www-project-web-security-testing-guide/'],
|
|
218
|
-
});
|
|
219
|
-
}
|
|
220
|
-
}
|
|
221
|
-
}
|
|
222
|
-
catch {
|
|
223
|
-
// Endpoint not accessible, which is expected/good
|
|
224
|
-
}
|
|
142
|
+
if (!cookies.toLowerCase().includes('httponly')) {
|
|
143
|
+
vulnerabilities.push({
|
|
144
|
+
id: uuidv4(),
|
|
145
|
+
title: 'Cookie Without HttpOnly Flag',
|
|
146
|
+
description: 'Session cookie is set without the HttpOnly flag, making it accessible to JavaScript',
|
|
147
|
+
severity: 'medium',
|
|
148
|
+
category: 'sensitive-data',
|
|
149
|
+
location: { file: targetUrl, snippet: `Set-Cookie: ${cookies.substring(0, 50)}...` },
|
|
150
|
+
remediation: { description: 'Add HttpOnly flag to session cookies', estimatedEffort: 'trivial', automatable: true },
|
|
151
|
+
references: ['https://owasp.org/www-community/HttpOnly'],
|
|
152
|
+
});
|
|
225
153
|
}
|
|
226
|
-
|
|
227
|
-
catch (fetchError) {
|
|
228
|
-
clearTimeout(timeoutId);
|
|
229
|
-
const errorMessage = toErrorMessage(fetchError);
|
|
230
|
-
// Network errors might indicate issues
|
|
231
|
-
if (errorMessage.includes('certificate') || errorMessage.includes('SSL') || errorMessage.includes('TLS')) {
|
|
154
|
+
if (!cookies.toLowerCase().includes('samesite')) {
|
|
232
155
|
vulnerabilities.push({
|
|
233
156
|
id: uuidv4(),
|
|
234
|
-
title: '
|
|
235
|
-
description:
|
|
236
|
-
severity: '
|
|
237
|
-
category: '
|
|
238
|
-
location: { file: targetUrl },
|
|
239
|
-
remediation: { description: '
|
|
240
|
-
references: ['https://owasp.org/www-
|
|
157
|
+
title: 'Cookie Without SameSite Attribute',
|
|
158
|
+
description: 'Cookie is set without the SameSite attribute, potentially vulnerable to CSRF',
|
|
159
|
+
severity: 'low',
|
|
160
|
+
category: 'broken-auth',
|
|
161
|
+
location: { file: targetUrl, snippet: `Set-Cookie: ${cookies.substring(0, 50)}...` },
|
|
162
|
+
remediation: { description: 'Add SameSite=Strict or SameSite=Lax to cookies', estimatedEffort: 'trivial', automatable: true },
|
|
163
|
+
references: ['https://owasp.org/www-community/SameSite'],
|
|
241
164
|
});
|
|
242
165
|
}
|
|
243
166
|
}
|
|
167
|
+
// Check for server information disclosure
|
|
168
|
+
const server = headers.get('server');
|
|
169
|
+
if (server && /[0-9]+\.[0-9]+/.test(server)) {
|
|
170
|
+
vulnerabilities.push({
|
|
171
|
+
id: uuidv4(),
|
|
172
|
+
title: 'Server Version Disclosure',
|
|
173
|
+
description: `Server header reveals version information: ${server}`,
|
|
174
|
+
severity: 'low',
|
|
175
|
+
category: 'security-misconfiguration',
|
|
176
|
+
location: { file: targetUrl, snippet: `Server: ${server}` },
|
|
177
|
+
remediation: { description: 'Remove or obfuscate server version information', estimatedEffort: 'trivial', automatable: true },
|
|
178
|
+
references: ['https://owasp.org/www-project-web-security-testing-guide/'],
|
|
179
|
+
});
|
|
180
|
+
}
|
|
181
|
+
// Check for HTTPS
|
|
182
|
+
if (parsedUrl.protocol === 'http:') {
|
|
183
|
+
vulnerabilities.push({
|
|
184
|
+
id: uuidv4(),
|
|
185
|
+
title: 'Insecure HTTP Protocol',
|
|
186
|
+
description: 'Target is using HTTP instead of HTTPS, exposing data in transit',
|
|
187
|
+
severity: 'high',
|
|
188
|
+
category: 'sensitive-data',
|
|
189
|
+
location: { file: targetUrl },
|
|
190
|
+
remediation: { description: 'Use HTTPS with valid TLS certificate', estimatedEffort: 'moderate', automatable: false },
|
|
191
|
+
references: ['https://owasp.org/www-project-web-security-testing-guide/'],
|
|
192
|
+
});
|
|
193
|
+
}
|
|
194
|
+
// Try common test endpoints for additional checks
|
|
195
|
+
const testEndpoints = [
|
|
196
|
+
{ path: '/.git/config', vuln: 'Git Repository Exposed', severity: 'high' },
|
|
197
|
+
{ path: '/.env', vuln: 'Environment File Exposed', severity: 'critical' },
|
|
198
|
+
{ path: '/phpinfo.php', vuln: 'PHP Info Exposed', severity: 'medium' },
|
|
199
|
+
{ path: '/wp-config.php.bak', vuln: 'WordPress Config Backup Exposed', severity: 'critical' },
|
|
200
|
+
];
|
|
201
|
+
for (const endpoint of testEndpoints) {
|
|
202
|
+
// An unanswered probe is recorded, and leaves the scan incomplete.
|
|
203
|
+
const testUrl = new URL(endpoint.path, parsedUrl.origin).toString();
|
|
204
|
+
const testResponse = await probe(testUrl, {
|
|
205
|
+
method: 'GET',
|
|
206
|
+
signal: AbortSignal.timeout(5000),
|
|
207
|
+
}, failedRequests);
|
|
208
|
+
if (testResponse?.ok && testResponse.status === 200) {
|
|
209
|
+
const text = testResponse.text;
|
|
210
|
+
// Verify it's actually the sensitive content, not a custom 404
|
|
211
|
+
if (text.length > 10 && !text.toLowerCase().includes('not found')) {
|
|
212
|
+
crawledUrls++;
|
|
213
|
+
vulnerabilities.push({
|
|
214
|
+
id: uuidv4(),
|
|
215
|
+
title: endpoint.vuln,
|
|
216
|
+
description: `Sensitive file found at ${endpoint.path}`,
|
|
217
|
+
severity: endpoint.severity,
|
|
218
|
+
category: 'sensitive-data',
|
|
219
|
+
location: { file: testUrl },
|
|
220
|
+
remediation: { description: 'Remove or restrict access to sensitive files', estimatedEffort: 'trivial', automatable: true },
|
|
221
|
+
references: ['https://owasp.org/www-project-web-security-testing-guide/'],
|
|
222
|
+
});
|
|
223
|
+
}
|
|
224
|
+
}
|
|
225
|
+
}
|
|
244
226
|
}
|
|
245
227
|
catch (error) {
|
|
246
|
-
|
|
228
|
+
// DAST_INVALID_TARGET, DAST_TLS_FAILED, DAST_RATE_LIMITED, ... or an analysis bug.
|
|
229
|
+
logger.warn(`DAST scan failed: ${error instanceof Error ? error.message : String(error)}`);
|
|
230
|
+
return finish(error instanceof Error ? error : new Error(String(error)));
|
|
247
231
|
}
|
|
248
|
-
|
|
249
|
-
|
|
232
|
+
return finish();
|
|
233
|
+
}
|
|
234
|
+
function summarize(vulnerabilities, scanDurationMs) {
|
|
250
235
|
let critical = 0, high = 0, medium = 0, low = 0, informational = 0;
|
|
251
236
|
for (const vuln of vulnerabilities) {
|
|
252
237
|
switch (vuln.severity) {
|
|
@@ -267,20 +252,6 @@ export async function performDASTScan(targetUrl) {
|
|
|
267
252
|
break;
|
|
268
253
|
}
|
|
269
254
|
}
|
|
270
|
-
return {
|
|
271
|
-
scanId,
|
|
272
|
-
targetUrl,
|
|
273
|
-
vulnerabilities,
|
|
274
|
-
summary: {
|
|
275
|
-
critical,
|
|
276
|
-
high,
|
|
277
|
-
medium,
|
|
278
|
-
low,
|
|
279
|
-
informational,
|
|
280
|
-
totalFiles: 1,
|
|
281
|
-
scanDurationMs,
|
|
282
|
-
},
|
|
283
|
-
crawledUrls,
|
|
284
|
-
};
|
|
255
|
+
return { critical, high, medium, low, informational, totalFiles: 1, scanDurationMs };
|
|
285
256
|
}
|
|
286
257
|
//# sourceMappingURL=security-auditor-dast.js.map
|
|
@@ -85,7 +85,11 @@ export function generateRecommendations(sast, dast, deps, secrets) {
|
|
|
85
85
|
if (secrets && secrets.secretsFound.length > 0) {
|
|
86
86
|
recommendations.push(`Remove ${secrets.secretsFound.length} exposed secrets and rotate credentials`);
|
|
87
87
|
}
|
|
88
|
-
|
|
88
|
+
// #1052: an incomplete or failed check cannot support a "posture is good" verdict.
|
|
89
|
+
const unmeasured = (dast !== undefined && dast.status !== 'complete') || (deps !== undefined && deps.status !== 'complete')
|
|
90
|
+
// #1221: so can an outdated-package check whose registry lookups failed.
|
|
91
|
+
|| (deps !== undefined && (deps.outdatedStatus === 'incomplete' || deps.outdatedStatus === 'failed'));
|
|
92
|
+
if (recommendations.length === 0 && !unmeasured) {
|
|
89
93
|
recommendations.push('Security posture is good. Continue regular scanning.');
|
|
90
94
|
}
|
|
91
95
|
return recommendations;
|
|
@@ -49,10 +49,18 @@ export declare class SecurityAuditorService implements ISecurityAuditorService {
|
|
|
49
49
|
private mapToOSVEcosystem;
|
|
50
50
|
private mapParsedVulnerability;
|
|
51
51
|
private categorizeVulnerability;
|
|
52
|
-
|
|
52
|
+
/**
|
|
53
|
+
* Look up the latest version of each dependency (#1221). A failed lookup is
|
|
54
|
+
* listed in `outdatedUnchecked` with its reason, never counted as up to date.
|
|
55
|
+
*/
|
|
56
|
+
private checkOutdatedPackages;
|
|
53
57
|
private queryVulnerabilityDatabase;
|
|
54
|
-
|
|
55
|
-
|
|
58
|
+
/**
|
|
59
|
+
* Latest version and deprecation from the package registry (#1052). A failed
|
|
60
|
+
* lookup says why; it never reads as "not deprecated" or a version.
|
|
61
|
+
* `deprecated` is null when the registry does not report deprecation.
|
|
62
|
+
*/
|
|
63
|
+
private lookupRegistry;
|
|
56
64
|
private determineUpdateType;
|
|
57
65
|
private hasBreakingChanges;
|
|
58
66
|
private createDependencySummary;
|