@eyeauras/insight-cli 0.8.4 → 0.9.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.
- package/.cli-package-build.json +1 -1
- package/README.md +16 -23
- package/SKILL.md +6 -44
- package/dist/src/activity-audit.d.ts +33 -46
- package/dist/src/activity-audit.js +120 -195
- package/dist/src/analysis-default.d.ts +10 -2
- package/dist/src/analysis-default.js +62 -47
- package/dist/src/analysis-storage.d.ts +13 -13
- package/dist/src/analysis-storage.js +127 -258
- package/dist/src/artifacts.d.ts +5 -1
- package/dist/src/artifacts.js +31 -46
- package/dist/src/audit-commands.d.ts +6 -1
- package/dist/src/audit-commands.js +9 -2
- package/dist/src/audit-retention.d.ts +5 -23
- package/dist/src/audit-retention.js +37 -150
- package/dist/src/binary.js +4 -13
- package/dist/src/budgets.d.ts +2 -2
- package/dist/src/budgets.js +7 -9
- package/dist/src/capture.js +17 -30
- package/dist/src/cli.d.ts +9 -4
- package/dist/src/cli.js +288 -473
- package/dist/src/code-references.d.ts +2 -13
- package/dist/src/code-references.js +7 -99
- package/dist/src/context-diagnostics.d.ts +1 -23
- package/dist/src/context-diagnostics.js +1 -83
- package/dist/src/core/coordinator.d.ts +298 -0
- package/dist/src/core/coordinator.js +591 -0
- package/dist/src/core/layout.d.ts +51 -0
- package/dist/src/core/layout.js +55 -0
- package/dist/src/core/legacy-import.d.ts +55 -0
- package/dist/src/core/legacy-import.js +193 -0
- package/dist/src/cross-results.d.ts +3 -3
- package/dist/src/cross-results.js +4 -42
- package/dist/src/cross.js +2 -3
- package/dist/src/debugger-results.d.ts +1 -6
- package/dist/src/debugger-results.js +21 -153
- package/dist/src/debugger.d.ts +21 -11
- package/dist/src/debugger.js +106 -168
- package/dist/src/decode-results.d.ts +2 -1
- package/dist/src/decode-results.js +4 -20
- package/dist/src/diagnostic-error.d.ts +1 -1
- package/dist/src/diagnostic-error.js +4 -23
- package/dist/src/die.js +1 -23
- package/dist/src/dnspy-runtime.js +5 -12
- package/dist/src/dnspy.js +13 -28
- package/dist/src/dotnet-diagnostics.js +1 -1
- package/dist/src/extensions.d.ts +2 -3
- package/dist/src/extensions.js +14 -91
- package/dist/src/frida-worker.js +0 -20
- package/dist/src/frida.js +3 -26
- package/dist/src/function-boundaries.d.ts +2 -2
- package/dist/src/function-boundaries.js +9 -61
- package/dist/src/function-entries.d.ts +2 -2
- package/dist/src/function-entries.js +6 -36
- package/dist/src/function-inspection.d.ts +2 -2
- package/dist/src/function-inspection.js +17 -33
- package/dist/src/function-results.d.ts +1 -3
- package/dist/src/function-results.js +2 -13
- package/dist/src/hub/admin.d.ts +101 -0
- package/dist/src/hub/admin.js +314 -0
- package/dist/src/hub/autostart.d.ts +111 -0
- package/dist/src/hub/autostart.js +207 -0
- package/dist/src/hub/bundle.d.ts +33 -0
- package/dist/src/hub/bundle.js +25 -0
- package/dist/src/hub/client.d.ts +90 -0
- package/dist/src/hub/client.js +256 -0
- package/dist/src/hub/commands.d.ts +13 -0
- package/dist/src/hub/commands.js +280 -0
- package/dist/src/hub/contract.d.ts +87 -0
- package/dist/src/hub/contract.js +3 -0
- package/dist/src/hub/extensions.d.ts +41 -0
- package/dist/src/hub/extensions.js +3 -0
- package/dist/src/hub/ghidra.d.ts +70 -0
- package/dist/src/hub/ghidra.js +197 -0
- package/dist/src/hub/index.d.ts +6 -0
- package/dist/src/hub/index.js +7 -0
- package/dist/src/{work/store.d.ts → hub/ledger-store.d.ts} +57 -94
- package/dist/src/hub/ledger-store.js +919 -0
- package/dist/src/hub/ledger.d.ts +4 -0
- package/dist/src/hub/ledger.js +173 -0
- package/dist/src/hub/lock.d.ts +7 -0
- package/dist/src/hub/lock.js +53 -0
- package/dist/src/hub/repository.d.ts +45 -0
- package/dist/src/hub/repository.js +130 -0
- package/dist/src/hub/server.d.ts +86 -0
- package/dist/src/hub/server.js +414 -0
- package/dist/src/hub/settings.d.ts +36 -0
- package/dist/src/hub/settings.js +112 -0
- package/dist/src/hub/storage.d.ts +13 -0
- package/dist/src/hub/storage.js +46 -0
- package/dist/src/hub/store.d.ts +75 -0
- package/dist/src/hub/store.js +188 -0
- package/dist/src/ilspy.js +1 -1
- package/dist/src/internal-timing.d.ts +2 -9
- package/dist/src/internal-timing.js +2 -95
- package/dist/src/lldb.js +3 -15
- package/dist/src/llvm.js +0 -9
- package/dist/src/managed-heap.js +3 -7
- package/dist/src/managed-metadata.js +2 -5
- package/dist/src/memory-inputs.d.ts +1 -4
- package/dist/src/memory-inputs.js +10 -40
- package/dist/src/mitmproxy.d.ts +35 -4
- package/dist/src/mitmproxy.js +59 -40
- package/dist/src/model.d.ts +0 -73
- package/dist/src/model.js +0 -45
- package/dist/src/mutations.d.ts +1 -1
- package/dist/src/mutations.js +5 -10
- package/dist/src/native/contract.d.ts +130 -0
- package/dist/src/native/ghidra.d.ts +58 -0
- package/dist/src/native/ghidra.js +77 -0
- package/dist/src/native/host.d.ts +71 -0
- package/dist/src/native/host.js +265 -0
- package/dist/src/native/index.d.ts +13 -0
- package/dist/src/native/index.js +19 -0
- package/dist/src/native/jvm.d.ts +54 -0
- package/dist/src/native/jvm.js +47 -0
- package/dist/src/native/worker.d.ts +70 -0
- package/dist/src/native/worker.js +240 -0
- package/dist/src/native-inputs.d.ts +9 -14
- package/dist/src/native-inputs.js +22 -110
- package/dist/src/native-merge-patches.d.ts +2 -2
- package/dist/src/native-merge-patches.js +14 -14
- package/dist/src/persistent-client.js +53 -25
- package/dist/src/procmon.js +17 -31
- package/dist/src/program-files.d.ts +42 -0
- package/dist/src/program-files.js +148 -0
- package/dist/src/queries.js +2 -15
- package/dist/src/query-policy.d.ts +0 -2
- package/dist/src/query-policy.js +1 -14
- package/dist/src/research.d.ts +59 -238
- package/dist/src/research.js +212 -906
- package/dist/src/runtime-identity.d.ts +8 -0
- package/dist/src/runtime-identity.js +26 -0
- package/dist/src/runtime-manager.d.ts +1 -11
- package/dist/src/runtime-manager.js +10 -145
- package/dist/src/runtime-selection.d.ts +1 -1
- package/dist/src/runtime-selection.js +5 -37
- package/dist/src/saved-materials.js +8 -51
- package/dist/src/scripts.d.ts +1 -1
- package/dist/src/scripts.js +15 -15
- package/dist/src/sdk-contracts.js +2 -2
- package/dist/src/sdk.js +8 -8
- package/dist/src/sevenzip.js +1 -3
- package/dist/src/strace.js +0 -3
- package/dist/src/string-anchors.d.ts +2 -3
- package/dist/src/string-anchors.js +8 -101
- package/dist/src/text-window.d.ts +5 -4
- package/dist/src/text-window.js +4 -4
- package/dist/src/tool-runtime/archives.d.ts +1 -1
- package/dist/src/tool-runtime/archives.js +11 -20
- package/dist/src/tool-runtime/catalog.js +2 -5
- package/dist/src/tool-runtime/commands.js +1 -3
- package/dist/src/tool-runtime/deadline.js +2 -7
- package/dist/src/tool-runtime/definition.js +1 -31
- package/dist/src/tool-runtime/identity.js +6 -87
- package/dist/src/tool-runtime/installer.d.ts +2 -6
- package/dist/src/tool-runtime/installer.js +14 -76
- package/dist/src/tool-runtime/java-arguments.js +4 -10
- package/dist/src/tool-runtime/launch-worker.js +2 -8
- package/dist/src/tool-runtime/run.d.ts +2 -0
- package/dist/src/tool-runtime/run.js +20 -8
- package/dist/src/tool-runtime/store.d.ts +3 -3
- package/dist/src/tool-runtime/store.js +21 -83
- package/dist/src/tool-runtime/supervisor.d.ts +6 -11
- package/dist/src/tool-runtime/supervisor.js +155 -214
- package/dist/src/tool-runtime/windows-helper.d.ts +5 -0
- package/dist/src/tool-runtime/windows-helper.js +13 -0
- package/dist/src/tool-runtime/windows-job.d.ts +5 -5
- package/dist/src/tool-runtime/windows-job.js +13 -31
- package/dist/src/tshark.js +14 -27
- package/dist/src/ui-results.d.ts +3 -2
- package/dist/src/ui-results.js +16 -53
- package/dist/src/ui.d.ts +12 -13
- package/dist/src/ui.js +32 -70
- package/dist/src/version-tracking.d.ts +25 -39
- package/dist/src/version-tracking.js +70 -174
- package/dist/src/windbg.d.ts +1 -1
- package/dist/src/windbg.js +2 -8
- package/dist/src/work/client.d.ts +63 -0
- package/dist/src/work/client.js +163 -0
- package/dist/src/work/commands.d.ts +3 -1
- package/dist/src/work/commands.js +158 -184
- package/dist/src/work/dashboard.d.ts +2 -2
- package/dist/src/work/dashboard.js +7 -8
- package/dist/src/work/legacy.d.ts +8 -0
- package/dist/src/work/legacy.js +70 -0
- package/dist/src/work/model.d.ts +0 -3
- package/dist/src/work/model.js +0 -10
- package/dist/src/work/timing.d.ts +3 -3
- package/dist/src/work/timing.js +21 -25
- package/dist/src/workspace.d.ts +4 -250
- package/dist/src/workspace.js +11 -699
- package/node_modules/@eyeauras/cli-factory/README.md +6 -0
- package/node_modules/@eyeauras/cli-factory/dist/src/cli.d.ts.map +1 -1
- package/node_modules/@eyeauras/cli-factory/dist/src/cli.js +76 -28
- package/node_modules/@eyeauras/cli-factory/dist/src/cli.js.map +1 -1
- package/node_modules/@eyeauras/cli-factory/dist/src/command.d.ts +1 -1
- package/node_modules/@eyeauras/cli-factory/dist/src/command.d.ts.map +1 -1
- package/node_modules/@eyeauras/cli-factory/dist/src/command.js +1 -0
- package/node_modules/@eyeauras/cli-factory/dist/src/command.js.map +1 -1
- package/node_modules/@eyeauras/cli-factory/dist/src/errors.d.ts +1 -1
- package/node_modules/@eyeauras/cli-factory/dist/src/errors.d.ts.map +1 -1
- package/node_modules/@eyeauras/cli-factory/dist/src/errors.js +18 -6
- package/node_modules/@eyeauras/cli-factory/dist/src/errors.js.map +1 -1
- package/node_modules/@eyeauras/cli-factory/dist/src/file-publication.d.ts +44 -0
- package/node_modules/@eyeauras/cli-factory/dist/src/file-publication.d.ts.map +1 -0
- package/node_modules/@eyeauras/cli-factory/dist/src/{profile-file.js → file-publication.js} +41 -113
- package/node_modules/@eyeauras/cli-factory/dist/src/file-publication.js.map +1 -0
- package/node_modules/@eyeauras/cli-factory/dist/src/help.d.ts +5 -0
- package/node_modules/@eyeauras/cli-factory/dist/src/help.d.ts.map +1 -0
- package/node_modules/@eyeauras/cli-factory/dist/src/help.js +17 -0
- package/node_modules/@eyeauras/cli-factory/dist/src/help.js.map +1 -0
- package/node_modules/@eyeauras/cli-factory/dist/src/index.d.ts +9 -4
- package/node_modules/@eyeauras/cli-factory/dist/src/index.d.ts.map +1 -1
- package/node_modules/@eyeauras/cli-factory/dist/src/index.js +5 -2
- package/node_modules/@eyeauras/cli-factory/dist/src/index.js.map +1 -1
- package/node_modules/@eyeauras/cli-factory/dist/src/json-rpc.d.ts.map +1 -1
- package/node_modules/@eyeauras/cli-factory/dist/src/json-rpc.js +11 -18
- package/node_modules/@eyeauras/cli-factory/dist/src/json-rpc.js.map +1 -1
- package/node_modules/@eyeauras/cli-factory/dist/src/output-write.d.ts +10 -0
- package/node_modules/@eyeauras/cli-factory/dist/src/output-write.d.ts.map +1 -0
- package/node_modules/@eyeauras/cli-factory/dist/src/output-write.js +69 -0
- package/node_modules/@eyeauras/cli-factory/dist/src/output-write.js.map +1 -0
- package/node_modules/@eyeauras/cli-factory/dist/src/output.d.ts +3 -1
- package/node_modules/@eyeauras/cli-factory/dist/src/output.d.ts.map +1 -1
- package/node_modules/@eyeauras/cli-factory/dist/src/output.js +74 -14
- package/node_modules/@eyeauras/cli-factory/dist/src/output.js.map +1 -1
- package/node_modules/@eyeauras/cli-factory/dist/src/pagination.d.ts +3 -0
- package/node_modules/@eyeauras/cli-factory/dist/src/pagination.d.ts.map +1 -0
- package/node_modules/@eyeauras/cli-factory/dist/src/pagination.js +9 -0
- package/node_modules/@eyeauras/cli-factory/dist/src/pagination.js.map +1 -0
- package/node_modules/@eyeauras/cli-factory/dist/src/permissions.d.ts.map +1 -1
- package/node_modules/@eyeauras/cli-factory/dist/src/permissions.js +3 -1
- package/node_modules/@eyeauras/cli-factory/dist/src/permissions.js.map +1 -1
- package/node_modules/@eyeauras/cli-factory/dist/src/stream-result.d.ts +16 -0
- package/node_modules/@eyeauras/cli-factory/dist/src/stream-result.d.ts.map +1 -0
- package/node_modules/@eyeauras/cli-factory/dist/src/stream-result.js +83 -0
- package/node_modules/@eyeauras/cli-factory/dist/src/stream-result.js.map +1 -0
- package/node_modules/@eyeauras/cli-factory/dist/src/types.d.ts +5 -0
- package/node_modules/@eyeauras/cli-factory/dist/src/types.d.ts.map +1 -1
- package/node_modules/@eyeauras/cli-factory/dist/src/view.d.ts +49 -7
- package/node_modules/@eyeauras/cli-factory/dist/src/view.d.ts.map +1 -1
- package/node_modules/@eyeauras/cli-factory/dist/src/view.js +83 -6
- package/node_modules/@eyeauras/cli-factory/dist/src/view.js.map +1 -1
- package/node_modules/@eyeauras/cli-factory/package.json +1 -1
- package/node_modules/@eyeauras/cli-factory-ipc/dist/cli-host.proto +19 -19
- package/node_modules/@eyeauras/cli-factory-ipc/dist/src/build.d.ts +7 -1
- package/node_modules/@eyeauras/cli-factory-ipc/dist/src/build.d.ts.map +1 -1
- package/node_modules/@eyeauras/cli-factory-ipc/dist/src/build.js +9 -4
- package/node_modules/@eyeauras/cli-factory-ipc/dist/src/build.js.map +1 -1
- package/node_modules/@eyeauras/cli-factory-ipc/dist/src/host.d.ts.map +1 -1
- package/node_modules/@eyeauras/cli-factory-ipc/dist/src/host.js +5 -4
- package/node_modules/@eyeauras/cli-factory-ipc/dist/src/host.js.map +1 -1
- package/node_modules/@eyeauras/cli-factory-ipc/dist/src/package-build.d.ts +11 -1
- package/node_modules/@eyeauras/cli-factory-ipc/dist/src/package-build.d.ts.map +1 -1
- package/node_modules/@eyeauras/cli-factory-ipc/dist/src/package-build.js +85 -57
- package/node_modules/@eyeauras/cli-factory-ipc/dist/src/package-build.js.map +1 -1
- package/node_modules/@eyeauras/cli-factory-ipc/package.json +2 -2
- package/package.json +4 -5
- package/references/native/InsightAnalyzerOptions.java +10 -0
- package/references/native/InsightAnchorScan.java +1 -11
- package/references/native/InsightCodeReferences.java +2 -3
- package/references/native/InsightCopyType.java +24 -0
- package/references/native/InsightFunctionBoundaries.java +0 -1
- package/references/native/InsightFunctionDatabases.java +20 -16
- package/references/native/InsightHelperCall.java +17 -0
- package/references/native/InsightHubServer.java +214 -0
- package/references/native/InsightNativeHost.java +112 -0
- package/references/native/InsightPlugins.java +0 -1
- package/references/native/InsightPythonWheels.java +3 -2
- package/references/native/InsightResearchQueries.java +3 -4
- package/references/native/InsightResearchView.java +4 -10
- package/references/native/InsightSdkFiles.java +7 -15
- package/references/native/InsightSdkScript.java +1 -4
- package/references/native/InsightSdkTools.java +36 -97
- package/references/native/InsightSdkTypes.java +13 -43
- package/references/native/InsightStringAnchors.java +1 -3
- package/references/native/InsightTraceState.java +13 -96
- package/references/native/InsightTraceTools.java +3 -5
- package/references/native/InsightVersionTracking.java +0 -6
- package/references/native/{HeadlessProgramMergeManager.java → InsightWcMerge.java} +17 -24
- package/references/native/InsightWcOps.java +449 -0
- package/references/native/InsightWcWorker.java +142 -0
- package/references/native/NATIVE-MERGE-NOTICE.txt +4 -8
- package/runtime/GhidraMCP-7.0.0.jar +0 -0
- package/runtime/managed/insight-heap/README.md +3 -3
- package/runtime/managed/insight-managed/README.md +3 -3
- package/runtime/native/binary/README.md +5 -4
- package/runtime/native/windows/DirectoryAlias.cs +24 -0
- package/runtime/native/windows/Insight.Windows.csproj +27 -0
- package/runtime/native/windows/Native.cs +36 -0
- package/runtime/native/windows/OwnedJob.cs +86 -0
- package/runtime/native/windows/Program.cs +50 -0
- package/runtime/native/windows/RegistryRedirect.cs +42 -0
- package/runtime/native/windows/insight-windows-x64.exe +0 -0
- package/runtime/native/windows/packages.lock.json +35 -0
- package/runtime/native/windows/provenance.json +17 -0
- package/runtime/research-view.provenance.json +6 -7
- package/runtime/toolbox.json +33 -114
- package/skill-bundle/insight-artifacts/SKILL.md +5 -19
- package/skill-bundle/insight-binary/SKILL.md +5 -35
- package/skill-bundle/insight-capture/SKILL.md +5 -45
- package/skill-bundle/insight-cli/SKILL.md +6 -44
- package/skill-bundle/insight-die/SKILL.md +5 -38
- package/skill-bundle/insight-dnspy/SKILL.md +5 -54
- package/skill-bundle/insight-dotnet-dump/SKILL.md +5 -35
- package/skill-bundle/insight-dotnet-stack/SKILL.md +5 -28
- package/skill-bundle/insight-dotnet-trace/SKILL.md +5 -34
- package/skill-bundle/insight-frida/SKILL.md +5 -56
- package/skill-bundle/insight-ghidra/SKILL.md +14 -113
- package/skill-bundle/insight-ilspy/SKILL.md +5 -34
- package/skill-bundle/insight-interop/SKILL.md +5 -43
- package/skill-bundle/insight-lldb/SKILL.md +5 -43
- package/skill-bundle/insight-llvm/SKILL.md +5 -45
- package/skill-bundle/insight-managed-heap/SKILL.md +5 -32
- package/skill-bundle/insight-managed-metadata/SKILL.md +5 -41
- package/skill-bundle/insight-mitmproxy/SKILL.md +5 -51
- package/skill-bundle/insight-overview/SKILL.md +5 -68
- package/skill-bundle/insight-procmon/SKILL.md +5 -38
- package/skill-bundle/insight-re/SKILL.md +10 -127
- package/skill-bundle/insight-sevenzip/SKILL.md +5 -31
- package/skill-bundle/insight-strace/SKILL.md +5 -35
- package/skill-bundle/insight-tshark/SKILL.md +5 -38
- package/skill-bundle/insight-windbg/SKILL.md +5 -35
- package/skill-bundle/manifest.json +1 -1
- package/skills/insight-artifacts/SKILL.md +5 -19
- package/skills/insight-binary/SKILL.md +5 -35
- package/skills/insight-capture/SKILL.md +5 -45
- package/skills/insight-die/SKILL.md +5 -38
- package/skills/insight-dnspy/SKILL.md +5 -54
- package/skills/insight-dotnet-dump/SKILL.md +5 -35
- package/skills/insight-dotnet-stack/SKILL.md +5 -28
- package/skills/insight-dotnet-trace/SKILL.md +5 -34
- package/skills/insight-frida/SKILL.md +5 -56
- package/skills/insight-ghidra/SKILL.md +14 -113
- package/skills/insight-ilspy/SKILL.md +5 -34
- package/skills/insight-interop/SKILL.md +5 -43
- package/skills/insight-lldb/SKILL.md +5 -43
- package/skills/insight-llvm/SKILL.md +5 -45
- package/skills/insight-managed-heap/SKILL.md +5 -32
- package/skills/insight-managed-metadata/SKILL.md +5 -41
- package/skills/insight-mitmproxy/SKILL.md +5 -51
- package/skills/insight-overview/SKILL.md +5 -68
- package/skills/insight-procmon/SKILL.md +5 -38
- package/skills/insight-re/SKILL.md +10 -127
- package/skills/insight-sevenzip/SKILL.md +5 -31
- package/skills/insight-strace/SKILL.md +5 -35
- package/skills/insight-tshark/SKILL.md +5 -38
- package/skills/insight-windbg/SKILL.md +5 -35
- package/dist/src/administration-results.d.ts +0 -1
- package/dist/src/administration-results.js +0 -84
- package/dist/src/administration.d.ts +0 -14
- package/dist/src/administration.js +0 -134
- package/dist/src/archive-contract.d.ts +0 -6
- package/dist/src/archive-contract.js +0 -108
- package/dist/src/archive.d.ts +0 -12
- package/dist/src/archive.js +0 -116
- package/dist/src/comment-effects.d.ts +0 -3
- package/dist/src/comment-effects.js +0 -55
- package/dist/src/context-credential.d.ts +0 -18
- package/dist/src/context-credential.js +0 -44
- package/dist/src/contexts.d.ts +0 -387
- package/dist/src/contexts.js +0 -2805
- package/dist/src/coordinator.d.ts +0 -41
- package/dist/src/coordinator.js +0 -160
- package/dist/src/cross-peer.d.ts +0 -20
- package/dist/src/cross-peer.js +0 -53
- package/dist/src/data-effects.d.ts +0 -3
- package/dist/src/data-effects.js +0 -103
- package/dist/src/debugger-caller.d.ts +0 -17
- package/dist/src/debugger-caller.js +0 -129
- package/dist/src/debugger-launch.d.ts +0 -2
- package/dist/src/debugger-launch.js +0 -17
- package/dist/src/debugger-supervisor.js +0 -179
- package/dist/src/directory-identity.d.ts +0 -6
- package/dist/src/directory-identity.js +0 -45
- package/dist/src/documentation-effects.d.ts +0 -5
- package/dist/src/documentation-effects.js +0 -56
- package/dist/src/function-effects.d.ts +0 -4
- package/dist/src/function-effects.js +0 -112
- package/dist/src/ghidra-processes.d.ts +0 -6
- package/dist/src/ghidra-processes.js +0 -138
- package/dist/src/ghidra.d.ts +0 -50
- package/dist/src/ghidra.js +0 -468
- package/dist/src/initial-model.d.ts +0 -7
- package/dist/src/initial-model.js +0 -115
- package/dist/src/initial-progress.d.ts +0 -4
- package/dist/src/initial-progress.js +0 -74
- package/dist/src/inline-script.d.ts +0 -15
- package/dist/src/inline-script.js +0 -61
- package/dist/src/legacy-migration.d.ts +0 -37
- package/dist/src/legacy-migration.js +0 -238
- package/dist/src/lifecycle.d.ts +0 -77
- package/dist/src/lifecycle.js +0 -315
- package/dist/src/merge.d.ts +0 -29
- package/dist/src/merge.js +0 -66
- package/dist/src/mutation-effects.d.ts +0 -4
- package/dist/src/mutation-effects.js +0 -321
- package/dist/src/native-queries.d.ts +0 -2
- package/dist/src/native-queries.js +0 -24
- package/dist/src/native-service.d.ts +0 -40
- package/dist/src/native-service.js +0 -406
- package/dist/src/projects.d.ts +0 -31
- package/dist/src/projects.js +0 -302
- package/dist/src/prototype-cli.d.ts +0 -8
- package/dist/src/prototype-cli.js +0 -155
- package/dist/src/query-results.d.ts +0 -2
- package/dist/src/query-results.js +0 -224
- package/dist/src/research-view.d.ts +0 -6
- package/dist/src/research-view.js +0 -9
- package/dist/src/sdk-files.d.ts +0 -29
- package/dist/src/sdk-files.js +0 -249
- package/dist/src/server.d.ts +0 -102
- package/dist/src/server.js +0 -663
- package/dist/src/storage-gc.d.ts +0 -23
- package/dist/src/storage-gc.js +0 -600
- package/dist/src/store.d.ts +0 -33
- package/dist/src/store.js +0 -178
- package/dist/src/sync-policy.d.ts +0 -22
- package/dist/src/sync-policy.js +0 -129
- package/dist/src/timed-backend.d.ts +0 -3
- package/dist/src/timed-backend.js +0 -24
- package/dist/src/timing-report.d.ts +0 -32
- package/dist/src/timing-report.js +0 -74
- package/dist/src/tool-runtime/native-process-proof.d.ts +0 -2
- package/dist/src/tool-runtime/native-process-proof.js +0 -26
- package/dist/src/transport.d.ts +0 -60
- package/dist/src/transport.js +0 -223
- package/dist/src/unresolved-guidance.d.ts +0 -46
- package/dist/src/unresolved-guidance.js +0 -55
- package/dist/src/work/backup.d.ts +0 -66
- package/dist/src/work/backup.js +0 -446
- package/dist/src/work/store.js +0 -1107
- package/dist/src/worker-lease.d.ts +0 -17
- package/dist/src/worker-lease.js +0 -50
- package/node_modules/@eyeauras/cli-factory/dist/src/profile-file.d.ts +0 -37
- package/node_modules/@eyeauras/cli-factory/dist/src/profile-file.d.ts.map +0 -1
- package/node_modules/@eyeauras/cli-factory/dist/src/profile-file.js.map +0 -1
- package/references/InsightRepositoryProbe.java +0 -55
- package/references/administration.md +0 -34
- package/references/agent-execution.md +0 -36
- package/references/agent-setup.md +0 -60
- package/references/archive.md +0 -32
- package/references/artifacts.md +0 -52
- package/references/debugger.md +0 -64
- package/references/extensions-and-sync.md +0 -125
- package/references/ilspy.md +0 -33
- package/references/managed-runtime.md +0 -162
- package/references/native/InsightArchivePayloads.java +0 -36
- package/references/native/InsightBlockTransfer.java +0 -57
- package/references/native/InsightGuiMain.java +0 -33
- package/references/native/InsightHeadlessMain.java +0 -18
- package/references/native/InsightImportProgress.java +0 -60
- package/references/native/InsightInitialImport.java +0 -48
- package/references/native/InsightInitialJournal.java +0 -57
- package/references/native/InsightInitialPublication.java +0 -142
- package/references/native/InsightInitialRecovery.java +0 -131
- package/references/native/InsightInlineExecutor.java +0 -143
- package/references/native/InsightInlineScript.java +0 -14
- package/references/native/InsightNativeCheckout.java +0 -487
- package/references/native/InsightNativeFingerprint.java +0 -80
- package/references/native/InsightNativeMigration.java +0 -155
- package/references/native/InsightNativeRead.java +0 -80
- package/references/native/InsightNativeReceipt.java +0 -31
- package/references/native/InsightNativeService.java +0 -43
- package/references/native/InsightNativeView.java +0 -40
- package/references/native/InsightOfflineAuthenticator.java +0 -20
- package/references/native/InsightOwnedScripts.java +0 -170
- package/references/native/InsightProjectFiles.java +0 -92
- package/references/native/InsightPublicationRecovery.java +0 -63
- package/references/native/InsightServerAdministration.java +0 -82
- package/references/native/InsightServerInit.java +0 -62
- package/references/native/InsightServerMain.java +0 -43
- package/references/native/InsightServerProbe.java +0 -29
- package/references/native/InsightSnapshotFields.java +0 -74
- package/references/native/InsightSnapshotInspect.java +0 -191
- package/references/native/InsightSnapshotPublisher.java +0 -123
- package/references/native/InsightStopDebugger.java +0 -20
- package/references/native/InsightTraceInspect.java +0 -24
- package/references/native/InsightWorkerLease.java +0 -132
- package/references/native-workflows.md +0 -124
- package/references/persistent-client.mjs +0 -147
- package/references/persistent.md +0 -90
- package/references/query-semantics.md +0 -109
- package/references/recovery.md +0 -235
- package/references/research.md +0 -296
- package/references/setup.md +0 -135
- package/references/sparse-navigation.md +0 -173
- package/references/storage.md +0 -139
- package/references/work-tracking.md +0 -261
- package/runtime/native/file-version.ps1 +0 -7
- package/runtime/native/mitmproxy/bridge.py +0 -180
- package/runtime/native/windows-job/DirectoryAlias.cs +0 -24
- package/runtime/native/windows-job/Insight.WindowsJob.csproj +0 -1
- package/runtime/native/windows-job/Insight.WindowsJob.dll +0 -0
- package/runtime/native/windows-job/OwnedJob.cs +0 -79
- package/runtime/native/windows-job/RegistryRedirect.cs +0 -45
- package/runtime/native/windows-job/packages.lock.json +0 -21
- package/runtime/native/windows-job/provenance.json +0 -16
- package/runtime/native/windows-job/windows-job.ps1 +0 -8
- package/skill-bundle/insight-artifacts/references/agent-execution.md +0 -36
- package/skill-bundle/insight-artifacts/references/artifacts.md +0 -52
- package/skill-bundle/insight-artifacts/references/recovery.md +0 -235
- package/skill-bundle/insight-artifacts/references/storage.md +0 -139
- package/skill-bundle/insight-binary/references/agent-execution.md +0 -36
- package/skill-bundle/insight-capture/references/agent-execution.md +0 -36
- package/skill-bundle/insight-cli/references/agent-execution.md +0 -36
- package/skill-bundle/insight-cli/references/agent-setup.md +0 -60
- package/skill-bundle/insight-cli/references/archive.md +0 -32
- package/skill-bundle/insight-cli/references/managed-runtime.md +0 -162
- package/skill-bundle/insight-cli/references/persistent-client.mjs +0 -147
- package/skill-bundle/insight-cli/references/persistent.md +0 -90
- package/skill-bundle/insight-cli/references/recovery.md +0 -235
- package/skill-bundle/insight-cli/references/setup.md +0 -135
- package/skill-bundle/insight-cli/references/storage.md +0 -139
- package/skill-bundle/insight-die/references/agent-execution.md +0 -36
- package/skill-bundle/insight-dnspy/references/agent-execution.md +0 -36
- package/skill-bundle/insight-dotnet-dump/references/agent-execution.md +0 -36
- package/skill-bundle/insight-dotnet-stack/references/agent-execution.md +0 -36
- package/skill-bundle/insight-dotnet-trace/references/agent-execution.md +0 -36
- package/skill-bundle/insight-frida/references/agent-execution.md +0 -36
- package/skill-bundle/insight-ghidra/references/administration.md +0 -34
- package/skill-bundle/insight-ghidra/references/agent-execution.md +0 -36
- package/skill-bundle/insight-ghidra/references/archive.md +0 -32
- package/skill-bundle/insight-ghidra/references/artifacts.md +0 -52
- package/skill-bundle/insight-ghidra/references/debugger.md +0 -64
- package/skill-bundle/insight-ghidra/references/extensions-and-sync.md +0 -125
- package/skill-bundle/insight-ghidra/references/managed-runtime.md +0 -162
- package/skill-bundle/insight-ghidra/references/native-workflows.md +0 -124
- package/skill-bundle/insight-ghidra/references/persistent-client.mjs +0 -147
- package/skill-bundle/insight-ghidra/references/persistent.md +0 -90
- package/skill-bundle/insight-ghidra/references/query-semantics.md +0 -109
- package/skill-bundle/insight-ghidra/references/recovery.md +0 -235
- package/skill-bundle/insight-ghidra/references/research.md +0 -296
- package/skill-bundle/insight-ghidra/references/setup.md +0 -135
- package/skill-bundle/insight-ghidra/references/sparse-navigation.md +0 -173
- package/skill-bundle/insight-ghidra/references/storage.md +0 -139
- package/skill-bundle/insight-ilspy/references/agent-execution.md +0 -36
- package/skill-bundle/insight-ilspy/references/ilspy.md +0 -33
- package/skill-bundle/insight-interop/references/agent-execution.md +0 -36
- package/skill-bundle/insight-lldb/references/agent-execution.md +0 -36
- package/skill-bundle/insight-llvm/references/agent-execution.md +0 -36
- package/skill-bundle/insight-managed-heap/references/agent-execution.md +0 -36
- package/skill-bundle/insight-managed-metadata/references/agent-execution.md +0 -36
- package/skill-bundle/insight-mitmproxy/references/agent-execution.md +0 -36
- package/skill-bundle/insight-overview/references/agent-execution.md +0 -36
- package/skill-bundle/insight-procmon/references/agent-execution.md +0 -36
- package/skill-bundle/insight-re/references/agent-execution.md +0 -36
- package/skill-bundle/insight-re/references/artifacts.md +0 -52
- package/skill-bundle/insight-re/references/persistent-client.mjs +0 -147
- package/skill-bundle/insight-re/references/persistent.md +0 -90
- package/skill-bundle/insight-re/references/recovery.md +0 -235
- package/skill-bundle/insight-re/references/storage.md +0 -139
- package/skill-bundle/insight-re/references/work-tracking.md +0 -261
- package/skill-bundle/insight-sevenzip/references/agent-execution.md +0 -36
- package/skill-bundle/insight-strace/references/agent-execution.md +0 -36
- package/skill-bundle/insight-tshark/references/agent-execution.md +0 -36
- package/skill-bundle/insight-windbg/references/agent-execution.md +0 -36
- package/skills/insight-artifacts/references/agent-execution.md +0 -36
- package/skills/insight-artifacts/references/artifacts.md +0 -52
- package/skills/insight-artifacts/references/recovery.md +0 -235
- package/skills/insight-artifacts/references/storage.md +0 -139
- package/skills/insight-binary/references/agent-execution.md +0 -36
- package/skills/insight-capture/references/agent-execution.md +0 -36
- package/skills/insight-die/references/agent-execution.md +0 -36
- package/skills/insight-dnspy/references/agent-execution.md +0 -36
- package/skills/insight-dotnet-dump/references/agent-execution.md +0 -36
- package/skills/insight-dotnet-stack/references/agent-execution.md +0 -36
- package/skills/insight-dotnet-trace/references/agent-execution.md +0 -36
- package/skills/insight-frida/references/agent-execution.md +0 -36
- package/skills/insight-ghidra/references/administration.md +0 -34
- package/skills/insight-ghidra/references/agent-execution.md +0 -36
- package/skills/insight-ghidra/references/archive.md +0 -32
- package/skills/insight-ghidra/references/artifacts.md +0 -52
- package/skills/insight-ghidra/references/debugger.md +0 -64
- package/skills/insight-ghidra/references/extensions-and-sync.md +0 -125
- package/skills/insight-ghidra/references/managed-runtime.md +0 -162
- package/skills/insight-ghidra/references/native-workflows.md +0 -124
- package/skills/insight-ghidra/references/persistent-client.mjs +0 -147
- package/skills/insight-ghidra/references/persistent.md +0 -90
- package/skills/insight-ghidra/references/query-semantics.md +0 -109
- package/skills/insight-ghidra/references/recovery.md +0 -235
- package/skills/insight-ghidra/references/research.md +0 -296
- package/skills/insight-ghidra/references/setup.md +0 -135
- package/skills/insight-ghidra/references/sparse-navigation.md +0 -173
- package/skills/insight-ghidra/references/storage.md +0 -139
- package/skills/insight-ilspy/references/agent-execution.md +0 -36
- package/skills/insight-ilspy/references/ilspy.md +0 -33
- package/skills/insight-interop/references/agent-execution.md +0 -36
- package/skills/insight-lldb/references/agent-execution.md +0 -36
- package/skills/insight-llvm/references/agent-execution.md +0 -36
- package/skills/insight-managed-heap/references/agent-execution.md +0 -36
- package/skills/insight-managed-metadata/references/agent-execution.md +0 -36
- package/skills/insight-mitmproxy/references/agent-execution.md +0 -36
- package/skills/insight-overview/references/agent-execution.md +0 -36
- package/skills/insight-procmon/references/agent-execution.md +0 -36
- package/skills/insight-re/references/agent-execution.md +0 -36
- package/skills/insight-re/references/artifacts.md +0 -52
- package/skills/insight-re/references/persistent-client.mjs +0 -147
- package/skills/insight-re/references/persistent.md +0 -90
- package/skills/insight-re/references/recovery.md +0 -235
- package/skills/insight-re/references/storage.md +0 -139
- package/skills/insight-re/references/work-tracking.md +0 -261
- package/skills/insight-sevenzip/references/agent-execution.md +0 -36
- package/skills/insight-strace/references/agent-execution.md +0 -36
- package/skills/insight-tshark/references/agent-execution.md +0 -36
- package/skills/insight-windbg/references/agent-execution.md +0 -36
- /package/dist/src/{debugger-supervisor.d.ts → native/contract.js} +0 -0
- /package/runtime/native/{windows-job → windows}/NuGet.Config +0 -0
|
@@ -3,39 +3,10 @@ name: insight-ilspy
|
|
|
3
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
4
|
---
|
|
5
5
|
|
|
6
|
-
# Insight ILSpy 0.
|
|
6
|
+
# Insight ILSpy 0.9.1
|
|
7
7
|
|
|
8
|
-
|
|
9
|
-
|
|
8
|
+
Commands: `insight-cli ilspy --help`. `insight-cli tools show ilspy --json`
|
|
9
|
+
lists tasks, inputs, platforms and readiness.
|
|
10
10
|
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
or establish runtime behavior from pseudocode alone.
|
|
14
|
-
|
|
15
|
-
1. `insight-cli ilspy status --json` checks the selected profile. If needed,
|
|
16
|
-
`insight-cli ilspy install` prepares the pinned ILSpy and private .NET runtime.
|
|
17
|
-
No machine-wide SDK is required. Use generated install help for local archives,
|
|
18
|
-
offline cache or an external executable; see [workflows](references/ilspy.md).
|
|
19
|
-
2. Start with `ilspy query <input> --json` and `--view types`, then decompile one relevant type/member,
|
|
20
|
-
inspect its IL or metadata, or enumerate resources. Use returned target identity
|
|
21
|
-
across calls/tools. `--target` reuses immutable bytes without opening Ghidra.
|
|
22
|
-
3. Text responses default to a 16000-character window. Page with `--limit-chars` and
|
|
23
|
-
`--offset-chars`; combine only pages with the same `textSha256`. The hash covers observed
|
|
24
|
-
native text, which may itself be incomplete. Save full bounded text with `--output`,
|
|
25
|
-
or extract a selected resource into new ordinary output paths.
|
|
26
|
-
Recover a full project only when the question calls for it. Distinguish recovered
|
|
27
|
-
code/names from source truth. Record commands/input identity alongside findings
|
|
28
|
-
according to project rules.
|
|
29
|
-
4. `tools processes --tool ilspy --all` shows executions and retained diagnostics.
|
|
30
|
-
Inspect partial exports after failure; choose a new output path for an intentional
|
|
31
|
-
retry. Close only owned executions; uninstall preserves external files and research.
|
|
32
|
-
|
|
33
|
-
Execution and preparation need Factory Update permission. `ilspy --help` supplies exact
|
|
34
|
-
commands/options; the [workflow reference](references/ilspy.md) covers inputs, outputs,
|
|
35
|
-
resource/project export and continuation. Save a completed project file/folder through
|
|
36
|
-
`insight-cli artifacts save` when a checkpoint is useful; it is independent of Ghidra merge.
|
|
37
|
-
|
|
38
|
-
Hash extracted resource bytes themselves; the resource-list text has a different digest
|
|
39
|
-
and is not the extracted file. For a requested checkpoint, finish the notes/recovered files,
|
|
40
|
-
save their chosen containing folder, and read back the returned saved path. Include that
|
|
41
|
-
exact path in the final handoff; do not substitute the ordinary export path or an inferred UUID.
|
|
11
|
+
Generated `--help` is the syntax authority: `insight-cli --help`, then `--help` on any group or command.
|
|
12
|
+
Detailed agent documentation is being rewritten (#165); until then rely on generated help and JSON results.
|
|
@@ -3,48 +3,10 @@ name: insight-interop
|
|
|
3
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
4
|
---
|
|
5
5
|
|
|
6
|
-
# Insight Interop 0.
|
|
6
|
+
# Insight Interop 0.9.1
|
|
7
7
|
|
|
8
|
-
|
|
9
|
-
|
|
8
|
+
Commands: `insight-cli ilspy --help`. `insight-cli tools show managed-native-linkage --json`
|
|
9
|
+
lists tasks, inputs, platforms and readiness.
|
|
10
10
|
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
addresses identify different immutable targets; preserve both hashes in the finding.
|
|
14
|
-
|
|
15
|
-
1. Read `ilspy query managed.dll --view imports --json`. Select the exact managed signature,
|
|
16
|
-
MethodDef token, declared module/entrypoint, calling convention, charset and spelling
|
|
17
|
-
flags. Drill into `--view method --method TOKEN` when needed. An absent declaration
|
|
18
|
-
does not exclude dynamic loading, generated interop, reflection or runtime resolvers.
|
|
19
|
-
2. Select candidate native files explicitly. `binary query candidate.dll --json` identifies
|
|
20
|
-
format, architecture and image base. A filename match alone is insufficient. A neutral
|
|
21
|
-
IL assembly does not select the eventual runtime architecture by itself.
|
|
22
|
-
3. Query `--view exports --filter ENTRYPOINT`, then verify the **exact** name in the returned
|
|
23
|
-
row: the filter is a substring. Keep its native target/hash, ordinal, RVA and VA. Do not
|
|
24
|
-
treat a forwarded PE export as code; follow its named library/export using another
|
|
25
|
-
explicitly supplied candidate. Ordinal imports, name decoration, charset A/W probing,
|
|
26
|
-
Mach-O leading underscores and ambiguous candidates need explicit ABI/loader evidence;
|
|
27
|
-
never silently choose a winner by stripping names or comparing addresses alone.
|
|
28
|
-
4. `ghidra open candidate.dll --session new --json` opens an isolated native context. Match
|
|
29
|
-
this returned native target identity to the file just queried. Use
|
|
30
|
-
`ghidra functions get --session S --target T --address VA --json`, then
|
|
31
|
-
`ghidra functions decompile --session S --target T --address VA --json` to inspect the
|
|
32
|
-
exact implementation candidate. An address pointing to data or an unavailable function
|
|
33
|
-
is unresolved; do not create a claimed implementation merely to finish the workflow.
|
|
34
|
-
5. Write ordinary project evidence linking the managed declaration, concrete native export,
|
|
35
|
-
scoped Ghidra function and useful behavior. Label this **static correspondence**. It
|
|
36
|
-
proves neither that this file was selected by the runtime nor that the call occurred:
|
|
37
|
-
search paths, architecture, custom resolvers and marshaling can change the actual route.
|
|
38
|
-
An authorized Frida/LLDB/dnSpy observation is separate evidence when execution is needed.
|
|
39
|
-
6. If a useful annotation belongs in the shared Ghidra model, edit the chosen session/target
|
|
40
|
-
and explicitly `ghidra merge --session S --target T`. Verify it from a new context;
|
|
41
|
-
other workers refresh explicitly and retain their local changes. Metadata/binary reads
|
|
42
|
-
have no independent merge. Checkpoint ordinary materials with `artifacts save` as useful.
|
|
43
|
-
7. Close the contexts you own. If the profile's local server belongs exclusively to this
|
|
44
|
-
investigation, stop it with `ghidra server stop` and verify `ghidra status` before stopping
|
|
45
|
-
the CLI owner. `ipc-server stop` does not stop that Ghidra server. For shared work, leave
|
|
46
|
-
server shutdown to the coordinator; never stop another worker's contexts or server.
|
|
47
|
-
|
|
48
|
-
Use each tool's dedicated packaged skill for install/status, bounds and generated help.
|
|
49
|
-
MacOS native workflow acceptance uses static Windows PE/.NET fixtures; it does not claim
|
|
50
|
-
those Windows binaries execute on macOS. Project-specific formats and tools take precedence.
|
|
11
|
+
Generated `--help` is the syntax authority: `insight-cli --help`, then `--help` on any group or command.
|
|
12
|
+
Detailed agent documentation is being rewritten (#165); until then rely on generated help and JSON results.
|
|
@@ -3,48 +3,10 @@ name: insight-lldb
|
|
|
3
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
4
|
---
|
|
5
5
|
|
|
6
|
-
# Insight LLDB 0.
|
|
6
|
+
# Insight LLDB 0.9.1
|
|
7
7
|
|
|
8
|
-
|
|
9
|
-
|
|
8
|
+
Commands: `insight-cli lldb --help`. `insight-cli tools show lldb --json`
|
|
9
|
+
lists tasks, inputs, platforms and readiness.
|
|
10
10
|
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
owned copy, captures one breakpoint observation and terminates that launch. It does not attach
|
|
14
|
-
to an existing process or resume a crashed execution.
|
|
15
|
-
|
|
16
|
-
1. `insight-cli lldb status --json` checks readiness. `lldb install` obtains our pinned
|
|
17
|
-
LLDB 23.1.3 bundle (debugger, debugserver and library) from GitHub Releases. Managed delivery
|
|
18
|
-
requires macOS 14+ ARM64. `download`, `install --archive FILE --offline`, `doctor` and
|
|
19
|
-
`uninstall` use the shared lifecycle. `install --executable /path/to/bin/lldb` selects
|
|
20
|
-
an external compatible bundle with its adjacent bin/debugserver and lib directory;
|
|
21
|
-
these dependencies are fingerprinted. External files and research survive uninstall.
|
|
22
|
-
2. Start from static evidence identifying the relevant function and a useful input.
|
|
23
|
-
`insight-cli lldb inspect INPUT --breakpoint FUNCTION --step-out --json` records arguments,
|
|
24
|
-
registers, backtrace and the return from that call. `--target ID` reuses a captured input.
|
|
25
|
-
Only a native thin ARM64 Mach-O is supported here; a Windows PE imported into Ghidra cannot run
|
|
26
|
-
on this host. An optimized/stripped binary may omit names, arguments or source variables.
|
|
27
|
-
`--symbols FILE` captures a matching DWARF file from a dSYM bundle and loads it before launch.
|
|
28
|
-
`--variables` explicitly requests locals when debug information is available; without it
|
|
29
|
-
registers/backtraces remain useful for stripped code. Moving an executable alone does not
|
|
30
|
-
retain its adjacent dSYM.
|
|
31
|
-
3. `--hit N` skips earlier calls; compare calls around the relevant boundary. `--arg` supplies
|
|
32
|
-
literal program arguments without shell expansion. Backticks are rejected because LLDB uses them
|
|
33
|
-
for expression substitution. `--registers pc,sp,x0` selects registers.
|
|
34
|
-
`--memory-address '$sp' --memory-bytes 64` records a bounded memory window. A `0x` breakpoint
|
|
35
|
-
is a file address; memory addresses and printed pointers are runtime addresses affected by
|
|
36
|
-
ASLR. Establish correspondence before combining them with static analysis.
|
|
37
|
-
4. A snapshot proves one observed path and input, not all possible behavior. `--limit` and
|
|
38
|
-
`--offset` page native lines. `--output research/snapshot.json` saves the full bounded
|
|
39
|
-
snapshot to a new ordinary file, creating parents. Raw diagnostics remain under the
|
|
40
|
-
returned process directory. Preserve useful files with `artifacts save` when appropriate.
|
|
41
|
-
5. The deadline (default 30 seconds, up to 600) survives owner loss. LLDB is configured to
|
|
42
|
-
kill its inferior on debugger connection loss. `tools processes --tool lldb --all` shows
|
|
43
|
-
history; stop/kill applies to verified owned collectors. After an owner crash a live
|
|
44
|
-
recovered macOS PID may be unverified: wait for its kernel deadline, inspect retained
|
|
45
|
-
records and do not replay an execution blindly. Observed exit after loss means an unknown
|
|
46
|
-
result, not a completed snapshot. Init files are disabled; no arbitrary debugger script
|
|
47
|
-
or expression evaluation is exposed by this facade.
|
|
48
|
-
|
|
49
|
-
Generated `lldb inspect --help` owns exact syntax. No Ghidra session or merge is required;
|
|
50
|
-
these are runtime observations to corroborate static research.
|
|
11
|
+
Generated `--help` is the syntax authority: `insight-cli --help`, then `--help` on any group or command.
|
|
12
|
+
Detailed agent documentation is being rewritten (#165); until then rely on generated help and JSON results.
|
|
@@ -3,50 +3,10 @@ name: insight-llvm
|
|
|
3
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
4
|
---
|
|
5
5
|
|
|
6
|
-
# Insight LLVM 0.
|
|
6
|
+
# Insight LLVM 0.9.1
|
|
7
7
|
|
|
8
|
-
|
|
9
|
-
|
|
8
|
+
Commands: `insight-cli llvm --help`. `insight-cli tools show llvm --json`
|
|
9
|
+
lists tasks, inputs, platforms and readiness.
|
|
10
10
|
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
control flow, decompilation or persistent annotations.
|
|
14
|
-
|
|
15
|
-
1. `insight-cli llvm status --json` checks readiness. `llvm install` prepares the pinned
|
|
16
|
-
four-utility bundle from our GitHub Release; `--archive` and `--offline` support local
|
|
17
|
-
installation. Managed LLVM 23.1.3 requires macOS 14+ ARM64. `--executable` selects an
|
|
18
|
-
external llvm-readobj with compatible llvm-nm, llvm-objdump and llvm-pdbutil siblings.
|
|
19
|
-
The whole known external family is fingerprinted; uninstall preserves external files.
|
|
20
|
-
2. Use `llvm headers INPUT`, `sections`, `imports`, `exports` or `symbols` for focused
|
|
21
|
-
inventories. Reuse `--target` instead of INPUT for the same immutable bytes. Stripped
|
|
22
|
-
images can have no ordinary symbols; that does not prove there are no functions.
|
|
23
|
-
`symbols` includes local/static definitions; these are not automatically exported APIs.
|
|
24
|
-
For ELF, `exports` uses the dynamic symbol table while `symbols` uses ordinary symbols.
|
|
25
|
-
3. For a supplied PDB, start with `llvm pdb FILE --view summary` and `--view modules`.
|
|
26
|
-
Use `--view globals --symbol NAME` for a named global, `--view publics` for public
|
|
27
|
-
addresses, or `--view symbols --module INDEX` for procedure/local records. `--view types`
|
|
28
|
-
gives statistics until `--type-index 0xINDEX` selects a particular record. PDB symbol
|
|
29
|
-
addresses are section:offset pairs: combine the corresponding image section RVA and
|
|
30
|
-
image base from headers/sections; they are not file offsets. In pdbutil these padded
|
|
31
|
-
section:offset numbers are decimal (an explicit `0x` elsewhere means hexadecimal).
|
|
32
|
-
4. `llvm disassemble IMAGE --address 0xVIRTUAL_ADDRESS --bytes 128` returns a bounded
|
|
33
|
-
instruction interval. Distinguish static virtual addresses, RVAs and file offsets;
|
|
34
|
-
runtime load bias is not established by these static commands. If the instructions load
|
|
35
|
-
constants from a section, use `llvm section-data IMAGE --section NAME` and the section
|
|
36
|
-
address/endianness to inspect their actual values. The complete section must fit the
|
|
37
|
-
4-MiB native-output bound; oversized sections fail explicitly and need another focused
|
|
38
|
-
binary-reading tool rather than an assumed complete result.
|
|
39
|
-
5. Keep useful output in the project's format. Text views page with `--limit`/`--offset`;
|
|
40
|
-
`--filter` selects matching native lines and can omit surrounding context. `--output`
|
|
41
|
-
writes full bounded native text to a new file, creating missing parent directories.
|
|
42
|
-
Use focused PDB/module/type queries instead of asking for every symbol or instruction.
|
|
43
|
-
|
|
44
|
-
The four upstream executables supply native text inside our JSON envelope. In particular,
|
|
45
|
-
upstream readobj JSON output is not treated as a reliable structured COFF contract. ELF
|
|
46
|
-
imports show needed libraries and undefined dynamic symbols; Mach-O imports show dylibs and
|
|
47
|
-
undefined symbols. This is static linkage evidence, not proof of observed runtime calls.
|
|
48
|
-
|
|
49
|
-
These calls need Update permission to capture input and run tools. Generated `--help` owns
|
|
50
|
-
exact syntax. `tools processes --tool llvm --all` and `show <id>` retain execution diagnostics;
|
|
51
|
-
failed/limited output is not a complete inventory. Save completed ordinary files through
|
|
52
|
-
`artifacts save` when a checkpoint is useful.
|
|
11
|
+
Generated `--help` is the syntax authority: `insight-cli --help`, then `--help` on any group or command.
|
|
12
|
+
Detailed agent documentation is being rewritten (#165); until then rely on generated help and JSON results.
|
|
@@ -3,37 +3,10 @@ name: insight-managed-heap
|
|
|
3
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
4
|
---
|
|
5
5
|
|
|
6
|
-
# Insight Managed Heap 0.
|
|
6
|
+
# Insight Managed Heap 0.9.1
|
|
7
7
|
|
|
8
|
-
|
|
9
|
-
|
|
8
|
+
Commands: `insight-cli dotnet-dump --help`. `insight-cli tools show managed-heap --json`
|
|
9
|
+
lists tasks, inputs, platforms and readiness.
|
|
10
10
|
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
process, evaluates target expressions or downloads symbols/dependencies.
|
|
14
|
-
|
|
15
|
-
1. Use `dotnet-dump status` and `dotnet-dump install` for the existing private .NET runtime.
|
|
16
|
-
No compiler/SDK is needed. Native acceptance is macOS ARM64 CoreCLR only.
|
|
17
|
-
2. `dotnet-dump query worker.dmp --json` identifies the dump architecture, CLR runtime and
|
|
18
|
-
heap availability. The managed default DAC is 10.0.13. A different runtime needs an
|
|
19
|
-
explicitly trusted matching `--dac-file /runtime/libmscordaccore.dylib`; matching OS,
|
|
20
|
-
architecture and runtime are required. An external diagnostics selection also needs
|
|
21
|
-
`--dotnet-host /runtime/dotnet`. Mismatch fails; it is never silently ignored.
|
|
22
|
-
3. `dotnet-dump query --target TARGET --view objects --type Exact.Type --json` lists object
|
|
23
|
-
addresses and sizes. Heap/Full dumps are normally needed. `--max-objects` bounds scanning;
|
|
24
|
-
a reached bound means partial prefix coverage, never proof that a type is absent.
|
|
25
|
-
4. Drill down with `--view object --address 0xADDRESS --type Exact.Type`. Addresses belong
|
|
26
|
-
only to that exact dump. Primitive fields and up to 256 string characters are returned;
|
|
27
|
-
reference fields supply an address for another explicit query. Structs, unreadable
|
|
28
|
-
memory and unsupported field values remain unavailable, without expression evaluation.
|
|
29
|
-
64-bit numeric values and pointers are strings to preserve precision.
|
|
30
|
-
5. `--view stacks` returns managed frames; `--thread OS_THREAD_ID` focuses one dump thread.
|
|
31
|
-
Each selected stack is bounded to 128 frames. A dump is a snapshot, not proof that a
|
|
32
|
-
frame is still executing or consuming CPU. Missing code/symbols can leave methods unknown.
|
|
33
|
-
6. `--limit`/`--offset` page objects, fields or threads. `--output research/query.json` saves
|
|
34
|
-
this bounded result to a new ordinary JSON file; preserve partial flags in project notes.
|
|
35
|
-
Checkpoint selected evidence with `artifacts save` when useful. Removing the diagnostics
|
|
36
|
-
runtime preserves immutable dump inputs and saved research.
|
|
37
|
-
|
|
38
|
-
Generated `dotnet-dump query --help` owns options. Existing `analyze --command` remains useful
|
|
39
|
-
for focused native SOS text, but SOS output errors are not successful object findings.
|
|
11
|
+
Generated `--help` is the syntax authority: `insight-cli --help`, then `--help` on any group or command.
|
|
12
|
+
Detailed agent documentation is being rewritten (#165); until then rely on generated help and JSON results.
|
|
@@ -3,46 +3,10 @@ name: insight-managed-metadata
|
|
|
3
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
4
|
---
|
|
5
5
|
|
|
6
|
-
# Insight Managed Metadata 0.
|
|
6
|
+
# Insight Managed Metadata 0.9.1
|
|
7
7
|
|
|
8
|
-
|
|
9
|
-
|
|
8
|
+
Commands: `insight-cli ilspy --help`. `insight-cli tools show managed-metadata --json`
|
|
9
|
+
lists tasks, inputs, platforms and readiness.
|
|
10
10
|
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
dnlib is a packaged implementation library, not another application to install.
|
|
14
|
-
|
|
15
|
-
1. Use the existing `ilspy status` and `ilspy install` for its private .NET 10 runtime.
|
|
16
|
-
With an external ILSpy selection, supply a compatible explicit `--dotnet-host`.
|
|
17
|
-
No SDK/compiler is needed on the consumer machine.
|
|
18
|
-
2. `ilspy query app.dll --json` gives assembly identity, metadata runtime/framework hints,
|
|
19
|
-
type/method/import counts and bounded references/resources. Metadata runtime version
|
|
20
|
-
is not the required execution runtime; the framework attribute may be absent or forged.
|
|
21
|
-
3. For a method question, start with
|
|
22
|
-
`ilspy query app.dll --view methods --name-filter TERM --limit 10 --json`.
|
|
23
|
-
This case-insensitive short-name search returns exact names/tokens and excludes
|
|
24
|
-
declaring namespaces, types and parameter/return signatures. It also selects managed
|
|
25
|
-
method names for imports, exact-method queries and compare. `--filter TEXT` retains its
|
|
26
|
-
case-sensitive full-name/signature substring behavior; a namespace term can match every
|
|
27
|
-
method. An unfiltered first/last page or shell-truncated match list cannot establish
|
|
28
|
-
absence: refine the short-name query before concluding. `--view types` and
|
|
29
|
-
`--view methods --type FULLNAME` provide bounded structural discovery. Drill down with
|
|
30
|
-
`ilspy query --target TARGET --view method --method 0x06000002 --limit 50 --json`.
|
|
31
|
-
Offsets are IL instruction offsets, not native addresses. Tokens belong to one exact
|
|
32
|
-
module SHA and may change when unrelated methods are added.
|
|
33
|
-
4. `--view imports` returns actual P/Invoke module, entrypoint, flags and managed signature.
|
|
34
|
-
A declaration is static evidence; it does not prove which file the runtime loaded or
|
|
35
|
-
that the import was invoked. Use native exports/Ghidra for static correspondence and
|
|
36
|
-
an authorized runtime observation when execution evidence is needed.
|
|
37
|
-
5. `ilspy compare before.dll after.dll --json` identifies added/removed signatures,
|
|
38
|
-
changed normalized IL/imports and reference changes. Operand names and branch/local
|
|
39
|
-
indices avoid treating metadata RID changes alone as changed code. Signature changes
|
|
40
|
-
appear as removed/added methods. Equal structure is not semantic equivalence: runtime,
|
|
41
|
-
dependency, configuration and environment changes can still affect behavior.
|
|
42
|
-
6. Inputs are bounded to 64 MiB; `--limit`/`--offset` page rows or instructions. Comparisons
|
|
43
|
-
scan at most 100000 methods; narrow a large query with `--type`/`--filter`.
|
|
44
|
-
`--output research/metadata.json` saves the current bounded result/page to a new file.
|
|
45
|
-
Use ordinary project notes and `artifacts save` when a checkpoint is useful.
|
|
46
|
-
|
|
47
|
-
Generated `ilspy query --help` and `ilspy compare --help` own exact options. Use the
|
|
48
|
-
existing decompile/IL commands when a source-style explanation is more useful than metadata.
|
|
11
|
+
Generated `--help` is the syntax authority: `insight-cli --help`, then `--help` on any group or command.
|
|
12
|
+
Detailed agent documentation is being rewritten (#165); until then rely on generated help and JSON results.
|
|
@@ -3,56 +3,10 @@ name: insight-mitmproxy
|
|
|
3
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
4
|
---
|
|
5
5
|
|
|
6
|
-
# Insight mitmproxy 0.
|
|
6
|
+
# Insight mitmproxy 0.9.1
|
|
7
7
|
|
|
8
|
-
|
|
9
|
-
|
|
8
|
+
Commands: `insight-cli mitmproxy --help`. `insight-cli tools show mitmproxy --json`
|
|
9
|
+
lists tasks, inputs, platforms and readiness.
|
|
10
10
|
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
does not intercept traffic or install a system proxy, certificate or Network Extension.
|
|
14
|
-
|
|
15
|
-
1. Check `insight-cli mitmproxy status --json`. `mitmproxy install` delivers the pinned
|
|
16
|
-
standalone runtime and full notices from our source-complete GitHub Release.
|
|
17
|
-
`download` prepares its cache; `install --archive mitmproxy-12.2.3-macos-arm64.tgz
|
|
18
|
-
--offline` uses matching local bytes. `install --executable
|
|
19
|
-
/path/mitmproxy.app/Contents/MacOS/mitmdump` selects a complete external bundle, creates an owned execution copy and
|
|
20
|
-
fingerprints its adjacent runtime. `doctor` checks the pinned version.
|
|
21
|
-
2. Start an observation window alongside the owned client:
|
|
22
|
-
`mitmproxy record --listen-port 8877 --duration-seconds 15 --output research/window.mitm
|
|
23
|
-
--json`. In another invocation, `mitmproxy status --json` reports each active capture's
|
|
24
|
-
`ready`, `endpoint`, public `caCertificate` and owned process ID. Wait for readiness;
|
|
25
|
-
then configure only the selected client to use that endpoint. The record command
|
|
26
|
-
returns after its bounded window. A client, curl or another external tool remains free
|
|
27
|
-
to run outside insight-cli. Client NO_PROXY/bypass rules can exclude a destination;
|
|
28
|
-
adjust only that client when necessary. Native stop/kill uses `tools processes stop/kill PROCESS`.
|
|
29
|
-
3. For HTTPS, the selected client must explicitly trust the returned public CA certificate
|
|
30
|
-
in its own process. An owned origin with a private CA additionally needs
|
|
31
|
-
`record --upstream-ca public-root.pem`. This copies only a public PEM certificate;
|
|
32
|
-
no global trust change occurs. TLS failures remain explicit partial observations.
|
|
33
|
-
CA private keys stay in profile storage: checkpoint the requested report/archive, not
|
|
34
|
-
the private configuration directory. Certificate pinning may prevent HTTP decoding.
|
|
35
|
-
4. `mitmproxy inspect research/window.mitm --json` gives a bounded overview.
|
|
36
|
-
`--view flows --method POST --url-contains /quote --limit 5` returns matching requests,
|
|
37
|
-
status, headers, body SHA256 and a base64 body prefix. Follow a native flow UUID with
|
|
38
|
-
`--view flow --flow-id UUID`. `--target ID` reuses immutable captured bytes; native
|
|
39
|
-
archives and HAR are read without reconnecting or replaying their requests.
|
|
40
|
-
`--output research/http.json` writes all bounded selected rows to a new ordinary file.
|
|
41
|
-
5. `mitmproxy compare before.mitm after.mitm --json` compares literal method/URL and
|
|
42
|
-
occurrence order, selected body SHA256, status and error fields. Volatile headers and
|
|
43
|
-
timestamps are excluded. Review the linked flow IDs: occurrence matching is an aid,
|
|
44
|
-
not proof that two requests had the same cause. Missing bodies and partial inputs
|
|
45
|
-
remain unknown; unmatched rows in a partial capture do not prove absence.
|
|
46
|
-
6. The proxy limits native bodies to 1 MiB each and the archive to 64 MiB. Reads accept
|
|
47
|
-
inputs up to 64 MiB; `--max-flows` bounds scan/record count to 1000. Returned bodies
|
|
48
|
-
default to 1024 bytes; `--body-bytes` can request 0–65536. The JSON report is bounded
|
|
49
|
-
to 8 MiB, and pagination follows method/URL selection. Base64 contains native raw
|
|
50
|
-
HTTP content; apply Content-Encoding separately if needed. WebSocket payload,
|
|
51
|
-
generic TCP/UDP and whole-machine absence are not claimed.
|
|
52
|
-
7. A failed/interrupted window retains its archive and diagnostics. Inspect the retained
|
|
53
|
-
bytes explicitly; a readable prefix returns `partial`. There is no automatic
|
|
54
|
-
recollection or traffic replay. `artifacts save` can retain ordinary completed files.
|
|
55
|
-
Uninstall preserves research and any external distribution.
|
|
56
|
-
|
|
57
|
-
Generated `mitmproxy ... --help` owns exact flags. Use TShark when the question needs
|
|
58
|
-
packet-level evidence rather than decoded HTTP observations.
|
|
11
|
+
Generated `--help` is the syntax authority: `insight-cli --help`, then `--help` on any group or command.
|
|
12
|
+
Detailed agent documentation is being rewritten (#165); until then rely on generated help and JSON results.
|
|
@@ -3,73 +3,10 @@ name: insight-overview
|
|
|
3
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
4
|
---
|
|
5
5
|
|
|
6
|
-
# Insight Overview 0.
|
|
6
|
+
# Insight Overview 0.9.1
|
|
7
7
|
|
|
8
|
-
|
|
9
|
-
|
|
8
|
+
Commands: `insight-cli tools --help`. `insight-cli tools show overview-drilldown --json`
|
|
9
|
+
lists tasks, inputs, platforms and readiness.
|
|
10
10
|
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
locate tasks and dedicated instructions before download. Discovery is not runtime readiness.
|
|
14
|
-
|
|
15
|
-
Start from the research question and exact input. Read metadata or an index, choose one
|
|
16
|
-
function/type/object/event/stream, then request its evidence. Keep ordinary full files
|
|
17
|
-
outside conversation when useful; `--output` does not mean paste the entire file into context.
|
|
18
|
-
Do not `cat` a large saved index or class after writing it. Filter it on disk with `jq`/`rg`
|
|
19
|
-
and print only the selected identity or excerpt. Size the next read from the overview counts.
|
|
20
|
-
|
|
21
|
-
For a managed-method question, use a short-name query before exporting a large index:
|
|
22
|
-
|
|
23
|
-
```sh
|
|
24
|
-
insight-cli ilspy query INPUT --view methods --name-filter KEYWORD --limit 10 --json
|
|
25
|
-
insight-cli ilspy decompile --target TARGET --member METHODDEF_TOKEN --limit-chars 2000 --json
|
|
26
|
-
```
|
|
27
|
-
|
|
28
|
-
Choose KEYWORD from the research question; it matches the short method name
|
|
29
|
-
case-insensitively, excluding namespaces/types/signatures. The response supplies the
|
|
30
|
-
exact target and MethodDef token for the second call. If no method matches, broaden the
|
|
31
|
-
term or inspect a bounded type/method page; that search alone does not prove global absence.
|
|
32
|
-
`--filter` instead matches the case-sensitive full signature, so a namespace term may
|
|
33
|
-
match every method. Do not replace a focused query with that broad match, a whole-class
|
|
34
|
-
read or the first/last rows of a shell-truncated result. Refine the query when output is
|
|
35
|
-
truncated before drawing conclusions. Metadata counts cover the queried scope, not
|
|
36
|
-
code you have actually inspected.
|
|
37
|
-
|
|
38
|
-
| Surface | Useful overview | Focused follow-up |
|
|
39
|
-
| --- | --- | --- |
|
|
40
|
-
| Ghidra | Scoped program info, function/string/reference pages | One function signature, instruction/address interval, decompilation character window |
|
|
41
|
-
| ILSpy / managed metadata | `ilspy query` assembly counts, types and method pages | Exact type/member, MethodDef IL, imports or filtered assembly comparison |
|
|
42
|
-
| DiE | Header information and paged signature findings | Selected signatures/deeper scan; heuristic absence remains unknown |
|
|
43
|
-
| LLVM / structured binaries | Headers, section and linkage pages | One section, symbol, PDB query or bounded instruction interval |
|
|
44
|
-
| 7-Zip | Paged ordinary entry inventory | Integrity check and selected bounded regular-file extraction |
|
|
45
|
-
| .NET dump / ClrMD | Runtime/heap availability and object-type query | Exact object fields, thread stack or focused SOS command |
|
|
46
|
-
| .NET stack / trace | Paged selected process stacks or thread-time ranking | Thread/method evidence and saved trace export; sampled time is not CPU proof |
|
|
47
|
-
| LLDB | Identify the native input statically first | Authorized selected breakpoint/hit, bounded registers/memory/backtrace; this launches a program |
|
|
48
|
-
| Frida | Authorized PID's module/export pages | Selected bounded hook observation; this attaches to a running process |
|
|
49
|
-
| WinDbg | Retained dump overview | Thread, frames, registers, memory or disassembly window with explicit symbols |
|
|
50
|
-
| ProcMon / strace | Scoped retained summary/event pages | Selected path/category/process events; capture/trace needs its declared native authorization |
|
|
51
|
-
| dnSpy | Managed metadata first | Authorized IL-token breakpoint parameters/stack or exact expected constant edit on a new copy |
|
|
52
|
-
| TShark / mitmproxy | Immutable packet/HTTP overview | Exact frame/stream/flow and bounded body; live proxy recording is a separate opt-in action |
|
|
53
|
-
| Process capture | Retained run overview | Output byte page, declared file changes or literal report comparison; running is explicit |
|
|
54
|
-
| Artifacts | Saved file/byte counts and digest | Open the chosen ordinary file; no artificial tool install or analysis merge |
|
|
55
|
-
|
|
56
|
-
ILSpy text commands and `ghidra functions decompile` return a 16000-character window by
|
|
57
|
-
default. `--limit-chars`/`--offset-chars` count Unicode characters, not bytes, lines,
|
|
58
|
-
addresses or IL instructions. Combine pages only when `textSha256` is unchanged. That
|
|
59
|
-
hash binds the **observed native text**; `sourceTruncated` still means a native prefix.
|
|
60
|
-
Native truncation is never cleared by reaching the final page. ILSpy `--output` retains
|
|
61
|
-
the full bounded native text; Ghidra pages retain session/target/function selectors.
|
|
62
|
-
|
|
63
|
-
Other APIs declare their own coordinates: rows/events, bytes, instructions, stack frames
|
|
64
|
-
or text lines. Read their generated help instead of assuming all offsets mean the same
|
|
65
|
-
thing. A source hash mismatch means the text changed: restart the selected read or retain
|
|
66
|
-
separate observations. Runtime captures at different times are never one snapshot merely
|
|
67
|
-
because their target binary is the same.
|
|
68
|
-
|
|
69
|
-
Preserve `complete`, `truncated`, scan bounds and unknown/missing values in findings.
|
|
70
|
-
A filtered page or incomplete parser output cannot establish global absence. Static reads
|
|
71
|
-
do not observe execution; choosing a debugger or collector is an explicit runtime decision.
|
|
72
|
-
|
|
73
|
-
When a checkpoint is requested, save after the evidence files are complete, read back the
|
|
74
|
-
returned saved path, and copy that exact path into the final handoff. A successful save or
|
|
75
|
-
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.
|
|
11
|
+
Generated `--help` is the syntax authority: `insight-cli --help`, then `--help` on any group or command.
|
|
12
|
+
Detailed agent documentation is being rewritten (#165); until then rely on generated help and JSON results.
|
|
@@ -3,43 +3,10 @@ name: insight-procmon
|
|
|
3
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
4
|
---
|
|
5
5
|
|
|
6
|
-
# Insight ProcMon 0.
|
|
6
|
+
# Insight ProcMon 0.9.1
|
|
7
7
|
|
|
8
|
-
|
|
9
|
-
|
|
8
|
+
Commands: `insight-cli procmon --help`. `insight-cli tools show procmon --json`
|
|
9
|
+
lists tasks, inputs, platforms and readiness.
|
|
10
10
|
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
that PID before capturing; subprocesses are excluded. Administrator privileges are
|
|
14
|
-
required by the native driver. Use an authorized elevated terminal; an already running
|
|
15
|
-
unelevated insight-cli owner must be stopped before invoking from that terminal.
|
|
16
|
-
|
|
17
|
-
1. Check `insight-cli procmon status --json`. `procmon install --vendor-direct` explicitly
|
|
18
|
-
downloads Microsoft's pinned Process Monitor 4.12 and verifies its hash. The distribution
|
|
19
|
-
is not mirrored because Microsoft prohibits redistribution. `download --vendor-direct`
|
|
20
|
-
prepares the local cache; `install --archive FILE --offline` accepts matching local bytes.
|
|
21
|
-
`install --executable C:\tools\Procmon64.exe` selects an existing x64 executable.
|
|
22
|
-
`doctor` checks version and owner privileges. Uninstall preserves research and external files.
|
|
23
|
-
2. `insight-cli procmon observe --pid PID --duration-seconds 5 --json` records a bounded
|
|
24
|
-
interval. Add `--path "C:\research\settings.json"` for an exact file/native registry path
|
|
25
|
-
once known. Trigger the authorized application action during that interval; a completed
|
|
26
|
-
action before collection began cannot appear retroactively. No matching events means only
|
|
27
|
-
that nothing matching was retained in this interval. A successful `ReadFile` proves a read;
|
|
28
|
-
a failed open alone does not prove configuration was consumed.
|
|
29
|
-
3. Use `--limit`/`--offset` to page events or `--output research/access.json` for a new ordinary
|
|
30
|
-
JSON file. The response includes the capture `process` ID and operation counts.
|
|
31
|
-
`procmon inspect PROCESS_ID --json` reuses retained PML and a hash-verified export without
|
|
32
|
-
collecting another interval. After a timeout or interruption, inspect that retained ID;
|
|
33
|
-
incomplete data and unknown outcomes remain partial. No automatic recollection occurs.
|
|
34
|
-
4. Private PML/CSV and settings live under profile diagnostics. Our owned ProcMon uses private
|
|
35
|
-
process-local HKCU; user ProcMon settings are preserved. An existing ProcMon instance blocks
|
|
36
|
-
collection/export instead of being reused or terminated. Only our owned collector's process
|
|
37
|
-
tree is killed on owner loss/deadline. Windows driver activity is system-wide internally;
|
|
38
|
-
retained events are destructively prefiltered before capture. Other processes' events are
|
|
39
|
-
rejected by the reader if native scope cannot be verified.
|
|
40
|
-
5. Native exports are bounded to 16 MiB/100000 events and retained PML queries to 64 MiB.
|
|
41
|
-
A `partial` response, filtered event, dropped/unobserved activity or unsuccessful export is
|
|
42
|
-
not proof of absence. Keep these limits with findings. Save useful ordinary evidence through
|
|
43
|
-
`artifacts save` when appropriate; no Ghidra context or merge is required.
|
|
44
|
-
|
|
45
|
-
Generated `procmon observe --help` and `procmon inspect --help` own exact syntax.
|
|
11
|
+
Generated `--help` is the syntax authority: `insight-cli --help`, then `--help` on any group or command.
|
|
12
|
+
Detailed agent documentation is being rewritten (#165); until then rely on generated help and JSON results.
|