@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,36 @@
|
|
|
1
|
+
# Agent host execution permissions
|
|
2
|
+
|
|
3
|
+
Keep the user/project host policy and the selected profile. A sandbox can deny writes
|
|
4
|
+
to runtime AppData or access to the local IPC endpoint, including during local help.
|
|
5
|
+
This is a host execution boundary, not evidence that the tool or its inputs are absent.
|
|
6
|
+
|
|
7
|
+
First retry only `insight-cli --help`, `tools list`, `skill`, or the selected application's
|
|
8
|
+
read-only `status` using the host's normal permission escalation. In Codex, use the
|
|
9
|
+
execution tool's `sandbox_permissions: "require_escalated"` with a scoped explanation
|
|
10
|
+
that the installed CLI needs its existing profile storage/local IPC. Automatic approval
|
|
11
|
+
review or the user decides that request; do not disable the sandbox or approval policy.
|
|
12
|
+
|
|
13
|
+
Do not work around this by changing HOME/AppData/profile paths, creating another host,
|
|
14
|
+
deleting owner/endpoint files, killing unrelated processes or claiming a missing runtime.
|
|
15
|
+
After the read-only probe succeeds, use the approved execution route for the intended
|
|
16
|
+
public CLI commands. An access refusal explicitly stating **no command was sent** is
|
|
17
|
+
known not dispatched; it is safe to submit that authorized command through the approved
|
|
18
|
+
route. This includes a mutation refused before dispatch. Do not mistake that definite
|
|
19
|
+
pre-dispatch refusal for an unknown execution outcome. Downloads still require their explicit
|
|
20
|
+
network access.
|
|
21
|
+
|
|
22
|
+
A lost mutation response is different from a denied startup probe: inspect retained
|
|
23
|
+
request/status/recovery evidence and use its request ID when supported. Never blindly
|
|
24
|
+
repeat a publication, script or program run whose outcome is unknown. External-tool
|
|
25
|
+
fallback is allowed by project rules, but record that the intended facade was not used
|
|
26
|
+
and do not invent a successful checkpoint or native result.
|
|
27
|
+
|
|
28
|
+
## Wait for the original execution
|
|
29
|
+
|
|
30
|
+
A tool operation may outlast the host execution tool's initial wait. A returned running
|
|
31
|
+
session/cell ID means that command is still in progress, not that the CLI returned no data.
|
|
32
|
+
Use the host's session poll/wait facility until terminal exit and consume stdout/stderr
|
|
33
|
+
before issuing a dependent command. In Codex, an `exec_command` session is continued with
|
|
34
|
+
`write_stdin`; a yielded execution cell uses that host's cell wait. Do not launch a second
|
|
35
|
+
open/install or repeat a CPU action just because the first chunk was empty. If the execution
|
|
36
|
+
really loses its terminal result, use the CLI's request/status recovery as described above.
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
# Static .NET research
|
|
2
|
+
|
|
3
|
+
Use the project's preferred tools and evidence conventions. When ILSpy is appropriate,
|
|
4
|
+
`insight-cli ilspy install` prepares its pinned CLI and private .NET runtime; a global SDK
|
|
5
|
+
or dotnet installation is unnecessary. Lifecycle and archive options appear in `--help`.
|
|
6
|
+
The ILSpy and runtime distributions come from our pinned GitHub Releases. For offline
|
|
7
|
+
installation supply `--archive` and `--dotnet-archive`, or use an already verified cache.
|
|
8
|
+
`--executable` selects a compatible external ilspycmd; uninstall preserves its files.
|
|
9
|
+
|
|
10
|
+
```sh
|
|
11
|
+
insight-cli ilspy types ./client.dll --json
|
|
12
|
+
insight-cli ilspy decompile --target <returned-target> --type Example.Policy --output policy.cs --json
|
|
13
|
+
insight-cli ilspy il --target <target> --type Example.Policy --json
|
|
14
|
+
insight-cli ilspy resources --target <target> --json
|
|
15
|
+
insight-cli ilspy resource --target <target> --name Example.settings.json --output extracted --json
|
|
16
|
+
insight-cli ilspy project --target <target> --output recovered-project --json
|
|
17
|
+
insight-cli ilspy metadata --target <target> --table MethodDef --json
|
|
18
|
+
```
|
|
19
|
+
|
|
20
|
+
Use either an input file or an existing target. Reusing the target associates Ghidra and
|
|
21
|
+
ILSpy results with the same immutable bytes. No Ghidra context or merge is needed for a
|
|
22
|
+
stateless ILSpy read. An optional `--session` associates an existing session; it does not
|
|
23
|
+
create one. These calls require Update to capture input and run a tool.
|
|
24
|
+
|
|
25
|
+
Text responses include `content`, input SHA, process ID, elapsed time and diagnostic paths.
|
|
26
|
+
`--member` selects a metadata token or XML member ID for decompilation. Output paths must
|
|
27
|
+
be new: text operations create one ordinary file, project/resource operations create a
|
|
28
|
+
folder. Keep useful output in the project's chosen evidence location; `artifacts save`
|
|
29
|
+
is an optional explicit checkpoint. Static decompilation does not execute an assembly.
|
|
30
|
+
|
|
31
|
+
Use `tools processes --tool ilspy --all` for execution history and `tools processes show
|
|
32
|
+
<process-id>` for retained diagnostics. A failed or interrupted export can leave partial
|
|
33
|
+
files/staging; inspect them and choose a new output path for another intentional run.
|
|
@@ -0,0 +1,54 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: insight-interop
|
|
3
|
+
description: Trace a .NET P/Invoke declaration to an explicitly supplied native library export and Ghidra function through insight-cli ilspy query, binary query and scoped ghidra APIs. Use for managed/native linkage evidence while keeping static correspondence separate from observed loading or execution.
|
|
4
|
+
---
|
|
5
|
+
|
|
6
|
+
# Insight Interop 0.2.1
|
|
7
|
+
|
|
8
|
+
If local help/status reports AppData or IPC access denied, retry that **read-only probe**
|
|
9
|
+
with the agent host's normal permission escalation, then use that route for later authorized
|
|
10
|
+
CLI calls too. An explicit **no command was sent** denial is known undispatched and can be
|
|
11
|
+
retried through that route. Keep HOME, profile and owner state; see
|
|
12
|
+
[host execution permissions](references/agent-execution.md). A lost mutation reply needs
|
|
13
|
+
request/status recovery, never blind retry.
|
|
14
|
+
|
|
15
|
+
Respect project RE/evidence rules. This workflow composes existing public APIs, without
|
|
16
|
+
another runtime, global active binary or universal library resolver. Tokens and native
|
|
17
|
+
addresses identify different immutable targets; preserve both hashes in the finding.
|
|
18
|
+
|
|
19
|
+
1. Read `ilspy query managed.dll --view imports --json`. Select the exact managed signature,
|
|
20
|
+
MethodDef token, declared module/entrypoint, calling convention, charset and spelling
|
|
21
|
+
flags. Drill into `--view method --method TOKEN` when needed. An absent declaration
|
|
22
|
+
does not exclude dynamic loading, generated interop, reflection or runtime resolvers.
|
|
23
|
+
2. Select candidate native files explicitly. `binary query candidate.dll --json` identifies
|
|
24
|
+
format, architecture and image base. A filename match alone is insufficient. A neutral
|
|
25
|
+
IL assembly does not select the eventual runtime architecture by itself.
|
|
26
|
+
3. Query `--view exports --filter ENTRYPOINT`, then verify the **exact** name in the returned
|
|
27
|
+
row: the filter is a substring. Keep its native target/hash, ordinal, RVA and VA. Do not
|
|
28
|
+
treat a forwarded PE export as code; follow its named library/export using another
|
|
29
|
+
explicitly supplied candidate. Ordinal imports, name decoration, charset A/W probing,
|
|
30
|
+
Mach-O leading underscores and ambiguous candidates need explicit ABI/loader evidence;
|
|
31
|
+
never silently choose a winner by stripping names or comparing addresses alone.
|
|
32
|
+
4. `ghidra open candidate.dll --session new --json` opens an isolated native context. Match
|
|
33
|
+
this returned native target identity to the file just queried. Use
|
|
34
|
+
`ghidra functions get --session S --target T --address VA --json`, then
|
|
35
|
+
`ghidra functions decompile --session S --target T --address VA --json` to inspect the
|
|
36
|
+
exact implementation candidate. An address pointing to data or an unavailable function
|
|
37
|
+
is unresolved; do not create a claimed implementation merely to finish the workflow.
|
|
38
|
+
5. Write ordinary project evidence linking the managed declaration, concrete native export,
|
|
39
|
+
scoped Ghidra function and useful behavior. Label this **static correspondence**. It
|
|
40
|
+
proves neither that this file was selected by the runtime nor that the call occurred:
|
|
41
|
+
search paths, architecture, custom resolvers and marshaling can change the actual route.
|
|
42
|
+
An authorized Frida/LLDB/dnSpy observation is separate evidence when execution is needed.
|
|
43
|
+
6. If a useful annotation belongs in the shared Ghidra model, edit the chosen session/target
|
|
44
|
+
and explicitly `ghidra merge --session S --target T`. Verify it from a new context;
|
|
45
|
+
other workers refresh explicitly and retain their local changes. Metadata/binary reads
|
|
46
|
+
have no independent merge. Checkpoint ordinary materials with `artifacts save` as useful.
|
|
47
|
+
7. Close the contexts you own. If the profile's local server belongs exclusively to this
|
|
48
|
+
investigation, stop it with `ghidra server stop` and verify `ghidra status` before stopping
|
|
49
|
+
the CLI owner. `ipc-server stop` does not stop that Ghidra server. For shared work, leave
|
|
50
|
+
server shutdown to the coordinator; never stop another worker's contexts or server.
|
|
51
|
+
|
|
52
|
+
Use each tool's dedicated packaged skill for install/status, bounds and generated help.
|
|
53
|
+
MacOS native workflow acceptance uses static Windows PE/.NET fixtures; it does not claim
|
|
54
|
+
those Windows binaries execute on macOS. Project-specific formats and tools take precedence.
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
# Agent host execution permissions
|
|
2
|
+
|
|
3
|
+
Keep the user/project host policy and the selected profile. A sandbox can deny writes
|
|
4
|
+
to runtime AppData or access to the local IPC endpoint, including during local help.
|
|
5
|
+
This is a host execution boundary, not evidence that the tool or its inputs are absent.
|
|
6
|
+
|
|
7
|
+
First retry only `insight-cli --help`, `tools list`, `skill`, or the selected application's
|
|
8
|
+
read-only `status` using the host's normal permission escalation. In Codex, use the
|
|
9
|
+
execution tool's `sandbox_permissions: "require_escalated"` with a scoped explanation
|
|
10
|
+
that the installed CLI needs its existing profile storage/local IPC. Automatic approval
|
|
11
|
+
review or the user decides that request; do not disable the sandbox or approval policy.
|
|
12
|
+
|
|
13
|
+
Do not work around this by changing HOME/AppData/profile paths, creating another host,
|
|
14
|
+
deleting owner/endpoint files, killing unrelated processes or claiming a missing runtime.
|
|
15
|
+
After the read-only probe succeeds, use the approved execution route for the intended
|
|
16
|
+
public CLI commands. An access refusal explicitly stating **no command was sent** is
|
|
17
|
+
known not dispatched; it is safe to submit that authorized command through the approved
|
|
18
|
+
route. This includes a mutation refused before dispatch. Do not mistake that definite
|
|
19
|
+
pre-dispatch refusal for an unknown execution outcome. Downloads still require their explicit
|
|
20
|
+
network access.
|
|
21
|
+
|
|
22
|
+
A lost mutation response is different from a denied startup probe: inspect retained
|
|
23
|
+
request/status/recovery evidence and use its request ID when supported. Never blindly
|
|
24
|
+
repeat a publication, script or program run whose outcome is unknown. External-tool
|
|
25
|
+
fallback is allowed by project rules, but record that the intended facade was not used
|
|
26
|
+
and do not invent a successful checkpoint or native result.
|
|
27
|
+
|
|
28
|
+
## Wait for the original execution
|
|
29
|
+
|
|
30
|
+
A tool operation may outlast the host execution tool's initial wait. A returned running
|
|
31
|
+
session/cell ID means that command is still in progress, not that the CLI returned no data.
|
|
32
|
+
Use the host's session poll/wait facility until terminal exit and consume stdout/stderr
|
|
33
|
+
before issuing a dependent command. In Codex, an `exec_command` session is continued with
|
|
34
|
+
`write_stdin`; a yielded execution cell uses that host's cell wait. Do not launch a second
|
|
35
|
+
open/install or repeat a CPU action just because the first chunk was empty. If the execution
|
|
36
|
+
really loses its terminal result, use the CLI's request/status recovery as described above.
|
|
@@ -0,0 +1,54 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: insight-lldb
|
|
3
|
+
description: Observe native runtime arguments, return values, registers, stacks and bounded memory at a selected breakpoint using an owned LLDB launch. Use insight-cli lldb on macOS ARM64 when static findings need a concrete execution check.
|
|
4
|
+
---
|
|
5
|
+
|
|
6
|
+
# Insight LLDB 0.2.1
|
|
7
|
+
|
|
8
|
+
If local help/status reports AppData or IPC access denied, retry that **read-only probe**
|
|
9
|
+
with the agent host's normal permission escalation, then use that route for later authorized
|
|
10
|
+
CLI calls too. An explicit **no command was sent** denial is known undispatched and can be
|
|
11
|
+
retried through that route. Keep HOME, profile and owner state; see
|
|
12
|
+
[host execution permissions](references/agent-execution.md). A lost mutation reply needs
|
|
13
|
+
request/status recovery, never blind retry.
|
|
14
|
+
|
|
15
|
+
Follow the project's RE and evidence conventions. This debugger runs a native input; choose
|
|
16
|
+
an input whose execution and application side effects are authorized. It launches a separate
|
|
17
|
+
owned copy, captures one breakpoint observation and terminates that launch. It does not attach
|
|
18
|
+
to an existing process or resume a crashed execution.
|
|
19
|
+
|
|
20
|
+
1. `insight-cli lldb status --json` checks readiness. `lldb install` obtains our pinned
|
|
21
|
+
LLDB 23.1.3 bundle (debugger, debugserver and library) from GitHub Releases. Managed delivery
|
|
22
|
+
requires macOS 14+ ARM64. `download`, `install --archive FILE --offline`, `doctor` and
|
|
23
|
+
`uninstall` use the shared lifecycle. `install --executable /path/to/bin/lldb` selects
|
|
24
|
+
an external compatible bundle with its adjacent bin/debugserver and lib directory;
|
|
25
|
+
these dependencies are fingerprinted. External files and research survive uninstall.
|
|
26
|
+
2. Start from static evidence identifying the relevant function and a useful input.
|
|
27
|
+
`insight-cli lldb inspect INPUT --breakpoint FUNCTION --step-out --json` records arguments,
|
|
28
|
+
registers, backtrace and the return from that call. `--target ID` reuses a captured input.
|
|
29
|
+
Only a native thin ARM64 Mach-O is supported here; a Windows PE imported into Ghidra cannot run
|
|
30
|
+
on this host. An optimized/stripped binary may omit names, arguments or source variables.
|
|
31
|
+
`--symbols FILE` captures a matching DWARF file from a dSYM bundle and loads it before launch.
|
|
32
|
+
`--variables` explicitly requests locals when debug information is available; without it
|
|
33
|
+
registers/backtraces remain useful for stripped code. Moving an executable alone does not
|
|
34
|
+
retain its adjacent dSYM.
|
|
35
|
+
3. `--hit N` skips earlier calls; compare calls around the relevant boundary. `--arg` supplies
|
|
36
|
+
literal program arguments without shell expansion. Backticks are rejected because LLDB uses them
|
|
37
|
+
for expression substitution. `--registers pc,sp,x0` selects registers.
|
|
38
|
+
`--memory-address '$sp' --memory-bytes 64` records a bounded memory window. A `0x` breakpoint
|
|
39
|
+
is a file address; memory addresses and printed pointers are runtime addresses affected by
|
|
40
|
+
ASLR. Establish correspondence before combining them with static analysis.
|
|
41
|
+
4. A snapshot proves one observed path and input, not all possible behavior. `--limit` and
|
|
42
|
+
`--offset` page native lines. `--output research/snapshot.json` saves the full bounded
|
|
43
|
+
snapshot to a new ordinary file, creating parents. Raw diagnostics remain under the
|
|
44
|
+
returned process directory. Preserve useful files with `artifacts save` when appropriate.
|
|
45
|
+
5. The deadline (default 30 seconds, up to 600) survives owner loss. LLDB is configured to
|
|
46
|
+
kill its inferior on debugger connection loss. `tools processes --tool lldb --all` shows
|
|
47
|
+
history; stop/kill applies to verified owned collectors. After an owner crash a live
|
|
48
|
+
recovered macOS PID may be unverified: wait for its kernel deadline, inspect retained
|
|
49
|
+
records and do not replay an execution blindly. Observed exit after loss means an unknown
|
|
50
|
+
result, not a completed snapshot. Init files are disabled; no arbitrary debugger script
|
|
51
|
+
or expression evaluation is exposed by this facade.
|
|
52
|
+
|
|
53
|
+
Generated `lldb inspect --help` owns exact syntax. No Ghidra session or merge is required;
|
|
54
|
+
these are runtime observations to corroborate static research.
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
# Agent host execution permissions
|
|
2
|
+
|
|
3
|
+
Keep the user/project host policy and the selected profile. A sandbox can deny writes
|
|
4
|
+
to runtime AppData or access to the local IPC endpoint, including during local help.
|
|
5
|
+
This is a host execution boundary, not evidence that the tool or its inputs are absent.
|
|
6
|
+
|
|
7
|
+
First retry only `insight-cli --help`, `tools list`, `skill`, or the selected application's
|
|
8
|
+
read-only `status` using the host's normal permission escalation. In Codex, use the
|
|
9
|
+
execution tool's `sandbox_permissions: "require_escalated"` with a scoped explanation
|
|
10
|
+
that the installed CLI needs its existing profile storage/local IPC. Automatic approval
|
|
11
|
+
review or the user decides that request; do not disable the sandbox or approval policy.
|
|
12
|
+
|
|
13
|
+
Do not work around this by changing HOME/AppData/profile paths, creating another host,
|
|
14
|
+
deleting owner/endpoint files, killing unrelated processes or claiming a missing runtime.
|
|
15
|
+
After the read-only probe succeeds, use the approved execution route for the intended
|
|
16
|
+
public CLI commands. An access refusal explicitly stating **no command was sent** is
|
|
17
|
+
known not dispatched; it is safe to submit that authorized command through the approved
|
|
18
|
+
route. This includes a mutation refused before dispatch. Do not mistake that definite
|
|
19
|
+
pre-dispatch refusal for an unknown execution outcome. Downloads still require their explicit
|
|
20
|
+
network access.
|
|
21
|
+
|
|
22
|
+
A lost mutation response is different from a denied startup probe: inspect retained
|
|
23
|
+
request/status/recovery evidence and use its request ID when supported. Never blindly
|
|
24
|
+
repeat a publication, script or program run whose outcome is unknown. External-tool
|
|
25
|
+
fallback is allowed by project rules, but record that the intended facade was not used
|
|
26
|
+
and do not invent a successful checkpoint or native result.
|
|
27
|
+
|
|
28
|
+
## Wait for the original execution
|
|
29
|
+
|
|
30
|
+
A tool operation may outlast the host execution tool's initial wait. A returned running
|
|
31
|
+
session/cell ID means that command is still in progress, not that the CLI returned no data.
|
|
32
|
+
Use the host's session poll/wait facility until terminal exit and consume stdout/stderr
|
|
33
|
+
before issuing a dependent command. In Codex, an `exec_command` session is continued with
|
|
34
|
+
`write_stdin`; a yielded execution cell uses that host's cell wait. Do not launch a second
|
|
35
|
+
open/install or repeat a CPU action just because the first chunk was empty. If the execution
|
|
36
|
+
really loses its terminal result, use the CLI's request/status recovery as described above.
|
|
@@ -0,0 +1,56 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: insight-llvm
|
|
3
|
+
description: Inspect PE, ELF and Mach-O headers, dependencies, exports and symbols; query PDB debug information or a small instruction window with insight-cli LLVM utilities before opening a full analysis project.
|
|
4
|
+
---
|
|
5
|
+
|
|
6
|
+
# Insight LLVM 0.2.1
|
|
7
|
+
|
|
8
|
+
If local help/status reports AppData or IPC access denied, retry that **read-only probe**
|
|
9
|
+
with the agent host's normal permission escalation, then use that route for later authorized
|
|
10
|
+
CLI calls too. An explicit **no command was sent** denial is known undispatched and can be
|
|
11
|
+
retried through that route. Keep HOME, profile and owner state; see
|
|
12
|
+
[host execution permissions](references/agent-execution.md). A lost mutation reply needs
|
|
13
|
+
request/status recovery, never blind retry.
|
|
14
|
+
|
|
15
|
+
Use existing project RE rules and evidence paths. These are static reads; no Ghidra project,
|
|
16
|
+
program execution or shared merge is needed. Use Ghidra when the question needs recovered
|
|
17
|
+
control flow, decompilation or persistent annotations.
|
|
18
|
+
|
|
19
|
+
1. `insight-cli llvm status --json` checks readiness. `llvm install` prepares the pinned
|
|
20
|
+
four-utility bundle from our GitHub Release; `--archive` and `--offline` support local
|
|
21
|
+
installation. Managed LLVM 23.1.3 requires macOS 14+ ARM64. `--executable` selects an
|
|
22
|
+
external llvm-readobj with compatible llvm-nm, llvm-objdump and llvm-pdbutil siblings.
|
|
23
|
+
The whole known external family is fingerprinted; uninstall preserves external files.
|
|
24
|
+
2. Use `llvm headers INPUT`, `sections`, `imports`, `exports` or `symbols` for focused
|
|
25
|
+
inventories. Reuse `--target` instead of INPUT for the same immutable bytes. Stripped
|
|
26
|
+
images can have no ordinary symbols; that does not prove there are no functions.
|
|
27
|
+
`symbols` includes local/static definitions; these are not automatically exported APIs.
|
|
28
|
+
For ELF, `exports` uses the dynamic symbol table while `symbols` uses ordinary symbols.
|
|
29
|
+
3. For a supplied PDB, start with `llvm pdb FILE --view summary` and `--view modules`.
|
|
30
|
+
Use `--view globals --symbol NAME` for a named global, `--view publics` for public
|
|
31
|
+
addresses, or `--view symbols --module INDEX` for procedure/local records. `--view types`
|
|
32
|
+
gives statistics until `--type-index 0xINDEX` selects a particular record. PDB symbol
|
|
33
|
+
addresses are section:offset pairs: combine the corresponding image section RVA and
|
|
34
|
+
image base from headers/sections; they are not file offsets. In pdbutil these padded
|
|
35
|
+
section:offset numbers are decimal (an explicit `0x` elsewhere means hexadecimal).
|
|
36
|
+
4. `llvm disassemble IMAGE --address 0xVIRTUAL_ADDRESS --bytes 128` returns a bounded
|
|
37
|
+
instruction interval. Distinguish static virtual addresses, RVAs and file offsets;
|
|
38
|
+
runtime load bias is not established by these static commands. If the instructions load
|
|
39
|
+
constants from a section, use `llvm section-data IMAGE --section NAME` and the section
|
|
40
|
+
address/endianness to inspect their actual values. The complete section must fit the
|
|
41
|
+
4-MiB native-output bound; oversized sections fail explicitly and need another focused
|
|
42
|
+
binary-reading tool rather than an assumed complete result.
|
|
43
|
+
5. Keep useful output in the project's format. Text views page with `--limit`/`--offset`;
|
|
44
|
+
`--filter` selects matching native lines and can omit surrounding context. `--output`
|
|
45
|
+
writes full bounded native text to a new file, creating missing parent directories.
|
|
46
|
+
Use focused PDB/module/type queries instead of asking for every symbol or instruction.
|
|
47
|
+
|
|
48
|
+
The four upstream executables supply native text inside our JSON envelope. In particular,
|
|
49
|
+
upstream readobj JSON output is not treated as a reliable structured COFF contract. ELF
|
|
50
|
+
imports show needed libraries and undefined dynamic symbols; Mach-O imports show dylibs and
|
|
51
|
+
undefined symbols. This is static linkage evidence, not proof of observed runtime calls.
|
|
52
|
+
|
|
53
|
+
These calls need Update permission to capture input and run tools. Generated `--help` owns
|
|
54
|
+
exact syntax. `tools processes --tool llvm --all` and `show <id>` retain execution diagnostics;
|
|
55
|
+
failed/limited output is not a complete inventory. Save completed ordinary files through
|
|
56
|
+
`artifacts save` when a checkpoint is useful.
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
# Agent host execution permissions
|
|
2
|
+
|
|
3
|
+
Keep the user/project host policy and the selected profile. A sandbox can deny writes
|
|
4
|
+
to runtime AppData or access to the local IPC endpoint, including during local help.
|
|
5
|
+
This is a host execution boundary, not evidence that the tool or its inputs are absent.
|
|
6
|
+
|
|
7
|
+
First retry only `insight-cli --help`, `tools list`, `skill`, or the selected application's
|
|
8
|
+
read-only `status` using the host's normal permission escalation. In Codex, use the
|
|
9
|
+
execution tool's `sandbox_permissions: "require_escalated"` with a scoped explanation
|
|
10
|
+
that the installed CLI needs its existing profile storage/local IPC. Automatic approval
|
|
11
|
+
review or the user decides that request; do not disable the sandbox or approval policy.
|
|
12
|
+
|
|
13
|
+
Do not work around this by changing HOME/AppData/profile paths, creating another host,
|
|
14
|
+
deleting owner/endpoint files, killing unrelated processes or claiming a missing runtime.
|
|
15
|
+
After the read-only probe succeeds, use the approved execution route for the intended
|
|
16
|
+
public CLI commands. An access refusal explicitly stating **no command was sent** is
|
|
17
|
+
known not dispatched; it is safe to submit that authorized command through the approved
|
|
18
|
+
route. This includes a mutation refused before dispatch. Do not mistake that definite
|
|
19
|
+
pre-dispatch refusal for an unknown execution outcome. Downloads still require their explicit
|
|
20
|
+
network access.
|
|
21
|
+
|
|
22
|
+
A lost mutation response is different from a denied startup probe: inspect retained
|
|
23
|
+
request/status/recovery evidence and use its request ID when supported. Never blindly
|
|
24
|
+
repeat a publication, script or program run whose outcome is unknown. External-tool
|
|
25
|
+
fallback is allowed by project rules, but record that the intended facade was not used
|
|
26
|
+
and do not invent a successful checkpoint or native result.
|
|
27
|
+
|
|
28
|
+
## Wait for the original execution
|
|
29
|
+
|
|
30
|
+
A tool operation may outlast the host execution tool's initial wait. A returned running
|
|
31
|
+
session/cell ID means that command is still in progress, not that the CLI returned no data.
|
|
32
|
+
Use the host's session poll/wait facility until terminal exit and consume stdout/stderr
|
|
33
|
+
before issuing a dependent command. In Codex, an `exec_command` session is continued with
|
|
34
|
+
`write_stdin`; a yielded execution cell uses that host's cell wait. Do not launch a second
|
|
35
|
+
open/install or repeat a CPU action just because the first chunk was empty. If the execution
|
|
36
|
+
really loses its terminal result, use the CLI's request/status recovery as described above.
|
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: insight-managed-heap
|
|
3
|
+
description: Query structured .NET heap objects, primitive fields and managed stacks from a retained CoreCLR dump through insight-cli dotnet-dump query. Use for bounded offline dump investigation with an explicit matching DAC, preserving uncertainty and immutable input identity.
|
|
4
|
+
---
|
|
5
|
+
|
|
6
|
+
# Insight Managed Heap 0.2.1
|
|
7
|
+
|
|
8
|
+
If local help/status reports AppData or IPC access denied, retry that **read-only probe**
|
|
9
|
+
with the agent host's normal permission escalation, then use that route for later authorized
|
|
10
|
+
CLI calls too. An explicit **no command was sent** denial is known undispatched and can be
|
|
11
|
+
retried through that route. Keep HOME, profile and owner state; see
|
|
12
|
+
[host execution permissions](references/agent-execution.md). A lost mutation reply needs
|
|
13
|
+
request/status recovery, never blind retry.
|
|
14
|
+
|
|
15
|
+
Follow project RE/evidence rules. ClrMD is an internal packaged library, not an application
|
|
16
|
+
that needs another install. This API reads one immutable dump; it never attaches to a live
|
|
17
|
+
process, evaluates target expressions or downloads symbols/dependencies.
|
|
18
|
+
|
|
19
|
+
1. Use `dotnet-dump status` and `dotnet-dump install` for the existing private .NET runtime.
|
|
20
|
+
No compiler/SDK is needed. Native acceptance is macOS ARM64 CoreCLR only.
|
|
21
|
+
2. `dotnet-dump query worker.dmp --json` identifies the dump architecture, CLR runtime and
|
|
22
|
+
heap availability. The managed default DAC is 10.0.13. A different runtime needs an
|
|
23
|
+
explicitly trusted matching `--dac-file /runtime/libmscordaccore.dylib`; matching OS,
|
|
24
|
+
architecture and runtime are required. An external diagnostics selection also needs
|
|
25
|
+
`--dotnet-host /runtime/dotnet`. Mismatch fails; it is never silently ignored.
|
|
26
|
+
3. `dotnet-dump query --target TARGET --view objects --type Exact.Type --json` lists object
|
|
27
|
+
addresses and sizes. Heap/Full dumps are normally needed. `--max-objects` bounds scanning;
|
|
28
|
+
a reached bound means partial prefix coverage, never proof that a type is absent.
|
|
29
|
+
4. Drill down with `--view object --address 0xADDRESS --type Exact.Type`. Addresses belong
|
|
30
|
+
only to that exact dump. Primitive fields and up to 256 string characters are returned;
|
|
31
|
+
reference fields supply an address for another explicit query. Structs, unreadable
|
|
32
|
+
memory and unsupported field values remain unavailable, without expression evaluation.
|
|
33
|
+
64-bit numeric values and pointers are strings to preserve precision.
|
|
34
|
+
5. `--view stacks` returns managed frames; `--thread OS_THREAD_ID` focuses one dump thread.
|
|
35
|
+
Each selected stack is bounded to 128 frames. A dump is a snapshot, not proof that a
|
|
36
|
+
frame is still executing or consuming CPU. Missing code/symbols can leave methods unknown.
|
|
37
|
+
6. `--limit`/`--offset` page objects, fields or threads. `--output research/query.json` saves
|
|
38
|
+
this bounded result to a new ordinary JSON file; preserve partial flags in project notes.
|
|
39
|
+
Checkpoint selected evidence with `artifacts save` when useful. Removing the diagnostics
|
|
40
|
+
runtime preserves immutable dump inputs and saved research.
|
|
41
|
+
|
|
42
|
+
Generated `dotnet-dump query --help` owns options. Existing `analyze --command` remains useful
|
|
43
|
+
for focused native SOS text, but SOS output errors are not successful object findings.
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
# Agent host execution permissions
|
|
2
|
+
|
|
3
|
+
Keep the user/project host policy and the selected profile. A sandbox can deny writes
|
|
4
|
+
to runtime AppData or access to the local IPC endpoint, including during local help.
|
|
5
|
+
This is a host execution boundary, not evidence that the tool or its inputs are absent.
|
|
6
|
+
|
|
7
|
+
First retry only `insight-cli --help`, `tools list`, `skill`, or the selected application's
|
|
8
|
+
read-only `status` using the host's normal permission escalation. In Codex, use the
|
|
9
|
+
execution tool's `sandbox_permissions: "require_escalated"` with a scoped explanation
|
|
10
|
+
that the installed CLI needs its existing profile storage/local IPC. Automatic approval
|
|
11
|
+
review or the user decides that request; do not disable the sandbox or approval policy.
|
|
12
|
+
|
|
13
|
+
Do not work around this by changing HOME/AppData/profile paths, creating another host,
|
|
14
|
+
deleting owner/endpoint files, killing unrelated processes or claiming a missing runtime.
|
|
15
|
+
After the read-only probe succeeds, use the approved execution route for the intended
|
|
16
|
+
public CLI commands. An access refusal explicitly stating **no command was sent** is
|
|
17
|
+
known not dispatched; it is safe to submit that authorized command through the approved
|
|
18
|
+
route. This includes a mutation refused before dispatch. Do not mistake that definite
|
|
19
|
+
pre-dispatch refusal for an unknown execution outcome. Downloads still require their explicit
|
|
20
|
+
network access.
|
|
21
|
+
|
|
22
|
+
A lost mutation response is different from a denied startup probe: inspect retained
|
|
23
|
+
request/status/recovery evidence and use its request ID when supported. Never blindly
|
|
24
|
+
repeat a publication, script or program run whose outcome is unknown. External-tool
|
|
25
|
+
fallback is allowed by project rules, but record that the intended facade was not used
|
|
26
|
+
and do not invent a successful checkpoint or native result.
|
|
27
|
+
|
|
28
|
+
## Wait for the original execution
|
|
29
|
+
|
|
30
|
+
A tool operation may outlast the host execution tool's initial wait. A returned running
|
|
31
|
+
session/cell ID means that command is still in progress, not that the CLI returned no data.
|
|
32
|
+
Use the host's session poll/wait facility until terminal exit and consume stdout/stderr
|
|
33
|
+
before issuing a dependent command. In Codex, an `exec_command` session is continued with
|
|
34
|
+
`write_stdin`; a yielded execution cell uses that host's cell wait. Do not launch a second
|
|
35
|
+
open/install or repeat a CPU action just because the first chunk was empty. If the execution
|
|
36
|
+
really loses its terminal result, use the CLI's request/status recovery as described above.
|
|
@@ -0,0 +1,52 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: insight-managed-metadata
|
|
3
|
+
description: Query managed assembly metadata, MethodDef tokens, P/Invoke declarations and bounded IL, or compare two C#/.NET assemblies through insight-cli ilspy query/compare. Use for structured static evidence and changed-method research without executing the target.
|
|
4
|
+
---
|
|
5
|
+
|
|
6
|
+
# Insight Managed Metadata 0.2.1
|
|
7
|
+
|
|
8
|
+
If local help/status reports AppData or IPC access denied, retry that **read-only probe**
|
|
9
|
+
with the agent host's normal permission escalation, then use that route for later authorized
|
|
10
|
+
CLI calls too. An explicit **no command was sent** denial is known undispatched and can be
|
|
11
|
+
retried through that route. Keep HOME, profile and owner state; see
|
|
12
|
+
[host execution permissions](references/agent-execution.md). A lost mutation reply needs
|
|
13
|
+
request/status recovery, never blind retry.
|
|
14
|
+
|
|
15
|
+
Keep the project's RE and evidence conventions. This capability parses assembly bytes;
|
|
16
|
+
it never loads target code for execution, resolves ambient assemblies or loads PDBs.
|
|
17
|
+
dnlib is a packaged implementation library, not another application to install.
|
|
18
|
+
|
|
19
|
+
1. Use the existing `ilspy status` and `ilspy install` for its private .NET 10 runtime.
|
|
20
|
+
With an external ILSpy selection, supply a compatible explicit `--dotnet-host`.
|
|
21
|
+
No SDK/compiler is needed on the consumer machine.
|
|
22
|
+
2. `ilspy query app.dll --json` gives assembly identity, metadata runtime/framework hints,
|
|
23
|
+
type/method/import counts and bounded references/resources. Metadata runtime version
|
|
24
|
+
is not the required execution runtime; the framework attribute may be absent or forged.
|
|
25
|
+
3. For a method question, start with
|
|
26
|
+
`ilspy query app.dll --view methods --name-filter TERM --limit 10 --json`.
|
|
27
|
+
This case-insensitive short-name search returns exact names/tokens and excludes
|
|
28
|
+
declaring namespaces, types and parameter/return signatures. It also selects managed
|
|
29
|
+
method names for imports, exact-method queries and compare. `--filter TEXT` retains its
|
|
30
|
+
case-sensitive full-name/signature substring behavior; a namespace term can match every
|
|
31
|
+
method. An unfiltered first/last page or shell-truncated match list cannot establish
|
|
32
|
+
absence: refine the short-name query before concluding. `--view types` and
|
|
33
|
+
`--view methods --type FULLNAME` provide bounded structural discovery. Drill down with
|
|
34
|
+
`ilspy query --target TARGET --view method --method 0x06000002 --limit 50 --json`.
|
|
35
|
+
Offsets are IL instruction offsets, not native addresses. Tokens belong to one exact
|
|
36
|
+
module SHA and may change when unrelated methods are added.
|
|
37
|
+
4. `--view imports` returns actual P/Invoke module, entrypoint, flags and managed signature.
|
|
38
|
+
A declaration is static evidence; it does not prove which file the runtime loaded or
|
|
39
|
+
that the import was invoked. Use native exports/Ghidra for static correspondence and
|
|
40
|
+
an authorized runtime observation when execution evidence is needed.
|
|
41
|
+
5. `ilspy compare before.dll after.dll --json` identifies added/removed signatures,
|
|
42
|
+
changed normalized IL/imports and reference changes. Operand names and branch/local
|
|
43
|
+
indices avoid treating metadata RID changes alone as changed code. Signature changes
|
|
44
|
+
appear as removed/added methods. Equal structure is not semantic equivalence: runtime,
|
|
45
|
+
dependency, configuration and environment changes can still affect behavior.
|
|
46
|
+
6. Inputs are bounded to 64 MiB; `--limit`/`--offset` page rows or instructions. Comparisons
|
|
47
|
+
scan at most 100000 methods; narrow a large query with `--type`/`--filter`.
|
|
48
|
+
`--output research/metadata.json` saves the current bounded result/page to a new file.
|
|
49
|
+
Use ordinary project notes and `artifacts save` when a checkpoint is useful.
|
|
50
|
+
|
|
51
|
+
Generated `ilspy query --help` and `ilspy compare --help` own exact options. Use the
|
|
52
|
+
existing decompile/IL commands when a source-style explanation is more useful than metadata.
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
# Agent host execution permissions
|
|
2
|
+
|
|
3
|
+
Keep the user/project host policy and the selected profile. A sandbox can deny writes
|
|
4
|
+
to runtime AppData or access to the local IPC endpoint, including during local help.
|
|
5
|
+
This is a host execution boundary, not evidence that the tool or its inputs are absent.
|
|
6
|
+
|
|
7
|
+
First retry only `insight-cli --help`, `tools list`, `skill`, or the selected application's
|
|
8
|
+
read-only `status` using the host's normal permission escalation. In Codex, use the
|
|
9
|
+
execution tool's `sandbox_permissions: "require_escalated"` with a scoped explanation
|
|
10
|
+
that the installed CLI needs its existing profile storage/local IPC. Automatic approval
|
|
11
|
+
review or the user decides that request; do not disable the sandbox or approval policy.
|
|
12
|
+
|
|
13
|
+
Do not work around this by changing HOME/AppData/profile paths, creating another host,
|
|
14
|
+
deleting owner/endpoint files, killing unrelated processes or claiming a missing runtime.
|
|
15
|
+
After the read-only probe succeeds, use the approved execution route for the intended
|
|
16
|
+
public CLI commands. An access refusal explicitly stating **no command was sent** is
|
|
17
|
+
known not dispatched; it is safe to submit that authorized command through the approved
|
|
18
|
+
route. This includes a mutation refused before dispatch. Do not mistake that definite
|
|
19
|
+
pre-dispatch refusal for an unknown execution outcome. Downloads still require their explicit
|
|
20
|
+
network access.
|
|
21
|
+
|
|
22
|
+
A lost mutation response is different from a denied startup probe: inspect retained
|
|
23
|
+
request/status/recovery evidence and use its request ID when supported. Never blindly
|
|
24
|
+
repeat a publication, script or program run whose outcome is unknown. External-tool
|
|
25
|
+
fallback is allowed by project rules, but record that the intended facade was not used
|
|
26
|
+
and do not invent a successful checkpoint or native result.
|
|
27
|
+
|
|
28
|
+
## Wait for the original execution
|
|
29
|
+
|
|
30
|
+
A tool operation may outlast the host execution tool's initial wait. A returned running
|
|
31
|
+
session/cell ID means that command is still in progress, not that the CLI returned no data.
|
|
32
|
+
Use the host's session poll/wait facility until terminal exit and consume stdout/stderr
|
|
33
|
+
before issuing a dependent command. In Codex, an `exec_command` session is continued with
|
|
34
|
+
`write_stdin`; a yielded execution cell uses that host's cell wait. Do not launch a second
|
|
35
|
+
open/install or repeat a CPU action just because the first chunk was empty. If the execution
|
|
36
|
+
really loses its terminal result, use the CLI's request/status recovery as described above.
|
|
@@ -0,0 +1,62 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: insight-mitmproxy
|
|
3
|
+
description: Record, inspect and compare HTTP request/response evidence with insight-cli mitmproxy. Use when an owned client can explicitly use a loopback proxy; read native flow archives or HAR without replaying traffic. System interception and global certificate trust are outside this facade.
|
|
4
|
+
---
|
|
5
|
+
|
|
6
|
+
# Insight mitmproxy 0.2.1
|
|
7
|
+
|
|
8
|
+
If local help/status reports AppData or IPC access denied, retry that **read-only probe**
|
|
9
|
+
with the agent host's normal permission escalation, then use that route for later authorized
|
|
10
|
+
CLI calls too. An explicit **no command was sent** denial is known undispatched and can be
|
|
11
|
+
retried through that route. Keep HOME, profile and owner state; see
|
|
12
|
+
[host execution permissions](references/agent-execution.md). A lost mutation reply needs
|
|
13
|
+
request/status recovery, never blind retry.
|
|
14
|
+
|
|
15
|
+
Keep the project's RE and evidence format. This facade uses a private HTTP proxy on
|
|
16
|
+
macOS 15+ ARM64. A client must explicitly opt into its endpoint; installing the tool
|
|
17
|
+
does not intercept traffic or install a system proxy, certificate or Network Extension.
|
|
18
|
+
|
|
19
|
+
1. Check `insight-cli mitmproxy status --json`. `mitmproxy install` delivers the pinned
|
|
20
|
+
standalone runtime and full notices from our source-complete GitHub Release.
|
|
21
|
+
`download` prepares its cache; `install --archive mitmproxy-12.2.3-macos-arm64.tgz
|
|
22
|
+
--offline` uses matching local bytes. `install --executable
|
|
23
|
+
/path/mitmproxy.app/Contents/MacOS/mitmdump` selects a complete external bundle, creates an owned execution copy and
|
|
24
|
+
fingerprints its adjacent runtime. `doctor` checks the pinned version.
|
|
25
|
+
2. Start an observation window alongside the owned client:
|
|
26
|
+
`mitmproxy record --listen-port 8877 --duration-seconds 15 --output research/window.mitm
|
|
27
|
+
--json`. In another invocation, `mitmproxy status --json` reports each active capture's
|
|
28
|
+
`ready`, `endpoint`, public `caCertificate` and owned process ID. Wait for readiness;
|
|
29
|
+
then configure only the selected client to use that endpoint. The record command
|
|
30
|
+
returns after its bounded window. A client, curl or another external tool remains free
|
|
31
|
+
to run outside insight-cli. Client NO_PROXY/bypass rules can exclude a destination;
|
|
32
|
+
adjust only that client when necessary. Native stop/kill uses `tools processes stop/kill PROCESS`.
|
|
33
|
+
3. For HTTPS, the selected client must explicitly trust the returned public CA certificate
|
|
34
|
+
in its own process. An owned origin with a private CA additionally needs
|
|
35
|
+
`record --upstream-ca public-root.pem`. This copies only a public PEM certificate;
|
|
36
|
+
no global trust change occurs. TLS failures remain explicit partial observations.
|
|
37
|
+
CA private keys stay in profile storage: checkpoint the requested report/archive, not
|
|
38
|
+
the private configuration directory. Certificate pinning may prevent HTTP decoding.
|
|
39
|
+
4. `mitmproxy inspect research/window.mitm --json` gives a bounded overview.
|
|
40
|
+
`--view flows --method POST --url-contains /quote --limit 5` returns matching requests,
|
|
41
|
+
status, headers, body SHA256 and a base64 body prefix. Follow a native flow UUID with
|
|
42
|
+
`--view flow --flow-id UUID`. `--target ID` reuses immutable captured bytes; native
|
|
43
|
+
archives and HAR are read without reconnecting or replaying their requests.
|
|
44
|
+
`--output research/http.json` writes all bounded selected rows to a new ordinary file.
|
|
45
|
+
5. `mitmproxy compare before.mitm after.mitm --json` compares literal method/URL and
|
|
46
|
+
occurrence order, selected body SHA256, status and error fields. Volatile headers and
|
|
47
|
+
timestamps are excluded. Review the linked flow IDs: occurrence matching is an aid,
|
|
48
|
+
not proof that two requests had the same cause. Missing bodies and partial inputs
|
|
49
|
+
remain unknown; unmatched rows in a partial capture do not prove absence.
|
|
50
|
+
6. The proxy limits native bodies to 1 MiB each and the archive to 64 MiB. Reads accept
|
|
51
|
+
inputs up to 64 MiB; `--max-flows` bounds scan/record count to 1000. Returned bodies
|
|
52
|
+
default to 1024 bytes; `--body-bytes` can request 0–65536. The JSON report is bounded
|
|
53
|
+
to 8 MiB, and pagination follows method/URL selection. Base64 contains native raw
|
|
54
|
+
HTTP content; apply Content-Encoding separately if needed. WebSocket payload,
|
|
55
|
+
generic TCP/UDP and whole-machine absence are not claimed.
|
|
56
|
+
7. A failed/interrupted window retains its archive and diagnostics. Inspect the retained
|
|
57
|
+
bytes explicitly; a readable prefix returns `partial`. There is no automatic
|
|
58
|
+
recollection or traffic replay. `artifacts save` can retain ordinary completed files.
|
|
59
|
+
Uninstall preserves research and any external distribution.
|
|
60
|
+
|
|
61
|
+
Generated `mitmproxy ... --help` owns exact flags. Use TShark when the question needs
|
|
62
|
+
packet-level evidence rather than decoded HTTP observations.
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
# Agent host execution permissions
|
|
2
|
+
|
|
3
|
+
Keep the user/project host policy and the selected profile. A sandbox can deny writes
|
|
4
|
+
to runtime AppData or access to the local IPC endpoint, including during local help.
|
|
5
|
+
This is a host execution boundary, not evidence that the tool or its inputs are absent.
|
|
6
|
+
|
|
7
|
+
First retry only `insight-cli --help`, `tools list`, `skill`, or the selected application's
|
|
8
|
+
read-only `status` using the host's normal permission escalation. In Codex, use the
|
|
9
|
+
execution tool's `sandbox_permissions: "require_escalated"` with a scoped explanation
|
|
10
|
+
that the installed CLI needs its existing profile storage/local IPC. Automatic approval
|
|
11
|
+
review or the user decides that request; do not disable the sandbox or approval policy.
|
|
12
|
+
|
|
13
|
+
Do not work around this by changing HOME/AppData/profile paths, creating another host,
|
|
14
|
+
deleting owner/endpoint files, killing unrelated processes or claiming a missing runtime.
|
|
15
|
+
After the read-only probe succeeds, use the approved execution route for the intended
|
|
16
|
+
public CLI commands. An access refusal explicitly stating **no command was sent** is
|
|
17
|
+
known not dispatched; it is safe to submit that authorized command through the approved
|
|
18
|
+
route. This includes a mutation refused before dispatch. Do not mistake that definite
|
|
19
|
+
pre-dispatch refusal for an unknown execution outcome. Downloads still require their explicit
|
|
20
|
+
network access.
|
|
21
|
+
|
|
22
|
+
A lost mutation response is different from a denied startup probe: inspect retained
|
|
23
|
+
request/status/recovery evidence and use its request ID when supported. Never blindly
|
|
24
|
+
repeat a publication, script or program run whose outcome is unknown. External-tool
|
|
25
|
+
fallback is allowed by project rules, but record that the intended facade was not used
|
|
26
|
+
and do not invent a successful checkpoint or native result.
|
|
27
|
+
|
|
28
|
+
## Wait for the original execution
|
|
29
|
+
|
|
30
|
+
A tool operation may outlast the host execution tool's initial wait. A returned running
|
|
31
|
+
session/cell ID means that command is still in progress, not that the CLI returned no data.
|
|
32
|
+
Use the host's session poll/wait facility until terminal exit and consume stdout/stderr
|
|
33
|
+
before issuing a dependent command. In Codex, an `exec_command` session is continued with
|
|
34
|
+
`write_stdin`; a yielded execution cell uses that host's cell wait. Do not launch a second
|
|
35
|
+
open/install or repeat a CPU action just because the first chunk was empty. If the execution
|
|
36
|
+
really loses its terminal result, use the CLI's request/status recovery as described above.
|