@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.
- package/.cli-package-build.json +1 -1
- package/README.md +25 -0
- package/SKILL.md +38 -54
- package/dist/src/binary.d.ts +3 -0
- package/dist/src/binary.js +74 -0
- package/dist/src/capture.d.ts +3 -0
- package/dist/src/capture.js +220 -0
- package/dist/src/cli.js +57 -12
- package/dist/src/contexts.d.ts +5 -0
- package/dist/src/contexts.js +42 -16
- package/dist/src/debugger-caller.d.ts +17 -0
- package/dist/src/debugger-caller.js +129 -0
- package/dist/src/debugger-launch.d.ts +2 -0
- package/dist/src/debugger-launch.js +17 -0
- package/dist/src/debugger-results.d.ts +1 -0
- package/dist/src/debugger-results.js +8 -0
- package/dist/src/debugger-supervisor.js +56 -13
- package/dist/src/debugger.js +16 -7
- package/dist/src/die.d.ts +12 -0
- package/dist/src/die.js +127 -0
- package/dist/src/dnspy-runtime.d.ts +8 -0
- package/dist/src/dnspy-runtime.js +46 -0
- package/dist/src/dnspy.d.ts +22 -0
- package/dist/src/dnspy.js +160 -0
- package/dist/src/dotnet-diagnostics.d.ts +13 -0
- package/dist/src/dotnet-diagnostics.js +101 -0
- package/dist/src/frida-worker.d.ts +1 -0
- package/dist/src/frida-worker.js +125 -0
- package/dist/src/frida.d.ts +16 -0
- package/dist/src/frida.js +125 -0
- package/dist/src/ghidra-debugger-runtime.d.ts +7 -0
- package/dist/src/ghidra-debugger-runtime.js +31 -0
- package/dist/src/ghidra-processes.d.ts +6 -0
- package/dist/src/ghidra-processes.js +121 -0
- package/dist/src/ghidra.js +6 -6
- package/dist/src/ilspy.d.ts +7 -0
- package/dist/src/ilspy.js +122 -0
- package/dist/src/lldb.d.ts +10 -0
- package/dist/src/lldb.js +99 -0
- package/dist/src/llvm.d.ts +6 -0
- package/dist/src/llvm.js +133 -0
- package/dist/src/managed-heap.d.ts +4 -0
- package/dist/src/managed-heap.js +73 -0
- package/dist/src/managed-metadata.d.ts +11 -0
- package/dist/src/managed-metadata.js +66 -0
- package/dist/src/mitmproxy.d.ts +55 -0
- package/dist/src/mitmproxy.js +172 -0
- package/dist/src/native-inputs.d.ts +3 -2
- package/dist/src/native-inputs.js +9 -4
- package/dist/src/package-version.d.ts +1 -0
- package/dist/src/package-version.js +3 -0
- package/dist/src/procmon-config.d.ts +2 -0
- package/dist/src/procmon-config.js +15 -0
- package/dist/src/procmon-events.d.ts +13 -0
- package/dist/src/procmon-events.js +82 -0
- package/dist/src/procmon.d.ts +4 -0
- package/dist/src/procmon.js +107 -0
- package/dist/src/research.d.ts +11 -2
- package/dist/src/research.js +5 -3
- package/dist/src/runtime-catalog.d.ts +5 -10
- package/dist/src/runtime-catalog.js +4 -5
- package/dist/src/runtime-manager.d.ts +27 -3
- package/dist/src/runtime-manager.js +100 -159
- package/dist/src/runtime-selection.js +21 -4
- package/dist/src/server.d.ts +13 -0
- package/dist/src/server.js +21 -45
- package/dist/src/sevenzip.d.ts +15 -0
- package/dist/src/sevenzip.js +119 -0
- package/dist/src/strace.d.ts +10 -0
- package/dist/src/strace.js +71 -0
- package/dist/src/text-window.d.ts +11 -0
- package/dist/src/text-window.js +6 -0
- package/dist/src/tool-runtime/archives.d.ts +10 -0
- package/dist/src/{runtime-archives.js → tool-runtime/archives.js} +91 -24
- package/dist/src/tool-runtime/catalog.d.ts +3 -0
- package/dist/src/tool-runtime/catalog.js +13 -0
- package/dist/src/tool-runtime/commands.d.ts +9 -0
- package/dist/src/tool-runtime/commands.js +39 -0
- package/dist/src/tool-runtime/deadline.d.ts +11 -0
- package/dist/src/tool-runtime/deadline.js +32 -0
- package/dist/src/tool-runtime/definition.d.ts +73 -0
- package/dist/src/tool-runtime/definition.js +49 -0
- package/dist/src/tool-runtime/dotnet.d.ts +4 -0
- package/dist/src/tool-runtime/dotnet.js +22 -0
- package/dist/src/tool-runtime/identity.d.ts +6 -0
- package/dist/src/tool-runtime/identity.js +50 -0
- package/dist/src/tool-runtime/installer.d.ts +101 -0
- package/dist/src/tool-runtime/installer.js +180 -0
- package/dist/src/tool-runtime/launch-worker.d.ts +1 -0
- package/dist/src/tool-runtime/launch-worker.js +58 -0
- package/dist/src/tool-runtime/run.d.ts +51 -0
- package/dist/src/tool-runtime/run.js +159 -0
- package/dist/src/tool-runtime/store.d.ts +15 -0
- package/dist/src/tool-runtime/store.js +219 -0
- package/dist/src/tool-runtime/supervisor.d.ts +57 -0
- package/dist/src/tool-runtime/supervisor.js +266 -0
- package/dist/src/tool-runtime/windows-job.d.ts +22 -0
- package/dist/src/tool-runtime/windows-job.js +43 -0
- package/dist/src/toolbox.d.ts +84 -0
- package/dist/src/toolbox.js +35 -0
- package/dist/src/tshark.d.ts +23 -0
- package/dist/src/tshark.js +174 -0
- package/dist/src/windbg.d.ts +14 -0
- package/dist/src/windbg.js +119 -0
- package/dist/src/workspace.d.ts +1 -0
- package/dist/src/workspace.js +6 -0
- package/package.json +5 -4
- package/references/agent-execution.md +36 -0
- package/references/agent-setup.md +61 -0
- package/references/artifacts.md +5 -0
- package/references/debugger.md +22 -0
- package/references/ilspy.md +33 -0
- package/references/managed-runtime.md +48 -7
- package/references/native/InsightPythonWheels.java +283 -2
- package/references/native/InsightTraceState.java +28 -13
- package/references/setup.md +2 -1
- package/runtime/managed/insight-heap/Azure.Core.dll +0 -0
- package/runtime/managed/insight-heap/Azure.Identity.dll +0 -0
- package/runtime/managed/insight-heap/Insight.Heap.csproj +1 -0
- package/runtime/managed/insight-heap/Insight.Heap.deps.json +391 -0
- package/runtime/managed/insight-heap/Insight.Heap.dll +0 -0
- package/runtime/managed/insight-heap/Insight.Heap.runtimeconfig.json +13 -0
- package/runtime/managed/insight-heap/Microsoft.Bcl.AsyncInterfaces.dll +0 -0
- package/runtime/managed/insight-heap/Microsoft.Diagnostics.NETCore.Client.dll +0 -0
- package/runtime/managed/insight-heap/Microsoft.Diagnostics.Runtime.dll +0 -0
- package/runtime/managed/insight-heap/Microsoft.Extensions.Configuration.Abstractions.dll +0 -0
- package/runtime/managed/insight-heap/Microsoft.Extensions.DependencyInjection.Abstractions.dll +0 -0
- package/runtime/managed/insight-heap/Microsoft.Extensions.Diagnostics.Abstractions.dll +0 -0
- package/runtime/managed/insight-heap/Microsoft.Extensions.FileProviders.Abstractions.dll +0 -0
- package/runtime/managed/insight-heap/Microsoft.Extensions.Hosting.Abstractions.dll +0 -0
- package/runtime/managed/insight-heap/Microsoft.Extensions.Logging.Abstractions.dll +0 -0
- package/runtime/managed/insight-heap/Microsoft.Extensions.Options.dll +0 -0
- package/runtime/managed/insight-heap/Microsoft.Extensions.Primitives.dll +0 -0
- package/runtime/managed/insight-heap/Microsoft.Identity.Client.Extensions.Msal.dll +0 -0
- package/runtime/managed/insight-heap/Microsoft.Identity.Client.dll +0 -0
- package/runtime/managed/insight-heap/Microsoft.IdentityModel.Abstractions.dll +0 -0
- package/runtime/managed/insight-heap/Microsoft.Security.AntiSSRF.dll +0 -0
- package/runtime/managed/insight-heap/NuGet.Config +1 -0
- package/runtime/managed/insight-heap/Program.cs +20 -0
- package/runtime/managed/insight-heap/README.md +16 -0
- package/runtime/managed/insight-heap/System.ClientModel.dll +0 -0
- package/runtime/managed/insight-heap/System.Memory.Data.dll +0 -0
- package/runtime/managed/insight-heap/System.Security.Cryptography.ProtectedData.dll +0 -0
- package/runtime/managed/insight-heap/dependencies.json +436 -0
- package/runtime/managed/insight-heap/notices/Azure.Core-LICENSE.txt +21 -0
- package/runtime/managed/insight-heap/notices/Azure.Identity-LICENSE.txt +21 -0
- package/runtime/managed/insight-heap/notices/Microsoft.Bcl.AsyncInterfaces-LICENSE.txt +23 -0
- package/runtime/managed/insight-heap/notices/Microsoft.Bcl.AsyncInterfaces-THIRD-PARTY-NOTICES.TXT +1418 -0
- package/runtime/managed/insight-heap/notices/Microsoft.Diagnostics.NETCore.Client-LICENSE.txt +23 -0
- package/runtime/managed/insight-heap/notices/Microsoft.Diagnostics.Runtime-LICENSE.txt +23 -0
- package/runtime/managed/insight-heap/notices/Microsoft.Extensions.Configuration.Abstractions-LICENSE.txt +23 -0
- package/runtime/managed/insight-heap/notices/Microsoft.Extensions.Configuration.Abstractions-THIRD-PARTY-NOTICES.TXT +1418 -0
- package/runtime/managed/insight-heap/notices/Microsoft.Extensions.DependencyInjection.Abstractions-LICENSE.txt +23 -0
- package/runtime/managed/insight-heap/notices/Microsoft.Extensions.DependencyInjection.Abstractions-THIRD-PARTY-NOTICES.TXT +1418 -0
- package/runtime/managed/insight-heap/notices/Microsoft.Extensions.Diagnostics.Abstractions-LICENSE.txt +23 -0
- package/runtime/managed/insight-heap/notices/Microsoft.Extensions.Diagnostics.Abstractions-THIRD-PARTY-NOTICES.TXT +1418 -0
- package/runtime/managed/insight-heap/notices/Microsoft.Extensions.FileProviders.Abstractions-LICENSE.txt +23 -0
- package/runtime/managed/insight-heap/notices/Microsoft.Extensions.FileProviders.Abstractions-THIRD-PARTY-NOTICES.TXT +1418 -0
- package/runtime/managed/insight-heap/notices/Microsoft.Extensions.Hosting.Abstractions-LICENSE.txt +23 -0
- package/runtime/managed/insight-heap/notices/Microsoft.Extensions.Hosting.Abstractions-THIRD-PARTY-NOTICES.TXT +1418 -0
- package/runtime/managed/insight-heap/notices/Microsoft.Extensions.Logging.Abstractions-LICENSE.txt +23 -0
- package/runtime/managed/insight-heap/notices/Microsoft.Extensions.Logging.Abstractions-THIRD-PARTY-NOTICES.TXT +1418 -0
- package/runtime/managed/insight-heap/notices/Microsoft.Extensions.Options-LICENSE.txt +23 -0
- package/runtime/managed/insight-heap/notices/Microsoft.Extensions.Options-THIRD-PARTY-NOTICES.TXT +1418 -0
- package/runtime/managed/insight-heap/notices/Microsoft.Extensions.Primitives-LICENSE.txt +23 -0
- package/runtime/managed/insight-heap/notices/Microsoft.Extensions.Primitives-THIRD-PARTY-NOTICES.TXT +1418 -0
- package/runtime/managed/insight-heap/notices/Microsoft.Identity.Client-LICENSE.txt +21 -0
- package/runtime/managed/insight-heap/notices/Microsoft.Identity.Client.Extensions.Msal-LICENSE.txt +21 -0
- package/runtime/managed/insight-heap/notices/Microsoft.IdentityModel.Abstractions-LICENSE.txt +21 -0
- package/runtime/managed/insight-heap/notices/Microsoft.Security.AntiSSRF-LICENSE.txt +21 -0
- package/runtime/managed/insight-heap/notices/System.ClientModel-LICENSE.txt +21 -0
- package/runtime/managed/insight-heap/notices/System.Memory.Data-LICENSE.txt +23 -0
- package/runtime/managed/insight-heap/notices/System.Memory.Data-THIRD-PARTY-NOTICES.TXT +1418 -0
- package/runtime/managed/insight-heap/notices/System.Security.Cryptography.ProtectedData-LICENSE.TXT +23 -0
- package/runtime/managed/insight-heap/notices/System.Security.Cryptography.ProtectedData-THIRD-PARTY-NOTICES.TXT +309 -0
- package/runtime/managed/insight-heap/packages.lock.json +165 -0
- package/runtime/managed/insight-heap/provenance.json +146 -0
- package/runtime/managed/insight-heap/runtimes/win/lib/netstandard2.0/System.Security.Cryptography.ProtectedData.dll +0 -0
- package/runtime/managed/insight-managed/Insight.Managed.csproj +4 -0
- package/runtime/managed/insight-managed/Insight.Managed.deps.json +41 -0
- package/runtime/managed/insight-managed/Insight.Managed.dll +0 -0
- package/runtime/managed/insight-managed/Insight.Managed.runtimeconfig.json +13 -0
- package/runtime/managed/insight-managed/LICENSE.dnlib.txt +20 -0
- package/runtime/managed/insight-managed/NuGet.Config +1 -0
- package/runtime/managed/insight-managed/Program.cs +31 -0
- package/runtime/managed/insight-managed/README.md +16 -0
- package/runtime/managed/insight-managed/dnlib.dll +0 -0
- package/runtime/managed/insight-managed/packages.lock.json +13 -0
- package/runtime/managed/insight-managed/provenance.json +40 -0
- package/runtime/native/binary/README.md +22 -0
- package/runtime/native/binary/dependencies.json +166 -0
- package/runtime/native/binary/helper.cpp +44 -0
- package/runtime/native/binary/insight-binary-darwin-arm64 +0 -0
- package/runtime/native/binary/notices/Catch2-3.12.0--Catch2-3.12.0__LICENSE.txt +23 -0
- package/runtime/native/binary/notices/LIEF-LICENSE.txt +202 -0
- package/runtime/native/binary/notices/LIEF-attribution.txt +37 -0
- package/runtime/native/binary/notices/Melkor_ELF_Fuzzer-ac2495b--elf_fuzzer-master__LICENSE.txt +674 -0
- package/runtime/native/binary/notices/expected-1.3.1--expected-1.3.1__COPYING +121 -0
- package/runtime/native/binary/notices/frozen-61dce5a--frozen-61dce5ae18ca59931e27675c468e64118aba8744__AUTHORS +3 -0
- package/runtime/native/binary/notices/frozen-61dce5a--frozen-61dce5ae18ca59931e27675c468e64118aba8744__LICENSE +202 -0
- package/runtime/native/binary/notices/json-LICENSE.MIT +21 -0
- package/runtime/native/binary/notices/mbedtls-4.0.0.r0.gec4044008d--LICENSE +553 -0
- package/runtime/native/binary/notices/mbedtls-4.0.0.r0.gec4044008d--framework__LICENSE +553 -0
- package/runtime/native/binary/notices/mbedtls-4.0.0.r0.gec4044008d--tf-psa-crypto__LICENSE +552 -0
- package/runtime/native/binary/notices/mbedtls-4.0.0.r0.gec4044008d--tf-psa-crypto__framework__LICENSE +553 -0
- package/runtime/native/binary/notices/nanobind-2.13.0.r18.g4db9ed3f--LICENSE +26 -0
- package/runtime/native/binary/notices/nanobind-2.13.0.r18.g4db9ed3f--ext__robin_map__LICENSE +21 -0
- package/runtime/native/binary/notices/span-LICENSE_1_0.txt +23 -0
- package/runtime/native/binary/notices/span-attribution.txt +11 -0
- package/runtime/native/binary/notices/spdlog-1.17.0--spdlog-1.17.0__LICENSE +25 -0
- package/runtime/native/binary/notices/utfcpp-4.0.9--utfcpp-4.0.9__LICENSE +23 -0
- package/runtime/native/binary/provenance.json +48 -0
- package/runtime/native/child-deadline-linux-x64 +0 -0
- package/runtime/native/child-deadline-linux.c +24 -0
- package/runtime/native/child-deadline-linux.provenance.json +17 -0
- package/runtime/native/deadline-alarm-darwin-universal.dylib +0 -0
- package/runtime/native/deadline-alarm.c +33 -0
- package/runtime/native/deadline-alarm.provenance.json +22 -0
- package/runtime/native/deadline-exec-darwin-arm64 +0 -0
- package/runtime/native/deadline-exec.c +24 -0
- package/runtime/native/deadline-exec.provenance.json +17 -0
- package/runtime/native/dnspy-extension/Bridge.cs +58 -0
- package/runtime/native/dnspy-extension/Insight.DnSpy.csproj +13 -0
- package/runtime/native/dnspy-extension/Insight.DnSpy.x.dll +0 -0
- package/runtime/native/dnspy-extension/NuGet.Config +1 -0
- package/runtime/native/dnspy-extension/UNICODE-LOADER.md +26 -0
- package/runtime/native/dnspy-extension/packages.lock.json +6 -0
- package/runtime/native/dnspy-extension/provenance.json +27 -0
- package/runtime/native/dnspy-extension/upstream-public-build.snk +0 -0
- package/runtime/native/dnspy-extension/vendor-files.json +4341 -0
- package/runtime/native/file-version.ps1 +7 -0
- package/runtime/native/insight-registry-win-x64.dll +0 -0
- package/runtime/native/mitmproxy/bridge.py +180 -0
- package/runtime/native/mitmproxy/notices.json +476 -0
- package/runtime/native/sources/detours-LICENSE.md +23 -0
- package/runtime/native/sources/detours-e4bfd6b.tar.gz +0 -0
- package/runtime/native/sources/detours-provenance.json +10 -0
- package/runtime/native/tshark-layout.json +2247 -0
- package/runtime/native/windows-job/DirectoryAlias.cs +24 -0
- package/runtime/native/windows-job/Insight.WindowsJob.csproj +1 -0
- package/runtime/native/windows-job/Insight.WindowsJob.dll +0 -0
- package/runtime/native/windows-job/NuGet.Config +1 -0
- package/runtime/native/windows-job/OwnedJob.cs +79 -0
- package/runtime/native/windows-job/RegistryRedirect.cs +45 -0
- package/runtime/native/windows-job/packages.lock.json +21 -0
- package/runtime/native/windows-job/provenance.json +16 -0
- package/runtime/native/windows-job/windows-job.ps1 +8 -0
- package/runtime/native/windows-registry.c +21 -0
- package/runtime/native/windows-registry.def +3 -0
- package/runtime/native/windows-registry.provenance.json +14 -0
- package/runtime/notices/diagnostics-10.0.750501.txt +23 -0
- package/runtime/tool-catalog.json +290 -0
- package/runtime/toolbox.json +1401 -0
- package/skill-bundle/insight-artifacts/SKILL.md +30 -0
- package/skill-bundle/insight-artifacts/references/agent-execution.md +36 -0
- package/skill-bundle/insight-artifacts/references/artifacts.md +52 -0
- package/skill-bundle/insight-binary/SKILL.md +46 -0
- package/skill-bundle/insight-binary/references/agent-execution.md +36 -0
- package/skill-bundle/insight-capture/SKILL.md +56 -0
- package/skill-bundle/insight-capture/references/agent-execution.md +36 -0
- package/skill-bundle/insight-cli/SKILL.md +42 -0
- package/skill-bundle/insight-cli/references/agent-execution.md +36 -0
- package/skill-bundle/insight-cli/references/agent-setup.md +61 -0
- package/skill-bundle/insight-die/SKILL.md +49 -0
- package/skill-bundle/insight-die/references/agent-execution.md +36 -0
- package/skill-bundle/insight-dnspy/SKILL.md +65 -0
- package/skill-bundle/insight-dnspy/references/agent-execution.md +36 -0
- package/skill-bundle/insight-dotnet-dump/SKILL.md +46 -0
- package/skill-bundle/insight-dotnet-dump/references/agent-execution.md +36 -0
- package/skill-bundle/insight-dotnet-stack/SKILL.md +39 -0
- package/skill-bundle/insight-dotnet-stack/references/agent-execution.md +36 -0
- package/skill-bundle/insight-dotnet-trace/SKILL.md +45 -0
- package/skill-bundle/insight-dotnet-trace/references/agent-execution.md +36 -0
- package/skill-bundle/insight-frida/SKILL.md +67 -0
- package/skill-bundle/insight-frida/references/agent-execution.md +36 -0
- package/skill-bundle/insight-ghidra/SKILL.md +91 -0
- package/skill-bundle/insight-ghidra/references/administration.md +34 -0
- package/skill-bundle/insight-ghidra/references/agent-execution.md +36 -0
- package/skill-bundle/insight-ghidra/references/archive.md +32 -0
- package/skill-bundle/insight-ghidra/references/artifacts.md +52 -0
- package/skill-bundle/insight-ghidra/references/debugger.md +62 -0
- package/skill-bundle/insight-ghidra/references/extensions-and-sync.md +124 -0
- package/skill-bundle/insight-ghidra/references/managed-runtime.md +157 -0
- package/skill-bundle/insight-ghidra/references/native-workflows.md +112 -0
- package/skill-bundle/insight-ghidra/references/query-semantics.md +96 -0
- package/skill-bundle/insight-ghidra/references/recovery.md +53 -0
- package/skill-bundle/insight-ghidra/references/research.md +101 -0
- package/skill-bundle/insight-ghidra/references/setup.md +50 -0
- package/skill-bundle/insight-ilspy/SKILL.md +45 -0
- package/skill-bundle/insight-ilspy/references/agent-execution.md +36 -0
- package/skill-bundle/insight-ilspy/references/ilspy.md +33 -0
- package/skill-bundle/insight-interop/SKILL.md +54 -0
- package/skill-bundle/insight-interop/references/agent-execution.md +36 -0
- package/skill-bundle/insight-lldb/SKILL.md +54 -0
- package/skill-bundle/insight-lldb/references/agent-execution.md +36 -0
- package/skill-bundle/insight-llvm/SKILL.md +56 -0
- package/skill-bundle/insight-llvm/references/agent-execution.md +36 -0
- package/skill-bundle/insight-managed-heap/SKILL.md +43 -0
- package/skill-bundle/insight-managed-heap/references/agent-execution.md +36 -0
- package/skill-bundle/insight-managed-metadata/SKILL.md +52 -0
- package/skill-bundle/insight-managed-metadata/references/agent-execution.md +36 -0
- package/skill-bundle/insight-mitmproxy/SKILL.md +62 -0
- package/skill-bundle/insight-mitmproxy/references/agent-execution.md +36 -0
- package/skill-bundle/insight-overview/SKILL.md +79 -0
- package/skill-bundle/insight-overview/references/agent-execution.md +36 -0
- package/skill-bundle/insight-procmon/SKILL.md +49 -0
- package/skill-bundle/insight-procmon/references/agent-execution.md +36 -0
- package/skill-bundle/insight-re/SKILL.md +121 -0
- package/skill-bundle/insight-re/references/agent-execution.md +36 -0
- package/skill-bundle/insight-re/references/artifacts.md +52 -0
- package/skill-bundle/insight-re/references/recovery.md +53 -0
- package/skill-bundle/insight-sevenzip/SKILL.md +42 -0
- package/skill-bundle/insight-sevenzip/references/agent-execution.md +36 -0
- package/skill-bundle/insight-strace/SKILL.md +46 -0
- package/skill-bundle/insight-strace/references/agent-execution.md +36 -0
- package/skill-bundle/insight-tshark/SKILL.md +49 -0
- package/skill-bundle/insight-tshark/references/agent-execution.md +36 -0
- package/skill-bundle/insight-windbg/SKILL.md +46 -0
- package/skill-bundle/insight-windbg/references/agent-execution.md +36 -0
- package/skill-bundle/manifest.json +32 -0
- package/skills/insight-artifacts/SKILL.md +30 -0
- package/skills/insight-artifacts/references/agent-execution.md +36 -0
- package/skills/insight-artifacts/references/artifacts.md +52 -0
- package/skills/insight-binary/SKILL.md +46 -0
- package/skills/insight-binary/references/agent-execution.md +36 -0
- package/skills/insight-capture/SKILL.md +56 -0
- package/skills/insight-capture/references/agent-execution.md +36 -0
- package/skills/insight-die/SKILL.md +49 -0
- package/skills/insight-die/references/agent-execution.md +36 -0
- package/skills/insight-dnspy/SKILL.md +65 -0
- package/skills/insight-dnspy/references/agent-execution.md +36 -0
- package/skills/insight-dotnet-dump/SKILL.md +46 -0
- package/skills/insight-dotnet-dump/references/agent-execution.md +36 -0
- package/skills/insight-dotnet-stack/SKILL.md +39 -0
- package/skills/insight-dotnet-stack/references/agent-execution.md +36 -0
- package/skills/insight-dotnet-trace/SKILL.md +45 -0
- package/skills/insight-dotnet-trace/references/agent-execution.md +36 -0
- package/skills/insight-frida/SKILL.md +67 -0
- package/skills/insight-frida/references/agent-execution.md +36 -0
- package/skills/insight-ghidra/SKILL.md +91 -0
- package/skills/insight-ghidra/references/administration.md +34 -0
- package/skills/insight-ghidra/references/agent-execution.md +36 -0
- package/skills/insight-ghidra/references/archive.md +32 -0
- package/skills/insight-ghidra/references/artifacts.md +52 -0
- package/skills/insight-ghidra/references/debugger.md +62 -0
- package/skills/insight-ghidra/references/extensions-and-sync.md +124 -0
- package/skills/insight-ghidra/references/managed-runtime.md +157 -0
- package/skills/insight-ghidra/references/native-workflows.md +112 -0
- package/skills/insight-ghidra/references/query-semantics.md +96 -0
- package/skills/insight-ghidra/references/recovery.md +53 -0
- package/skills/insight-ghidra/references/research.md +101 -0
- package/skills/insight-ghidra/references/setup.md +50 -0
- package/skills/insight-ilspy/SKILL.md +45 -0
- package/skills/insight-ilspy/references/agent-execution.md +36 -0
- package/skills/insight-ilspy/references/ilspy.md +33 -0
- package/skills/insight-interop/SKILL.md +54 -0
- package/skills/insight-interop/references/agent-execution.md +36 -0
- package/skills/insight-lldb/SKILL.md +54 -0
- package/skills/insight-lldb/references/agent-execution.md +36 -0
- package/skills/insight-llvm/SKILL.md +56 -0
- package/skills/insight-llvm/references/agent-execution.md +36 -0
- package/skills/insight-managed-heap/SKILL.md +43 -0
- package/skills/insight-managed-heap/references/agent-execution.md +36 -0
- package/skills/insight-managed-metadata/SKILL.md +52 -0
- package/skills/insight-managed-metadata/references/agent-execution.md +36 -0
- package/skills/insight-mitmproxy/SKILL.md +62 -0
- package/skills/insight-mitmproxy/references/agent-execution.md +36 -0
- package/skills/insight-overview/SKILL.md +79 -0
- package/skills/insight-overview/references/agent-execution.md +36 -0
- package/skills/insight-procmon/SKILL.md +49 -0
- package/skills/insight-procmon/references/agent-execution.md +36 -0
- package/skills/insight-re/SKILL.md +22 -9
- package/skills/insight-re/references/agent-execution.md +36 -0
- package/skills/insight-re/references/artifacts.md +52 -0
- package/skills/insight-re/references/recovery.md +53 -0
- package/skills/insight-sevenzip/SKILL.md +42 -0
- package/skills/insight-sevenzip/references/agent-execution.md +36 -0
- package/skills/insight-strace/SKILL.md +46 -0
- package/skills/insight-strace/references/agent-execution.md +36 -0
- package/skills/insight-tshark/SKILL.md +49 -0
- package/skills/insight-tshark/references/agent-execution.md +36 -0
- package/skills/insight-windbg/SKILL.md +46 -0
- package/skills/insight-windbg/references/agent-execution.md +36 -0
- package/dist/src/runtime-archives.d.ts +0 -5
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: insight-artifacts
|
|
3
|
+
description: Retain a completed reverse-engineering evidence file or directory as an ordinary checkpoint using insight-cli artifacts save. Use after Ghidra or any external tool; preserve existing project formats and source of truth.
|
|
4
|
+
---
|
|
5
|
+
|
|
6
|
+
# Insight Artifacts 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 evidence as ordinary files in the project's existing layout. This supporting application
|
|
16
|
+
copies a completed file or stable directory; it has no native runtime to download or install.
|
|
17
|
+
|
|
18
|
+
Run `insight-cli artifacts save <path> --json` using a profile with Update permission.
|
|
19
|
+
Retain the returned ordinary `path` verbatim, file/byte counts and hash if the checkpoint matters.
|
|
20
|
+
Before reporting a saved checkpoint, read its returned path with ordinary file tools and
|
|
21
|
+
confirm that the expected files are present. Copy that exact path into the handoff; never
|
|
22
|
+
reconstruct profile UUIDs or storage directories from memory. If readback fails, report
|
|
23
|
+
the saved receipt and the unresolved access problem instead of claiming a verified handoff.
|
|
24
|
+
The original project records keep their canonical role. No Ghidra selectors, finding schema
|
|
25
|
+
or evidence IDs are required; saving does not merge tool databases or attest interpretations.
|
|
26
|
+
|
|
27
|
+
Wait until other agents stop editing the selected files. Links and special files are rejected;
|
|
28
|
+
select the actual regular files. A later source edit does not change the saved copy. Finish the report before saving; put its returned checkpoint locator in the final handoff or outside the saved folder. If the source changes afterward, save and verify a new intentional checkpoint before calling it the final copy. After a
|
|
29
|
+
lost answer, inspect retained results before making a new intentional save: every call makes
|
|
30
|
+
a new checkpoint. See [save semantics](references/artifacts.md) for failure and folder behavior.
|
|
@@ -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
|
+
# Save ordinary research materials
|
|
2
|
+
|
|
3
|
+
`insight-cli artifacts save <path> --json` saves a file or a settled directory tree in
|
|
4
|
+
the selected profile's AppData. It needs Factory Update permission and does not require
|
|
5
|
+
Ghidra, Java, authentication, target/session selectors or evidence metadata. Relative input
|
|
6
|
+
paths resolve against the caller's working directory. Use `--help` for generated syntax.
|
|
7
|
+
|
|
8
|
+
Save existing project files in their existing format; no `notes.md`, `finding.md` or
|
|
9
|
+
`research/` layout is required. The saved copy is a checkpoint and does not replace the
|
|
10
|
+
project's canonical evidence location or its source-of-truth rules.
|
|
11
|
+
|
|
12
|
+
Write notes and useful external-tool outputs as ordinary files while investigating. When
|
|
13
|
+
the selected files are no longer being edited, save one file, a completed worker subfolder
|
|
14
|
+
or the relevant project folder. For a project without a prescribed layout, for example:
|
|
15
|
+
|
|
16
|
+
```sh
|
|
17
|
+
insight-cli artifacts save ./research --json
|
|
18
|
+
```
|
|
19
|
+
|
|
20
|
+
The receipt has `state: "saved"`, `path`, `kind` (`file` or `directory`), `files`, `bytes`
|
|
21
|
+
and `sha256`. `path` points to an ordinary browsable copy with the source basename and
|
|
22
|
+
relative layout. Empty files and empty directories are retained. File count counts regular
|
|
23
|
+
files; byte count counts their contents. A file's SHA-256 hashes its bytes; a directory's
|
|
24
|
+
SHA-256 hashes its canonical manifest of relative paths, kinds, file lengths and hashes.
|
|
25
|
+
The manifest is stored beside the content, outside the returned directory.
|
|
26
|
+
|
|
27
|
+
Before claiming a verified checkpoint, read the expected files at the returned `path` using
|
|
28
|
+
ordinary file tools. Preserve that path verbatim in the handoff, alongside the receipt;
|
|
29
|
+
profile and snapshot identifiers must not be reconstructed from memory. If access is denied,
|
|
30
|
+
retain the actual receipt and state that readback remains unverified.
|
|
31
|
+
|
|
32
|
+
The service copies and syncs data before publishing the completed snapshot. Failure does
|
|
33
|
+
not return a successful receipt or expose a partial completed snapshot. Source edits made
|
|
34
|
+
after a successful save do not change the copy. Treat saved copies as retained snapshots;
|
|
35
|
+
edit the original research folder and save a new copy for another checkpoint. Each call
|
|
36
|
+
creates a new saved copy, including a repeated call after a lost response.
|
|
37
|
+
|
|
38
|
+
Keep a directory stable for the save: detected concurrent edits are rejected. Copying
|
|
39
|
+
several files is not an atomic filesystem snapshot of a directory that other agents keep
|
|
40
|
+
changing. Symbolic links and special files are rejected rather than followed or silently
|
|
41
|
+
omitted. Select the actual intended regular file/directory. Do not save a directory that
|
|
42
|
+
contains the destination materials store. Traversal supports at most 100,000 entries and
|
|
43
|
+
128 levels to bound inventory memory and recursion. Disk/permission failures return nonzero.
|
|
44
|
+
|
|
45
|
+
The saved bytes establish what was retained. Commands, tool versions and interpretations
|
|
46
|
+
written in a note remain the author's statements, not execution attestations. No upload,
|
|
47
|
+
tool execution or Ghidra publication is performed by saving materials.
|
|
48
|
+
|
|
49
|
+
Profile deletion/configuration invalidation is blocked while retained materials exist,
|
|
50
|
+
as with retained research work. Close tool contexts normally; preserve snapshots separately
|
|
51
|
+
if retiring a profile. There is no automatic registration, cleanup policy, graph database
|
|
52
|
+
or additional read API: read the receipt's path with normal file tools.
|
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: insight-binary
|
|
3
|
+
description: Query structured PE, ELF and thin Mach-O headers, sections, imports and exports, or make an explicitly guarded new PE subsystem copy through insight-cli binary. Use for scoped binary structure, linkage and copy-only header edits without target execution.
|
|
4
|
+
---
|
|
5
|
+
|
|
6
|
+
# Insight Binary 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 project RE/evidence conventions. LIEF is an internal packaged library. The native
|
|
16
|
+
helper is included with insight-cli; no separate download/install, SDK or compiler is
|
|
17
|
+
needed. The admitted host is macOS14+ ARM64; PE/ELF/Mach-O input formats do not imply
|
|
18
|
+
that the host can execute them. Arbitrary scripts or patches are outside this API.
|
|
19
|
+
|
|
20
|
+
1. `binary query app.exe --json` identifies format, architecture, entrypoint, image base,
|
|
21
|
+
section/linkage counts and the PE subsystem/signature presence. Static metadata can
|
|
22
|
+
be malformed; parser diagnostics mean partial evidence, not a successful absence claim.
|
|
23
|
+
2. `--view sections`, `libraries`, `imports` and `exports` provide focused JSON rows.
|
|
24
|
+
`--filter TEXT` is a literal name substring, applied before `--limit`/`--offset` paging.
|
|
25
|
+
Reuse the returned `--target` for immutable input identity. There is no active binary.
|
|
26
|
+
3. Addresses and sizes are strings to preserve precision. PE exports retain RVA and
|
|
27
|
+
image-base-adjusted virtual address; forwarded exports retain the target name instead
|
|
28
|
+
of pretending the forwarder is executable code. ELF/Mach-O views cover exported
|
|
29
|
+
functions, not every exported data symbol. Non-PE import libraries may be unknown.
|
|
30
|
+
Preserve Mach-O's native symbol spelling, including a leading underscore.
|
|
31
|
+
4. Universal Mach-O containers require explicit thin-slice extraction with a suitable
|
|
32
|
+
external tool; the facade never silently chooses an architecture. Inputs are limited
|
|
33
|
+
to 64 MiB and scans to 100000 metadata records; a reached bound remains partial.
|
|
34
|
+
5. A requested copy-only edit uses an explicit expectation:
|
|
35
|
+
`binary edit-subsystem app.exe --expect-subsystem console --subsystem gui --output research/gui.exe --json`.
|
|
36
|
+
Only this existing two-byte PE field is assigned. Independent LIEF readback and byte
|
|
37
|
+
comparison verify the new copy; the original and existing outputs are preserved.
|
|
38
|
+
This does not verify execution compatibility or repair PE checksum/Authenticode.
|
|
39
|
+
Existing signatures may become invalid; keep both original and copied hashes.
|
|
40
|
+
6. `binary query --output research/page.json` saves the current bounded page to a new
|
|
41
|
+
ordinary file. Preserve scope/partial flags in project notes and checkpoint selected
|
|
42
|
+
evidence with `artifacts save` when useful. Readonly library queries need no Ghidra merge;
|
|
43
|
+
annotations belong to an explicit Ghidra session/target when that tool is used.
|
|
44
|
+
|
|
45
|
+
Generated help owns exact options. LLVM remains useful for instruction/PDB windows;
|
|
46
|
+
Ghidra supplies shared analysis, isolated work contexts and merge/refresh.
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
# Agent host execution permissions
|
|
2
|
+
|
|
3
|
+
Keep the user/project host policy and the selected profile. A sandbox can deny writes
|
|
4
|
+
to runtime AppData or access to the local IPC endpoint, including during local help.
|
|
5
|
+
This is a host execution boundary, not evidence that the tool or its inputs are absent.
|
|
6
|
+
|
|
7
|
+
First retry only `insight-cli --help`, `tools list`, `skill`, or the selected application's
|
|
8
|
+
read-only `status` using the host's normal permission escalation. In Codex, use the
|
|
9
|
+
execution tool's `sandbox_permissions: "require_escalated"` with a scoped explanation
|
|
10
|
+
that the installed CLI needs its existing profile storage/local IPC. Automatic approval
|
|
11
|
+
review or the user decides that request; do not disable the sandbox or approval policy.
|
|
12
|
+
|
|
13
|
+
Do not work around this by changing HOME/AppData/profile paths, creating another host,
|
|
14
|
+
deleting owner/endpoint files, killing unrelated processes or claiming a missing runtime.
|
|
15
|
+
After the read-only probe succeeds, use the approved execution route for the intended
|
|
16
|
+
public CLI commands. An access refusal explicitly stating **no command was sent** is
|
|
17
|
+
known not dispatched; it is safe to submit that authorized command through the approved
|
|
18
|
+
route. This includes a mutation refused before dispatch. Do not mistake that definite
|
|
19
|
+
pre-dispatch refusal for an unknown execution outcome. Downloads still require their explicit
|
|
20
|
+
network access.
|
|
21
|
+
|
|
22
|
+
A lost mutation response is different from a denied startup probe: inspect retained
|
|
23
|
+
request/status/recovery evidence and use its request ID when supported. Never blindly
|
|
24
|
+
repeat a publication, script or program run whose outcome is unknown. External-tool
|
|
25
|
+
fallback is allowed by project rules, but record that the intended facade was not used
|
|
26
|
+
and do not invent a successful checkpoint or native result.
|
|
27
|
+
|
|
28
|
+
## Wait for the original execution
|
|
29
|
+
|
|
30
|
+
A tool operation may outlast the host execution tool's initial wait. A returned running
|
|
31
|
+
session/cell ID means that command is still in progress, not that the CLI returned no data.
|
|
32
|
+
Use the host's session poll/wait facility until terminal exit and consume stdout/stderr
|
|
33
|
+
before issuing a dependent command. In Codex, an `exec_command` session is continued with
|
|
34
|
+
`write_stdin`; a yielded execution cell uses that host's cell wait. Do not launch a second
|
|
35
|
+
open/install or repeat a CPU action just because the first chunk was empty. If the execution
|
|
36
|
+
really loses its terminal result, use the CLI's request/status recovery as described above.
|
|
@@ -0,0 +1,56 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: insight-capture
|
|
3
|
+
description: Capture one explicitly authorized native program run, exact stdout/stderr and declared file snapshots through insight-cli capture, then inspect or compare retained reports without replay. Use for controlled input/output research, preserving original files and interrupted or unknown outcomes.
|
|
4
|
+
---
|
|
5
|
+
|
|
6
|
+
# Insight Capture 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 and evidence conventions. Use this only for an authorized runtime
|
|
16
|
+
observation. The current native host/input profile is macOS14+ ARM64 thin Mach-O
|
|
17
|
+
executables. There is no extra install, compiler, shell string or implicit active target.
|
|
18
|
+
|
|
19
|
+
1. `capture run ./program --arg normal --input-file ./settings.txt --watch settings.txt result.txt --output research/run.json --json`
|
|
20
|
+
copies the selected program and input files into a fresh owned working directory.
|
|
21
|
+
Input files retain unique basenames; arguments are literal, without shell expansion.
|
|
22
|
+
To pass an option-shaped subject argument use `--arg=--subject-option`.
|
|
23
|
+
`--stdin-file FILE` supplies exact bytes, bounded to 1 MiB.
|
|
24
|
+
2. The result gives the immutable program target/hash, copied input hashes, request ID,
|
|
25
|
+
known subject exit/signal, bounded output previews and declared file changes. Known
|
|
26
|
+
nonzero subject exits (0–126) are observable outcomes; reserved launcher failure,
|
|
27
|
+
signal, timeout, overflow or unavailable files leave a partial capture and nonzero CLI.
|
|
28
|
+
Exact output bytes are stored as base64 with SHA256; UTF-8 previews may replace invalid
|
|
29
|
+
characters. Binary output should be read as base64, not reconstructed from a preview.
|
|
30
|
+
3. `capture show REQUEST --view stdout --limit 256 --offset 0 --json` pages retained bytes;
|
|
31
|
+
`--view stderr` and `--view files` focus other evidence. `--output FILE` exports a new
|
|
32
|
+
portable report. The default overview remains small; never paste an entire report
|
|
33
|
+
into context just to find one value. `artifacts save` can checkpoint selected files.
|
|
34
|
+
4. Only `--watch` relative regular files are snapshotted before/after. A missing file is
|
|
35
|
+
explicit; links, unstable/oversized or unreadable files are unknown. This is not a
|
|
36
|
+
trace of all effects or an OS sandbox: the program still has normal host access.
|
|
37
|
+
The default deadline is 10 seconds (up to 600). Its inherited native alarm survives
|
|
38
|
+
ordinary owner loss; a subject can deliberately replace that alarm. Use stronger
|
|
39
|
+
host isolation separately when required by the actual target or project rules.
|
|
40
|
+
5. `capture compare research/before.json research/after.json --json` compares exact retained
|
|
41
|
+
stdout/stderr, exit state and declared resulting files. It never executes the program.
|
|
42
|
+
`sameDeclaredIntent` distinguishes changed input/argv from repeated observations;
|
|
43
|
+
equal fields do not establish causal/semantic equivalence or a speedup claim.
|
|
44
|
+
Partial reports cannot prove global equality. Imported reports are asserted data,
|
|
45
|
+
not independent proof that an execution occurred.
|
|
46
|
+
6. An optional `--request-id ID` binds the exact effective intent. Retrying it returns
|
|
47
|
+
the durable prior outcome, or an explicit unknown/partial state; it never repeats
|
|
48
|
+
the run. A different intent with the same ID is refused. Without an ID each call is
|
|
49
|
+
a new intentional observation. After owner loss, `capture show REQUEST` exposes retained
|
|
50
|
+
intent, process state and working directory; preserve existing files and investigate
|
|
51
|
+
the unknown result instead of blindly launching it again.
|
|
52
|
+
|
|
53
|
+
Limits: 64 MiB program and total selected files, 16 MiB per selected/watched file,
|
|
54
|
+
32 files/watch paths, 64 literal arguments and 4 MiB aggregate native output. No native
|
|
55
|
+
merge exists here; publish any Ghidra annotations through their explicit session/target.
|
|
56
|
+
Generated help owns options. Local project formats take precedence over this example.
|
|
@@ -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,42 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: insight-cli
|
|
3
|
+
description: Choose and prepare reverse-engineering capabilities from the insight-cli toolbox for binary, managed-code and runtime investigations. Use to discover the appropriate tool or its packaged skill before installing native runtimes.
|
|
4
|
+
---
|
|
5
|
+
|
|
6
|
+
# insight-cli 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
|
+
Read the project's RE instructions and existing findings first. They own tool choices,
|
|
16
|
+
evidence layout, formats and source of truth. These skills fill the remaining gaps.
|
|
17
|
+
|
|
18
|
+
1. Run `insight-cli tools list --json` to discover the capabilities shipped in this version.
|
|
19
|
+
The catalog works before profile configuration, downloads or IPC startup. A downloaded
|
|
20
|
+
runtime is not needed to discover what a tool does.
|
|
21
|
+
2. Use `insight-cli tools show <tool> --json` for tasks, supported inputs/platforms,
|
|
22
|
+
dependencies and its skill path. Read that skill before preparing or using the tool.
|
|
23
|
+
3. Select a profile for execution. Run the selected application's `status` and generated
|
|
24
|
+
`--help`. `install` prepares its private runtime; archives/offline and external paths
|
|
25
|
+
are tool-specific and described in its skill. Update permission is required for tool
|
|
26
|
+
preparation/execution and saved changes: `insight-cli permissions grant Update`.
|
|
27
|
+
4. Answer the question with focused queries and ordinary project files. Follow results to
|
|
28
|
+
useful detail; a large raw dump is not an interpretation. External tools remain welcome.
|
|
29
|
+
5. Preserve completed files with `insight-cli artifacts save <path> --json` when a retained
|
|
30
|
+
checkpoint helps. For several agents sharing Ghidra analysis, use separate sessions,
|
|
31
|
+
then explicit merge/refresh as described by its skill.
|
|
32
|
+
|
|
33
|
+
`insight-cli skill` locates this entry point. `skill insight-re` gives investigation and
|
|
34
|
+
multi-agent guidance; `skill insight-ghidra`, `skill insight-ilspy` and
|
|
35
|
+
`skill insight-artifacts` locate the relevant instructions. Skills ship with the CLI;
|
|
36
|
+
installing npm binaries does not register them in an agent host. See
|
|
37
|
+
[agent connection](references/agent-setup.md) for current setup and access requirements.
|
|
38
|
+
|
|
39
|
+
Use generated help as the syntax authority. Catalog metadata describes shipped capabilities;
|
|
40
|
+
profile runtime readiness comes from the selected tool's `status`. Unavailable profile/IPC
|
|
41
|
+
access means execution readiness is unknown. Preserve work and diagnose access before trying
|
|
42
|
+
again; stopping a shared owner does not grant a denied agent access to it.
|
|
@@ -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,61 @@
|
|
|
1
|
+
# Connect the toolbox to an agent
|
|
2
|
+
|
|
3
|
+
npm installs the CLI and all declared skills. Native tool downloads are separate. A host needs
|
|
4
|
+
shell access to `insight-cli`, skill discovery and execution access to the assigned profile.
|
|
5
|
+
`insight-cli tools list --json` discovers shipped capabilities without profile configuration,
|
|
6
|
+
native runtimes, credentials or IPC. `skill <name>` returns the instructions' ordinary path;
|
|
7
|
+
it does not inject them into an agent automatically.
|
|
8
|
+
|
|
9
|
+
## Codex: one project-local bundle
|
|
10
|
+
|
|
11
|
+
The package prepares `skill-bundle`, containing an independent folder for every registered
|
|
12
|
+
skill. `insight-cli skill --json` returns its `bundlePath`. References stay inside each skill;
|
|
13
|
+
link the whole bundle once rather than connecting each tool separately. npm installation
|
|
14
|
+
never edits agent settings or project RE instructions.
|
|
15
|
+
|
|
16
|
+
With a global npm installation, run from the research project:
|
|
17
|
+
|
|
18
|
+
```sh
|
|
19
|
+
mkdir -p .agents/skills
|
|
20
|
+
ln -s "$(npm root -g)/@eyeauras/insight-cli/skill-bundle" .agents/skills/insight-toolbox
|
|
21
|
+
```
|
|
22
|
+
|
|
23
|
+
`ln` refuses an existing destination: inspect it instead of overwriting another skill or
|
|
24
|
+
connection. Local npm installations use the `bundlePath` from their actual CLI receipt.
|
|
25
|
+
These machine-local links are not portable files to commit to a shared project. Start a fresh
|
|
26
|
+
agent and verify all registered names/descriptions appear. The [official discovery contract](https://learn.chatgpt.com/docs/build-skills)
|
|
27
|
+
supports project skills and symlinked directories; our actual host gate must still establish
|
|
28
|
+
recursive discovery for this packaged bundle.
|
|
29
|
+
|
|
30
|
+
An npm upgrade at the same global prefix replaces the bundle at the same path, including newly
|
|
31
|
+
registered tool skills. Check its manifest/version and start a fresh host session after upgrade.
|
|
32
|
+
A changed npm prefix needs reconnection. To disconnect, inspect `readlink .agents/skills/insight-toolbox`
|
|
33
|
+
and remove only that owned symlink with `unlink .agents/skills/insight-toolbox`; preserve other
|
|
34
|
+
entries and the package. No copied skills, per-tool installer or second agent configuration
|
|
35
|
+
store is maintained. Other hosts may register this ordinary bundle through their own mechanism;
|
|
36
|
+
Codex is the first concrete supported-host gate.
|
|
37
|
+
|
|
38
|
+
## Execution access
|
|
39
|
+
|
|
40
|
+
A skill link does not grant filesystem or IPC permissions. Allow the assigned profile's AppData
|
|
41
|
+
and the CLI's `.runtime` directory, plus its exact local IPC endpoint. On macOS the application
|
|
42
|
+
root is `~/Library/Application Support/insight-cli`; its Unix socket is `.runtime/host.sock`.
|
|
43
|
+
Keep unrelated profiles outside the write scope and pass the assigned `--profile` explicitly.
|
|
44
|
+
Do not grant broad external network access merely to reach a local socket.
|
|
45
|
+
|
|
46
|
+
An inaccessible profile means readiness is unknown. Inspect access failures; stopping a shared
|
|
47
|
+
owner does not grant access to it. Existing restricted-host evaluation has not established a
|
|
48
|
+
complete facade workflow yet; a successful metadata call or filesystem grant alone is insufficient.
|
|
49
|
+
|
|
50
|
+
## Behavioral acceptance
|
|
51
|
+
|
|
52
|
+
Give a fresh agent an input and business question without commands/tool names. Verify startup
|
|
53
|
+
metadata, implicit skill selection, intended public-tool use, correct findings, saved ordinary
|
|
54
|
+
project files and cleanup. Ghidra edits additionally require merge and independent readback.
|
|
55
|
+
Repeat cold-runtime and prepared-runtime cases; retain failures and distinguish an external-tool
|
|
56
|
+
fallback from acceptance of the intended adapter. Package/skill existence is structural evidence,
|
|
57
|
+
not proof that a model completed research.
|
|
58
|
+
|
|
59
|
+
The project bundle is a symlink. A plain `find` does not follow it and can misleadingly
|
|
60
|
+
show no files. Use the host skill inventory, a named `.../<skill>/SKILL.md` path, or
|
|
61
|
+
`insight-cli skill <name>` to check availability; `find -L` follows the link if needed.
|
|
@@ -0,0 +1,49 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: insight-die
|
|
3
|
+
description: Classify unknown executable or container inputs by format, architecture and compiler/runtime/packer signatures with Detect It Easy before choosing managed or native analysis. Use insight-cli die for static triage and preserve scan uncertainty.
|
|
4
|
+
---
|
|
5
|
+
|
|
6
|
+
# Insight Detect It Easy 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 instructions and evidence format. DiE provides quick static triage;
|
|
16
|
+
it does not execute, unpack or decompile the input. Use the classification to choose a focused
|
|
17
|
+
next tool, then verify important claims with that tool.
|
|
18
|
+
|
|
19
|
+
1. `insight-cli die status --json` checks readiness. `die install` obtains our pinned console
|
|
20
|
+
bundle from GitHub Releases: DiE 3.21, its database and private dynamic Qt frameworks.
|
|
21
|
+
Managed delivery supports macOS 13+ ARM64. `die download`, `install --archive FILE` and
|
|
22
|
+
`--offline` use the ordinary managed lifecycle. No system Qt or installer is needed.
|
|
23
|
+
`install --executable /path/to/MacOS/diec` selects a compatible external bundle retaining
|
|
24
|
+
adjacent Resources/db, Resources/db_custom and Frameworks. The database and five required
|
|
25
|
+
frameworks are fingerprinted too. Uninstall preserves external files and research.
|
|
26
|
+
2. `insight-cli die classify INPUT --json` reads both file information and signatures.
|
|
27
|
+
`--target` reuses the captured immutable input instead of INPUT. Start with the default
|
|
28
|
+
scan; use `--deep` or `--heuristic` for a reason. The input is never launched.
|
|
29
|
+
3. Separate the file header from signature guesses. PE/ELF/Mach-O architecture is not proof
|
|
30
|
+
of the original programming language. A managed AnyCPU assembly can report an I386 PE
|
|
31
|
+
header; it does not establish the process architecture on another host. A .NET runtime
|
|
32
|
+
signature is a reason to inspect metadata with ILSpy. Native code, NativeAOT and unclear
|
|
33
|
+
managed recovery require native inspection such as LLVM or Ghidra.
|
|
34
|
+
4. Inspect `complete`, `state` and `diagnostics` before interpreting findings. The pinned
|
|
35
|
+
upstream scanner can append JavaScript signature errors after valid JSON and still exit
|
|
36
|
+
zero. We retain the useful records but mark that classification `partial`. Errors,
|
|
37
|
+
Unknown or no packer match never prove absence of packing/obfuscation/runtime code.
|
|
38
|
+
Cross-check important signature claims. Do not present a partial scan as exhaustive.
|
|
39
|
+
5. `--limit`/`--offset` page signature findings. `--output research/triage.json` saves the
|
|
40
|
+
complete bounded envelope including all findings/warnings to a new ordinary file, making
|
|
41
|
+
missing parents. Raw native stdout/stderr remain in each returned process's diagnostic
|
|
42
|
+
directory. The 4-MiB output bound and per-process deadline fail explicitly; limited output
|
|
43
|
+
is not a completed scan. Save completed research with `artifacts save` when useful.
|
|
44
|
+
|
|
45
|
+
`die doctor` checks the selected runtime. `tools processes --tool die --all` and `show <id>`
|
|
46
|
+
provide owned execution history. These reads need Update permission to capture input and run
|
|
47
|
+
the scanner. Generated `--help` owns exact syntax. Use the private bundle by default; copied
|
|
48
|
+
compatible Qt frameworks can be replaced and the resulting external bundle reselected as
|
|
49
|
+
explained in its NOTICE.txt. No Ghidra session or merge is needed for this static classifier.
|
|
@@ -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,65 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: insight-dnspy
|
|
3
|
+
description: Debug a managed Windows EXE at an IL breakpoint and read primitive arguments, or change one expected IL Int32 constant in a new assembly copy through insight-cli dnspy. Use when C# decompilation needs observed execution or a controlled binary edit.
|
|
4
|
+
---
|
|
5
|
+
|
|
6
|
+
# Insight dnSpyEx 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. Debugging executes the supplied application
|
|
16
|
+
in a new owned process; its ordinary file/network side effects still apply. Use only
|
|
17
|
+
inputs whose execution is authorized. The original process is not attached or reused.
|
|
18
|
+
Windows x64 and an interactive desktop are required. No source code or PDB is required
|
|
19
|
+
for a MethodDef token breakpoint and indexed primitive parameter read.
|
|
20
|
+
|
|
21
|
+
1. Check `insight-cli dnspy status --json`. `dnspy install --vendor-direct` acquires the
|
|
22
|
+
pinned upstream dnSpyEx 6.6.0 bundle and our mirrored private .NET 10.0.13 target runtime.
|
|
23
|
+
dnSpy's own debugger runtime is self-contained .NET 10.0.9. The upstream bundle contains
|
|
24
|
+
separately licensed VS 2017 DLLs that prohibit our redistribution, so its bytes are
|
|
25
|
+
fetched explicitly from dnSpyEx GitHub, checked by SHA256 and cached locally.
|
|
26
|
+
`download --vendor-direct` prepares acquisition first. For offline setup use
|
|
27
|
+
`install --archive dnSpy-net-win64.zip --dotnet-archive dotnet-runtime.zip --offline`.
|
|
28
|
+
`install --executable C:\tools\dnSpy\dnSpy.exe` selects the complete pinned external
|
|
29
|
+
runtime; only its pinned vendor files are copied into owned execution storage. The
|
|
30
|
+
first setup starts a private GUI to prepare a Unicode-compatible Core loader there;
|
|
31
|
+
external originals remain unchanged. Both copies are fingerprinted, and uninstall
|
|
32
|
+
preserves the external distribution. `doctor` checks
|
|
33
|
+
version and exact extension contracts without opening the GUI.
|
|
34
|
+
2. Use ILSpy metadata/IL to identify the managed module's MethodDef token (`0x060000NN`)
|
|
35
|
+
and exact decimal IL instruction offset. `dnspy inspect app.exe --method 0x06000002
|
|
36
|
+
--il-offset 0 --parameters 0 --json` launches a private Framework debugger, stops at that
|
|
37
|
+
location, reads selected zero-based primitive parameter indices and records a bounded
|
|
38
|
+
managed stack. After flushing the snapshot, its one-shot GUI exits and the owned Windows Job Object terminates the debuggee; it does not resume the program or rely on UI teardown.
|
|
39
|
+
A token belongs to one exact module; it is not a native address or stable cross-build ID.
|
|
40
|
+
3. For a Core application, select its apphost EXE and paired DLL:
|
|
41
|
+
`dnspy inspect app.exe --runtime core --module app.dll --companion app.runtimeconfig.json
|
|
42
|
+
app.deps.json --method 0x06000002 --parameters 0 --json`.
|
|
43
|
+
Explicitly add any required local DLLs with `--companion`; names and captured hashes are
|
|
44
|
+
retained. Managed setup supplies .NET 10.0.13; a different target runtime version may require a compatible explicit host. With an external debugger selection,
|
|
45
|
+
provide `--dotnet-host C:\dotnet\dotnet.exe` for a compatible Core runtime. Self-contained
|
|
46
|
+
applications may need additional declared companions; the facade does not copy a source
|
|
47
|
+
directory or guess startup dependencies. Use literal `--arg` values for program arguments.
|
|
48
|
+
4. `dnspy edit-constant app.dll --method 0x06000003 --il-offset 0 --expect-int32 7
|
|
49
|
+
--set-int32 37 --output research/app-patched.dll --json` changes only the selected existing
|
|
50
|
+
Int32 load instruction through dnSpy's loaded document and writes a new assembly.
|
|
51
|
+
A mismatched expected value fails; originals and existing output files are preserved.
|
|
52
|
+
Verify the output independently. Editing can invalidate signatures/strong names and does
|
|
53
|
+
not prove that the changed path executes. No Ghidra merge or original-file replacement occurs.
|
|
54
|
+
5. `--target ID` reuses a captured input; debug companions remain explicit. Debug `--limit` and
|
|
55
|
+
`--offset` bound returned stack frames; `--output research/managed-stop.json` saves the full
|
|
56
|
+
bounded result in a new ordinary file. Follow project evidence conventions and use
|
|
57
|
+
`artifacts save` for a checkpoint when helpful. Missing breakpoints, optimized/unavailable
|
|
58
|
+
parameters and runtime/dependency failures are unknowns, not invented values.
|
|
59
|
+
6. Every operation uses private settings and an isolated GUI under the Windows Job Object.
|
|
60
|
+
`tools processes --tool dnspy --all` retains jobs and diagnostics. Stop/kill target only an
|
|
61
|
+
owned process ID through `tools processes stop/kill`. Owner loss/deadline kills the owned
|
|
62
|
+
process tree; saved inputs and partial diagnostics remain. Lost responses do not trigger
|
|
63
|
+
automatic relaunch, expression evaluation, attach or edit replay.
|
|
64
|
+
|
|
65
|
+
Generated `dnspy inspect --help` and `dnspy edit-constant --help` own exact syntax.
|