@jshookmcp/jshook 0.2.9 → 0.3.1

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 (316) hide show
  1. package/README.md +25 -50
  2. package/README.zh.md +25 -48
  3. package/dist/AntiCheatDetector-CGVGNfy5.mjs +1 -0
  4. package/dist/CacheAdapters-CdAxBmVW.mjs +1 -0
  5. package/dist/CodeInjector-BlgyqTOk.mjs +1 -0
  6. package/dist/ConsoleMonitor-Dkqc0HNi.mjs +490 -0
  7. package/dist/DOMInspector-BYY_EJ0C.mjs +95 -0
  8. package/dist/DarwinAPI-DC4HGGLl.mjs +1 -0
  9. package/dist/DetailedDataManager-BniBJlVv.mjs +1 -0
  10. package/dist/EventBus-DgciURGg.mjs +1 -0
  11. package/dist/EvidenceGraphBridge-BIfgB7HP.mjs +1 -0
  12. package/dist/ExtensionManager-erMpqcLk.mjs +1 -0
  13. package/dist/FingerprintManager-N7BZqjxP.mjs +1 -0
  14. package/dist/HardwareBreakpoint-OcJqNFVc.mjs +1 -0
  15. package/dist/HeapAnalyzer-CqAxZzeS.mjs +1 -0
  16. package/dist/{HookGeneratorBuilders.core.generators.storage-CtcdK78Q.mjs → HookGeneratorBuilders.core.generators.storage-Bf1fbrNK.mjs} +66 -174
  17. package/dist/InstrumentationSession-DxXs0sCp.mjs +1 -0
  18. package/dist/MCPServer.search.handlers.domain-DVbWL1bT.mjs +1 -0
  19. package/dist/MemoryController-BaqstM5w.mjs +2 -0
  20. package/dist/MemoryScanSession-CaxAjZJf.mjs +1 -0
  21. package/dist/MemoryScanner-BLYnMJy6.mjs +1 -0
  22. package/dist/NativeMemoryManager.impl-CI554XbY.mjs +1 -0
  23. package/dist/NativeMemoryManager.utils-DM4NC3FE.mjs +1 -0
  24. package/dist/PEAnalyzer-DJyaJTQJ.mjs +1 -0
  25. package/dist/PageController-D9jVkH0i.mjs +1 -0
  26. package/dist/PointerChainEngine-5nF9eNlu.mjs +1 -0
  27. package/dist/PrerequisiteError-Bl3dK8XA.mjs +1 -0
  28. package/dist/ProcessRegistry-Hf12LlR9.mjs +1 -0
  29. package/dist/ResponseBuilder-B2lu4KEl.mjs +1 -0
  30. package/dist/ReverseEvidenceGraph-B931HeoW.mjs +2 -0
  31. package/dist/ScriptManager-fgqiALgj.mjs +7 -0
  32. package/dist/Speedhack-l6s8L2Qw.mjs +1 -0
  33. package/dist/StealthVerifier-Dhbj4B4P.mjs +1 -0
  34. package/dist/StructureAnalyzer-A-WamfYE.mjs +2 -0
  35. package/dist/ToolCatalog-D_IKl1Hu.mjs +1 -0
  36. package/dist/ToolError-DWU_z7gp.mjs +1 -0
  37. package/dist/ToolProbe-xsfALmN3.mjs +1 -0
  38. package/dist/ToolRegistry-B0Zs-phN.mjs +1 -0
  39. package/dist/ToolRouter.policy-CFHoN_Lw.mjs +4 -0
  40. package/dist/TraceRecorder-Dd8jLXpi.mjs +272 -0
  41. package/dist/VersionDetector-DMoUWyNm.mjs +9 -0
  42. package/dist/Win32API-Bhi5xFBe.mjs +1 -0
  43. package/dist/Win32Debug-CQteFL4F.mjs +1 -0
  44. package/dist/WorkflowEngine-CxEp2WXH.mjs +1 -0
  45. package/dist/analysis-BuR-NgX8.mjs +5 -0
  46. package/dist/{antidebug-CqDTB_uk.mjs → antidebug-BOTZH6-0.mjs} +8 -259
  47. package/dist/artifactRetention-NBdncOEW.mjs +1 -0
  48. package/dist/artifacts-B5xQuEa_.mjs +1 -0
  49. package/dist/authorization-schema-B40obG1A.mjs +1 -0
  50. package/dist/betterSqlite3-CGaxz4AX.mjs +1 -0
  51. package/dist/binary-instrument-Cf9qqLlM.mjs +7 -0
  52. package/dist/bind-helpers-BlAOQrFQ.mjs +1 -0
  53. package/dist/boringssl-inspector-BST5vtKx.mjs +2 -0
  54. package/dist/browser-C4Le3xqA.mjs +11 -0
  55. package/dist/capabilities-DbYCv-HF.mjs +1 -0
  56. package/dist/chunk-C_pMuVsO.mjs +1 -0
  57. package/dist/collector-CKO8RPK8.mjs +1 -0
  58. package/dist/concurrency-CcK46d0h.mjs +1 -0
  59. package/dist/constants-Cp6hBrrx.mjs +1 -0
  60. package/dist/coordination-BbijHEHH.mjs +1 -0
  61. package/dist/debugger-CRJq_krh.mjs +1 -0
  62. package/dist/definitions-BGobEDQa.mjs +1 -0
  63. package/dist/definitions-BGwNSkVm.mjs +1 -0
  64. package/dist/definitions-BbxOUiP-.mjs +1 -0
  65. package/dist/definitions-CCP9gphV.mjs +1 -0
  66. package/dist/definitions-CIO9O-Sw.mjs +1 -0
  67. package/dist/definitions-CYFbewnd.mjs +1 -0
  68. package/dist/definitions-CdWEuIkI.mjs +1 -0
  69. package/dist/definitions-CoQFbggH.mjs +1 -0
  70. package/dist/definitions-CuJRsJ6N.mjs +1 -0
  71. package/dist/definitions-DI9YXsJk.mjs +1 -0
  72. package/dist/definitions-DJklW2sS.mjs +1 -0
  73. package/dist/definitions-DZ8uKusP.mjs +1 -0
  74. package/dist/definitions-Dds_zrWx.mjs +1 -0
  75. package/dist/definitions-Dgrg7f3D.mjs +1 -0
  76. package/dist/definitions-DtE0XLrT.mjs +1 -0
  77. package/dist/definitions-LaYTuwQd.mjs +26 -0
  78. package/dist/definitions-NoVp_9Pm.mjs +1 -0
  79. package/dist/definitions-OvGsfxdt.mjs +1 -0
  80. package/dist/definitions-jXPaVy4P.mjs +1 -0
  81. package/dist/encoding-DGcr6Aj_.mjs +2 -0
  82. package/dist/ensure-browser-core-Buls24LQ.mjs +1 -0
  83. package/dist/evidence-graph-bridge-B0yhGPcs.mjs +1 -0
  84. package/dist/factory-Cx_1LorX.mjs +1 -0
  85. package/dist/flat-target-session-CO5g78k3.mjs +1 -0
  86. package/dist/formatAddress-C7j2fDlM.mjs +1 -0
  87. package/dist/graphql-HLf3MS8H.mjs +62 -0
  88. package/dist/handlers-BLMa4X7l.mjs +54 -0
  89. package/dist/handlers-BP12ZsWc.mjs +4 -0
  90. package/dist/handlers-BZoPla6E.mjs +1 -0
  91. package/dist/handlers-BggKiVx9.mjs +2 -0
  92. package/dist/handlers-D3iev8g1.mjs +1 -0
  93. package/dist/handlers-D49r1-1P.mjs +1 -0
  94. package/dist/handlers-DCE45Ww8.mjs +2 -0
  95. package/dist/handlers-DW5AbYs5.mjs +5 -0
  96. package/dist/handlers-De5u62Ga2.mjs +1 -0
  97. package/dist/handlers-DmQzIc44.mjs +31 -0
  98. package/dist/handlers-DnJRGp7t.mjs +302 -0
  99. package/dist/handlers-Dv_runVv.mjs +2 -0
  100. package/dist/handlers-S9Ws0IGy.mjs +2 -0
  101. package/dist/{handlers-Bl8zkwz1.mjs → handlers-pVNpaw4A.mjs} +144 -841
  102. package/dist/handlers.impl-CD2_kOcC.mjs +1 -0
  103. package/dist/hooks-DDKppogd.mjs +600 -0
  104. package/dist/index.mjs +12 -5225
  105. package/dist/logger-sBC6IdRT.mjs +1 -0
  106. package/dist/maintenance-CutEO84j.mjs +1 -0
  107. package/dist/manifest-BFGxlDRh.mjs +123 -0
  108. package/dist/manifest-BPuE6oH2.mjs +1 -0
  109. package/dist/manifest-BXry5N09.mjs +1 -0
  110. package/dist/manifest-BeP_zJGb2.mjs +1 -0
  111. package/dist/manifest-C0g67k6U.mjs +1 -0
  112. package/dist/manifest-C1nZkTkO.mjs +1 -0
  113. package/dist/manifest-C7qV1z7F.mjs +1 -0
  114. package/dist/manifest-CDeUZGUZ.mjs +1 -0
  115. package/dist/manifest-CDiCtaQT.mjs +1 -0
  116. package/dist/manifest-CFn0359q2.mjs +1 -0
  117. package/dist/manifest-CGq4NpqH2.mjs +1 -0
  118. package/dist/manifest-CJMGt7Qy.mjs +1 -0
  119. package/dist/manifest-CRIJq4Hs.mjs +1 -0
  120. package/dist/manifest-C_hEIjSx.mjs +1 -0
  121. package/dist/manifest-CeQmtQOY.mjs +1 -0
  122. package/dist/manifest-Cq0j7GZt.mjs +1 -0
  123. package/dist/manifest-CtPmHAdn.mjs +1 -0
  124. package/dist/manifest-Cx2IVMUY.mjs +1 -0
  125. package/dist/manifest-D16xPXro.mjs +1 -0
  126. package/dist/manifest-D44TaRJU.mjs +1 -0
  127. package/dist/manifest-D610kxZr.mjs +2 -0
  128. package/dist/manifest-DC-SMF6b.mjs +1 -0
  129. package/dist/manifest-DD3rtxvV.mjs +1 -0
  130. package/dist/manifest-DKUorv5M.mjs +1 -0
  131. package/dist/manifest-DMJlcsTR.mjs +1 -0
  132. package/dist/manifest-DWUUWBz0.mjs +1 -0
  133. package/dist/manifest-De-6Wf2R.mjs +1 -0
  134. package/dist/manifest-Dgh0uDW-.mjs +1 -0
  135. package/dist/manifest-Dm0o3i2U.mjs +1 -0
  136. package/dist/manifest-DsVh7Y4U.mjs +1 -0
  137. package/dist/manifest-DtEFSRaq.mjs +1 -0
  138. package/dist/manifest-H-EpAyZQ.mjs +1 -0
  139. package/dist/manifest-ais9Afrw.mjs +1 -0
  140. package/dist/manifest-tmb54wmA.mjs +1 -0
  141. package/dist/manifest-yu2xiQqe.mjs +1 -0
  142. package/dist/manifest-zrbrpKCC.mjs +1 -0
  143. package/dist/matchesWildcardPattern-BGqLSmEs.mjs +1 -0
  144. package/dist/modules-p-PUNv9r.mjs +332 -0
  145. package/dist/mojo-ipc-VGlv3Qyp.mjs +9 -0
  146. package/dist/network-BjZ1Y-GB.mjs +7 -0
  147. package/dist/outputPaths-BonGThuc.mjs +2 -0
  148. package/dist/parse-args-Cuk7-xUt.mjs +1 -0
  149. package/dist/platform-C446Lf97.mjs +93 -0
  150. package/dist/playwright-cdp-fallback-BwVR-_T3.mjs +1 -0
  151. package/dist/process-C9f2A5zk.mjs +962 -0
  152. package/dist/proxy-CvRepxgV.mjs +1 -0
  153. package/dist/registry-DUHIPE-v.mjs +1 -0
  154. package/dist/response-C7rKQst4.mjs +1 -0
  155. package/dist/search-defaults-D2bY-rzH.mjs +1 -0
  156. package/dist/server/plugin-api.mjs +1 -293
  157. package/dist/shared-state-board-Cyg-xh_k.mjs +1 -0
  158. package/dist/sourcemap-D6Q1UuAp.mjs +1 -0
  159. package/dist/ssrf-policy-T96MR3r6.mjs +1 -0
  160. package/dist/streaming-CTX58tbb.mjs +1 -0
  161. package/dist/tool-builder-CI9914Tf.mjs +1 -0
  162. package/dist/transform-Cv9P2vVD.mjs +103 -0
  163. package/dist/types-CuyefmGT.mjs +1 -0
  164. package/dist/types-DtThH00r.mjs +1 -0
  165. package/dist/wasm-DaJa8J0V.mjs +174 -0
  166. package/dist/webcrack-CsLLJIs9.mjs +46 -0
  167. package/dist/workflow-CYIXtrWD.mjs +101 -0
  168. package/package.json +12 -7
  169. package/dist/AntiCheatDetector-BNk-EoBt.mjs +0 -244
  170. package/dist/CacheAdapters-CDe5WPSV.mjs +0 -80
  171. package/dist/CodeInjector-Cq8q01kp.mjs +0 -150
  172. package/dist/ConsoleMonitor-CPVQW1Y-.mjs +0 -2201
  173. package/dist/DarwinAPI-BNPxu0RH.mjs +0 -363
  174. package/dist/DetailedDataManager-BQQcxh64.mjs +0 -217
  175. package/dist/EventBus-DgPmwpeu.mjs +0 -141
  176. package/dist/EvidenceGraphBridge-SFesNera.mjs +0 -153
  177. package/dist/ExtensionManager-CWYgw0YW.mjs +0 -714
  178. package/dist/FingerprintManager-gzWtkKuf.mjs +0 -96
  179. package/dist/HardwareBreakpoint-B9gZCdFP.mjs +0 -239
  180. package/dist/HeapAnalyzer-BLDH0dCv.mjs +0 -284
  181. package/dist/InstrumentationSession-CvPC7Jwy.mjs +0 -244
  182. package/dist/MemoryController-CbVdCIJF.mjs +0 -167
  183. package/dist/MemoryScanSession-BsDZbLYm.mjs +0 -278
  184. package/dist/MemoryScanner-Bcpml6II.mjs +0 -425
  185. package/dist/NativeMemoryManager.impl-dZtA1ZGn.mjs +0 -482
  186. package/dist/NativeMemoryManager.utils-B-FjA2mJ.mjs +0 -165
  187. package/dist/PEAnalyzer-D1lzJ_VG.mjs +0 -385
  188. package/dist/PageController-Bqm2kZ_X.mjs +0 -417
  189. package/dist/PointerChainEngine-BOhyVsjx.mjs +0 -322
  190. package/dist/PrerequisiteError-Dl33Svkz.mjs +0 -20
  191. package/dist/ResponseBuilder-D3iFYx2N.mjs +0 -143
  192. package/dist/ReverseEvidenceGraph-Dlsk94LC.mjs +0 -269
  193. package/dist/ScriptManager-aHHq0X7U.mjs +0 -3000
  194. package/dist/Speedhack-CqdIFlQl.mjs +0 -156
  195. package/dist/StealthVerifier-Bo4T3bz8.mjs +0 -135
  196. package/dist/StructureAnalyzer-DhFaPvRO.mjs +0 -426
  197. package/dist/ToolCatalog-C0JGZoOm.mjs +0 -582
  198. package/dist/ToolError-jh9whhMd.mjs +0 -15
  199. package/dist/ToolProbe-oC7aPrkv.mjs +0 -45
  200. package/dist/ToolRegistry-BjaF4oNz.mjs +0 -131
  201. package/dist/ToolRouter.policy-BWV67ZK-.mjs +0 -304
  202. package/dist/TraceRecorder-DgxyVbdQ.mjs +0 -519
  203. package/dist/VersionDetector-CwVLVdDM.mjs +0 -104
  204. package/dist/Win32API-CePkipZY.mjs +0 -340
  205. package/dist/Win32Debug-BvKs-gxc.mjs +0 -274
  206. package/dist/WorkflowEngine-CuvkZtWu.mjs +0 -598
  207. package/dist/analysis-CL9uACt9.mjs +0 -463
  208. package/dist/artifactRetention-CFEprwPw.mjs +0 -591
  209. package/dist/artifacts-Bk2-_uPq.mjs +0 -59
  210. package/dist/betterSqlite3-0pqusHHH.mjs +0 -74
  211. package/dist/binary-instrument-CXfpx6fT.mjs +0 -979
  212. package/dist/bind-helpers-xFfRF-qm.mjs +0 -22
  213. package/dist/boringssl-inspector-BH2D3VKc.mjs +0 -180
  214. package/dist/browser-BpOr5PEx.mjs +0 -4082
  215. package/dist/chunk-CjcI7cDX.mjs +0 -15
  216. package/dist/concurrency-Bt0yv1kJ.mjs +0 -41
  217. package/dist/constants-B0OANIBL.mjs +0 -519
  218. package/dist/coordination-qUbyF8KU.mjs +0 -259
  219. package/dist/debugger-gnKxRSN0.mjs +0 -1271
  220. package/dist/definitions-6M-eejaT.mjs +0 -53
  221. package/dist/definitions-B18eyf0B.mjs +0 -18
  222. package/dist/definitions-B3QdlrHv.mjs +0 -34
  223. package/dist/definitions-B4rAvHNZ.mjs +0 -63
  224. package/dist/definitions-BB_4jnmy.mjs +0 -37
  225. package/dist/definitions-BMfYXoNC.mjs +0 -43
  226. package/dist/definitions-Beid2EB3.mjs +0 -27
  227. package/dist/definitions-C1UvM5Iy.mjs +0 -126
  228. package/dist/definitions-CXEI7QC72.mjs +0 -216
  229. package/dist/definitions-C_4r7Fo-2.mjs +0 -14
  230. package/dist/definitions-CkFDALoa.mjs +0 -26
  231. package/dist/definitions-Cke7zEb8.mjs +0 -94
  232. package/dist/definitions-ClJLzsJQ.mjs +0 -25
  233. package/dist/definitions-Cq-zroAU.mjs +0 -28
  234. package/dist/definitions-Cy3Sl6gV.mjs +0 -34
  235. package/dist/definitions-D3VsGcvz.mjs +0 -47
  236. package/dist/definitions-DVGfrn7y.mjs +0 -96
  237. package/dist/definitions-LKpC3-nL.mjs +0 -9
  238. package/dist/definitions-bAhHQJq9.mjs +0 -359
  239. package/dist/encoding-Bvz5jLRv.mjs +0 -1065
  240. package/dist/evidence-graph-bridge-C_fv9PuC.mjs +0 -135
  241. package/dist/factory-DxlGh9Xf.mjs +0 -575
  242. package/dist/formatAddress-DVkj9kpI.mjs +0 -17
  243. package/dist/graphql-DYWzJ29s.mjs +0 -1026
  244. package/dist/handlers-9sAbfIg-.mjs +0 -2552
  245. package/dist/handlers-C67ktuRN.mjs +0 -710
  246. package/dist/handlers-C87g8oCe.mjs +0 -276
  247. package/dist/handlers-CTsDAO6p.mjs +0 -681
  248. package/dist/handlers-Cgyg6c0U.mjs +0 -645
  249. package/dist/handlers-D6j6yka7.mjs +0 -2124
  250. package/dist/handlers-DdFzXLvF.mjs +0 -446
  251. package/dist/handlers-DeLOCd5m.mjs +0 -799
  252. package/dist/handlers-DlCJN4Td.mjs +0 -757
  253. package/dist/handlers-DxGIq15_2.mjs +0 -917
  254. package/dist/handlers-U6L4xhuF.mjs +0 -585
  255. package/dist/handlers-tB9Mp9ZK.mjs +0 -84
  256. package/dist/handlers-tiy7EIBp.mjs +0 -572
  257. package/dist/handlers.impl-DS0d9fUw.mjs +0 -761
  258. package/dist/hooks-CzCWByww.mjs +0 -898
  259. package/dist/logger-Dh_xb7_2.mjs +0 -93
  260. package/dist/maintenance-P7ePRXQC.mjs +0 -830
  261. package/dist/manifest-2ToTpjv8.mjs +0 -106
  262. package/dist/manifest-3g71z6Bg.mjs +0 -79
  263. package/dist/manifest-82baTv4U.mjs +0 -45
  264. package/dist/manifest-B3QVVeBS.mjs +0 -82
  265. package/dist/manifest-BB2J8IMJ.mjs +0 -149
  266. package/dist/manifest-BKbgbSiY.mjs +0 -60
  267. package/dist/manifest-Bcf-TJzH.mjs +0 -848
  268. package/dist/manifest-BmtZzQiQ2.mjs +0 -45
  269. package/dist/manifest-Bnd7kqEY.mjs +0 -55
  270. package/dist/manifest-BqQX6OQC2.mjs +0 -65
  271. package/dist/manifest-BqrQ4Tpj.mjs +0 -81
  272. package/dist/manifest-Br4RPFt5.mjs +0 -370
  273. package/dist/manifest-C5qDjysN.mjs +0 -107
  274. package/dist/manifest-C9RT5nk32.mjs +0 -34
  275. package/dist/manifest-CAhOuvSl.mjs +0 -204
  276. package/dist/manifest-CBYWCUBJ.mjs +0 -51
  277. package/dist/manifest-CFADCRa1.mjs +0 -37
  278. package/dist/manifest-CQVhavRF.mjs +0 -114
  279. package/dist/manifest-CT7zZBV1.mjs +0 -48
  280. package/dist/manifest-CV12bcrF.mjs +0 -121
  281. package/dist/manifest-CXsRWjjI.mjs +0 -224
  282. package/dist/manifest-CZLUCfG02.mjs +0 -95
  283. package/dist/manifest-D6phHKFd.mjs +0 -131
  284. package/dist/manifest-DCyjf4n2.mjs +0 -294
  285. package/dist/manifest-DHsnKgP6.mjs +0 -60
  286. package/dist/manifest-Df_dliIe.mjs +0 -55
  287. package/dist/manifest-Dh8WBmEW.mjs +0 -129
  288. package/dist/manifest-DhKRAT8_.mjs +0 -92
  289. package/dist/manifest-DlpTj4ic2.mjs +0 -193
  290. package/dist/manifest-DrbmZcFl2.mjs +0 -253
  291. package/dist/manifest-DuwHjUa5.mjs +0 -70
  292. package/dist/manifest-DzwvxPJX.mjs +0 -38
  293. package/dist/manifest-NXctwWQq.mjs +0 -68
  294. package/dist/manifest-Sc_0JQ13.mjs +0 -418
  295. package/dist/manifest-gZ4s_UtG.mjs +0 -96
  296. package/dist/manifest-qSleDqdO.mjs +0 -1023
  297. package/dist/modules-C184v-S9.mjs +0 -11365
  298. package/dist/mojo-ipc-B_H61Afw.mjs +0 -525
  299. package/dist/network-671Cw6hV.mjs +0 -3346
  300. package/dist/outputPaths-B1uGmrWZ.mjs +0 -1145
  301. package/dist/parse-args-BlRjqlkL.mjs +0 -39
  302. package/dist/platform-WmNn8Sxb.mjs +0 -2070
  303. package/dist/process-QcbIy5Zq.mjs +0 -1401
  304. package/dist/proxy-DqNs0bAd.mjs +0 -170
  305. package/dist/registry-D-6e18lB.mjs +0 -34
  306. package/dist/response-BQVP-xUn.mjs +0 -28
  307. package/dist/shared-state-board-DV-dpHFJ.mjs +0 -586
  308. package/dist/sourcemap-Dq8ez8vS.mjs +0 -650
  309. package/dist/ssrf-policy-ZaUfvhq7.mjs +0 -166
  310. package/dist/streaming-BUQ0VJsg.mjs +0 -725
  311. package/dist/tool-builder-DCbIC5Eo.mjs +0 -186
  312. package/dist/transform-CiYJfNX0.mjs +0 -1007
  313. package/dist/types-Bx92KJfT.mjs +0 -4
  314. package/dist/types-CPhOReNX.mjs +0 -37
  315. package/dist/wasm-DQTnHDs4.mjs +0 -531
  316. package/dist/workflow-f3xJOcjx.mjs +0 -725
