@eyeauras/insight-cli 0.2.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 (384) hide show
  1. package/.cli-package-build.json +1 -1
  2. package/README.md +25 -0
  3. package/SKILL.md +38 -54
  4. package/dist/src/binary.d.ts +3 -0
  5. package/dist/src/binary.js +74 -0
  6. package/dist/src/capture.d.ts +3 -0
  7. package/dist/src/capture.js +220 -0
  8. package/dist/src/cli.js +57 -12
  9. package/dist/src/contexts.d.ts +5 -0
  10. package/dist/src/contexts.js +42 -16
  11. package/dist/src/debugger-caller.d.ts +17 -0
  12. package/dist/src/debugger-caller.js +129 -0
  13. package/dist/src/debugger-launch.d.ts +2 -0
  14. package/dist/src/debugger-launch.js +17 -0
  15. package/dist/src/debugger-results.d.ts +1 -0
  16. package/dist/src/debugger-results.js +8 -0
  17. package/dist/src/debugger-supervisor.js +56 -13
  18. package/dist/src/debugger.js +16 -7
  19. package/dist/src/die.d.ts +12 -0
  20. package/dist/src/die.js +127 -0
  21. package/dist/src/dnspy-runtime.d.ts +8 -0
  22. package/dist/src/dnspy-runtime.js +46 -0
  23. package/dist/src/dnspy.d.ts +22 -0
  24. package/dist/src/dnspy.js +160 -0
  25. package/dist/src/dotnet-diagnostics.d.ts +13 -0
  26. package/dist/src/dotnet-diagnostics.js +101 -0
  27. package/dist/src/frida-worker.d.ts +1 -0
  28. package/dist/src/frida-worker.js +125 -0
  29. package/dist/src/frida.d.ts +16 -0
  30. package/dist/src/frida.js +125 -0
  31. package/dist/src/ghidra-debugger-runtime.d.ts +7 -0
  32. package/dist/src/ghidra-debugger-runtime.js +31 -0
  33. package/dist/src/ghidra-processes.d.ts +6 -0
  34. package/dist/src/ghidra-processes.js +121 -0
  35. package/dist/src/ghidra.js +6 -6
  36. package/dist/src/ilspy.d.ts +7 -0
  37. package/dist/src/ilspy.js +122 -0
  38. package/dist/src/lldb.d.ts +10 -0
  39. package/dist/src/lldb.js +99 -0
  40. package/dist/src/llvm.d.ts +6 -0
  41. package/dist/src/llvm.js +133 -0
  42. package/dist/src/managed-heap.d.ts +4 -0
  43. package/dist/src/managed-heap.js +73 -0
  44. package/dist/src/managed-metadata.d.ts +11 -0
  45. package/dist/src/managed-metadata.js +66 -0
  46. package/dist/src/mitmproxy.d.ts +55 -0
  47. package/dist/src/mitmproxy.js +172 -0
  48. package/dist/src/native-inputs.d.ts +3 -2
  49. package/dist/src/native-inputs.js +9 -4
  50. package/dist/src/package-version.d.ts +1 -0
  51. package/dist/src/package-version.js +3 -0
  52. package/dist/src/procmon-config.d.ts +2 -0
  53. package/dist/src/procmon-config.js +15 -0
  54. package/dist/src/procmon-events.d.ts +13 -0
  55. package/dist/src/procmon-events.js +82 -0
  56. package/dist/src/procmon.d.ts +4 -0
  57. package/dist/src/procmon.js +107 -0
  58. package/dist/src/research.d.ts +11 -2
  59. package/dist/src/research.js +5 -3
  60. package/dist/src/runtime-catalog.d.ts +5 -10
  61. package/dist/src/runtime-catalog.js +4 -5
  62. package/dist/src/runtime-manager.d.ts +27 -3
  63. package/dist/src/runtime-manager.js +100 -159
  64. package/dist/src/runtime-selection.js +21 -4
  65. package/dist/src/server.d.ts +13 -0
  66. package/dist/src/server.js +21 -45
  67. package/dist/src/sevenzip.d.ts +15 -0
  68. package/dist/src/sevenzip.js +119 -0
  69. package/dist/src/strace.d.ts +10 -0
  70. package/dist/src/strace.js +71 -0
  71. package/dist/src/text-window.d.ts +11 -0
  72. package/dist/src/text-window.js +6 -0
  73. package/dist/src/tool-runtime/archives.d.ts +10 -0
  74. package/dist/src/{runtime-archives.js → tool-runtime/archives.js} +91 -24
  75. package/dist/src/tool-runtime/catalog.d.ts +3 -0
  76. package/dist/src/tool-runtime/catalog.js +13 -0
  77. package/dist/src/tool-runtime/commands.d.ts +9 -0
  78. package/dist/src/tool-runtime/commands.js +39 -0
  79. package/dist/src/tool-runtime/deadline.d.ts +11 -0
  80. package/dist/src/tool-runtime/deadline.js +32 -0
  81. package/dist/src/tool-runtime/definition.d.ts +73 -0
  82. package/dist/src/tool-runtime/definition.js +49 -0
  83. package/dist/src/tool-runtime/dotnet.d.ts +4 -0
  84. package/dist/src/tool-runtime/dotnet.js +22 -0
  85. package/dist/src/tool-runtime/identity.d.ts +6 -0
  86. package/dist/src/tool-runtime/identity.js +50 -0
  87. package/dist/src/tool-runtime/installer.d.ts +101 -0
  88. package/dist/src/tool-runtime/installer.js +180 -0
  89. package/dist/src/tool-runtime/launch-worker.d.ts +1 -0
  90. package/dist/src/tool-runtime/launch-worker.js +58 -0
  91. package/dist/src/tool-runtime/run.d.ts +51 -0
  92. package/dist/src/tool-runtime/run.js +159 -0
  93. package/dist/src/tool-runtime/store.d.ts +15 -0
  94. package/dist/src/tool-runtime/store.js +219 -0
  95. package/dist/src/tool-runtime/supervisor.d.ts +57 -0
  96. package/dist/src/tool-runtime/supervisor.js +266 -0
  97. package/dist/src/tool-runtime/windows-job.d.ts +22 -0
  98. package/dist/src/tool-runtime/windows-job.js +43 -0
  99. package/dist/src/toolbox.d.ts +84 -0
  100. package/dist/src/toolbox.js +35 -0
  101. package/dist/src/tshark.d.ts +23 -0
  102. package/dist/src/tshark.js +174 -0
  103. package/dist/src/windbg.d.ts +14 -0
  104. package/dist/src/windbg.js +119 -0
  105. package/dist/src/workspace.d.ts +1 -0
  106. package/dist/src/workspace.js +6 -0
  107. package/package.json +5 -4
  108. package/references/agent-execution.md +36 -0
  109. package/references/agent-setup.md +61 -0
  110. package/references/artifacts.md +5 -0
  111. package/references/debugger.md +22 -0
  112. package/references/ilspy.md +33 -0
  113. package/references/managed-runtime.md +48 -7
  114. package/references/native/InsightPythonWheels.java +283 -2
  115. package/references/native/InsightTraceState.java +28 -13
  116. package/references/setup.md +2 -1
  117. package/runtime/managed/insight-heap/Azure.Core.dll +0 -0
  118. package/runtime/managed/insight-heap/Azure.Identity.dll +0 -0
  119. package/runtime/managed/insight-heap/Insight.Heap.csproj +1 -0
  120. package/runtime/managed/insight-heap/Insight.Heap.deps.json +391 -0
  121. package/runtime/managed/insight-heap/Insight.Heap.dll +0 -0
  122. package/runtime/managed/insight-heap/Insight.Heap.runtimeconfig.json +13 -0
  123. package/runtime/managed/insight-heap/Microsoft.Bcl.AsyncInterfaces.dll +0 -0
  124. package/runtime/managed/insight-heap/Microsoft.Diagnostics.NETCore.Client.dll +0 -0
  125. package/runtime/managed/insight-heap/Microsoft.Diagnostics.Runtime.dll +0 -0
  126. package/runtime/managed/insight-heap/Microsoft.Extensions.Configuration.Abstractions.dll +0 -0
  127. package/runtime/managed/insight-heap/Microsoft.Extensions.DependencyInjection.Abstractions.dll +0 -0
  128. package/runtime/managed/insight-heap/Microsoft.Extensions.Diagnostics.Abstractions.dll +0 -0
  129. package/runtime/managed/insight-heap/Microsoft.Extensions.FileProviders.Abstractions.dll +0 -0
  130. package/runtime/managed/insight-heap/Microsoft.Extensions.Hosting.Abstractions.dll +0 -0
  131. package/runtime/managed/insight-heap/Microsoft.Extensions.Logging.Abstractions.dll +0 -0
  132. package/runtime/managed/insight-heap/Microsoft.Extensions.Options.dll +0 -0
  133. package/runtime/managed/insight-heap/Microsoft.Extensions.Primitives.dll +0 -0
  134. package/runtime/managed/insight-heap/Microsoft.Identity.Client.Extensions.Msal.dll +0 -0
  135. package/runtime/managed/insight-heap/Microsoft.Identity.Client.dll +0 -0
  136. package/runtime/managed/insight-heap/Microsoft.IdentityModel.Abstractions.dll +0 -0
  137. package/runtime/managed/insight-heap/Microsoft.Security.AntiSSRF.dll +0 -0
  138. package/runtime/managed/insight-heap/NuGet.Config +1 -0
  139. package/runtime/managed/insight-heap/Program.cs +20 -0
  140. package/runtime/managed/insight-heap/README.md +16 -0
  141. package/runtime/managed/insight-heap/System.ClientModel.dll +0 -0
  142. package/runtime/managed/insight-heap/System.Memory.Data.dll +0 -0
  143. package/runtime/managed/insight-heap/System.Security.Cryptography.ProtectedData.dll +0 -0
  144. package/runtime/managed/insight-heap/dependencies.json +436 -0
  145. package/runtime/managed/insight-heap/notices/Azure.Core-LICENSE.txt +21 -0
  146. package/runtime/managed/insight-heap/notices/Azure.Identity-LICENSE.txt +21 -0
  147. package/runtime/managed/insight-heap/notices/Microsoft.Bcl.AsyncInterfaces-LICENSE.txt +23 -0
  148. package/runtime/managed/insight-heap/notices/Microsoft.Bcl.AsyncInterfaces-THIRD-PARTY-NOTICES.TXT +1418 -0
  149. package/runtime/managed/insight-heap/notices/Microsoft.Diagnostics.NETCore.Client-LICENSE.txt +23 -0
  150. package/runtime/managed/insight-heap/notices/Microsoft.Diagnostics.Runtime-LICENSE.txt +23 -0
  151. package/runtime/managed/insight-heap/notices/Microsoft.Extensions.Configuration.Abstractions-LICENSE.txt +23 -0
  152. package/runtime/managed/insight-heap/notices/Microsoft.Extensions.Configuration.Abstractions-THIRD-PARTY-NOTICES.TXT +1418 -0
  153. package/runtime/managed/insight-heap/notices/Microsoft.Extensions.DependencyInjection.Abstractions-LICENSE.txt +23 -0
  154. package/runtime/managed/insight-heap/notices/Microsoft.Extensions.DependencyInjection.Abstractions-THIRD-PARTY-NOTICES.TXT +1418 -0
  155. package/runtime/managed/insight-heap/notices/Microsoft.Extensions.Diagnostics.Abstractions-LICENSE.txt +23 -0
  156. package/runtime/managed/insight-heap/notices/Microsoft.Extensions.Diagnostics.Abstractions-THIRD-PARTY-NOTICES.TXT +1418 -0
  157. package/runtime/managed/insight-heap/notices/Microsoft.Extensions.FileProviders.Abstractions-LICENSE.txt +23 -0
  158. package/runtime/managed/insight-heap/notices/Microsoft.Extensions.FileProviders.Abstractions-THIRD-PARTY-NOTICES.TXT +1418 -0
  159. package/runtime/managed/insight-heap/notices/Microsoft.Extensions.Hosting.Abstractions-LICENSE.txt +23 -0
  160. package/runtime/managed/insight-heap/notices/Microsoft.Extensions.Hosting.Abstractions-THIRD-PARTY-NOTICES.TXT +1418 -0
  161. package/runtime/managed/insight-heap/notices/Microsoft.Extensions.Logging.Abstractions-LICENSE.txt +23 -0
  162. package/runtime/managed/insight-heap/notices/Microsoft.Extensions.Logging.Abstractions-THIRD-PARTY-NOTICES.TXT +1418 -0
  163. package/runtime/managed/insight-heap/notices/Microsoft.Extensions.Options-LICENSE.txt +23 -0
  164. package/runtime/managed/insight-heap/notices/Microsoft.Extensions.Options-THIRD-PARTY-NOTICES.TXT +1418 -0
  165. package/runtime/managed/insight-heap/notices/Microsoft.Extensions.Primitives-LICENSE.txt +23 -0
  166. package/runtime/managed/insight-heap/notices/Microsoft.Extensions.Primitives-THIRD-PARTY-NOTICES.TXT +1418 -0
  167. package/runtime/managed/insight-heap/notices/Microsoft.Identity.Client-LICENSE.txt +21 -0
  168. package/runtime/managed/insight-heap/notices/Microsoft.Identity.Client.Extensions.Msal-LICENSE.txt +21 -0
  169. package/runtime/managed/insight-heap/notices/Microsoft.IdentityModel.Abstractions-LICENSE.txt +21 -0
  170. package/runtime/managed/insight-heap/notices/Microsoft.Security.AntiSSRF-LICENSE.txt +21 -0
  171. package/runtime/managed/insight-heap/notices/System.ClientModel-LICENSE.txt +21 -0
  172. package/runtime/managed/insight-heap/notices/System.Memory.Data-LICENSE.txt +23 -0
  173. package/runtime/managed/insight-heap/notices/System.Memory.Data-THIRD-PARTY-NOTICES.TXT +1418 -0
  174. package/runtime/managed/insight-heap/notices/System.Security.Cryptography.ProtectedData-LICENSE.TXT +23 -0
  175. package/runtime/managed/insight-heap/notices/System.Security.Cryptography.ProtectedData-THIRD-PARTY-NOTICES.TXT +309 -0
  176. package/runtime/managed/insight-heap/packages.lock.json +165 -0
  177. package/runtime/managed/insight-heap/provenance.json +146 -0
  178. package/runtime/managed/insight-heap/runtimes/win/lib/netstandard2.0/System.Security.Cryptography.ProtectedData.dll +0 -0
  179. package/runtime/managed/insight-managed/Insight.Managed.csproj +4 -0
  180. package/runtime/managed/insight-managed/Insight.Managed.deps.json +41 -0
  181. package/runtime/managed/insight-managed/Insight.Managed.dll +0 -0
  182. package/runtime/managed/insight-managed/Insight.Managed.runtimeconfig.json +13 -0
  183. package/runtime/managed/insight-managed/LICENSE.dnlib.txt +20 -0
  184. package/runtime/managed/insight-managed/NuGet.Config +1 -0
  185. package/runtime/managed/insight-managed/Program.cs +31 -0
  186. package/runtime/managed/insight-managed/README.md +16 -0
  187. package/runtime/managed/insight-managed/dnlib.dll +0 -0
  188. package/runtime/managed/insight-managed/packages.lock.json +13 -0
  189. package/runtime/managed/insight-managed/provenance.json +40 -0
  190. package/runtime/native/binary/README.md +22 -0
  191. package/runtime/native/binary/dependencies.json +166 -0
  192. package/runtime/native/binary/helper.cpp +44 -0
  193. package/runtime/native/binary/insight-binary-darwin-arm64 +0 -0
  194. package/runtime/native/binary/notices/Catch2-3.12.0--Catch2-3.12.0__LICENSE.txt +23 -0
  195. package/runtime/native/binary/notices/LIEF-LICENSE.txt +202 -0
  196. package/runtime/native/binary/notices/LIEF-attribution.txt +37 -0
  197. package/runtime/native/binary/notices/Melkor_ELF_Fuzzer-ac2495b--elf_fuzzer-master__LICENSE.txt +674 -0
  198. package/runtime/native/binary/notices/expected-1.3.1--expected-1.3.1__COPYING +121 -0
  199. package/runtime/native/binary/notices/frozen-61dce5a--frozen-61dce5ae18ca59931e27675c468e64118aba8744__AUTHORS +3 -0
  200. package/runtime/native/binary/notices/frozen-61dce5a--frozen-61dce5ae18ca59931e27675c468e64118aba8744__LICENSE +202 -0
  201. package/runtime/native/binary/notices/json-LICENSE.MIT +21 -0
  202. package/runtime/native/binary/notices/mbedtls-4.0.0.r0.gec4044008d--LICENSE +553 -0
  203. package/runtime/native/binary/notices/mbedtls-4.0.0.r0.gec4044008d--framework__LICENSE +553 -0
  204. package/runtime/native/binary/notices/mbedtls-4.0.0.r0.gec4044008d--tf-psa-crypto__LICENSE +552 -0
  205. package/runtime/native/binary/notices/mbedtls-4.0.0.r0.gec4044008d--tf-psa-crypto__framework__LICENSE +553 -0
  206. package/runtime/native/binary/notices/nanobind-2.13.0.r18.g4db9ed3f--LICENSE +26 -0
  207. package/runtime/native/binary/notices/nanobind-2.13.0.r18.g4db9ed3f--ext__robin_map__LICENSE +21 -0
  208. package/runtime/native/binary/notices/span-LICENSE_1_0.txt +23 -0
  209. package/runtime/native/binary/notices/span-attribution.txt +11 -0
  210. package/runtime/native/binary/notices/spdlog-1.17.0--spdlog-1.17.0__LICENSE +25 -0
  211. package/runtime/native/binary/notices/utfcpp-4.0.9--utfcpp-4.0.9__LICENSE +23 -0
  212. package/runtime/native/binary/provenance.json +48 -0
  213. package/runtime/native/child-deadline-linux-x64 +0 -0
  214. package/runtime/native/child-deadline-linux.c +24 -0
  215. package/runtime/native/child-deadline-linux.provenance.json +17 -0
  216. package/runtime/native/deadline-alarm-darwin-universal.dylib +0 -0
  217. package/runtime/native/deadline-alarm.c +33 -0
  218. package/runtime/native/deadline-alarm.provenance.json +22 -0
  219. package/runtime/native/deadline-exec-darwin-arm64 +0 -0
  220. package/runtime/native/deadline-exec.c +24 -0
  221. package/runtime/native/deadline-exec.provenance.json +17 -0
  222. package/runtime/native/dnspy-extension/Bridge.cs +58 -0
  223. package/runtime/native/dnspy-extension/Insight.DnSpy.csproj +13 -0
  224. package/runtime/native/dnspy-extension/Insight.DnSpy.x.dll +0 -0
  225. package/runtime/native/dnspy-extension/NuGet.Config +1 -0
  226. package/runtime/native/dnspy-extension/UNICODE-LOADER.md +26 -0
  227. package/runtime/native/dnspy-extension/packages.lock.json +6 -0
  228. package/runtime/native/dnspy-extension/provenance.json +27 -0
  229. package/runtime/native/dnspy-extension/upstream-public-build.snk +0 -0
  230. package/runtime/native/dnspy-extension/vendor-files.json +4341 -0
  231. package/runtime/native/file-version.ps1 +7 -0
  232. package/runtime/native/insight-registry-win-x64.dll +0 -0
  233. package/runtime/native/mitmproxy/bridge.py +180 -0
  234. package/runtime/native/mitmproxy/notices.json +476 -0
  235. package/runtime/native/sources/detours-LICENSE.md +23 -0
  236. package/runtime/native/sources/detours-e4bfd6b.tar.gz +0 -0
  237. package/runtime/native/sources/detours-provenance.json +10 -0
  238. package/runtime/native/tshark-layout.json +2247 -0
  239. package/runtime/native/windows-job/DirectoryAlias.cs +24 -0
  240. package/runtime/native/windows-job/Insight.WindowsJob.csproj +1 -0
  241. package/runtime/native/windows-job/Insight.WindowsJob.dll +0 -0
  242. package/runtime/native/windows-job/NuGet.Config +1 -0
  243. package/runtime/native/windows-job/OwnedJob.cs +79 -0
  244. package/runtime/native/windows-job/RegistryRedirect.cs +45 -0
  245. package/runtime/native/windows-job/packages.lock.json +21 -0
  246. package/runtime/native/windows-job/provenance.json +16 -0
  247. package/runtime/native/windows-job/windows-job.ps1 +8 -0
  248. package/runtime/native/windows-registry.c +21 -0
  249. package/runtime/native/windows-registry.def +3 -0
  250. package/runtime/native/windows-registry.provenance.json +14 -0
  251. package/runtime/notices/diagnostics-10.0.750501.txt +23 -0
  252. package/runtime/tool-catalog.json +290 -0
  253. package/runtime/toolbox.json +1401 -0
  254. package/skill-bundle/insight-artifacts/SKILL.md +30 -0
  255. package/skill-bundle/insight-artifacts/references/agent-execution.md +36 -0
  256. package/skill-bundle/insight-artifacts/references/artifacts.md +52 -0
  257. package/skill-bundle/insight-binary/SKILL.md +46 -0
  258. package/skill-bundle/insight-binary/references/agent-execution.md +36 -0
  259. package/skill-bundle/insight-capture/SKILL.md +56 -0
  260. package/skill-bundle/insight-capture/references/agent-execution.md +36 -0
  261. package/skill-bundle/insight-cli/SKILL.md +42 -0
  262. package/skill-bundle/insight-cli/references/agent-execution.md +36 -0
  263. package/skill-bundle/insight-cli/references/agent-setup.md +61 -0
  264. package/skill-bundle/insight-die/SKILL.md +49 -0
  265. package/skill-bundle/insight-die/references/agent-execution.md +36 -0
  266. package/skill-bundle/insight-dnspy/SKILL.md +65 -0
  267. package/skill-bundle/insight-dnspy/references/agent-execution.md +36 -0
  268. package/skill-bundle/insight-dotnet-dump/SKILL.md +46 -0
  269. package/skill-bundle/insight-dotnet-dump/references/agent-execution.md +36 -0
  270. package/skill-bundle/insight-dotnet-stack/SKILL.md +39 -0
  271. package/skill-bundle/insight-dotnet-stack/references/agent-execution.md +36 -0
  272. package/skill-bundle/insight-dotnet-trace/SKILL.md +45 -0
  273. package/skill-bundle/insight-dotnet-trace/references/agent-execution.md +36 -0
  274. package/skill-bundle/insight-frida/SKILL.md +67 -0
  275. package/skill-bundle/insight-frida/references/agent-execution.md +36 -0
  276. package/skill-bundle/insight-ghidra/SKILL.md +91 -0
  277. package/skill-bundle/insight-ghidra/references/administration.md +34 -0
  278. package/skill-bundle/insight-ghidra/references/agent-execution.md +36 -0
  279. package/skill-bundle/insight-ghidra/references/archive.md +32 -0
  280. package/skill-bundle/insight-ghidra/references/artifacts.md +52 -0
  281. package/skill-bundle/insight-ghidra/references/debugger.md +62 -0
  282. package/skill-bundle/insight-ghidra/references/extensions-and-sync.md +124 -0
  283. package/skill-bundle/insight-ghidra/references/managed-runtime.md +157 -0
  284. package/skill-bundle/insight-ghidra/references/native-workflows.md +112 -0
  285. package/skill-bundle/insight-ghidra/references/query-semantics.md +96 -0
  286. package/skill-bundle/insight-ghidra/references/recovery.md +53 -0
  287. package/skill-bundle/insight-ghidra/references/research.md +101 -0
  288. package/skill-bundle/insight-ghidra/references/setup.md +50 -0
  289. package/skill-bundle/insight-ilspy/SKILL.md +45 -0
  290. package/skill-bundle/insight-ilspy/references/agent-execution.md +36 -0
  291. package/skill-bundle/insight-ilspy/references/ilspy.md +33 -0
  292. package/skill-bundle/insight-interop/SKILL.md +54 -0
  293. package/skill-bundle/insight-interop/references/agent-execution.md +36 -0
  294. package/skill-bundle/insight-lldb/SKILL.md +54 -0
  295. package/skill-bundle/insight-lldb/references/agent-execution.md +36 -0
  296. package/skill-bundle/insight-llvm/SKILL.md +56 -0
  297. package/skill-bundle/insight-llvm/references/agent-execution.md +36 -0
  298. package/skill-bundle/insight-managed-heap/SKILL.md +43 -0
  299. package/skill-bundle/insight-managed-heap/references/agent-execution.md +36 -0
  300. package/skill-bundle/insight-managed-metadata/SKILL.md +52 -0
  301. package/skill-bundle/insight-managed-metadata/references/agent-execution.md +36 -0
  302. package/skill-bundle/insight-mitmproxy/SKILL.md +62 -0
  303. package/skill-bundle/insight-mitmproxy/references/agent-execution.md +36 -0
  304. package/skill-bundle/insight-overview/SKILL.md +79 -0
  305. package/skill-bundle/insight-overview/references/agent-execution.md +36 -0
  306. package/skill-bundle/insight-procmon/SKILL.md +49 -0
  307. package/skill-bundle/insight-procmon/references/agent-execution.md +36 -0
  308. package/skill-bundle/insight-re/SKILL.md +121 -0
  309. package/skill-bundle/insight-re/references/agent-execution.md +36 -0
  310. package/skill-bundle/insight-re/references/artifacts.md +52 -0
  311. package/skill-bundle/insight-re/references/recovery.md +53 -0
  312. package/skill-bundle/insight-sevenzip/SKILL.md +42 -0
  313. package/skill-bundle/insight-sevenzip/references/agent-execution.md +36 -0
  314. package/skill-bundle/insight-strace/SKILL.md +46 -0
  315. package/skill-bundle/insight-strace/references/agent-execution.md +36 -0
  316. package/skill-bundle/insight-tshark/SKILL.md +49 -0
  317. package/skill-bundle/insight-tshark/references/agent-execution.md +36 -0
  318. package/skill-bundle/insight-windbg/SKILL.md +46 -0
  319. package/skill-bundle/insight-windbg/references/agent-execution.md +36 -0
  320. package/skill-bundle/manifest.json +32 -0
  321. package/skills/insight-artifacts/SKILL.md +30 -0
  322. package/skills/insight-artifacts/references/agent-execution.md +36 -0
  323. package/skills/insight-artifacts/references/artifacts.md +52 -0
  324. package/skills/insight-binary/SKILL.md +46 -0
  325. package/skills/insight-binary/references/agent-execution.md +36 -0
  326. package/skills/insight-capture/SKILL.md +56 -0
  327. package/skills/insight-capture/references/agent-execution.md +36 -0
  328. package/skills/insight-die/SKILL.md +49 -0
  329. package/skills/insight-die/references/agent-execution.md +36 -0
  330. package/skills/insight-dnspy/SKILL.md +65 -0
  331. package/skills/insight-dnspy/references/agent-execution.md +36 -0
  332. package/skills/insight-dotnet-dump/SKILL.md +46 -0
  333. package/skills/insight-dotnet-dump/references/agent-execution.md +36 -0
  334. package/skills/insight-dotnet-stack/SKILL.md +39 -0
  335. package/skills/insight-dotnet-stack/references/agent-execution.md +36 -0
  336. package/skills/insight-dotnet-trace/SKILL.md +45 -0
  337. package/skills/insight-dotnet-trace/references/agent-execution.md +36 -0
  338. package/skills/insight-frida/SKILL.md +67 -0
  339. package/skills/insight-frida/references/agent-execution.md +36 -0
  340. package/skills/insight-ghidra/SKILL.md +91 -0
  341. package/skills/insight-ghidra/references/administration.md +34 -0
  342. package/skills/insight-ghidra/references/agent-execution.md +36 -0
  343. package/skills/insight-ghidra/references/archive.md +32 -0
  344. package/skills/insight-ghidra/references/artifacts.md +52 -0
  345. package/skills/insight-ghidra/references/debugger.md +62 -0
  346. package/skills/insight-ghidra/references/extensions-and-sync.md +124 -0
  347. package/skills/insight-ghidra/references/managed-runtime.md +157 -0
  348. package/skills/insight-ghidra/references/native-workflows.md +112 -0
  349. package/skills/insight-ghidra/references/query-semantics.md +96 -0
  350. package/skills/insight-ghidra/references/recovery.md +53 -0
  351. package/skills/insight-ghidra/references/research.md +101 -0
  352. package/skills/insight-ghidra/references/setup.md +50 -0
  353. package/skills/insight-ilspy/SKILL.md +45 -0
  354. package/skills/insight-ilspy/references/agent-execution.md +36 -0
  355. package/skills/insight-ilspy/references/ilspy.md +33 -0
  356. package/skills/insight-interop/SKILL.md +54 -0
  357. package/skills/insight-interop/references/agent-execution.md +36 -0
  358. package/skills/insight-lldb/SKILL.md +54 -0
  359. package/skills/insight-lldb/references/agent-execution.md +36 -0
  360. package/skills/insight-llvm/SKILL.md +56 -0
  361. package/skills/insight-llvm/references/agent-execution.md +36 -0
  362. package/skills/insight-managed-heap/SKILL.md +43 -0
  363. package/skills/insight-managed-heap/references/agent-execution.md +36 -0
  364. package/skills/insight-managed-metadata/SKILL.md +52 -0
  365. package/skills/insight-managed-metadata/references/agent-execution.md +36 -0
  366. package/skills/insight-mitmproxy/SKILL.md +62 -0
  367. package/skills/insight-mitmproxy/references/agent-execution.md +36 -0
  368. package/skills/insight-overview/SKILL.md +79 -0
  369. package/skills/insight-overview/references/agent-execution.md +36 -0
  370. package/skills/insight-procmon/SKILL.md +49 -0
  371. package/skills/insight-procmon/references/agent-execution.md +36 -0
  372. package/skills/insight-re/SKILL.md +22 -9
  373. package/skills/insight-re/references/agent-execution.md +36 -0
  374. package/skills/insight-re/references/artifacts.md +52 -0
  375. package/skills/insight-re/references/recovery.md +53 -0
  376. package/skills/insight-sevenzip/SKILL.md +42 -0
  377. package/skills/insight-sevenzip/references/agent-execution.md +36 -0
  378. package/skills/insight-strace/SKILL.md +46 -0
  379. package/skills/insight-strace/references/agent-execution.md +36 -0
  380. package/skills/insight-tshark/SKILL.md +49 -0
  381. package/skills/insight-tshark/references/agent-execution.md +36 -0
  382. package/skills/insight-windbg/SKILL.md +46 -0
  383. package/skills/insight-windbg/references/agent-execution.md +36 -0
  384. package/dist/src/runtime-archives.d.ts +0 -5
