@eyeauras/insight-cli 0.1.0 → 0.2.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 (391) hide show
  1. package/.cli-package-build.json +1 -1
  2. package/README.md +33 -2
  3. package/SKILL.md +38 -51
  4. package/dist/src/administration-results.js +1 -1
  5. package/dist/src/administration.d.ts +1 -1
  6. package/dist/src/administration.js +16 -2
  7. package/dist/src/binary.d.ts +3 -0
  8. package/dist/src/binary.js +74 -0
  9. package/dist/src/capture.d.ts +3 -0
  10. package/dist/src/capture.js +220 -0
  11. package/dist/src/cli.js +91 -14
  12. package/dist/src/contexts.d.ts +5 -0
  13. package/dist/src/contexts.js +54 -18
  14. package/dist/src/debugger-caller.d.ts +17 -0
  15. package/dist/src/debugger-caller.js +129 -0
  16. package/dist/src/debugger-launch.d.ts +2 -0
  17. package/dist/src/debugger-launch.js +17 -0
  18. package/dist/src/debugger-results.d.ts +1 -0
  19. package/dist/src/debugger-results.js +8 -0
  20. package/dist/src/debugger-supervisor.js +56 -13
  21. package/dist/src/debugger.js +16 -7
  22. package/dist/src/die.d.ts +12 -0
  23. package/dist/src/die.js +127 -0
  24. package/dist/src/dnspy-runtime.d.ts +8 -0
  25. package/dist/src/dnspy-runtime.js +46 -0
  26. package/dist/src/dnspy.d.ts +22 -0
  27. package/dist/src/dnspy.js +160 -0
  28. package/dist/src/dotnet-diagnostics.d.ts +13 -0
  29. package/dist/src/dotnet-diagnostics.js +101 -0
  30. package/dist/src/frida-worker.d.ts +1 -0
  31. package/dist/src/frida-worker.js +125 -0
  32. package/dist/src/frida.d.ts +16 -0
  33. package/dist/src/frida.js +125 -0
  34. package/dist/src/ghidra-debugger-runtime.d.ts +7 -0
  35. package/dist/src/ghidra-debugger-runtime.js +31 -0
  36. package/dist/src/ghidra-processes.d.ts +6 -0
  37. package/dist/src/ghidra-processes.js +121 -0
  38. package/dist/src/ghidra.js +6 -6
  39. package/dist/src/ilspy.d.ts +7 -0
  40. package/dist/src/ilspy.js +122 -0
  41. package/dist/src/lifecycle.d.ts +1 -1
  42. package/dist/src/lifecycle.js +8 -2
  43. package/dist/src/lldb.d.ts +10 -0
  44. package/dist/src/lldb.js +99 -0
  45. package/dist/src/llvm.d.ts +6 -0
  46. package/dist/src/llvm.js +133 -0
  47. package/dist/src/managed-heap.d.ts +4 -0
  48. package/dist/src/managed-heap.js +73 -0
  49. package/dist/src/managed-metadata.d.ts +11 -0
  50. package/dist/src/managed-metadata.js +66 -0
  51. package/dist/src/mitmproxy.d.ts +55 -0
  52. package/dist/src/mitmproxy.js +172 -0
  53. package/dist/src/native-inputs.d.ts +3 -2
  54. package/dist/src/native-inputs.js +21 -5
  55. package/dist/src/package-version.d.ts +1 -0
  56. package/dist/src/package-version.js +3 -0
  57. package/dist/src/procmon-config.d.ts +2 -0
  58. package/dist/src/procmon-config.js +15 -0
  59. package/dist/src/procmon-events.d.ts +13 -0
  60. package/dist/src/procmon-events.js +82 -0
  61. package/dist/src/procmon.d.ts +4 -0
  62. package/dist/src/procmon.js +107 -0
  63. package/dist/src/research.d.ts +11 -2
  64. package/dist/src/research.js +5 -3
  65. package/dist/src/runtime-catalog.d.ts +13 -0
  66. package/dist/src/runtime-catalog.js +26 -0
  67. package/dist/src/runtime-manager.d.ts +125 -0
  68. package/dist/src/runtime-manager.js +385 -0
  69. package/dist/src/runtime-selection.d.ts +13 -0
  70. package/dist/src/runtime-selection.js +42 -0
  71. package/dist/src/server.d.ts +15 -0
  72. package/dist/src/server.js +77 -96
  73. package/dist/src/sevenzip.d.ts +15 -0
  74. package/dist/src/sevenzip.js +119 -0
  75. package/dist/src/strace.d.ts +10 -0
  76. package/dist/src/strace.js +71 -0
  77. package/dist/src/text-window.d.ts +11 -0
  78. package/dist/src/text-window.js +6 -0
  79. package/dist/src/tool-runtime/archives.d.ts +10 -0
  80. package/dist/src/tool-runtime/archives.js +194 -0
  81. package/dist/src/tool-runtime/catalog.d.ts +3 -0
  82. package/dist/src/tool-runtime/catalog.js +13 -0
  83. package/dist/src/tool-runtime/commands.d.ts +9 -0
  84. package/dist/src/tool-runtime/commands.js +39 -0
  85. package/dist/src/tool-runtime/deadline.d.ts +11 -0
  86. package/dist/src/tool-runtime/deadline.js +32 -0
  87. package/dist/src/tool-runtime/definition.d.ts +73 -0
  88. package/dist/src/tool-runtime/definition.js +49 -0
  89. package/dist/src/tool-runtime/dotnet.d.ts +4 -0
  90. package/dist/src/tool-runtime/dotnet.js +22 -0
  91. package/dist/src/tool-runtime/identity.d.ts +6 -0
  92. package/dist/src/tool-runtime/identity.js +50 -0
  93. package/dist/src/tool-runtime/installer.d.ts +101 -0
  94. package/dist/src/tool-runtime/installer.js +180 -0
  95. package/dist/src/tool-runtime/launch-worker.d.ts +1 -0
  96. package/dist/src/tool-runtime/launch-worker.js +58 -0
  97. package/dist/src/tool-runtime/run.d.ts +51 -0
  98. package/dist/src/tool-runtime/run.js +159 -0
  99. package/dist/src/tool-runtime/store.d.ts +15 -0
  100. package/dist/src/tool-runtime/store.js +219 -0
  101. package/dist/src/tool-runtime/supervisor.d.ts +57 -0
  102. package/dist/src/tool-runtime/supervisor.js +266 -0
  103. package/dist/src/tool-runtime/windows-job.d.ts +22 -0
  104. package/dist/src/tool-runtime/windows-job.js +43 -0
  105. package/dist/src/toolbox.d.ts +84 -0
  106. package/dist/src/toolbox.js +35 -0
  107. package/dist/src/tshark.d.ts +23 -0
  108. package/dist/src/tshark.js +174 -0
  109. package/dist/src/windbg.d.ts +14 -0
  110. package/dist/src/windbg.js +119 -0
  111. package/dist/src/workspace.d.ts +1 -0
  112. package/dist/src/workspace.js +6 -0
  113. package/package.json +7 -4
  114. package/references/administration.md +2 -1
  115. package/references/agent-execution.md +36 -0
  116. package/references/agent-setup.md +61 -0
  117. package/references/artifacts.md +5 -0
  118. package/references/debugger.md +22 -0
  119. package/references/ilspy.md +33 -0
  120. package/references/managed-runtime.md +157 -0
  121. package/references/native/InsightPythonWheels.java +283 -2
  122. package/references/native/InsightRuntimeDoctor.java +33 -0
  123. package/references/native/InsightTraceState.java +28 -13
  124. package/references/setup.md +6 -3
  125. package/runtime/managed/insight-heap/Azure.Core.dll +0 -0
  126. package/runtime/managed/insight-heap/Azure.Identity.dll +0 -0
  127. package/runtime/managed/insight-heap/Insight.Heap.csproj +1 -0
  128. package/runtime/managed/insight-heap/Insight.Heap.deps.json +391 -0
  129. package/runtime/managed/insight-heap/Insight.Heap.dll +0 -0
  130. package/runtime/managed/insight-heap/Insight.Heap.runtimeconfig.json +13 -0
  131. package/runtime/managed/insight-heap/Microsoft.Bcl.AsyncInterfaces.dll +0 -0
  132. package/runtime/managed/insight-heap/Microsoft.Diagnostics.NETCore.Client.dll +0 -0
  133. package/runtime/managed/insight-heap/Microsoft.Diagnostics.Runtime.dll +0 -0
  134. package/runtime/managed/insight-heap/Microsoft.Extensions.Configuration.Abstractions.dll +0 -0
  135. package/runtime/managed/insight-heap/Microsoft.Extensions.DependencyInjection.Abstractions.dll +0 -0
  136. package/runtime/managed/insight-heap/Microsoft.Extensions.Diagnostics.Abstractions.dll +0 -0
  137. package/runtime/managed/insight-heap/Microsoft.Extensions.FileProviders.Abstractions.dll +0 -0
  138. package/runtime/managed/insight-heap/Microsoft.Extensions.Hosting.Abstractions.dll +0 -0
  139. package/runtime/managed/insight-heap/Microsoft.Extensions.Logging.Abstractions.dll +0 -0
  140. package/runtime/managed/insight-heap/Microsoft.Extensions.Options.dll +0 -0
  141. package/runtime/managed/insight-heap/Microsoft.Extensions.Primitives.dll +0 -0
  142. package/runtime/managed/insight-heap/Microsoft.Identity.Client.Extensions.Msal.dll +0 -0
  143. package/runtime/managed/insight-heap/Microsoft.Identity.Client.dll +0 -0
  144. package/runtime/managed/insight-heap/Microsoft.IdentityModel.Abstractions.dll +0 -0
  145. package/runtime/managed/insight-heap/Microsoft.Security.AntiSSRF.dll +0 -0
  146. package/runtime/managed/insight-heap/NuGet.Config +1 -0
  147. package/runtime/managed/insight-heap/Program.cs +20 -0
  148. package/runtime/managed/insight-heap/README.md +16 -0
  149. package/runtime/managed/insight-heap/System.ClientModel.dll +0 -0
  150. package/runtime/managed/insight-heap/System.Memory.Data.dll +0 -0
  151. package/runtime/managed/insight-heap/System.Security.Cryptography.ProtectedData.dll +0 -0
  152. package/runtime/managed/insight-heap/dependencies.json +436 -0
  153. package/runtime/managed/insight-heap/notices/Azure.Core-LICENSE.txt +21 -0
  154. package/runtime/managed/insight-heap/notices/Azure.Identity-LICENSE.txt +21 -0
  155. package/runtime/managed/insight-heap/notices/Microsoft.Bcl.AsyncInterfaces-LICENSE.txt +23 -0
  156. package/runtime/managed/insight-heap/notices/Microsoft.Bcl.AsyncInterfaces-THIRD-PARTY-NOTICES.TXT +1418 -0
  157. package/runtime/managed/insight-heap/notices/Microsoft.Diagnostics.NETCore.Client-LICENSE.txt +23 -0
  158. package/runtime/managed/insight-heap/notices/Microsoft.Diagnostics.Runtime-LICENSE.txt +23 -0
  159. package/runtime/managed/insight-heap/notices/Microsoft.Extensions.Configuration.Abstractions-LICENSE.txt +23 -0
  160. package/runtime/managed/insight-heap/notices/Microsoft.Extensions.Configuration.Abstractions-THIRD-PARTY-NOTICES.TXT +1418 -0
  161. package/runtime/managed/insight-heap/notices/Microsoft.Extensions.DependencyInjection.Abstractions-LICENSE.txt +23 -0
  162. package/runtime/managed/insight-heap/notices/Microsoft.Extensions.DependencyInjection.Abstractions-THIRD-PARTY-NOTICES.TXT +1418 -0
  163. package/runtime/managed/insight-heap/notices/Microsoft.Extensions.Diagnostics.Abstractions-LICENSE.txt +23 -0
  164. package/runtime/managed/insight-heap/notices/Microsoft.Extensions.Diagnostics.Abstractions-THIRD-PARTY-NOTICES.TXT +1418 -0
  165. package/runtime/managed/insight-heap/notices/Microsoft.Extensions.FileProviders.Abstractions-LICENSE.txt +23 -0
  166. package/runtime/managed/insight-heap/notices/Microsoft.Extensions.FileProviders.Abstractions-THIRD-PARTY-NOTICES.TXT +1418 -0
  167. package/runtime/managed/insight-heap/notices/Microsoft.Extensions.Hosting.Abstractions-LICENSE.txt +23 -0
  168. package/runtime/managed/insight-heap/notices/Microsoft.Extensions.Hosting.Abstractions-THIRD-PARTY-NOTICES.TXT +1418 -0
  169. package/runtime/managed/insight-heap/notices/Microsoft.Extensions.Logging.Abstractions-LICENSE.txt +23 -0
  170. package/runtime/managed/insight-heap/notices/Microsoft.Extensions.Logging.Abstractions-THIRD-PARTY-NOTICES.TXT +1418 -0
  171. package/runtime/managed/insight-heap/notices/Microsoft.Extensions.Options-LICENSE.txt +23 -0
  172. package/runtime/managed/insight-heap/notices/Microsoft.Extensions.Options-THIRD-PARTY-NOTICES.TXT +1418 -0
  173. package/runtime/managed/insight-heap/notices/Microsoft.Extensions.Primitives-LICENSE.txt +23 -0
  174. package/runtime/managed/insight-heap/notices/Microsoft.Extensions.Primitives-THIRD-PARTY-NOTICES.TXT +1418 -0
  175. package/runtime/managed/insight-heap/notices/Microsoft.Identity.Client-LICENSE.txt +21 -0
  176. package/runtime/managed/insight-heap/notices/Microsoft.Identity.Client.Extensions.Msal-LICENSE.txt +21 -0
  177. package/runtime/managed/insight-heap/notices/Microsoft.IdentityModel.Abstractions-LICENSE.txt +21 -0
  178. package/runtime/managed/insight-heap/notices/Microsoft.Security.AntiSSRF-LICENSE.txt +21 -0
  179. package/runtime/managed/insight-heap/notices/System.ClientModel-LICENSE.txt +21 -0
  180. package/runtime/managed/insight-heap/notices/System.Memory.Data-LICENSE.txt +23 -0
  181. package/runtime/managed/insight-heap/notices/System.Memory.Data-THIRD-PARTY-NOTICES.TXT +1418 -0
  182. package/runtime/managed/insight-heap/notices/System.Security.Cryptography.ProtectedData-LICENSE.TXT +23 -0
  183. package/runtime/managed/insight-heap/notices/System.Security.Cryptography.ProtectedData-THIRD-PARTY-NOTICES.TXT +309 -0
  184. package/runtime/managed/insight-heap/packages.lock.json +165 -0
  185. package/runtime/managed/insight-heap/provenance.json +146 -0
  186. package/runtime/managed/insight-heap/runtimes/win/lib/netstandard2.0/System.Security.Cryptography.ProtectedData.dll +0 -0
  187. package/runtime/managed/insight-managed/Insight.Managed.csproj +4 -0
  188. package/runtime/managed/insight-managed/Insight.Managed.deps.json +41 -0
  189. package/runtime/managed/insight-managed/Insight.Managed.dll +0 -0
  190. package/runtime/managed/insight-managed/Insight.Managed.runtimeconfig.json +13 -0
  191. package/runtime/managed/insight-managed/LICENSE.dnlib.txt +20 -0
  192. package/runtime/managed/insight-managed/NuGet.Config +1 -0
  193. package/runtime/managed/insight-managed/Program.cs +31 -0
  194. package/runtime/managed/insight-managed/README.md +16 -0
  195. package/runtime/managed/insight-managed/dnlib.dll +0 -0
  196. package/runtime/managed/insight-managed/packages.lock.json +13 -0
  197. package/runtime/managed/insight-managed/provenance.json +40 -0
  198. package/runtime/native/binary/README.md +22 -0
  199. package/runtime/native/binary/dependencies.json +166 -0
  200. package/runtime/native/binary/helper.cpp +44 -0
  201. package/runtime/native/binary/insight-binary-darwin-arm64 +0 -0
  202. package/runtime/native/binary/notices/Catch2-3.12.0--Catch2-3.12.0__LICENSE.txt +23 -0
  203. package/runtime/native/binary/notices/LIEF-LICENSE.txt +202 -0
  204. package/runtime/native/binary/notices/LIEF-attribution.txt +37 -0
  205. package/runtime/native/binary/notices/Melkor_ELF_Fuzzer-ac2495b--elf_fuzzer-master__LICENSE.txt +674 -0
  206. package/runtime/native/binary/notices/expected-1.3.1--expected-1.3.1__COPYING +121 -0
  207. package/runtime/native/binary/notices/frozen-61dce5a--frozen-61dce5ae18ca59931e27675c468e64118aba8744__AUTHORS +3 -0
  208. package/runtime/native/binary/notices/frozen-61dce5a--frozen-61dce5ae18ca59931e27675c468e64118aba8744__LICENSE +202 -0
  209. package/runtime/native/binary/notices/json-LICENSE.MIT +21 -0
  210. package/runtime/native/binary/notices/mbedtls-4.0.0.r0.gec4044008d--LICENSE +553 -0
  211. package/runtime/native/binary/notices/mbedtls-4.0.0.r0.gec4044008d--framework__LICENSE +553 -0
  212. package/runtime/native/binary/notices/mbedtls-4.0.0.r0.gec4044008d--tf-psa-crypto__LICENSE +552 -0
  213. package/runtime/native/binary/notices/mbedtls-4.0.0.r0.gec4044008d--tf-psa-crypto__framework__LICENSE +553 -0
  214. package/runtime/native/binary/notices/nanobind-2.13.0.r18.g4db9ed3f--LICENSE +26 -0
  215. package/runtime/native/binary/notices/nanobind-2.13.0.r18.g4db9ed3f--ext__robin_map__LICENSE +21 -0
  216. package/runtime/native/binary/notices/span-LICENSE_1_0.txt +23 -0
  217. package/runtime/native/binary/notices/span-attribution.txt +11 -0
  218. package/runtime/native/binary/notices/spdlog-1.17.0--spdlog-1.17.0__LICENSE +25 -0
  219. package/runtime/native/binary/notices/utfcpp-4.0.9--utfcpp-4.0.9__LICENSE +23 -0
  220. package/runtime/native/binary/provenance.json +48 -0
  221. package/runtime/native/child-deadline-linux-x64 +0 -0
  222. package/runtime/native/child-deadline-linux.c +24 -0
  223. package/runtime/native/child-deadline-linux.provenance.json +17 -0
  224. package/runtime/native/deadline-alarm-darwin-universal.dylib +0 -0
  225. package/runtime/native/deadline-alarm.c +33 -0
  226. package/runtime/native/deadline-alarm.provenance.json +22 -0
  227. package/runtime/native/deadline-exec-darwin-arm64 +0 -0
  228. package/runtime/native/deadline-exec.c +24 -0
  229. package/runtime/native/deadline-exec.provenance.json +17 -0
  230. package/runtime/native/dnspy-extension/Bridge.cs +58 -0
  231. package/runtime/native/dnspy-extension/Insight.DnSpy.csproj +13 -0
  232. package/runtime/native/dnspy-extension/Insight.DnSpy.x.dll +0 -0
  233. package/runtime/native/dnspy-extension/NuGet.Config +1 -0
  234. package/runtime/native/dnspy-extension/UNICODE-LOADER.md +26 -0
  235. package/runtime/native/dnspy-extension/packages.lock.json +6 -0
  236. package/runtime/native/dnspy-extension/provenance.json +27 -0
  237. package/runtime/native/dnspy-extension/upstream-public-build.snk +0 -0
  238. package/runtime/native/dnspy-extension/vendor-files.json +4341 -0
  239. package/runtime/native/file-version.ps1 +7 -0
  240. package/runtime/native/insight-registry-win-x64.dll +0 -0
  241. package/runtime/native/mitmproxy/bridge.py +180 -0
  242. package/runtime/native/mitmproxy/notices.json +476 -0
  243. package/runtime/native/sources/detours-LICENSE.md +23 -0
  244. package/runtime/native/sources/detours-e4bfd6b.tar.gz +0 -0
  245. package/runtime/native/sources/detours-provenance.json +10 -0
  246. package/runtime/native/tshark-layout.json +2247 -0
  247. package/runtime/native/windows-job/DirectoryAlias.cs +24 -0
  248. package/runtime/native/windows-job/Insight.WindowsJob.csproj +1 -0
  249. package/runtime/native/windows-job/Insight.WindowsJob.dll +0 -0
  250. package/runtime/native/windows-job/NuGet.Config +1 -0
  251. package/runtime/native/windows-job/OwnedJob.cs +79 -0
  252. package/runtime/native/windows-job/RegistryRedirect.cs +45 -0
  253. package/runtime/native/windows-job/packages.lock.json +21 -0
  254. package/runtime/native/windows-job/provenance.json +16 -0
  255. package/runtime/native/windows-job/windows-job.ps1 +8 -0
  256. package/runtime/native/windows-registry.c +21 -0
  257. package/runtime/native/windows-registry.def +3 -0
  258. package/runtime/native/windows-registry.provenance.json +14 -0
  259. package/runtime/notices/diagnostics-10.0.750501.txt +23 -0
  260. package/runtime/tool-catalog.json +290 -0
  261. package/runtime/toolbox.json +1401 -0
  262. package/skill-bundle/insight-artifacts/SKILL.md +30 -0
  263. package/skill-bundle/insight-artifacts/references/agent-execution.md +36 -0
  264. package/skill-bundle/insight-artifacts/references/artifacts.md +52 -0
  265. package/skill-bundle/insight-binary/SKILL.md +46 -0
  266. package/skill-bundle/insight-binary/references/agent-execution.md +36 -0
  267. package/skill-bundle/insight-capture/SKILL.md +56 -0
  268. package/skill-bundle/insight-capture/references/agent-execution.md +36 -0
  269. package/skill-bundle/insight-cli/SKILL.md +42 -0
  270. package/skill-bundle/insight-cli/references/agent-execution.md +36 -0
  271. package/skill-bundle/insight-cli/references/agent-setup.md +61 -0
  272. package/skill-bundle/insight-die/SKILL.md +49 -0
  273. package/skill-bundle/insight-die/references/agent-execution.md +36 -0
  274. package/skill-bundle/insight-dnspy/SKILL.md +65 -0
  275. package/skill-bundle/insight-dnspy/references/agent-execution.md +36 -0
  276. package/skill-bundle/insight-dotnet-dump/SKILL.md +46 -0
  277. package/skill-bundle/insight-dotnet-dump/references/agent-execution.md +36 -0
  278. package/skill-bundle/insight-dotnet-stack/SKILL.md +39 -0
  279. package/skill-bundle/insight-dotnet-stack/references/agent-execution.md +36 -0
  280. package/skill-bundle/insight-dotnet-trace/SKILL.md +45 -0
  281. package/skill-bundle/insight-dotnet-trace/references/agent-execution.md +36 -0
  282. package/skill-bundle/insight-frida/SKILL.md +67 -0
  283. package/skill-bundle/insight-frida/references/agent-execution.md +36 -0
  284. package/skill-bundle/insight-ghidra/SKILL.md +91 -0
  285. package/skill-bundle/insight-ghidra/references/administration.md +34 -0
  286. package/skill-bundle/insight-ghidra/references/agent-execution.md +36 -0
  287. package/skill-bundle/insight-ghidra/references/archive.md +32 -0
  288. package/skill-bundle/insight-ghidra/references/artifacts.md +52 -0
  289. package/skill-bundle/insight-ghidra/references/debugger.md +62 -0
  290. package/skill-bundle/insight-ghidra/references/extensions-and-sync.md +124 -0
  291. package/skill-bundle/insight-ghidra/references/managed-runtime.md +157 -0
  292. package/skill-bundle/insight-ghidra/references/native-workflows.md +112 -0
  293. package/skill-bundle/insight-ghidra/references/query-semantics.md +96 -0
  294. package/skill-bundle/insight-ghidra/references/recovery.md +53 -0
  295. package/skill-bundle/insight-ghidra/references/research.md +101 -0
  296. package/skill-bundle/insight-ghidra/references/setup.md +50 -0
  297. package/skill-bundle/insight-ilspy/SKILL.md +45 -0
  298. package/skill-bundle/insight-ilspy/references/agent-execution.md +36 -0
  299. package/skill-bundle/insight-ilspy/references/ilspy.md +33 -0
  300. package/skill-bundle/insight-interop/SKILL.md +54 -0
  301. package/skill-bundle/insight-interop/references/agent-execution.md +36 -0
  302. package/skill-bundle/insight-lldb/SKILL.md +54 -0
  303. package/skill-bundle/insight-lldb/references/agent-execution.md +36 -0
  304. package/skill-bundle/insight-llvm/SKILL.md +56 -0
  305. package/skill-bundle/insight-llvm/references/agent-execution.md +36 -0
  306. package/skill-bundle/insight-managed-heap/SKILL.md +43 -0
  307. package/skill-bundle/insight-managed-heap/references/agent-execution.md +36 -0
  308. package/skill-bundle/insight-managed-metadata/SKILL.md +52 -0
  309. package/skill-bundle/insight-managed-metadata/references/agent-execution.md +36 -0
  310. package/skill-bundle/insight-mitmproxy/SKILL.md +62 -0
  311. package/skill-bundle/insight-mitmproxy/references/agent-execution.md +36 -0
  312. package/skill-bundle/insight-overview/SKILL.md +79 -0
  313. package/skill-bundle/insight-overview/references/agent-execution.md +36 -0
  314. package/skill-bundle/insight-procmon/SKILL.md +49 -0
  315. package/skill-bundle/insight-procmon/references/agent-execution.md +36 -0
  316. package/skill-bundle/insight-re/SKILL.md +121 -0
  317. package/skill-bundle/insight-re/references/agent-execution.md +36 -0
  318. package/skill-bundle/insight-re/references/artifacts.md +52 -0
  319. package/skill-bundle/insight-re/references/recovery.md +53 -0
  320. package/skill-bundle/insight-sevenzip/SKILL.md +42 -0
  321. package/skill-bundle/insight-sevenzip/references/agent-execution.md +36 -0
  322. package/skill-bundle/insight-strace/SKILL.md +46 -0
  323. package/skill-bundle/insight-strace/references/agent-execution.md +36 -0
  324. package/skill-bundle/insight-tshark/SKILL.md +49 -0
  325. package/skill-bundle/insight-tshark/references/agent-execution.md +36 -0
  326. package/skill-bundle/insight-windbg/SKILL.md +46 -0
  327. package/skill-bundle/insight-windbg/references/agent-execution.md +36 -0
  328. package/skill-bundle/manifest.json +32 -0
  329. package/skills/insight-artifacts/SKILL.md +30 -0
  330. package/skills/insight-artifacts/references/agent-execution.md +36 -0
  331. package/skills/insight-artifacts/references/artifacts.md +52 -0
  332. package/skills/insight-binary/SKILL.md +46 -0
  333. package/skills/insight-binary/references/agent-execution.md +36 -0
  334. package/skills/insight-capture/SKILL.md +56 -0
  335. package/skills/insight-capture/references/agent-execution.md +36 -0
  336. package/skills/insight-die/SKILL.md +49 -0
  337. package/skills/insight-die/references/agent-execution.md +36 -0
  338. package/skills/insight-dnspy/SKILL.md +65 -0
  339. package/skills/insight-dnspy/references/agent-execution.md +36 -0
  340. package/skills/insight-dotnet-dump/SKILL.md +46 -0
  341. package/skills/insight-dotnet-dump/references/agent-execution.md +36 -0
  342. package/skills/insight-dotnet-stack/SKILL.md +39 -0
  343. package/skills/insight-dotnet-stack/references/agent-execution.md +36 -0
  344. package/skills/insight-dotnet-trace/SKILL.md +45 -0
  345. package/skills/insight-dotnet-trace/references/agent-execution.md +36 -0
  346. package/skills/insight-frida/SKILL.md +67 -0
  347. package/skills/insight-frida/references/agent-execution.md +36 -0
  348. package/skills/insight-ghidra/SKILL.md +91 -0
  349. package/skills/insight-ghidra/references/administration.md +34 -0
  350. package/skills/insight-ghidra/references/agent-execution.md +36 -0
  351. package/skills/insight-ghidra/references/archive.md +32 -0
  352. package/skills/insight-ghidra/references/artifacts.md +52 -0
  353. package/skills/insight-ghidra/references/debugger.md +62 -0
  354. package/skills/insight-ghidra/references/extensions-and-sync.md +124 -0
  355. package/skills/insight-ghidra/references/managed-runtime.md +157 -0
  356. package/skills/insight-ghidra/references/native-workflows.md +112 -0
  357. package/skills/insight-ghidra/references/query-semantics.md +96 -0
  358. package/skills/insight-ghidra/references/recovery.md +53 -0
  359. package/skills/insight-ghidra/references/research.md +101 -0
  360. package/skills/insight-ghidra/references/setup.md +50 -0
  361. package/skills/insight-ilspy/SKILL.md +45 -0
  362. package/skills/insight-ilspy/references/agent-execution.md +36 -0
  363. package/skills/insight-ilspy/references/ilspy.md +33 -0
  364. package/skills/insight-interop/SKILL.md +54 -0
  365. package/skills/insight-interop/references/agent-execution.md +36 -0
  366. package/skills/insight-lldb/SKILL.md +54 -0
  367. package/skills/insight-lldb/references/agent-execution.md +36 -0
  368. package/skills/insight-llvm/SKILL.md +56 -0
  369. package/skills/insight-llvm/references/agent-execution.md +36 -0
  370. package/skills/insight-managed-heap/SKILL.md +43 -0
  371. package/skills/insight-managed-heap/references/agent-execution.md +36 -0
  372. package/skills/insight-managed-metadata/SKILL.md +52 -0
  373. package/skills/insight-managed-metadata/references/agent-execution.md +36 -0
  374. package/skills/insight-mitmproxy/SKILL.md +62 -0
  375. package/skills/insight-mitmproxy/references/agent-execution.md +36 -0
  376. package/skills/insight-overview/SKILL.md +79 -0
  377. package/skills/insight-overview/references/agent-execution.md +36 -0
  378. package/skills/insight-procmon/SKILL.md +49 -0
  379. package/skills/insight-procmon/references/agent-execution.md +36 -0
  380. package/skills/insight-re/SKILL.md +22 -9
  381. package/skills/insight-re/references/agent-execution.md +36 -0
  382. package/skills/insight-re/references/artifacts.md +52 -0
  383. package/skills/insight-re/references/recovery.md +53 -0
  384. package/skills/insight-sevenzip/SKILL.md +42 -0
  385. package/skills/insight-sevenzip/references/agent-execution.md +36 -0
  386. package/skills/insight-strace/SKILL.md +46 -0
  387. package/skills/insight-strace/references/agent-execution.md +36 -0
  388. package/skills/insight-tshark/SKILL.md +49 -0
  389. package/skills/insight-tshark/references/agent-execution.md +36 -0
  390. package/skills/insight-windbg/SKILL.md +46 -0
  391. package/skills/insight-windbg/references/agent-execution.md +36 -0