@@ -1,1023 +0,0 @@
1
- import { n as asJsonResponse } from "./response-BQVP-xUn.mjs";
2
- import { n as toolLookup } from "./registry-D-6e18lB.mjs";
3
- import { t as bindByDepKey } from "./bind-helpers-xFfRF-qm.mjs";
4
- //#region src/server/domains/boringssl-inspector/definitions.ts
5
- const boringsslInspectorTools = [
6
- {
7
- name: "tls_keylog_enable",
8
- description: "Enable SSLKEYLOGFILE output for BoringSSL-compatible clients.",
9
- inputSchema: {
10
- type: "object",
11
- properties: {},
12
- required: []
13
- }
14
- },
15
- {
16
- name: "tls_keylog_parse",
17
- description: "Parse an SSLKEYLOGFILE and summarize available key material.",
18
- inputSchema: {
19
- type: "object",
20
- properties: { path: {
21
- type: "string",
22
- description: "Path to SSLKEYLOGFILE (uses default if omitted)"
23
- } },
24
- required: []
25
- }
26
- },
27
- {
28
- name: "tls_keylog_disable",
29
- description: "Disable SSLKEYLOGFILE capture and unset the environment variable.",
30
- inputSchema: {
31
- type: "object",
32
- properties: { path: {
33
- type: "string",
34
- description: "Specific path to disable (uses current path if omitted)"
35
- } },
36
- required: []
37
- }
38
- },
39
- {
40
- name: "tls_decrypt_payload",
41
- description: "Decrypt a TLS payload using a provided key, nonce, and algorithm.",
42
- inputSchema: {
43
- type: "object",
44
- properties: {
45
- encryptedHex: {
46
- type: "string",
47
- description: "Hex-encoded encrypted payload"
48
- },
49
- keyHex: {
50
- type: "string",
51
- description: "Hex-encoded decryption key"
52
- },
53
- nonceHex: {
54
- type: "string",
55
- description: "Hex-encoded nonce/IV"
56
- },
57
- algorithm: {
58
- type: "string",
59
- description: "Cipher algorithm (default: aes-256-gcm)",
60
- default: "aes-256-gcm"
61
- },
62
- authTagHex: {
63
- type: "string",
64
- description: "Hex-encoded authentication tag (for AEAD ciphers)"
65
- }
66
- },
67
- required: [
68
- "encryptedHex",
69
- "keyHex",
70
- "nonceHex"
71
- ]
72
- }
73
- },
74
- {
75
- name: "tls_keylog_summarize",
76
- description: "Summarize the contents of an SSLKEYLOGFILE by label distribution.",
77
- inputSchema: {
78
- type: "object",
79
- properties: { content: {
80
- type: "string",
81
- description: "Inline keylog content to summarize (uses file if omitted)"
82
- } },
83
- required: []
84
- }
85
- },
86
- {
87
- name: "tls_keylog_lookup_secret",
88
- description: "Look up a TLS secret by client random hex from the parsed keylog.",
89
- inputSchema: {
90
- type: "object",
91
- properties: {
92
- clientRandom: {
93
- type: "string",
94
- description: "Hex-encoded client random"
95
- },
96
- label: {
97
- type: "string",
98
- description: "Optional label filter (e.g. CLIENT_RANDOM)"
99
- }
100
- },
101
- required: ["clientRandom"]
102
- }
103
- },
104
- {
105
- name: "tls_cert_pin_bypass",
106
- description: "Return a certificate pinning bypass strategy for the selected platform.",
107
- inputSchema: {
108
- type: "object",
109
- properties: { target: {
110
- type: "string",
111
- enum: [
112
- "android",
113
- "ios",
114
- "desktop"
115
- ],
116
- description: "Target platform for bypass strategy"
117
- } },
118
- required: ["target"]
119
- }
120
- },
121
- {
122
- name: "tls_parse_handshake",
123
- description: "Parse TLS record header and handshake metadata (version, cipher suites, SNI, extensions) from raw hex. Optionally decrypts payload preview when keylog is available.",
124
- inputSchema: {
125
- type: "object",
126
- properties: {
127
- rawHex: {
128
- type: "string",
129
- description: "Hex-encoded TLS handshake record"
130
- },
131
- decrypt: {
132
- type: "boolean",
133
- description: "If true, attempt payload decryption using loaded keylog (default: false)"
134
- }
135
- },
136
- required: ["rawHex"]
137
- }
138
- },
139
- {
140
- name: "tls_cipher_suites",
141
- description: "List IANA TLS cipher suites, optionally filtered by keyword.",
142
- inputSchema: {
143
- type: "object",
144
- properties: { filter: {
145
- type: "string",
146
- description: "Keyword filter for cipher suite names"
147
- } },
148
- required: []
149
- }
150
- },
151
- {
152
- name: "tls_parse_certificate",
153
- description: "Parse a TLS Certificate message from raw hex and extract fingerprints.",
154
- inputSchema: {
155
- type: "object",
156
- properties: { rawHex: {
157
- type: "string",
158
- description: "Hex-encoded certificate data"
159
- } },
160
- required: ["rawHex"]
161
- }
162
- },
163
- {
164
- name: "tls_probe_endpoint",
165
- description: "Connect to a TLS endpoint and report certificate chain basics, trust result, ALPN, protocol, cipher, and SNI/hostname validation details for authorized target testing.",
166
- inputSchema: {
167
- type: "object",
168
- properties: {
169
- host: {
170
- type: "string",
171
- description: "Target host name or IP address"
172
- },
173
- port: {
174
- type: "number",
175
- default: 443,
176
- description: "Target TLS port (default: 443)"
177
- },
178
- servername: {
179
- type: "string",
180
- description: "Optional SNI and hostname validation override"
181
- },
182
- alpnProtocols: {
183
- type: "array",
184
- items: { type: "string" },
185
- description: "Optional ALPN protocols to offer, in preference order"
186
- },
187
- timeoutMs: {
188
- type: "number",
189
- default: 5e3,
190
- description: "Probe timeout in milliseconds"
191
- },
192
- minVersion: {
193
- type: "string",
194
- enum: [
195
- "TLSv1",
196
- "TLSv1.1",
197
- "TLSv1.2",
198
- "TLSv1.3"
199
- ],
200
- description: "Optional minimum TLS version"
201
- },
202
- maxVersion: {
203
- type: "string",
204
- enum: [
205
- "TLSv1",
206
- "TLSv1.1",
207
- "TLSv1.2",
208
- "TLSv1.3"
209
- ],
210
- description: "Optional maximum TLS version"
211
- },
212
- caPem: {
213
- type: "string",
214
- description: "Optional PEM-encoded CA bundle used for trust evaluation"
215
- },
216
- caPath: {
217
- type: "string",
218
- description: "Optional path to a PEM-encoded CA bundle used for trust evaluation"
219
- },
220
- allowInvalidCertificates: {
221
- type: "boolean",
222
- default: false,
223
- description: "Allow untrusted certificate chains while still reporting the failure"
224
- },
225
- skipHostnameCheck: {
226
- type: "boolean",
227
- default: false,
228
- description: "Skip hostname verification while still reporting the requested target"
229
- }
230
- },
231
- required: ["host"]
232
- }
233
- },
234
- {
235
- name: "tcp_open",
236
- description: "Open a stateful TCP session and return a sessionId for follow-up read/write calls.",
237
- inputSchema: {
238
- type: "object",
239
- properties: {
240
- host: {
241
- type: "string",
242
- default: "127.0.0.1",
243
- description: "Target host name or IP address"
244
- },
245
- port: {
246
- type: "number",
247
- description: "Target TCP port (1-65535)"
248
- },
249
- timeoutMs: {
250
- type: "number",
251
- default: 5e3,
252
- description: "Connection timeout in milliseconds"
253
- },
254
- noDelay: {
255
- type: "boolean",
256
- default: true,
257
- description: "Enable TCP_NODELAY on the socket after connect"
258
- }
259
- },
260
- required: ["port"]
261
- }
262
- },
263
- {
264
- name: "tcp_write",
265
- description: "Write raw bytes to an open TCP session; accepts hex or UTF-8 text input.",
266
- inputSchema: {
267
- type: "object",
268
- properties: {
269
- sessionId: {
270
- type: "string",
271
- description: "Session id returned by tcp_open"
272
- },
273
- dataHex: {
274
- type: "string",
275
- description: "Hex-encoded payload to write"
276
- },
277
- dataText: {
278
- type: "string",
279
- description: "UTF-8 text payload to write (alternative to dataHex)"
280
- },
281
- timeoutMs: {
282
- type: "number",
283
- default: 5e3,
284
- description: "Write timeout in milliseconds"
285
- }
286
- },
287
- required: ["sessionId"]
288
- }
289
- },
290
- {
291
- name: "tcp_read_until",
292
- description: "Read from an open TCP session until a delimiter is observed or a byte limit is reached.",
293
- inputSchema: {
294
- type: "object",
295
- properties: {
296
- sessionId: {
297
- type: "string",
298
- description: "Session id returned by tcp_open"
299
- },
300
- delimiterHex: {
301
- type: "string",
302
- description: "Hex-encoded delimiter to stop at"
303
- },
304
- delimiterText: {
305
- type: "string",
306
- description: "UTF-8 delimiter to stop at (alternative to delimiterHex)"
307
- },
308
- includeDelimiter: {
309
- type: "boolean",
310
- default: true,
311
- description: "Include the delimiter bytes in the returned payload"
312
- },
313
- maxBytes: {
314
- type: "number",
315
- description: "Optional maximum number of bytes to return even if no delimiter matches"
316
- },
317
- timeoutMs: {
318
- type: "number",
319
- default: 5e3,
320
- description: "Read timeout in milliseconds"
321
- }
322
- },
323
- required: ["sessionId"]
324
- }
325
- },
326
- {
327
- name: "tcp_close",
328
- description: "Close an open TCP session and release its buffered state.",
329
- inputSchema: {
330
- type: "object",
331
- properties: {
332
- sessionId: {
333
- type: "string",
334
- description: "Session id returned by tcp_open"
335
- },
336
- force: {
337
- type: "boolean",
338
- default: false,
339
- description: "Destroy the socket immediately instead of sending FIN first"
340
- },
341
- timeoutMs: {
342
- type: "number",
343
- default: 1e3,
344
- description: "Close wait timeout in milliseconds before forcing socket destruction"
345
- }
346
- },
347
- required: ["sessionId"]
348
- }
349
- },
350
- {
351
- name: "tls_open",
352
- description: "Open a stateful TLS session with explicit trust and hostname policy controls, then return a sessionId.",
353
- inputSchema: {
354
- type: "object",
355
- properties: {
356
- host: {
357
- type: "string",
358
- description: "Target host name or IP address"
359
- },
360
- port: {
361
- type: "number",
362
- default: 443,
363
- description: "Target TLS port (default: 443)"
364
- },
365
- servername: {
366
- type: "string",
367
- description: "Optional SNI and hostname validation override"
368
- },
369
- alpnProtocols: {
370
- type: "array",
371
- items: { type: "string" },
372
- description: "Optional ALPN protocols to offer, in preference order"
373
- },
374
- timeoutMs: {
375
- type: "number",
376
- default: 5e3,
377
- description: "Connection timeout in milliseconds"
378
- },
379
- minVersion: {
380
- type: "string",
381
- enum: [
382
- "TLSv1",
383
- "TLSv1.1",
384
- "TLSv1.2",
385
- "TLSv1.3"
386
- ],
387
- description: "Optional minimum TLS version"
388
- },
389
- maxVersion: {
390
- type: "string",
391
- enum: [
392
- "TLSv1",
393
- "TLSv1.1",
394
- "TLSv1.2",
395
- "TLSv1.3"
396
- ],
397
- description: "Optional maximum TLS version"
398
- },
399
- caPem: {
400
- type: "string",
401
- description: "Optional PEM-encoded CA bundle used for trust evaluation"
402
- },
403
- caPath: {
404
- type: "string",
405
- description: "Optional path to a PEM-encoded CA bundle used for trust evaluation"
406
- },
407
- allowInvalidCertificates: {
408
- type: "boolean",
409
- default: false,
410
- description: "Allow untrusted certificate chains while still reporting the failure"
411
- },
412
- skipHostnameCheck: {
413
- type: "boolean",
414
- default: false,
415
- description: "Skip hostname verification while still reporting the requested target"
416
- }
417
- },
418
- required: ["host"]
419
- }
420
- },
421
- {
422
- name: "tls_write",
423
- description: "Write raw bytes to an open TLS session; accepts hex or UTF-8 text input.",
424
- inputSchema: {
425
- type: "object",
426
- properties: {
427
- sessionId: {
428
- type: "string",
429
- description: "Session id returned by tls_open"
430
- },
431
- dataHex: {
432
- type: "string",
433
- description: "Hex-encoded payload to write"
434
- },
435
- dataText: {
436
- type: "string",
437
- description: "UTF-8 text payload to write (alternative to dataHex)"
438
- },
439
- timeoutMs: {
440
- type: "number",
441
- default: 5e3,
442
- description: "Write timeout in milliseconds"
443
- }
444
- },
445
- required: ["sessionId"]
446
- }
447
- },
448
- {
449
- name: "tls_read_until",
450
- description: "Read from an open TLS session until a delimiter is observed or a byte limit is reached.",
451
- inputSchema: {
452
- type: "object",
453
- properties: {
454
- sessionId: {
455
- type: "string",
456
- description: "Session id returned by tls_open"
457
- },
458
- delimiterHex: {
459
- type: "string",
460
- description: "Hex-encoded delimiter to stop at"
461
- },
462
- delimiterText: {
463
- type: "string",
464
- description: "UTF-8 delimiter to stop at (alternative to delimiterHex)"
465
- },
466
- includeDelimiter: {
467
- type: "boolean",
468
- default: true,
469
- description: "Include the delimiter bytes in the returned payload"
470
- },
471
- maxBytes: {
472
- type: "number",
473
- description: "Optional maximum number of bytes to return even if no delimiter matches"
474
- },
475
- timeoutMs: {
476
- type: "number",
477
- default: 5e3,
478
- description: "Read timeout in milliseconds"
479
- }
480
- },
481
- required: ["sessionId"]
482
- }
483
- },
484
- {
485
- name: "tls_close",
486
- description: "Close an open TLS session and release its buffered state.",
487
- inputSchema: {
488
- type: "object",
489
- properties: {
490
- sessionId: {
491
- type: "string",
492
- description: "Session id returned by tls_open"
493
- },
494
- force: {
495
- type: "boolean",
496
- default: false,
497
- description: "Destroy the TLS socket immediately instead of sending close_notify/FIN first"
498
- },
499
- timeoutMs: {
500
- type: "number",
501
- default: 1e3,
502
- description: "Close wait timeout in milliseconds before forcing socket destruction"
503
- }
504
- },
505
- required: ["sessionId"]
506
- }
507
- },
508
- {
509
- name: "websocket_open",
510
- description: "Open a stateful WebSocket session over ws or wss, perform the client handshake, and return a sessionId.",
511
- inputSchema: {
512
- type: "object",
513
- properties: {
514
- url: {
515
- type: "string",
516
- description: "Full ws:// or wss:// URL (mutually exclusive with explicit host/path fields)"
517
- },
518
- scheme: {
519
- type: "string",
520
- enum: ["ws", "wss"],
521
- default: "ws",
522
- description: "WebSocket transport scheme when url is not provided"
523
- },
524
- host: {
525
- type: "string",
526
- description: "Target host name or IP address when url is not provided"
527
- },
528
- port: {
529
- type: "number",
530
- description: "Target port (defaults to 80 for ws, 443 for wss)"
531
- },
532
- path: {
533
- type: "string",
534
- default: "/",
535
- description: "Request path including optional query string when url is not provided"
536
- },
537
- subprotocols: {
538
- type: "array",
539
- items: { type: "string" },
540
- description: "Optional Sec-WebSocket-Protocol values to offer"
541
- },
542
- timeoutMs: {
543
- type: "number",
544
- default: 5e3,
545
- description: "Handshake timeout in milliseconds"
546
- },
547
- servername: {
548
- type: "string",
549
- description: "Optional SNI and hostname validation override for wss sessions"
550
- },
551
- alpnProtocols: {
552
- type: "array",
553
- items: { type: "string" },
554
- description: "Optional ALPN protocols to offer for wss sessions"
555
- },
556
- minVersion: {
557
- type: "string",
558
- enum: [
559
- "TLSv1",
560
- "TLSv1.1",
561
- "TLSv1.2",
562
- "TLSv1.3"
563
- ],
564
- description: "Optional minimum TLS version for wss sessions"
565
- },
566
- maxVersion: {
567
- type: "string",
568
- enum: [
569
- "TLSv1",
570
- "TLSv1.1",
571
- "TLSv1.2",
572
- "TLSv1.3"
573
- ],
574
- description: "Optional maximum TLS version for wss sessions"
575
- },
576
- caPem: {
577
- type: "string",
578
- description: "Optional PEM-encoded CA bundle for wss trust evaluation"
579
- },
580
- caPath: {
581
- type: "string",
582
- description: "Optional path to a PEM-encoded CA bundle for wss trust evaluation"
583
- },
584
- allowInvalidCertificates: {
585
- type: "boolean",
586
- default: false,
587
- description: "Allow untrusted certificate chains for wss while still reporting the failure"
588
- },
589
- skipHostnameCheck: {
590
- type: "boolean",
591
- default: false,
592
- description: "Skip hostname verification for wss while still reporting the requested target"
593
- }
594
- },
595
- required: []
596
- }
597
- },
598
- {
599
- name: "websocket_send_frame",
600
- description: "Send a single WebSocket frame on an open session using a minimal opcode set (text, binary, ping, pong, close).",
601
- inputSchema: {
602
- type: "object",
603
- properties: {
604
- sessionId: {
605
- type: "string",
606
- description: "Session id returned by websocket_open"
607
- },
608
- frameType: {
609
- type: "string",
610
- enum: [
611
- "text",
612
- "binary",
613
- "ping",
614
- "pong",
615
- "close"
616
- ],
617
- description: "Outgoing frame opcode"
618
- },
619
- dataText: {
620
- type: "string",
621
- description: "UTF-8 payload for text/ping/pong/close frames"
622
- },
623
- dataHex: {
624
- type: "string",
625
- description: "Hex-encoded payload for binary/ping/pong/close frames"
626
- },
627
- closeCode: {
628
- type: "number",
629
- description: "Optional close status code when frameType is close"
630
- },
631
- closeReason: {
632
- type: "string",
633
- description: "Optional UTF-8 close reason when frameType is close"
634
- },
635
- timeoutMs: {
636
- type: "number",
637
- default: 5e3,
638
- description: "Write timeout in milliseconds"
639
- }
640
- },
641
- required: ["sessionId", "frameType"]
642
- }
643
- },
644
- {
645
- name: "websocket_read_frame",
646
- description: "Read the next queued WebSocket frame from an open session.",
647
- inputSchema: {
648
- type: "object",
649
- properties: {
650
- sessionId: {
651
- type: "string",
652
- description: "Session id returned by websocket_open"
653
- },
654
- timeoutMs: {
655
- type: "number",
656
- default: 5e3,
657
- description: "Read timeout in milliseconds"
658
- }
659
- },
660
- required: ["sessionId"]
661
- }
662
- },
663
- {
664
- name: "websocket_close",
665
- description: "Close an open WebSocket session and release its queued frame state.",
666
- inputSchema: {
667
- type: "object",
668
- properties: {
669
- sessionId: {
670
- type: "string",
671
- description: "Session id returned by websocket_open"
672
- },
673
- force: {
674
- type: "boolean",
675
- default: false,
676
- description: "Destroy the underlying socket immediately without sending a close frame first"
677
- },
678
- closeCode: {
679
- type: "number",
680
- description: "Optional close status code when force is false"
681
- },
682
- closeReason: {
683
- type: "string",
684
- description: "Optional UTF-8 close reason when force is false"
685
- },
686
- timeoutMs: {
687
- type: "number",
688
- default: 1e3,
689
- description: "Close wait timeout in milliseconds before forcing socket destruction"
690
- }
691
- },
692
- required: ["sessionId"]
693
- }
694
- },
695
- {
696
- name: "tls_cert_pin_bypass_frida",
697
- description: "Bypass certificate pinning via Frida injection (supports BoringSSL, Chrome, OkHttp).",
698
- inputSchema: {
699
- type: "object",
700
- properties: {},
701
- required: []
702
- }
703
- },
704
- {
705
- name: "net_raw_tcp_send",
706
- description: "Send raw TCP data to a remote host; accepts hex or text input.",
707
- inputSchema: {
708
- type: "object",
709
- properties: {
710
- host: {
711
- type: "string",
712
- default: "127.0.0.1",
713
- description: "Target host address"
714
- },
715
- port: {
716
- type: "number",
717
- description: "Target port number (1-65535)"
718
- },
719
- dataHex: {
720
- type: "string",
721
- description: "Hex-encoded data to send"
722
- },
723
- dataText: {
724
- type: "string",
725
- description: "Text data to send (alternative to dataHex)"
726
- },
727
- timeout: {
728
- type: "number",
729
- default: 5e3,
730
- description: "Connection timeout in ms"
731
- }
732
- },
733
- required: ["port"]
734
- }
735
- },
736
- {
737
- name: "net_raw_tcp_listen",
738
- description: "Listen on a local TCP port for one incoming connection.",
739
- inputSchema: {
740
- type: "object",
741
- properties: {
742
- port: {
743
- type: "number",
744
- description: "Local port to listen on (1-65535)"
745
- },
746
- timeout: {
747
- type: "number",
748
- default: 1e4,
749
- description: "Listen timeout in ms"
750
- }
751
- },
752
- required: ["port"]
753
- }
754
- },
755
- {
756
- name: "net_raw_udp_send",
757
- description: "Send a raw UDP datagram and wait for a response.",
758
- inputSchema: {
759
- type: "object",
760
- properties: {
761
- host: {
762
- type: "string",
763
- default: "127.0.0.1",
764
- description: "Target host address"
765
- },
766
- port: {
767
- type: "number",
768
- description: "Target port number (1-65535)"
769
- },
770
- dataHex: {
771
- type: "string",
772
- description: "Hex-encoded data to send"
773
- },
774
- dataText: {
775
- type: "string",
776
- description: "Text data to send (alternative to dataHex)"
777
- },
778
- timeout: {
779
- type: "number",
780
- default: 5e3,
781
- description: "Response timeout in ms"
782
- }
783
- },
784
- required: ["port"]
785
- }
786
- },
787
- {
788
- name: "net_raw_udp_listen",
789
- description: "Listen on a local UDP port for an incoming datagram.",
790
- inputSchema: {
791
- type: "object",
792
- properties: {
793
- port: {
794
- type: "number",
795
- description: "Local port to listen on (1-65535)"
796
- },
797
- timeout: {
798
- type: "number",
799
- default: 1e4,
800
- description: "Listen timeout in ms"
801
- }
802
- },
803
- required: ["port"]
804
- }
805
- }
806
- ];
807
- //#endregion
808
- //#region src/server/domains/boringssl-inspector/manifest.ts
809
- const DOMAIN = "boringssl-inspector";
810
- const DEP_KEY = "boringsslInspectorHandlers";
811
- const PROFILES = ["workflow", "full"];
812
- const lookup = toolLookup(boringsslInspectorTools);
813
- const bind = (invoke) => bindByDepKey(DEP_KEY, async (handler, args) => {
814
- return asJsonResponse(await invoke(handler, args));
815
- });
816
- async function ensure(ctx) {
817
- const { BoringsslInspectorHandlers } = await import("./handlers-9sAbfIg-.mjs");
818
- const { TLSKeyLogExtractor } = await import("./boringssl-inspector-BH2D3VKc.mjs").then((n) => n.t);
819
- const existing = ctx.getDomainInstance(DEP_KEY);
820
- if (existing) return existing;
821
- const handlers = new BoringsslInspectorHandlers(new TLSKeyLogExtractor());
822
- handlers.setExtensionInvoke(async (args) => {
823
- try {
824
- const binaryInstrument = ctx.getDomainInstance("binaryInstrumentHandlers");
825
- if (binaryInstrument && typeof binaryInstrument.handleFridaRunScript === "function") return binaryInstrument.handleFridaRunScript(args);
826
- } catch {}
827
- return null;
828
- });
829
- handlers.setEventBus(ctx.eventBus);
830
- ctx.setDomainInstance(DEP_KEY, handlers);
831
- return handlers;
832
- }
833
- const manifest = {
834
- kind: "domain-manifest",
835
- version: 1,
836
- domain: DOMAIN,
837
- depKey: DEP_KEY,
838
- profiles: PROFILES,
839
- registrations: [
840
- {
841
- tool: lookup("tls_keylog_enable"),
842
- domain: DOMAIN,
843
- bind: bind((handler, args) => handler.handleTlsKeylogEnable(args))
844
- },
845
- {
846
- tool: lookup("tls_keylog_parse"),
847
- domain: DOMAIN,
848
- bind: bind((handler, args) => handler.handleTlsKeylogParse(args))
849
- },
850
- {
851
- tool: lookup("tls_keylog_disable"),
852
- domain: DOMAIN,
853
- bind: bind((handler, args) => handler.handleTlsKeylogDisable(args))
854
- },
855
- {
856
- tool: lookup("tls_decrypt_payload"),
857
- domain: DOMAIN,
858
- bind: bind((handler, args) => handler.handleTlsDecryptPayload(args))
859
- },
860
- {
861
- tool: lookup("tls_keylog_summarize"),
862
- domain: DOMAIN,
863
- bind: bind((handler, args) => handler.handleTlsKeylogSummarize(args))
864
- },
865
- {
866
- tool: lookup("tls_keylog_lookup_secret"),
867
- domain: DOMAIN,
868
- bind: bind((handler, args) => handler.handleTlsKeylogLookupSecret(args))
869
- },
870
- {
871
- tool: lookup("tls_cert_pin_bypass"),
872
- domain: DOMAIN,
873
- bind: bind((handler, args) => handler.handleTlsCertPinBypass(args))
874
- },
875
- {
876
- tool: lookup("tls_parse_handshake"),
877
- domain: DOMAIN,
878
- bind: bind((handler, args) => handler.handleParseHandshake(args))
879
- },
880
- {
881
- tool: lookup("tls_cipher_suites"),
882
- domain: DOMAIN,
883
- bind: bind((handler, args) => handler.handleCipherSuites(args))
884
- },
885
- {
886
- tool: lookup("tls_parse_certificate"),
887
- domain: DOMAIN,
888
- bind: bind((handler, args) => handler.handleParseCertificate(args))
889
- },
890
- {
891
- tool: lookup("tls_probe_endpoint"),
892
- domain: DOMAIN,
893
- bind: bind((handler, args) => handler.handleTlsProbeEndpoint(args))
894
- },
895
- {
896
- tool: lookup("tcp_open"),
897
- domain: DOMAIN,
898
- bind: bind((handler, args) => handler.handleTcpOpen(args))
899
- },
900
- {
901
- tool: lookup("tcp_write"),
902
- domain: DOMAIN,
903
- bind: bind((handler, args) => handler.handleTcpWrite(args))
904
- },
905
- {
906
- tool: lookup("tcp_read_until"),
907
- domain: DOMAIN,
908
- bind: bind((handler, args) => handler.handleTcpReadUntil(args))
909
- },
910
- {
911
- tool: lookup("tcp_close"),
912
- domain: DOMAIN,
913
- bind: bind((handler, args) => handler.handleTcpClose(args))
914
- },
915
- {
916
- tool: lookup("tls_open"),
917
- domain: DOMAIN,
918
- bind: bind((handler, args) => handler.handleTlsOpen(args))
919
- },
920
- {
921
- tool: lookup("tls_write"),
922
- domain: DOMAIN,
923
- bind: bind((handler, args) => handler.handleTlsWrite(args))
924
- },
925
- {
926
- tool: lookup("tls_read_until"),
927
- domain: DOMAIN,
928
- bind: bind((handler, args) => handler.handleTlsReadUntil(args))
929
- },
930
- {
931
- tool: lookup("tls_close"),
932
- domain: DOMAIN,
933
- bind: bind((handler, args) => handler.handleTlsClose(args))
934
- },
935
- {
936
- tool: lookup("websocket_open"),
937
- domain: DOMAIN,
938
- bind: bind((handler, args) => handler.handleWebSocketOpen(args))
939
- },
940
- {
941
- tool: lookup("websocket_send_frame"),
942
- domain: DOMAIN,
943
- bind: bind((handler, args) => handler.handleWebSocketSendFrame(args))
944
- },
945
- {
946
- tool: lookup("websocket_read_frame"),
947
- domain: DOMAIN,
948
- bind: bind((handler, args) => handler.handleWebSocketReadFrame(args))
949
- },
950
- {
951
- tool: lookup("websocket_close"),
952
- domain: DOMAIN,
953
- bind: bind((handler, args) => handler.handleWebSocketClose(args))
954
- },
955
- {
956
- tool: lookup("tls_cert_pin_bypass_frida"),
957
- domain: DOMAIN,
958
- bind: bind((handler, args) => handler.handleBypassCertPinning(args))
959
- },
960
- {
961
- tool: lookup("net_raw_tcp_send"),
962
- domain: DOMAIN,
963
- bind: bind((handler, args) => handler.handleRawTcpSend(args))
964
- },
965
- {
966
- tool: lookup("net_raw_tcp_listen"),
967
- domain: DOMAIN,
968
- bind: bind((handler, args) => handler.handleRawTcpListen(args))
969
- },
970
- {
971
- tool: lookup("net_raw_udp_send"),
972
- domain: DOMAIN,
973
- bind: bind((handler, args) => handler.handleRawUdpSend(args))
974
- },
975
- {
976
- tool: lookup("net_raw_udp_listen"),
977
- domain: DOMAIN,
978
- bind: bind((handler, args) => handler.handleRawUdpListen(args))
979
- }
980
- ],
981
- ensure,
982
- workflowRule: {
983
- patterns: [/\b(tls|ssl|boringssl|cert(ificate)?|pinning|handshake|keylog|websocket)\b/i, /(tls|ssl|cert|pinning|websocket).*(hook|bypass|intercept|dump|log|frame|session)/i],
984
- priority: 80,
985
- tools: [
986
- "tls_probe_endpoint",
987
- "websocket_open",
988
- "websocket_send_frame",
989
- "websocket_read_frame",
990
- "tls_keylog_enable",
991
- "tls_keylog_parse",
992
- "tls_decrypt_payload",
993
- "tls_cert_pin_bypass"
994
- ],
995
- hint: "TLS/WebSocket analysis: probe endpoint → open ws/wss session → exchange frames → inspect trust/cipher/ALPN → enable keylog or bypass pinning when needed."
996
- },
997
- prerequisites: {
998
- tls_probe_endpoint: [{
999
- condition: "Target scope must be explicitly authorized and routable from the MCP host",
1000
- fix: "Verify target authorization, port reachability, and provide servername/custom CA options when needed"
1001
- }],
1002
- tls_keylog_enable: [{
1003
- condition: "Target process must allow SSLKEYLOGFILE or be attachable by Frida",
1004
- fix: "Launch the target with SSLKEYLOGFILE env set, or enable Frida-based hooking"
1005
- }],
1006
- tls_decrypt_payload: [{
1007
- condition: "A keylog session must be active with captured secrets",
1008
- fix: "Run tls_keylog_enable and reproduce TLS traffic before decrypting"
1009
- }],
1010
- tls_cert_pin_bypass_frida: [{
1011
- condition: "Frida must be available on PATH and attached to the target",
1012
- fix: "Install Frida and attach via binary-instrument:frida_attach before running the bypass"
1013
- }]
1014
- },
1015
- toolDependencies: [{
1016
- from: "network",
1017
- to: "boringssl-inspector",
1018
- relation: "uses",
1019
- weight: .8
1020
- }]
1021
- };
1022
- //#endregion
1023
- export { manifest as default };