@@ -0,0 +1,43 @@
1
+ ---
2
+ name: insight-managed-heap
3
+ description: Query structured .NET heap objects, primitive fields and managed stacks from a retained CoreCLR dump through insight-cli dotnet-dump query. Use for bounded offline dump investigation with an explicit matching DAC, preserving uncertainty and immutable input identity.
4
+ ---
5
+
6
+ # Insight Managed Heap 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 project RE/evidence rules. ClrMD is an internal packaged library, not an application
16
+ that needs another install. This API reads one immutable dump; it never attaches to a live
17
+ process, evaluates target expressions or downloads symbols/dependencies.
18
+
19
+ 1. Use `dotnet-dump status` and `dotnet-dump install` for the existing private .NET runtime.
20
+ No compiler/SDK is needed. Native acceptance is macOS ARM64 CoreCLR only.
21
+ 2. `dotnet-dump query worker.dmp --json` identifies the dump architecture, CLR runtime and
22
+ heap availability. The managed default DAC is 10.0.13. A different runtime needs an
23
+ explicitly trusted matching `--dac-file /runtime/libmscordaccore.dylib`; matching OS,
24
+ architecture and runtime are required. An external diagnostics selection also needs
25
+ `--dotnet-host /runtime/dotnet`. Mismatch fails; it is never silently ignored.
26
+ 3. `dotnet-dump query --target TARGET --view objects --type Exact.Type --json` lists object
27
+ addresses and sizes. Heap/Full dumps are normally needed. `--max-objects` bounds scanning;
28
+ a reached bound means partial prefix coverage, never proof that a type is absent.
29
+ 4. Drill down with `--view object --address 0xADDRESS --type Exact.Type`. Addresses belong
30
+ only to that exact dump. Primitive fields and up to 256 string characters are returned;
31
+ reference fields supply an address for another explicit query. Structs, unreadable
32
+ memory and unsupported field values remain unavailable, without expression evaluation.
33
+ 64-bit numeric values and pointers are strings to preserve precision.
34
+ 5. `--view stacks` returns managed frames; `--thread OS_THREAD_ID` focuses one dump thread.
35
+ Each selected stack is bounded to 128 frames. A dump is a snapshot, not proof that a
36
+ frame is still executing or consuming CPU. Missing code/symbols can leave methods unknown.
37
+ 6. `--limit`/`--offset` page objects, fields or threads. `--output research/query.json` saves
38
+ this bounded result to a new ordinary JSON file; preserve partial flags in project notes.
39
+ Checkpoint selected evidence with `artifacts save` when useful. Removing the diagnostics
40
+ runtime preserves immutable dump inputs and saved research.
41
+
42
+ Generated `dotnet-dump query --help` owns options. Existing `analyze --command` remains useful
43
+ for focused native SOS text, but SOS output errors are not successful object findings.
@@ -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,52 @@
1
+ ---
2
+ name: insight-managed-metadata
3
+ description: Query managed assembly metadata, MethodDef tokens, P/Invoke declarations and bounded IL, or compare two C#/.NET assemblies through insight-cli ilspy query/compare. Use for structured static evidence and changed-method research without executing the target.
4
+ ---
5
+
6
+ # Insight Managed Metadata 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
+ Keep the project's RE and evidence conventions. This capability parses assembly bytes;
16
+ it never loads target code for execution, resolves ambient assemblies or loads PDBs.
17
+ dnlib is a packaged implementation library, not another application to install.
18
+
19
+ 1. Use the existing `ilspy status` and `ilspy install` for its private .NET 10 runtime.
20
+ With an external ILSpy selection, supply a compatible explicit `--dotnet-host`.
21
+ No SDK/compiler is needed on the consumer machine.
22
+ 2. `ilspy query app.dll --json` gives assembly identity, metadata runtime/framework hints,
23
+ type/method/import counts and bounded references/resources. Metadata runtime version
24
+ is not the required execution runtime; the framework attribute may be absent or forged.
25
+ 3. For a method question, start with
26
+ `ilspy query app.dll --view methods --name-filter TERM --limit 10 --json`.
27
+ This case-insensitive short-name search returns exact names/tokens and excludes
28
+ declaring namespaces, types and parameter/return signatures. It also selects managed
29
+ method names for imports, exact-method queries and compare. `--filter TEXT` retains its
30
+ case-sensitive full-name/signature substring behavior; a namespace term can match every
31
+ method. An unfiltered first/last page or shell-truncated match list cannot establish
32
+ absence: refine the short-name query before concluding. `--view types` and
33
+ `--view methods --type FULLNAME` provide bounded structural discovery. Drill down with
34
+ `ilspy query --target TARGET --view method --method 0x06000002 --limit 50 --json`.
35
+ Offsets are IL instruction offsets, not native addresses. Tokens belong to one exact
36
+ module SHA and may change when unrelated methods are added.
37
+ 4. `--view imports` returns actual P/Invoke module, entrypoint, flags and managed signature.
38
+ A declaration is static evidence; it does not prove which file the runtime loaded or
39
+ that the import was invoked. Use native exports/Ghidra for static correspondence and
40
+ an authorized runtime observation when execution evidence is needed.
41
+ 5. `ilspy compare before.dll after.dll --json` identifies added/removed signatures,
42
+ changed normalized IL/imports and reference changes. Operand names and branch/local
43
+ indices avoid treating metadata RID changes alone as changed code. Signature changes
44
+ appear as removed/added methods. Equal structure is not semantic equivalence: runtime,
45
+ dependency, configuration and environment changes can still affect behavior.
46
+ 6. Inputs are bounded to 64 MiB; `--limit`/`--offset` page rows or instructions. Comparisons
47
+ scan at most 100000 methods; narrow a large query with `--type`/`--filter`.
48
+ `--output research/metadata.json` saves the current bounded result/page to a new file.
49
+ Use ordinary project notes and `artifacts save` when a checkpoint is useful.
50
+
51
+ Generated `ilspy query --help` and `ilspy compare --help` own exact options. Use the
52
+ existing decompile/IL commands when a source-style explanation is more useful than metadata.
@@ -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,62 @@
1
+ ---
2
+ name: insight-mitmproxy
3
+ description: Record, inspect and compare HTTP request/response evidence with insight-cli mitmproxy. Use when an owned client can explicitly use a loopback proxy; read native flow archives or HAR without replaying traffic. System interception and global certificate trust are outside this facade.
4
+ ---
5
+
6
+ # Insight mitmproxy 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
+ Keep the project's RE and evidence format. This facade uses a private HTTP proxy on
16
+ macOS 15+ ARM64. A client must explicitly opt into its endpoint; installing the tool
17
+ does not intercept traffic or install a system proxy, certificate or Network Extension.
18
+
19
+ 1. Check `insight-cli mitmproxy status --json`. `mitmproxy install` delivers the pinned
20
+ standalone runtime and full notices from our source-complete GitHub Release.
21
+ `download` prepares its cache; `install --archive mitmproxy-12.2.3-macos-arm64.tgz
22
+ --offline` uses matching local bytes. `install --executable
23
+ /path/mitmproxy.app/Contents/MacOS/mitmdump` selects a complete external bundle, creates an owned execution copy and
24
+ fingerprints its adjacent runtime. `doctor` checks the pinned version.
25
+ 2. Start an observation window alongside the owned client:
26
+ `mitmproxy record --listen-port 8877 --duration-seconds 15 --output research/window.mitm
27
+ --json`. In another invocation, `mitmproxy status --json` reports each active capture's
28
+ `ready`, `endpoint`, public `caCertificate` and owned process ID. Wait for readiness;
29
+ then configure only the selected client to use that endpoint. The record command
30
+ returns after its bounded window. A client, curl or another external tool remains free
31
+ to run outside insight-cli. Client NO_PROXY/bypass rules can exclude a destination;
32
+ adjust only that client when necessary. Native stop/kill uses `tools processes stop/kill PROCESS`.
33
+ 3. For HTTPS, the selected client must explicitly trust the returned public CA certificate
34
+ in its own process. An owned origin with a private CA additionally needs
35
+ `record --upstream-ca public-root.pem`. This copies only a public PEM certificate;
36
+ no global trust change occurs. TLS failures remain explicit partial observations.
37
+ CA private keys stay in profile storage: checkpoint the requested report/archive, not
38
+ the private configuration directory. Certificate pinning may prevent HTTP decoding.
39
+ 4. `mitmproxy inspect research/window.mitm --json` gives a bounded overview.
40
+ `--view flows --method POST --url-contains /quote --limit 5` returns matching requests,
41
+ status, headers, body SHA256 and a base64 body prefix. Follow a native flow UUID with
42
+ `--view flow --flow-id UUID`. `--target ID` reuses immutable captured bytes; native
43
+ archives and HAR are read without reconnecting or replaying their requests.
44
+ `--output research/http.json` writes all bounded selected rows to a new ordinary file.
45
+ 5. `mitmproxy compare before.mitm after.mitm --json` compares literal method/URL and
46
+ occurrence order, selected body SHA256, status and error fields. Volatile headers and
47
+ timestamps are excluded. Review the linked flow IDs: occurrence matching is an aid,
48
+ not proof that two requests had the same cause. Missing bodies and partial inputs
49
+ remain unknown; unmatched rows in a partial capture do not prove absence.
50
+ 6. The proxy limits native bodies to 1 MiB each and the archive to 64 MiB. Reads accept
51
+ inputs up to 64 MiB; `--max-flows` bounds scan/record count to 1000. Returned bodies
52
+ default to 1024 bytes; `--body-bytes` can request 0–65536. The JSON report is bounded
53
+ to 8 MiB, and pagination follows method/URL selection. Base64 contains native raw
54
+ HTTP content; apply Content-Encoding separately if needed. WebSocket payload,
55
+ generic TCP/UDP and whole-machine absence are not claimed.
56
+ 7. A failed/interrupted window retains its archive and diagnostics. Inspect the retained
57
+ bytes explicitly; a readable prefix returns `partial`. There is no automatic
58
+ recollection or traffic replay. `artifacts save` can retain ordinary completed files.
59
+ Uninstall preserves research and any external distribution.
60
+
61
+ Generated `mitmproxy ... --help` owns exact flags. Use TShark when the question needs
62
+ packet-level evidence rather than decoded HTTP observations.
@@ -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,79 @@
1
+ ---
2
+ name: insight-overview
3
+ description: Choose bounded tool overviews and focused drilldown through insight-cli without flooding agent context with whole-program code, traces or dumps. Use for tool discovery, scoped evidence paging and keeping native partial coverage separate from complete results.
4
+ ---
5
+
6
+ # Insight Overview 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 project tool and evidence conventions. This workflow uses existing APIs; it adds
16
+ no runtime, analysis database or installation step. `tools list`/`tools show CAPABILITY`
17
+ locate tasks and dedicated instructions before download. Discovery is not runtime readiness.
18
+
19
+ Start from the research question and exact input. Read metadata or an index, choose one
20
+ function/type/object/event/stream, then request its evidence. Keep ordinary full files
21
+ outside conversation when useful; `--output` does not mean paste the entire file into context.
22
+ Do not `cat` a large saved index or class after writing it. Filter it on disk with `jq`/`rg`
23
+ and print only the selected identity or excerpt. Size the next read from the overview counts.
24
+
25
+ For a managed-method question, use a short-name query before exporting a large index:
26
+
27
+ ```sh
28
+ insight-cli ilspy query INPUT --view methods --name-filter KEYWORD --limit 10 --json
29
+ insight-cli ilspy decompile --target TARGET --member METHODDEF_TOKEN --limit-chars 2000 --json
30
+ ```
31
+
32
+ Choose KEYWORD from the research question; it matches the short method name
33
+ case-insensitively, excluding namespaces/types/signatures. The response supplies the
34
+ exact target and MethodDef token for the second call. If no method matches, broaden the
35
+ term or inspect a bounded type/method page; that search alone does not prove global absence.
36
+ `--filter` instead matches the case-sensitive full signature, so a namespace term may
37
+ match every method. Do not replace a focused query with that broad match, a whole-class
38
+ read or the first/last rows of a shell-truncated result. Refine the query when output is
39
+ truncated before drawing conclusions. Metadata counts cover the queried scope, not
40
+ code you have actually inspected.
41
+
42
+ | Surface | Useful overview | Focused follow-up |
43
+ | --- | --- | --- |
44
+ | Ghidra | Scoped program info, function/string/reference pages | One function signature, instruction/address interval, decompilation character window |
45
+ | ILSpy / managed metadata | `ilspy query` assembly counts, types and method pages | Exact type/member, MethodDef IL, imports or filtered assembly comparison |
46
+ | DiE | Header information and paged signature findings | Selected signatures/deeper scan; heuristic absence remains unknown |
47
+ | LLVM / structured binaries | Headers, section and linkage pages | One section, symbol, PDB query or bounded instruction interval |
48
+ | 7-Zip | Paged ordinary entry inventory | Integrity check and selected bounded regular-file extraction |
49
+ | .NET dump / ClrMD | Runtime/heap availability and object-type query | Exact object fields, thread stack or focused SOS command |
50
+ | .NET stack / trace | Paged selected process stacks or thread-time ranking | Thread/method evidence and saved trace export; sampled time is not CPU proof |
51
+ | LLDB | Identify the native input statically first | Authorized selected breakpoint/hit, bounded registers/memory/backtrace; this launches a program |
52
+ | Frida | Authorized PID's module/export pages | Selected bounded hook observation; this attaches to a running process |
53
+ | WinDbg | Retained dump overview | Thread, frames, registers, memory or disassembly window with explicit symbols |
54
+ | ProcMon / strace | Scoped retained summary/event pages | Selected path/category/process events; capture/trace needs its declared native authorization |
55
+ | dnSpy | Managed metadata first | Authorized IL-token breakpoint parameters/stack or exact expected constant edit on a new copy |
56
+ | TShark / mitmproxy | Immutable packet/HTTP overview | Exact frame/stream/flow and bounded body; live proxy recording is a separate opt-in action |
57
+ | Process capture | Retained run overview | Output byte page, declared file changes or literal report comparison; running is explicit |
58
+ | Artifacts | Saved file/byte counts and digest | Open the chosen ordinary file; no artificial tool install or analysis merge |
59
+
60
+ ILSpy text commands and `ghidra functions decompile` return a 16000-character window by
61
+ default. `--limit-chars`/`--offset-chars` count Unicode characters, not bytes, lines,
62
+ addresses or IL instructions. Combine pages only when `textSha256` is unchanged. That
63
+ hash binds the **observed native text**; `sourceTruncated` still means a native prefix.
64
+ Native truncation is never cleared by reaching the final page. ILSpy `--output` retains
65
+ the full bounded native text; Ghidra pages retain session/target/function selectors.
66
+
67
+ Other APIs declare their own coordinates: rows/events, bytes, instructions, stack frames
68
+ or text lines. Read their generated help instead of assuming all offsets mean the same
69
+ thing. A source hash mismatch means the text changed: restart the selected read or retain
70
+ separate observations. Runtime captures at different times are never one snapshot merely
71
+ because their target binary is the same.
72
+
73
+ Preserve `complete`, `truncated`, scan bounds and unknown/missing values in findings.
74
+ A filtered page or incomplete parser output cannot establish global absence. Static reads
75
+ do not observe execution; choosing a debugger or collector is an explicit runtime decision.
76
+
77
+ When a checkpoint is requested, save after the evidence files are complete, read back the
78
+ returned saved path, and copy that exact path into the final handoff. A successful save or
79
+ links to the mutable project files alone do not give the next agent the checkpoint locator. Finish the saved report before that save; avoid changing its footer afterward just to insert its own checkpoint path. Return that locator in the final handoff.
@@ -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,49 @@
1
+ ---
2
+ name: insight-procmon
3
+ description: Observe actual file and registry access by an authorized running Windows process through insight-cli procmon. Use when static paths or configuration guesses need runtime evidence; inspect retained captures without collecting again.
4
+ ---
5
+
6
+ # Insight ProcMon 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 Windows x64 facade observes an
16
+ explicit existing PID. It preserves that process's lifetime and scopes collection to
17
+ that PID before capturing; subprocesses are excluded. Administrator privileges are
18
+ required by the native driver. Use an authorized elevated terminal; an already running
19
+ unelevated insight-cli owner must be stopped before invoking from that terminal.
20
+
21
+ 1. Check `insight-cli procmon status --json`. `procmon install --vendor-direct` explicitly
22
+ downloads Microsoft's pinned Process Monitor 4.12 and verifies its hash. The distribution
23
+ is not mirrored because Microsoft prohibits redistribution. `download --vendor-direct`
24
+ prepares the local cache; `install --archive FILE --offline` accepts matching local bytes.
25
+ `install --executable C:\tools\Procmon64.exe` selects an existing x64 executable.
26
+ `doctor` checks version and owner privileges. Uninstall preserves research and external files.
27
+ 2. `insight-cli procmon observe --pid PID --duration-seconds 5 --json` records a bounded
28
+ interval. Add `--path "C:\research\settings.json"` for an exact file/native registry path
29
+ once known. Trigger the authorized application action during that interval; a completed
30
+ action before collection began cannot appear retroactively. No matching events means only
31
+ that nothing matching was retained in this interval. A successful `ReadFile` proves a read;
32
+ a failed open alone does not prove configuration was consumed.
33
+ 3. Use `--limit`/`--offset` to page events or `--output research/access.json` for a new ordinary
34
+ JSON file. The response includes the capture `process` ID and operation counts.
35
+ `procmon inspect PROCESS_ID --json` reuses retained PML and a hash-verified export without
36
+ collecting another interval. After a timeout or interruption, inspect that retained ID;
37
+ incomplete data and unknown outcomes remain partial. No automatic recollection occurs.
38
+ 4. Private PML/CSV and settings live under profile diagnostics. Our owned ProcMon uses private
39
+ process-local HKCU; user ProcMon settings are preserved. An existing ProcMon instance blocks
40
+ collection/export instead of being reused or terminated. Only our owned collector's process
41
+ tree is killed on owner loss/deadline. Windows driver activity is system-wide internally;
42
+ retained events are destructively prefiltered before capture. Other processes' events are
43
+ rejected by the reader if native scope cannot be verified.
44
+ 5. Native exports are bounded to 16 MiB/100000 events and retained PML queries to 64 MiB.
45
+ A `partial` response, filtered event, dropped/unobserved activity or unsuccessful export is
46
+ not proof of absence. Keep these limits with findings. Save useful ordinary evidence through
47
+ `artifacts save` when appropriate; no Ghidra context or merge is required.
48
+
49
+ Generated `procmon observe --help` and `procmon inspect --help` own exact syntax.
@@ -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,121 @@
1
+ ---
2
+ name: insight-re
3
+ description: Investigate shipped programs and binary artifacts with insight-cli and other available tools; retain ordinary research files, coordinate independent agents and publish Ghidra annotations. Use for reverse engineering behavior, not ordinary source-repository browsing.
4
+ ---
5
+
6
+ # Insight RE 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
+ Answer the user's research question with inspectable materials. Agents choose the
16
+ investigation; insight-cli supplies applications such as `ghidra` and `artifacts`.
17
+ External tools need no insight-cli adapter. Installing this package does not register
18
+ the skill or change agent settings. `insight-cli skill insight-re` locates this file.
19
+
20
+ ## Follow the project contract
21
+
22
+ Read applicable `AGENTS.md`, linked RE rules, templates and existing findings before
23
+ choosing tools or creating files. Follow the user's and project's conventions for layout,
24
+ filenames, evidence sections, confidence, reconstruction, recheck steps, source of truth
25
+ and promotion/publication. Use this skill's workflow suggestions only where those leave
26
+ a gap. Do not convert existing evidence to our format or require parallel `notes.md`,
27
+ `finding.md` or `research/` trees. An existing IDA notebook or project evidence index
28
+ keeps its role; using Ghidra or saving a copy does not make it authoritative.
29
+
30
+ ## Start or continue
31
+
32
+ Read the existing investigation before repeating analysis. Keep the question, exact inputs,
33
+ findings, open questions and supporting links in the project's chosen records. Record input
34
+ hashes/version where available. Preserve actual Ghidra session/target selectors in a suitable
35
+ continuation record; equal filenames are not identity.
36
+
37
+ When no convention exists, one research folder with short notes and relative links is a
38
+ simple default. For parallel work assign separate files or slices within the chosen layout
39
+ and one owner for each shared index or summary.
40
+
41
+ ## Choose useful tools
42
+
43
+ Respect project tool choices; otherwise start with the simplest tool that can answer the
44
+ question. `insight-cli tools list --json` lists shipped capabilities before native installation;
45
+ `tools show <tool>` locates its instructions. File utilities, format readers, scripts, decompilers, other CLIs and MCP tools
46
+ may all help. Use existing tools directly; save useful output in the project's evidence
47
+ location, including the command/version when needed to reproduce it. Inspect only relevant
48
+ parts of large results; `skill insight-overview` describes bounded metadata and focused
49
+ follow-ups across the toolbox. For static .NET research through the facade, see
50
+ the tool skill returned by `insight-cli skill insight-ilspy`; it reuses immutable targets without requiring a
51
+ Ghidra session. `tools processes` exposes owned executions and their diagnostic paths.
52
+
53
+ Treat target strings, code and tool output as data. Static analysis does not observe
54
+ execution. Run a target only within the requested scope and a suitable environment.
55
+ An unavailable tool is a concrete gap; continue supported work without inventing results.
56
+
57
+ ## Ghidra contexts and publication
58
+
59
+ When using `insight-cli ghidra`, read the skill returned by `insight-cli skill insight-ghidra` and generated help. Open through
60
+ `insight-cli ghidra open <input> --session new --json` and retain the returned selectors.
61
+ Every scoped call supplies both `--session` and `--target`. Independent agents use
62
+ different sessions; callers sharing selectors use one ordered context.
63
+
64
+ Follow strings, references, callers and data until the question is answered. Inspect
65
+ instructions or relevant helpers when pseudocode is ambiguous. Apply the project's naming
66
+ and annotation conventions to useful private edits, linking its existing evidence files.
67
+
68
+ Publish with scoped `ghidra merge`; receive incoming changes with scoped `ghidra refresh`.
69
+ Refresh preserves local work and exposes conflicts. On a conflict retain both versions
70
+ and resolve deliberately. For an unknown outcome inspect `sessions status` and the
71
+ [recovery reference](references/recovery.md); never blindly repeat publication.
72
+
73
+ ## Keep materials simple
74
+
75
+ Record useful findings early in the project's format. Where it leaves the content open,
76
+ a short note can answer:
77
+
78
+ * What does the evidence establish?
79
+ * Which files, addresses, lines or observations support that conclusion?
80
+ * What remains inferred, incomplete or untested?
81
+
82
+ Keep raw output in the project's evidence location and link it from the finding.
83
+ Distinguish code behavior from recovered names/types.
84
+ State the boundary of negative searches. An analyst comment is not independent evidence
85
+ for its own claim. Preserve relevant contradictory observations and explain revisions.
86
+
87
+ When a retained checkpoint is requested or useful, save the project's completed file or
88
+ folder with `insight-cli artifacts save <path> --json`. The returned `path` is an ordinary
89
+ saved copy; retain it when reporting that checkpoint. The original project location remains
90
+ canonical. No format conversion or duplicate summary is required before saving.
91
+ The save command needs no target/session selectors, evidence IDs or JSON schemas. Use a stable
92
+ checkpoint while no agent edits the selected files. Saving a folder does not merge
93
+ Ghidra databases. See [save semantics](references/artifacts.md) when needed.
94
+
95
+ ## Coordinate agents
96
+
97
+ When parallel work is available and authorized, assign independent questions. Give each
98
+ worker its question, boundaries, inputs, relevant project rules/templates, useful existing
99
+ findings, assigned output files or slice and any already-created Ghidra selectors. State
100
+ what evidence would answer the question and when to stop. Keep workers' output files
101
+ separate; the lead updates the project's common index or summary when needed.
102
+
103
+ Return intermediate findings and specific blockers promptly. Reuse the saved files of
104
+ other workers for follow-up. Give a free worker another independent question when useful;
105
+ avoid waiting for a long assignment merely because the original split was fixed.
106
+
107
+ ## Finish or hand off
108
+
109
+ Compare findings with the original question. Update the project's chosen records with the
110
+ answer, supporting paths, unresolved questions and publication state. Inspect important source
111
+ evidence and read back published annotations; do not redo the whole investigation solely
112
+ to format a report. Report a partial answer plainly when necessary.
113
+
114
+ If retaining a checkpoint through `artifacts save`, select the settled project files and
115
+ check its receipt and read the saved files at the exact returned path. Copy the returned
116
+ path verbatim into the handoff; do not reconstruct profile/storage identifiers. Release only owned tool contexts, preserving unpublished work and
117
+ unresolved journals. Follow each tool's lifecycle: Ghidra's local server is separate from the
118
+ CLI owner. Only the coordinator of an exclusively owned profile stops that server after all
119
+ its contexts close; a shared worker closes its own contexts. Give the user the useful result, remaining limits, canonical evidence
120
+ paths and any saved checkpoint. For continuation, read the existing records and reopen
121
+ the same session/target rather than starting the investigation again.