@@ -0,0 +1,53 @@
1
+ # Continue saved work
2
+
3
+ Retain the session/target returned by initial open. Continue the tuple through
4
+ `insight-cli ghidra open --session <id> --target <id> --json`. Saved private snapshots and
5
+ pending scalar comparisons persist independently of a backend process. Reopening preserves
6
+ private work; it does not silently receive a newer shared version.
7
+
8
+ First-import recovery uses the same scoped `ghidra open` or the original request ID/input.
9
+ Import/analysis writes a private snapshot and completion receipt before any initial publication.
10
+ If its worker is still running, continuation reports busy; wait and continue the same scope.
11
+ If that worker stopped before completing its receipt, continuation can repeat private analysis
12
+ from the immutable input while retaining previous attempts. A completed snapshot is reused.
13
+ Initial publication first creates a uniquely named staging object. A separate read-only process
14
+ verifies its complete saved DB buffers before a conditional server move to the absent canonical
15
+ path. It never checks in a new version of an existing canonical item. Lost promotion replies
16
+ are reconciled against the retained identity, one-version history and complete saved buffers.
17
+ Interrupted staging objects remain retained and can be replaced by another private stage;
18
+ they are not adopted as the canonical model. Foreign or mismatched canonical state stays blocked.
19
+ An older direct create that is provably owned and left only an incomplete `<Recovered>` entry
20
+ can be moved aside without deletion; its bytes and original receipt remain preserved.
21
+
22
+ Legacy first-import failures are also recoverable in the original profile. Continuation first
23
+ establishes that the old owned bootstrap worker has ended, then uses an authoritative repository
24
+ probe. An absent canonical item permits private preparation; an existing first version requires
25
+ independent readback. The old project, intent and original session/target remain preserved.
26
+
27
+ If a response was lost, inspect `sessions status <session> --target <target>`. Never infer
28
+ `applied` from a connection failure. A changing command's optional request ID binds one effective
29
+ intent inside the profile. Repeating the same ID/input retrieves its recorded outcome or
30
+ unresolved state; changing input under that ID fails. Without an ID, calls are new intentions.
31
+
32
+ An unknown or partial effect retains its request intent, snapshots and native stage. Open the
33
+ same tuple to reconcile supported outcomes. A committed merge is verified against its recorded
34
+ server version and complete saved buffers through independent read authority; it is never
35
+ checked in again merely because its response was lost. Until verification succeeds, publication
36
+ for this shared target is blocked across sessions. Saved private work remains retained.
37
+
38
+ Scalar reconciliation observes and saves an already present effect; it does not execute the
39
+ setter again. Supported structural/function edits retain a candidate snapshot after an incomplete
40
+ response; continuation can verify every requested effect in that immutable snapshot and adopt it
41
+ without replay. If the complete result cannot be established, the candidate and previous saved
42
+ private view remain retained. An unproved program/script/external outcome remains unresolved. Preserve the profile
43
+ storage and credential store. Do not delete another session's project, stop a process by guessed
44
+ PID/port, or blindly repeat a script/external action to turn uncertainty into success.
45
+
46
+ The older prototype's `workers`, `findings`, `integrate` and batch `recover` commands are not the
47
+ public facade API. Its coordinator journals remain separate and are never silently migrated.
48
+
49
+ A lost UI navigation response can be verified from the live authenticated cursor without another
50
+ goto. If its original owned GUI process has exited, continuation reports the uncertain UI action
51
+ as disconnected and retains saved program work. It does not recreate the old cursor or re-enable
52
+ a previous prompt policy. Other unproved live UI effects remain retained until their outcome is
53
+ established or the original process is known to have ended.
@@ -0,0 +1,101 @@
1
+ # Research with a private context
2
+
3
+ See [query semantics and work limits](query-semantics.md) for completion/truncation, actual type
4
+ resolution, qualified heuristics, supported emulation ABIs and memory/signature input variants.
5
+
6
+ `ghidra save-all --session <id>` saves every Ghidra context in that session and reports a
7
+ separate outcome for each input. It does not publish. A partial result preserves completed saves;
8
+ repeating the same request ID retrieves those outcomes without another pass.
9
+
10
+ `ghidra changes discard --session <id> --target <id>` explicitly removes that context's pending
11
+ program edits, retains its former private snapshot and restores its own opening base. It requires
12
+ Destructive permission. Other sessions and the shared revision remain unchanged; use explicit
13
+ refresh to receive a newer shared base afterward. Close a live debugger before discarding static
14
+ edits. The saved trace remains separate from the program's opening snapshot.
15
+
16
+ Open input with `insight-cli ghidra open ./client.exe --session new --json`. Store the returned
17
+ `session` and `target` as the explicit scope for every later research call. Names are display
18
+ labels; equal filenames or addresses in different inputs do not select the same object.
19
+
20
+ Use `ghidra strings search --contains config.json`, then `ghidra xrefs to --address <string>`.
21
+ Reference results include a containing function address when available. Pass that address to
22
+ `ghidra functions get` or `ghidra functions decompile`. Add the same session/target selectors and
23
+ `--json` to each command; consult generated help for paging and exact flags.
24
+
25
+ An exported object can also have an external-entry metadata reference. That item has
26
+ `from: null`, `kind: "EXTERNAL"` and `source: "entry-point"`; it counts in the returned
27
+ page but has no source address to navigate. Ordinary references retain their hexadecimal
28
+ `from` address and containing function when available.
29
+
30
+ Use `ghidra functions rename` and `ghidra comments set` for private edits. `--clear` (or empty
31
+ text) represents a null/absent comment. Successful edits are checked by readback and saved before
32
+ `applied`. A later read sees the local result; another session remains independent. These edits
33
+ do not publish themselves. Use `ghidra merge` to publish the selected context explicitly.
34
+
35
+ Another session retains its view until `ghidra refresh`. Refresh receives safe shared changes and
36
+ preserves local work. An overlapping field retains original/local/shared values; merge publishes
37
+ nothing while any conflict remains. Resolve that field with its ordinary setter,
38
+ `--resolve-conflict --expect-shared <observed value>` (or `--expect-shared-null` for an absent
39
+ comment). A later shared change invalidates the decision and preserves your work.
40
+
41
+ Types, signatures and memory edits are saved as complete private program state. They publish
42
+ when the shared base is unchanged. After divergence, unproved structural categories remain a
43
+ conflict: retain the old session, open a new session on the current target, and transfer the desired
44
+ work through ordinary operations. A script is not replayed as a merge algorithm.
45
+
46
+ The editing groups include types/categories/layouts, labels/references, properties/bookmarks,
47
+ memory flags, functions/variables/tags and batch comments/documentation. Factory's `Destructive`
48
+ gate covers deletion and replacement operations separately from ordinary Update. These broader
49
+ edits currently use complete saved-state publication; their grouping does not grant scalar merge
50
+ semantics. Boolean fields use explicit values; the no-return setter calls its flag `--non-returning`
51
+ to keep it distinct from CLI negation syntax.
52
+
53
+ `ghidra scripts list` returns stable `installation:` and `context:` script IDs. Pass an exact ID to
54
+ `ghidra scripts run --script-name <id>`, or source to `ghidra scripts run-inline --code <source>`.
55
+ Script arguments follow the pinned whitespace-splitting convention. Execution output is returned
56
+ with the saved private state. Script file/network/process effects are immediate and are not undone
57
+ by program rollback or replayed by merge. An uncertain script remains unresolved even when some
58
+ program changes can be observed.
59
+
60
+ Additional read groups expose analysis, listings, types, documentation, memory, symbols and
61
+ emulation through typed flags. `functions inspect`, `comments inspect`, `strings list` and
62
+ `strings search-regex` cover broader selection than the convenient walkthrough commands.
63
+ Boolean options take explicit `true`/`false`; complex inputs take bounded JSON. Result variants
64
+ are under `value` with the same session/target identifiers. Generated help lists domain arguments;
65
+ the caller supplies no program/instance routing. For P-code dataflow choose an actual operation
66
+ address from `analysis get-function-pcode`; a function prologue may have no high P-code operation.
67
+
68
+ For comparisons, keep `--session`/`--target` as the first side and provide `--other-target`.
69
+ `--other-session` defaults to the first session; specify it to compare another agent's private
70
+ context. `documentation compare`, `functions diff` and the fuzzy matching commands use these
71
+ selectors. Fuzzy matching excludes candidates shorter than eight instructions. Results return
72
+ both logical scopes and preserve the selected private views.
73
+
74
+ `documentation transfer` instead selects the private receiver with `--session`/`--target` and the
75
+ source with `--source-target` and optional `--source-session`. It copies documentation at matching
76
+ addresses; it does not publish. Use `--dry-run` to preview counts. The operation requires
77
+ Destructive because transferred definitions/annotations can replace existing receiver data.
78
+ After an applied result, publish through ordinary `ghidra merge`. Retried request IDs retrieve
79
+ their recorded outcome; recovery retains the source revision actually used by that request.
80
+
81
+ Opening a second input in the same session preserves the first context. Different processes using
82
+ the same session/target share one ordered context. Independent agents choose separate sessions.
83
+ Calls return explicit scope so parallel outputs can be associated with the intended input.
84
+ `sessions status <session> --limit <n> --offset <n>` pages saved contexts; `--target` selects one.
85
+ Its `externalRequests` reports uncertain archive/session-save outcomes without conflating them
86
+ with unpublished program edits. A truncated result indicates that another page may exist.
87
+
88
+ `ghidra status` verifies the selected tool and reports saved pending work. `ghidra save` retains
89
+ private changes without publishing. `ghidra close` saves and releases the owned process; continue
90
+ with the same open selectors to retain local work. Save/close accept the optional request ID.
91
+
92
+ The `ghidra ui` commands use the same explicit scope. `cursor --type all` reads address, function,
93
+ selection and focused program; headless facets return null with an explicit reason. `tools` starts
94
+ the owned GUI when needed and lists its tools using logical program scope. `goto --address <at>`
95
+ navigates the owned browser and verifies the cursor. `prompt-policy --action enable --seconds <n>`
96
+ temporarily handles the backend's known prompts in that owned GUI for 1–300 seconds; status and
97
+ disable inspect or end the policy. Changing UI commands accept request IDs. These actions do not
98
+ publish program work. Switching modes retains private edits and other sessions keep their views.
99
+
100
+ Selected native SDK commands and their effect/budget contracts are described in
101
+ [native workflows](native-workflows.md).
@@ -0,0 +1,50 @@
1
+ # Setup
2
+
3
+ Use Node 24+ and `ghidra install` to deliver Ghidra 12.1.2, JDK 21, native components and
4
+ server support. See [managed runtime](managed-runtime.md) for download/install/offline archives,
5
+ external executable paths, status/doctor and safe removal. Existing Factory profile `java` and
6
+ `ghidraHome` paths remain supported when no managed/external selection exists.
7
+ The package contains the verified GhidraMCP 7.0.0 bridge, its Apache-2.0 license/notice and
8
+ artifact provenance. Its pinned functionality catalog is from source
9
+ `57e37a8bf388b1279cff46378f85be1554548f61`, with SHA256
10
+ `7084e2fda16dc779dd05398e48821ff3f9ace4d32757ea143b257b39689e5fbd`.
11
+ `mcpJar` optionally selects another copy of those exact verified bytes. Runtime startup needs no
12
+ bridge/Factory source checkout or Python MCP bridge. Packaged native helper sources compile
13
+ against the installed Ghidra/JDK.
14
+
15
+ Omitting `server` enables owned local startup. The facade creates profile storage, a private
16
+ repository and distinct read-only/publisher accounts with random credentials in Factory's secret
17
+ store. It manages isolated headless contexts and introduces GUI mode on demand.
18
+
19
+ For an external server profile, configure `server` (`ghidra://host:port`), `repository`,
20
+ `readerUser` and `publisherUser`. They are distinct accounts with actual read-only and write
21
+ permissions respectively. Store each password using `auth login --role reader|publisher
22
+ --password-stdin`. Passwords are stdin/secret-store values, never profile JSON or argv values.
23
+ Connecting does not transfer ownership of that external server or allow the facade to stop it.
24
+
25
+ Factory's Update permission is initially disabled. Enable it through `permissions grant Update`
26
+ in the selected profile before creating contexts or editing. Research scope is explicit; local
27
+ skill discovery and help require no authentication or native process startup.
28
+ Deletion and replacement commands also require `permissions grant Destructive`.
29
+
30
+ All target bytes, snapshots, journals, projects and process receipts derive from the selected
31
+ profile's AppData. Stop the owner through `ipc-server stop` before changing its code/runtime
32
+ configuration. Restoring a saved context preserves its private view. Server settings and initial
33
+ loader settings remain bound to the target/workspace, so changing those cannot silently replace
34
+ retained work. This revision conservatively protects retained profile research state from deletion.
35
+ Runtime identity covers installed Ghidra code, language/compiler data, native modules and Python
36
+ inputs together with JDK tools, modules and configuration. Generated Python caches are isolated.
37
+ Changing those runtime inputs requires stopping the old owner before continuing with the new build.
38
+
39
+ Native acceptance separates macOS GUI/LLDB workflows from selected headless Windows/Linux
40
+ SDK, Version Tracking and FID/BSim workflows. Native Windows/Linux debugger/GUI acceptance
41
+ remains deferred. The ordinary CI lane stays offline; disposable native CI is explicit.
42
+
43
+ On macOS 15+ ARM64, `ghidra install` delivers an owned LLDB/Python debugger backend;
44
+ OS debugger authorization remains required. Other host profiles need their supported debugger. Its
45
+ Ghidra Python dependencies are prepared from the installed SDK wheels into owned GUI storage.
46
+ `debuggerPython` optionally configures a Python-backed offer; `windbgDir` configures the Windows
47
+ debugger runtime directory when relevant. These are runtime profile settings, not research scope.
48
+
49
+ Archive exchange is opt-in through `archiveUrl`; its optional token uses Factory secrets.
50
+ See [archive](archive.md) for the service contract and submission recovery behavior.
@@ -0,0 +1,45 @@
1
+ ---
2
+ name: insight-ilspy
3
+ description: Recover C#, inspect IL/types/metadata, extract resources or export projects from managed .NET assemblies through insight-cli ILSpy. Choose native analysis for NativeAOT or ordinary PE machine code.
4
+ ---
5
+
6
+ # Insight ILSpy 0.2.1
7
+
8
+ If local help/status reports AppData or IPC access denied, retry that **read-only probe**
9
+ with the agent host's normal permission escalation, then use that route for later authorized
10
+ CLI calls too. An explicit **no command was sent** denial is known undispatched and can be
11
+ retried through that route. Keep HOME, profile and owner state; see
12
+ [host execution permissions](references/agent-execution.md). A lost mutation reply needs
13
+ request/status recovery, never blind retry.
14
+
15
+ Use the project's preferred tool and evidence conventions. Use ILSpy for static managed
16
+ assemblies with CLR metadata. It does not execute the assembly, recover C# from NativeAOT,
17
+ or establish runtime behavior from pseudocode alone.
18
+
19
+ 1. `insight-cli ilspy status --json` checks the selected profile. If needed,
20
+ `insight-cli ilspy install` prepares the pinned ILSpy and private .NET runtime.
21
+ No machine-wide SDK is required. Use generated install help for local archives,
22
+ offline cache or an external executable; see [workflows](references/ilspy.md).
23
+ 2. Start with `ilspy query <input> --json` and `--view types`, then decompile one relevant type/member,
24
+ inspect its IL or metadata, or enumerate resources. Use returned target identity
25
+ across calls/tools. `--target` reuses immutable bytes without opening Ghidra.
26
+ 3. Text responses default to a 16000-character window. Page with `--limit-chars` and
27
+ `--offset-chars`; combine only pages with the same `textSha256`. The hash covers observed
28
+ native text, which may itself be incomplete. Save full bounded text with `--output`,
29
+ or extract a selected resource into new ordinary output paths.
30
+ Recover a full project only when the question calls for it. Distinguish recovered
31
+ code/names from source truth. Record commands/input identity alongside findings
32
+ according to project rules.
33
+ 4. `tools processes --tool ilspy --all` shows executions and retained diagnostics.
34
+ Inspect partial exports after failure; choose a new output path for an intentional
35
+ retry. Close only owned executions; uninstall preserves external files and research.
36
+
37
+ Execution and preparation need Factory Update permission. `ilspy --help` supplies exact
38
+ commands/options; the [workflow reference](references/ilspy.md) covers inputs, outputs,
39
+ resource/project export and continuation. Save a completed project file/folder through
40
+ `insight-cli artifacts save` when a checkpoint is useful; it is independent of Ghidra merge.
41
+
42
+ Hash extracted resource bytes themselves; the resource-list text has a different digest
43
+ and is not the extracted file. For a requested checkpoint, finish the notes/recovered files,
44
+ save their chosen containing folder, and read back the returned saved path. Include that
45
+ exact path in the final handoff; do not substitute the ordinary export path or an inferred UUID.
@@ -0,0 +1,36 @@
1
+ # Agent host execution permissions
2
+
3
+ Keep the user/project host policy and the selected profile. A sandbox can deny writes
4
+ to runtime AppData or access to the local IPC endpoint, including during local help.
5
+ This is a host execution boundary, not evidence that the tool or its inputs are absent.
6
+
7
+ First retry only `insight-cli --help`, `tools list`, `skill`, or the selected application's
8
+ read-only `status` using the host's normal permission escalation. In Codex, use the
9
+ execution tool's `sandbox_permissions: "require_escalated"` with a scoped explanation
10
+ that the installed CLI needs its existing profile storage/local IPC. Automatic approval
11
+ review or the user decides that request; do not disable the sandbox or approval policy.
12
+
13
+ Do not work around this by changing HOME/AppData/profile paths, creating another host,
14
+ deleting owner/endpoint files, killing unrelated processes or claiming a missing runtime.
15
+ After the read-only probe succeeds, use the approved execution route for the intended
16
+ public CLI commands. An access refusal explicitly stating **no command was sent** is
17
+ known not dispatched; it is safe to submit that authorized command through the approved
18
+ route. This includes a mutation refused before dispatch. Do not mistake that definite
19
+ pre-dispatch refusal for an unknown execution outcome. Downloads still require their explicit
20
+ network access.
21
+
22
+ A lost mutation response is different from a denied startup probe: inspect retained
23
+ request/status/recovery evidence and use its request ID when supported. Never blindly
24
+ repeat a publication, script or program run whose outcome is unknown. External-tool
25
+ fallback is allowed by project rules, but record that the intended facade was not used
26
+ and do not invent a successful checkpoint or native result.
27
+
28
+ ## Wait for the original execution
29
+
30
+ A tool operation may outlast the host execution tool's initial wait. A returned running
31
+ session/cell ID means that command is still in progress, not that the CLI returned no data.
32
+ Use the host's session poll/wait facility until terminal exit and consume stdout/stderr
33
+ before issuing a dependent command. In Codex, an `exec_command` session is continued with
34
+ `write_stdin`; a yielded execution cell uses that host's cell wait. Do not launch a second
35
+ open/install or repeat a CPU action just because the first chunk was empty. If the execution
36
+ really loses its terminal result, use the CLI's request/status recovery as described above.
@@ -0,0 +1,33 @@
1
+ # Static .NET research
2
+
3
+ Use the project's preferred tools and evidence conventions. When ILSpy is appropriate,
4
+ `insight-cli ilspy install` prepares its pinned CLI and private .NET runtime; a global SDK
5
+ or dotnet installation is unnecessary. Lifecycle and archive options appear in `--help`.
6
+ The ILSpy and runtime distributions come from our pinned GitHub Releases. For offline
7
+ installation supply `--archive` and `--dotnet-archive`, or use an already verified cache.
8
+ `--executable` selects a compatible external ilspycmd; uninstall preserves its files.
9
+
10
+ ```sh
11
+ insight-cli ilspy types ./client.dll --json
12
+ insight-cli ilspy decompile --target <returned-target> --type Example.Policy --output policy.cs --json
13
+ insight-cli ilspy il --target <target> --type Example.Policy --json
14
+ insight-cli ilspy resources --target <target> --json
15
+ insight-cli ilspy resource --target <target> --name Example.settings.json --output extracted --json
16
+ insight-cli ilspy project --target <target> --output recovered-project --json
17
+ insight-cli ilspy metadata --target <target> --table MethodDef --json
18
+ ```
19
+
20
+ Use either an input file or an existing target. Reusing the target associates Ghidra and
21
+ ILSpy results with the same immutable bytes. No Ghidra context or merge is needed for a
22
+ stateless ILSpy read. An optional `--session` associates an existing session; it does not
23
+ create one. These calls require Update to capture input and run a tool.
24
+
25
+ Text responses include `content`, input SHA, process ID, elapsed time and diagnostic paths.
26
+ `--member` selects a metadata token or XML member ID for decompilation. Output paths must
27
+ be new: text operations create one ordinary file, project/resource operations create a
28
+ folder. Keep useful output in the project's chosen evidence location; `artifacts save`
29
+ is an optional explicit checkpoint. Static decompilation does not execute an assembly.
30
+
31
+ Use `tools processes --tool ilspy --all` for execution history and `tools processes show
32
+ <process-id>` for retained diagnostics. A failed or interrupted export can leave partial
33
+ files/staging; inspect them and choose a new output path for another intentional run.
@@ -0,0 +1,54 @@
1
+ ---
2
+ name: insight-interop
3
+ description: Trace a .NET P/Invoke declaration to an explicitly supplied native library export and Ghidra function through insight-cli ilspy query, binary query and scoped ghidra APIs. Use for managed/native linkage evidence while keeping static correspondence separate from observed loading or execution.
4
+ ---
5
+
6
+ # Insight Interop 0.2.1
7
+
8
+ If local help/status reports AppData or IPC access denied, retry that **read-only probe**
9
+ with the agent host's normal permission escalation, then use that route for later authorized
10
+ CLI calls too. An explicit **no command was sent** denial is known undispatched and can be
11
+ retried through that route. Keep HOME, profile and owner state; see
12
+ [host execution permissions](references/agent-execution.md). A lost mutation reply needs
13
+ request/status recovery, never blind retry.
14
+
15
+ Respect project RE/evidence rules. This workflow composes existing public APIs, without
16
+ another runtime, global active binary or universal library resolver. Tokens and native
17
+ addresses identify different immutable targets; preserve both hashes in the finding.
18
+
19
+ 1. Read `ilspy query managed.dll --view imports --json`. Select the exact managed signature,
20
+ MethodDef token, declared module/entrypoint, calling convention, charset and spelling
21
+ flags. Drill into `--view method --method TOKEN` when needed. An absent declaration
22
+ does not exclude dynamic loading, generated interop, reflection or runtime resolvers.
23
+ 2. Select candidate native files explicitly. `binary query candidate.dll --json` identifies
24
+ format, architecture and image base. A filename match alone is insufficient. A neutral
25
+ IL assembly does not select the eventual runtime architecture by itself.
26
+ 3. Query `--view exports --filter ENTRYPOINT`, then verify the **exact** name in the returned
27
+ row: the filter is a substring. Keep its native target/hash, ordinal, RVA and VA. Do not
28
+ treat a forwarded PE export as code; follow its named library/export using another
29
+ explicitly supplied candidate. Ordinal imports, name decoration, charset A/W probing,
30
+ Mach-O leading underscores and ambiguous candidates need explicit ABI/loader evidence;
31
+ never silently choose a winner by stripping names or comparing addresses alone.
32
+ 4. `ghidra open candidate.dll --session new --json` opens an isolated native context. Match
33
+ this returned native target identity to the file just queried. Use
34
+ `ghidra functions get --session S --target T --address VA --json`, then
35
+ `ghidra functions decompile --session S --target T --address VA --json` to inspect the
36
+ exact implementation candidate. An address pointing to data or an unavailable function
37
+ is unresolved; do not create a claimed implementation merely to finish the workflow.
38
+ 5. Write ordinary project evidence linking the managed declaration, concrete native export,
39
+ scoped Ghidra function and useful behavior. Label this **static correspondence**. It
40
+ proves neither that this file was selected by the runtime nor that the call occurred:
41
+ search paths, architecture, custom resolvers and marshaling can change the actual route.
42
+ An authorized Frida/LLDB/dnSpy observation is separate evidence when execution is needed.
43
+ 6. If a useful annotation belongs in the shared Ghidra model, edit the chosen session/target
44
+ and explicitly `ghidra merge --session S --target T`. Verify it from a new context;
45
+ other workers refresh explicitly and retain their local changes. Metadata/binary reads
46
+ have no independent merge. Checkpoint ordinary materials with `artifacts save` as useful.
47
+ 7. Close the contexts you own. If the profile's local server belongs exclusively to this
48
+ investigation, stop it with `ghidra server stop` and verify `ghidra status` before stopping
49
+ the CLI owner. `ipc-server stop` does not stop that Ghidra server. For shared work, leave
50
+ server shutdown to the coordinator; never stop another worker's contexts or server.
51
+
52
+ Use each tool's dedicated packaged skill for install/status, bounds and generated help.
53
+ MacOS native workflow acceptance uses static Windows PE/.NET fixtures; it does not claim
54
+ those Windows binaries execute on macOS. Project-specific formats and tools take precedence.
@@ -0,0 +1,36 @@
1
+ # Agent host execution permissions
2
+
3
+ Keep the user/project host policy and the selected profile. A sandbox can deny writes
4
+ to runtime AppData or access to the local IPC endpoint, including during local help.
5
+ This is a host execution boundary, not evidence that the tool or its inputs are absent.
6
+
7
+ First retry only `insight-cli --help`, `tools list`, `skill`, or the selected application's
8
+ read-only `status` using the host's normal permission escalation. In Codex, use the
9
+ execution tool's `sandbox_permissions: "require_escalated"` with a scoped explanation
10
+ that the installed CLI needs its existing profile storage/local IPC. Automatic approval
11
+ review or the user decides that request; do not disable the sandbox or approval policy.
12
+
13
+ Do not work around this by changing HOME/AppData/profile paths, creating another host,
14
+ deleting owner/endpoint files, killing unrelated processes or claiming a missing runtime.
15
+ After the read-only probe succeeds, use the approved execution route for the intended
16
+ public CLI commands. An access refusal explicitly stating **no command was sent** is
17
+ known not dispatched; it is safe to submit that authorized command through the approved
18
+ route. This includes a mutation refused before dispatch. Do not mistake that definite
19
+ pre-dispatch refusal for an unknown execution outcome. Downloads still require their explicit
20
+ network access.
21
+
22
+ A lost mutation response is different from a denied startup probe: inspect retained
23
+ request/status/recovery evidence and use its request ID when supported. Never blindly
24
+ repeat a publication, script or program run whose outcome is unknown. External-tool
25
+ fallback is allowed by project rules, but record that the intended facade was not used
26
+ and do not invent a successful checkpoint or native result.
27
+
28
+ ## Wait for the original execution
29
+
30
+ A tool operation may outlast the host execution tool's initial wait. A returned running
31
+ session/cell ID means that command is still in progress, not that the CLI returned no data.
32
+ Use the host's session poll/wait facility until terminal exit and consume stdout/stderr
33
+ before issuing a dependent command. In Codex, an `exec_command` session is continued with
34
+ `write_stdin`; a yielded execution cell uses that host's cell wait. Do not launch a second
35
+ open/install or repeat a CPU action just because the first chunk was empty. If the execution
36
+ really loses its terminal result, use the CLI's request/status recovery as described above.
@@ -0,0 +1,54 @@
1
+ ---
2
+ name: insight-lldb
3
+ description: Observe native runtime arguments, return values, registers, stacks and bounded memory at a selected breakpoint using an owned LLDB launch. Use insight-cli lldb on macOS ARM64 when static findings need a concrete execution check.
4
+ ---
5
+
6
+ # Insight LLDB 0.2.1
7
+
8
+ If local help/status reports AppData or IPC access denied, retry that **read-only probe**
9
+ with the agent host's normal permission escalation, then use that route for later authorized
10
+ CLI calls too. An explicit **no command was sent** denial is known undispatched and can be
11
+ retried through that route. Keep HOME, profile and owner state; see
12
+ [host execution permissions](references/agent-execution.md). A lost mutation reply needs
13
+ request/status recovery, never blind retry.
14
+
15
+ Follow the project's RE and evidence conventions. This debugger runs a native input; choose
16
+ an input whose execution and application side effects are authorized. It launches a separate
17
+ owned copy, captures one breakpoint observation and terminates that launch. It does not attach
18
+ to an existing process or resume a crashed execution.
19
+
20
+ 1. `insight-cli lldb status --json` checks readiness. `lldb install` obtains our pinned
21
+ LLDB 23.1.3 bundle (debugger, debugserver and library) from GitHub Releases. Managed delivery
22
+ requires macOS 14+ ARM64. `download`, `install --archive FILE --offline`, `doctor` and
23
+ `uninstall` use the shared lifecycle. `install --executable /path/to/bin/lldb` selects
24
+ an external compatible bundle with its adjacent bin/debugserver and lib directory;
25
+ these dependencies are fingerprinted. External files and research survive uninstall.
26
+ 2. Start from static evidence identifying the relevant function and a useful input.
27
+ `insight-cli lldb inspect INPUT --breakpoint FUNCTION --step-out --json` records arguments,
28
+ registers, backtrace and the return from that call. `--target ID` reuses a captured input.
29
+ Only a native thin ARM64 Mach-O is supported here; a Windows PE imported into Ghidra cannot run
30
+ on this host. An optimized/stripped binary may omit names, arguments or source variables.
31
+ `--symbols FILE` captures a matching DWARF file from a dSYM bundle and loads it before launch.
32
+ `--variables` explicitly requests locals when debug information is available; without it
33
+ registers/backtraces remain useful for stripped code. Moving an executable alone does not
34
+ retain its adjacent dSYM.
35
+ 3. `--hit N` skips earlier calls; compare calls around the relevant boundary. `--arg` supplies
36
+ literal program arguments without shell expansion. Backticks are rejected because LLDB uses them
37
+ for expression substitution. `--registers pc,sp,x0` selects registers.
38
+ `--memory-address '$sp' --memory-bytes 64` records a bounded memory window. A `0x` breakpoint
39
+ is a file address; memory addresses and printed pointers are runtime addresses affected by
40
+ ASLR. Establish correspondence before combining them with static analysis.
41
+ 4. A snapshot proves one observed path and input, not all possible behavior. `--limit` and
42
+ `--offset` page native lines. `--output research/snapshot.json` saves the full bounded
43
+ snapshot to a new ordinary file, creating parents. Raw diagnostics remain under the
44
+ returned process directory. Preserve useful files with `artifacts save` when appropriate.
45
+ 5. The deadline (default 30 seconds, up to 600) survives owner loss. LLDB is configured to
46
+ kill its inferior on debugger connection loss. `tools processes --tool lldb --all` shows
47
+ history; stop/kill applies to verified owned collectors. After an owner crash a live
48
+ recovered macOS PID may be unverified: wait for its kernel deadline, inspect retained
49
+ records and do not replay an execution blindly. Observed exit after loss means an unknown
50
+ result, not a completed snapshot. Init files are disabled; no arbitrary debugger script
51
+ or expression evaluation is exposed by this facade.
52
+
53
+ Generated `lldb inspect --help` owns exact syntax. No Ghidra session or merge is required;
54
+ these are runtime observations to corroborate static research.
@@ -0,0 +1,36 @@
1
+ # Agent host execution permissions
2
+
3
+ Keep the user/project host policy and the selected profile. A sandbox can deny writes
4
+ to runtime AppData or access to the local IPC endpoint, including during local help.
5
+ This is a host execution boundary, not evidence that the tool or its inputs are absent.
6
+
7
+ First retry only `insight-cli --help`, `tools list`, `skill`, or the selected application's
8
+ read-only `status` using the host's normal permission escalation. In Codex, use the
9
+ execution tool's `sandbox_permissions: "require_escalated"` with a scoped explanation
10
+ that the installed CLI needs its existing profile storage/local IPC. Automatic approval
11
+ review or the user decides that request; do not disable the sandbox or approval policy.
12
+
13
+ Do not work around this by changing HOME/AppData/profile paths, creating another host,
14
+ deleting owner/endpoint files, killing unrelated processes or claiming a missing runtime.
15
+ After the read-only probe succeeds, use the approved execution route for the intended
16
+ public CLI commands. An access refusal explicitly stating **no command was sent** is
17
+ known not dispatched; it is safe to submit that authorized command through the approved
18
+ route. This includes a mutation refused before dispatch. Do not mistake that definite
19
+ pre-dispatch refusal for an unknown execution outcome. Downloads still require their explicit
20
+ network access.
21
+
22
+ A lost mutation response is different from a denied startup probe: inspect retained
23
+ request/status/recovery evidence and use its request ID when supported. Never blindly
24
+ repeat a publication, script or program run whose outcome is unknown. External-tool
25
+ fallback is allowed by project rules, but record that the intended facade was not used
26
+ and do not invent a successful checkpoint or native result.
27
+
28
+ ## Wait for the original execution
29
+
30
+ A tool operation may outlast the host execution tool's initial wait. A returned running
31
+ session/cell ID means that command is still in progress, not that the CLI returned no data.
32
+ Use the host's session poll/wait facility until terminal exit and consume stdout/stderr
33
+ before issuing a dependent command. In Codex, an `exec_command` session is continued with
34
+ `write_stdin`; a yielded execution cell uses that host's cell wait. Do not launch a second
35
+ open/install or repeat a CPU action just because the first chunk was empty. If the execution
36
+ really loses its terminal result, use the CLI's request/status recovery as described above.
@@ -0,0 +1,56 @@
1
+ ---
2
+ name: insight-llvm
3
+ description: Inspect PE, ELF and Mach-O headers, dependencies, exports and symbols; query PDB debug information or a small instruction window with insight-cli LLVM utilities before opening a full analysis project.
4
+ ---
5
+
6
+ # Insight LLVM 0.2.1
7
+
8
+ If local help/status reports AppData or IPC access denied, retry that **read-only probe**
9
+ with the agent host's normal permission escalation, then use that route for later authorized
10
+ CLI calls too. An explicit **no command was sent** denial is known undispatched and can be
11
+ retried through that route. Keep HOME, profile and owner state; see
12
+ [host execution permissions](references/agent-execution.md). A lost mutation reply needs
13
+ request/status recovery, never blind retry.
14
+
15
+ Use existing project RE rules and evidence paths. These are static reads; no Ghidra project,
16
+ program execution or shared merge is needed. Use Ghidra when the question needs recovered
17
+ control flow, decompilation or persistent annotations.
18
+
19
+ 1. `insight-cli llvm status --json` checks readiness. `llvm install` prepares the pinned
20
+ four-utility bundle from our GitHub Release; `--archive` and `--offline` support local
21
+ installation. Managed LLVM 23.1.3 requires macOS 14+ ARM64. `--executable` selects an
22
+ external llvm-readobj with compatible llvm-nm, llvm-objdump and llvm-pdbutil siblings.
23
+ The whole known external family is fingerprinted; uninstall preserves external files.
24
+ 2. Use `llvm headers INPUT`, `sections`, `imports`, `exports` or `symbols` for focused
25
+ inventories. Reuse `--target` instead of INPUT for the same immutable bytes. Stripped
26
+ images can have no ordinary symbols; that does not prove there are no functions.
27
+ `symbols` includes local/static definitions; these are not automatically exported APIs.
28
+ For ELF, `exports` uses the dynamic symbol table while `symbols` uses ordinary symbols.
29
+ 3. For a supplied PDB, start with `llvm pdb FILE --view summary` and `--view modules`.
30
+ Use `--view globals --symbol NAME` for a named global, `--view publics` for public
31
+ addresses, or `--view symbols --module INDEX` for procedure/local records. `--view types`
32
+ gives statistics until `--type-index 0xINDEX` selects a particular record. PDB symbol
33
+ addresses are section:offset pairs: combine the corresponding image section RVA and
34
+ image base from headers/sections; they are not file offsets. In pdbutil these padded
35
+ section:offset numbers are decimal (an explicit `0x` elsewhere means hexadecimal).
36
+ 4. `llvm disassemble IMAGE --address 0xVIRTUAL_ADDRESS --bytes 128` returns a bounded
37
+ instruction interval. Distinguish static virtual addresses, RVAs and file offsets;
38
+ runtime load bias is not established by these static commands. If the instructions load
39
+ constants from a section, use `llvm section-data IMAGE --section NAME` and the section
40
+ address/endianness to inspect their actual values. The complete section must fit the
41
+ 4-MiB native-output bound; oversized sections fail explicitly and need another focused
42
+ binary-reading tool rather than an assumed complete result.
43
+ 5. Keep useful output in the project's format. Text views page with `--limit`/`--offset`;
44
+ `--filter` selects matching native lines and can omit surrounding context. `--output`
45
+ writes full bounded native text to a new file, creating missing parent directories.
46
+ Use focused PDB/module/type queries instead of asking for every symbol or instruction.
47
+
48
+ The four upstream executables supply native text inside our JSON envelope. In particular,
49
+ upstream readobj JSON output is not treated as a reliable structured COFF contract. ELF
50
+ imports show needed libraries and undefined dynamic symbols; Mach-O imports show dylibs and
51
+ undefined symbols. This is static linkage evidence, not proof of observed runtime calls.
52
+
53
+ These calls need Update permission to capture input and run tools. Generated `--help` owns
54
+ exact syntax. `tools processes --tool llvm --all` and `show <id>` retain execution diagnostics;
55
+ failed/limited output is not a complete inventory. Save completed ordinary files through
56
+ `artifacts save` when a checkpoint is useful.
@@ -0,0 +1,36 @@
1
+ # Agent host execution permissions
2
+
3
+ Keep the user/project host policy and the selected profile. A sandbox can deny writes
4
+ to runtime AppData or access to the local IPC endpoint, including during local help.
5
+ This is a host execution boundary, not evidence that the tool or its inputs are absent.
6
+
7
+ First retry only `insight-cli --help`, `tools list`, `skill`, or the selected application's
8
+ read-only `status` using the host's normal permission escalation. In Codex, use the
9
+ execution tool's `sandbox_permissions: "require_escalated"` with a scoped explanation
10
+ that the installed CLI needs its existing profile storage/local IPC. Automatic approval
11
+ review or the user decides that request; do not disable the sandbox or approval policy.
12
+
13
+ Do not work around this by changing HOME/AppData/profile paths, creating another host,
14
+ deleting owner/endpoint files, killing unrelated processes or claiming a missing runtime.
15
+ After the read-only probe succeeds, use the approved execution route for the intended
16
+ public CLI commands. An access refusal explicitly stating **no command was sent** is
17
+ known not dispatched; it is safe to submit that authorized command through the approved
18
+ route. This includes a mutation refused before dispatch. Do not mistake that definite
19
+ pre-dispatch refusal for an unknown execution outcome. Downloads still require their explicit
20
+ network access.
21
+
22
+ A lost mutation response is different from a denied startup probe: inspect retained
23
+ request/status/recovery evidence and use its request ID when supported. Never blindly
24
+ repeat a publication, script or program run whose outcome is unknown. External-tool
25
+ fallback is allowed by project rules, but record that the intended facade was not used
26
+ and do not invent a successful checkpoint or native result.
27
+
28
+ ## Wait for the original execution
29
+
30
+ A tool operation may outlast the host execution tool's initial wait. A returned running
31
+ session/cell ID means that command is still in progress, not that the CLI returned no data.
32
+ Use the host's session poll/wait facility until terminal exit and consume stdout/stderr
33
+ before issuing a dependent command. In Codex, an `exec_command` session is continued with
34
+ `write_stdin`; a yielded execution cell uses that host's cell wait. Do not launch a second
35
+ open/install or repeat a CPU action just because the first chunk was empty. If the execution
36
+ really loses its terminal result, use the CLI's request/status recovery as described above.