@eyeauras/insight-cli 0.8.2 → 0.8.3
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 +53 -7
- package/SKILL.md +4 -8
- package/dist/src/work/backup.js +3 -3
- package/dist/src/work/commands.js +1 -1
- package/dist/src/work/store.js +3 -3
- package/package.json +1 -1
- package/references/agent-setup.md +2 -11
- package/references/debugger.md +1 -1
- package/references/managed-runtime.md +1 -2
- package/references/recovery.md +2 -34
- package/references/research.md +5 -5
- package/references/setup.md +0 -4
- package/references/work-tracking.md +9 -3
- package/skill-bundle/insight-artifacts/SKILL.md +3 -7
- package/skill-bundle/insight-artifacts/references/recovery.md +2 -34
- package/skill-bundle/insight-binary/SKILL.md +3 -7
- package/skill-bundle/insight-capture/SKILL.md +3 -7
- package/skill-bundle/insight-cli/SKILL.md +4 -8
- package/skill-bundle/insight-cli/references/agent-setup.md +2 -11
- package/skill-bundle/insight-cli/references/managed-runtime.md +1 -2
- package/skill-bundle/insight-cli/references/recovery.md +2 -34
- package/skill-bundle/insight-cli/references/setup.md +0 -4
- package/skill-bundle/insight-die/SKILL.md +3 -7
- package/skill-bundle/insight-dnspy/SKILL.md +3 -7
- package/skill-bundle/insight-dotnet-dump/SKILL.md +3 -7
- package/skill-bundle/insight-dotnet-stack/SKILL.md +3 -7
- package/skill-bundle/insight-dotnet-trace/SKILL.md +3 -7
- package/skill-bundle/insight-frida/SKILL.md +3 -7
- package/skill-bundle/insight-ghidra/SKILL.md +13 -36
- package/skill-bundle/insight-ghidra/references/debugger.md +1 -1
- package/skill-bundle/insight-ghidra/references/managed-runtime.md +1 -2
- package/skill-bundle/insight-ghidra/references/recovery.md +2 -34
- package/skill-bundle/insight-ghidra/references/research.md +5 -5
- package/skill-bundle/insight-ghidra/references/setup.md +0 -4
- package/skill-bundle/insight-ilspy/SKILL.md +3 -7
- package/skill-bundle/insight-interop/SKILL.md +3 -7
- package/skill-bundle/insight-lldb/SKILL.md +3 -7
- package/skill-bundle/insight-llvm/SKILL.md +3 -7
- package/skill-bundle/insight-managed-heap/SKILL.md +3 -7
- package/skill-bundle/insight-managed-metadata/SKILL.md +3 -7
- package/skill-bundle/insight-mitmproxy/SKILL.md +3 -7
- package/skill-bundle/insight-overview/SKILL.md +3 -7
- package/skill-bundle/insight-procmon/SKILL.md +3 -7
- package/skill-bundle/insight-re/SKILL.md +4 -8
- package/skill-bundle/insight-re/references/recovery.md +2 -34
- package/skill-bundle/insight-re/references/work-tracking.md +9 -3
- package/skill-bundle/insight-sevenzip/SKILL.md +3 -7
- package/skill-bundle/insight-strace/SKILL.md +3 -7
- package/skill-bundle/insight-tshark/SKILL.md +3 -7
- package/skill-bundle/insight-windbg/SKILL.md +3 -7
- package/skill-bundle/manifest.json +1 -1
- package/skills/insight-artifacts/SKILL.md +3 -7
- package/skills/insight-artifacts/references/recovery.md +2 -34
- package/skills/insight-binary/SKILL.md +3 -7
- package/skills/insight-capture/SKILL.md +3 -7
- package/skills/insight-die/SKILL.md +3 -7
- package/skills/insight-dnspy/SKILL.md +3 -7
- package/skills/insight-dotnet-dump/SKILL.md +3 -7
- package/skills/insight-dotnet-stack/SKILL.md +3 -7
- package/skills/insight-dotnet-trace/SKILL.md +3 -7
- package/skills/insight-frida/SKILL.md +3 -7
- package/skills/insight-ghidra/SKILL.md +13 -36
- package/skills/insight-ghidra/references/debugger.md +1 -1
- package/skills/insight-ghidra/references/managed-runtime.md +1 -2
- package/skills/insight-ghidra/references/recovery.md +2 -34
- package/skills/insight-ghidra/references/research.md +5 -5
- package/skills/insight-ghidra/references/setup.md +0 -4
- package/skills/insight-ilspy/SKILL.md +3 -7
- package/skills/insight-interop/SKILL.md +3 -7
- package/skills/insight-lldb/SKILL.md +3 -7
- package/skills/insight-llvm/SKILL.md +3 -7
- package/skills/insight-managed-heap/SKILL.md +3 -7
- package/skills/insight-managed-metadata/SKILL.md +3 -7
- package/skills/insight-mitmproxy/SKILL.md +3 -7
- package/skills/insight-overview/SKILL.md +3 -7
- package/skills/insight-procmon/SKILL.md +3 -7
- package/skills/insight-re/SKILL.md +4 -8
- package/skills/insight-re/references/recovery.md +2 -34
- package/skills/insight-re/references/work-tracking.md +9 -3
- package/skills/insight-sevenzip/SKILL.md +3 -7
- package/skills/insight-strace/SKILL.md +3 -7
- package/skills/insight-tshark/SKILL.md +3 -7
- package/skills/insight-windbg/SKILL.md +3 -7
|
@@ -3,14 +3,10 @@ name: insight-strace
|
|
|
3
3
|
description: Observe actual file reads, writes, process creation and network syscalls in an authorized owned native Linux launch using insight-cli strace. Use when static inference needs concrete operating-system interaction evidence.
|
|
4
4
|
---
|
|
5
5
|
|
|
6
|
-
# Insight strace 0.8.
|
|
6
|
+
# Insight strace 0.8.3
|
|
7
7
|
|
|
8
|
-
|
|
9
|
-
|
|
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.
|
|
8
|
+
AppData/IPC access denied: follow [host execution permissions](references/agent-execution.md).
|
|
9
|
+
A lost mutation reply needs request/status recovery, never a blind retry.
|
|
14
10
|
|
|
15
11
|
Respect the project's RE and evidence format. This tool runs the supplied application;
|
|
16
12
|
its side effects must be authorized. It traces an owned native copy and its descendants.
|
|
@@ -3,14 +3,10 @@ name: insight-tshark
|
|
|
3
3
|
description: Inspect an offline PCAP or PCAPNG with insight-cli tshark to identify protocols, HTTP/DNS/TLS fields, packet evidence and reconstructed TCP/UDP streams. Use for captured traffic questions; live acquisition and TLS decryption are separate tasks.
|
|
4
4
|
---
|
|
5
5
|
|
|
6
|
-
# Insight TShark 0.8.
|
|
6
|
+
# Insight TShark 0.8.3
|
|
7
7
|
|
|
8
|
-
|
|
9
|
-
|
|
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.
|
|
8
|
+
AppData/IPC access denied: follow [host execution permissions](references/agent-execution.md).
|
|
9
|
+
A lost mutation reply needs request/status recovery, never a blind retry.
|
|
14
10
|
|
|
15
11
|
Keep the project's evidence format. This tool reads an immutable capture; it does not
|
|
16
12
|
start packet capture, install BPF helpers, change network settings or contact DNS servers.
|
|
@@ -3,14 +3,10 @@ name: insight-windbg
|
|
|
3
3
|
description: Investigate Windows native user-mode minidumps using bounded stacks, threads, registers, modules, memory and disassembly through insight-cli windbg. Use on Windows x64 when a captured runtime state needs native debugger evidence.
|
|
4
4
|
---
|
|
5
5
|
|
|
6
|
-
# Insight WinDbg 0.8.
|
|
6
|
+
# Insight WinDbg 0.8.3
|
|
7
7
|
|
|
8
|
-
|
|
9
|
-
|
|
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.
|
|
8
|
+
AppData/IPC access denied: follow [host execution permissions](references/agent-execution.md).
|
|
9
|
+
A lost mutation reply needs request/status recovery, never a blind retry.
|
|
14
10
|
|
|
15
11
|
Keep the project's RE and evidence conventions. This facade reads a captured Windows
|
|
16
12
|
user-mode minidump; it does not run or attach the original application. Dump contents
|
|
@@ -3,14 +3,10 @@ name: insight-artifacts
|
|
|
3
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
4
|
---
|
|
5
5
|
|
|
6
|
-
# Insight Artifacts 0.8.
|
|
6
|
+
# Insight Artifacts 0.8.3
|
|
7
7
|
|
|
8
|
-
|
|
9
|
-
|
|
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.
|
|
8
|
+
AppData/IPC access denied: follow [host execution permissions](references/agent-execution.md).
|
|
9
|
+
A lost mutation reply needs request/status recovery, never a blind retry.
|
|
14
10
|
|
|
15
11
|
Keep evidence as ordinary files in the project's existing layout. This supporting application
|
|
16
12
|
copies a completed file or stable directory; it has no native runtime to download or install.
|
|
@@ -27,7 +27,7 @@ preserve the project and any `.keep` file.
|
|
|
27
27
|
|
|
28
28
|
A Ghidra session that ends abruptly can leave unsaved changes as Ghidra recovery data in the
|
|
29
29
|
working copy. Opening the program would delete them, so `ghidra open` and every native
|
|
30
|
-
operation refuse with `blocked` and name the two ways out
|
|
30
|
+
operation refuse with `blocked` and name the two ways out; run either with the context closed:
|
|
31
31
|
`ghidra changes recover-unsaved --session <id> --target <id>` has Ghidra restore those changes
|
|
32
32
|
and save them into the working copy; `ghidra changes discard-unsaved --session <id> --target <id>`
|
|
33
33
|
(Destructive) has Ghidra delete them. Saved work stays in both cases, nothing is published, and
|
|
@@ -201,51 +201,19 @@ without replay. Unproved native work stays blocked and retained. An unproved pro
|
|
|
201
201
|
storage and credential store. Do not delete another session's project, stop a process by guessed
|
|
202
202
|
PID/port, or blindly repeat a script/external action to turn uncertainty into success.
|
|
203
203
|
|
|
204
|
-
The older prototype's `workers`, `findings`, `integrate` and batch `recover` commands are not the
|
|
205
|
-
public facade API. Its coordinator journals remain separate and are never silently migrated.
|
|
206
|
-
|
|
207
204
|
A lost UI navigation response can be verified from the live authenticated cursor without another
|
|
208
205
|
goto. If its original owned GUI process has exited, continuation reports the uncertain UI action
|
|
209
206
|
as disconnected and retains saved program work. It does not recreate the old cursor or re-enable
|
|
210
207
|
a previous prompt policy. Other unproved live UI effects remain retained until their outcome is
|
|
211
208
|
established or the original process is known to have ended.
|
|
212
209
|
|
|
213
|
-
## Native unknown attempts
|
|
210
|
+
## Native unknown attempts
|
|
214
211
|
|
|
215
212
|
For native contexts the snapshot-based `ghidra abandon` rollback is unsupported: replacing the
|
|
216
213
|
DB from a detached snapshot would lose native ancestry and could discard acknowledged private
|
|
217
214
|
work. Preserve the original project/journal and reconcile provable effects. Do not use discard,
|
|
218
215
|
GC, another request ID or a new server checkout as evidence that an unknown script did nothing.
|
|
219
216
|
|
|
220
|
-
The historical snapshot-based abandonment contract below applies only to its retained legacy
|
|
221
|
-
fixtures, not to native contexts admitted by the primary CLI.
|
|
222
|
-
|
|
223
|
-
### Historical detached abandonment
|
|
224
|
-
|
|
225
|
-
A post-mutation save timeout does not repeat the script or issue another save in the
|
|
226
|
-
error handler. Status exposes the original request identity and retained phase/budget.
|
|
227
|
-
Arbitrary script effects are never inferred from metadata or from an unverified DB.
|
|
228
|
-
After inspecting the retained attempt, explicitly stop only its verified owned worker
|
|
229
|
-
(`tools processes`, then `tools processes kill <process>` if required). Resume the
|
|
230
|
-
last acknowledged private snapshot with:
|
|
231
|
-
|
|
232
|
-
```sh
|
|
233
|
-
insight-cli permissions grant Destructive
|
|
234
|
-
insight-cli ghidra abandon --session <session> --target <target> \
|
|
235
|
-
--request-id <original-request> --acknowledge-unknown-effects --json
|
|
236
|
-
insight-cli ghidra open --session <session> --target <target> --json
|
|
237
|
-
```
|
|
238
|
-
|
|
239
|
-
Abandon requires exactly one unresolved private program operation, an unchanged verified
|
|
240
|
-
previous snapshot/generation, a stopped original worker and no active publication or live
|
|
241
|
-
debugger. It retains the native project, candidate artifacts, original intent/execution and
|
|
242
|
-
previous diagnostic result. Its terminal request is `failed` / `state: abandoned` with
|
|
243
|
-
`outcome: unknown`; no effect is marked applied. Repeating abandonment retrieves the same
|
|
244
|
-
result. Earlier saved private edits remain pending. The original changing request ID cannot
|
|
245
|
-
execute again. Abandoning never undoes external effects or establishes what an arbitrary
|
|
246
|
-
script did; the acknowledgement explicitly accepts that uncertainty. Publication recovery,
|
|
247
|
-
initial import, UI and debugger attempts use their own protocols and cannot use this command.
|
|
248
|
-
|
|
249
217
|
## Explicit legacy migration
|
|
250
218
|
|
|
251
219
|
Legacy models require `ghidra migrate --target <target> --dry-run`, then the same
|
|
@@ -3,14 +3,10 @@ name: insight-binary
|
|
|
3
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
4
|
---
|
|
5
5
|
|
|
6
|
-
# Insight Binary 0.8.
|
|
6
|
+
# Insight Binary 0.8.3
|
|
7
7
|
|
|
8
|
-
|
|
9
|
-
|
|
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.
|
|
8
|
+
AppData/IPC access denied: follow [host execution permissions](references/agent-execution.md).
|
|
9
|
+
A lost mutation reply needs request/status recovery, never a blind retry.
|
|
14
10
|
|
|
15
11
|
Keep project RE/evidence conventions. LIEF is an internal packaged library. The native
|
|
16
12
|
helper is included with insight-cli; no separate download/install, SDK or compiler is
|
|
@@ -3,14 +3,10 @@ name: insight-capture
|
|
|
3
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
4
|
---
|
|
5
5
|
|
|
6
|
-
# Insight Capture 0.8.
|
|
6
|
+
# Insight Capture 0.8.3
|
|
7
7
|
|
|
8
|
-
|
|
9
|
-
|
|
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.
|
|
8
|
+
AppData/IPC access denied: follow [host execution permissions](references/agent-execution.md).
|
|
9
|
+
A lost mutation reply needs request/status recovery, never a blind retry.
|
|
14
10
|
|
|
15
11
|
Follow project RE and evidence conventions. Use this only for an authorized runtime
|
|
16
12
|
observation. The current native host/input profile is macOS14+ ARM64 thin Mach-O
|
|
@@ -3,14 +3,10 @@ name: insight-die
|
|
|
3
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
4
|
---
|
|
5
5
|
|
|
6
|
-
# Insight Detect It Easy 0.8.
|
|
6
|
+
# Insight Detect It Easy 0.8.3
|
|
7
7
|
|
|
8
|
-
|
|
9
|
-
|
|
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.
|
|
8
|
+
AppData/IPC access denied: follow [host execution permissions](references/agent-execution.md).
|
|
9
|
+
A lost mutation reply needs request/status recovery, never a blind retry.
|
|
14
10
|
|
|
15
11
|
Follow the project's RE instructions and evidence format. DiE provides quick static triage;
|
|
16
12
|
it does not execute, unpack or decompile the input. Use the classification to choose a focused
|
|
@@ -3,14 +3,10 @@ name: insight-dnspy
|
|
|
3
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
4
|
---
|
|
5
5
|
|
|
6
|
-
# Insight dnSpyEx 0.8.
|
|
6
|
+
# Insight dnSpyEx 0.8.3
|
|
7
7
|
|
|
8
|
-
|
|
9
|
-
|
|
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.
|
|
8
|
+
AppData/IPC access denied: follow [host execution permissions](references/agent-execution.md).
|
|
9
|
+
A lost mutation reply needs request/status recovery, never a blind retry.
|
|
14
10
|
|
|
15
11
|
Keep the project's RE and evidence format. Debugging executes the supplied application
|
|
16
12
|
in a new owned process; its ordinary file/network side effects still apply. Use only
|
|
@@ -3,14 +3,10 @@ name: insight-dotnet-dump
|
|
|
3
3
|
description: Capture a managed heap dump or inspect compatible .NET dumps with SOS to recover waiting stacks, objects, fields and retention evidence.
|
|
4
4
|
---
|
|
5
5
|
|
|
6
|
-
# Insight .NET Dump 0.8.
|
|
6
|
+
# Insight .NET Dump 0.8.3
|
|
7
7
|
|
|
8
|
-
|
|
9
|
-
|
|
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.
|
|
8
|
+
AppData/IPC access denied: follow [host execution permissions](references/agent-execution.md).
|
|
9
|
+
A lost mutation reply needs request/status recovery, never a blind retry.
|
|
14
10
|
|
|
15
11
|
Start with `insight-cli dotnet-dump collect --pid PID --output research/worker.dmp`.
|
|
16
12
|
The default Heap dump includes managed objects; Mini may lack required heap data. Collection
|
|
@@ -3,14 +3,10 @@ name: insight-dotnet-stack
|
|
|
3
3
|
description: Inspect live managed thread stacks to identify active or waiting work in an explicitly selected .NET process without taking a dump.
|
|
4
4
|
---
|
|
5
5
|
|
|
6
|
-
# Insight .NET Stack 0.8.
|
|
6
|
+
# Insight .NET Stack 0.8.3
|
|
7
7
|
|
|
8
|
-
|
|
9
|
-
|
|
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.
|
|
8
|
+
AppData/IPC access denied: follow [host execution permissions](references/agent-execution.md).
|
|
9
|
+
A lost mutation reply needs request/status recovery, never a blind retry.
|
|
14
10
|
|
|
15
11
|
Use `insight-cli dotnet-stack report --pid PID` for a lightweight live stack snapshot.
|
|
16
12
|
Inspect the managed callers around native wait/sleep frames: a wait identifies where a
|
|
@@ -3,14 +3,10 @@ name: insight-dotnet-trace
|
|
|
3
3
|
description: Collect and inspect bounded .NET EventPipe traces to identify sampled thread work, waits or runtime activity; distinguish wall-clock samples from CPU consumption.
|
|
4
4
|
---
|
|
5
5
|
|
|
6
|
-
# Insight .NET Trace 0.8.
|
|
6
|
+
# Insight .NET Trace 0.8.3
|
|
7
7
|
|
|
8
|
-
|
|
9
|
-
|
|
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.
|
|
8
|
+
AppData/IPC access denied: follow [host execution permissions](references/agent-execution.md).
|
|
9
|
+
A lost mutation reply needs request/status recovery, never a blind retry.
|
|
14
10
|
|
|
15
11
|
Use `insight-cli dotnet-trace collect --pid PID --duration-seconds 5 --output research/worker.nettrace`.
|
|
16
12
|
The default `dotnet-sampled-thread-time` profile measures sampled thread wall-clock time.
|
|
@@ -3,14 +3,10 @@ name: insight-frida
|
|
|
3
3
|
description: Observe native call arguments/results or inspect runtime modules and exports in an explicitly selected authorized process with bounded Frida scripts. Use insight-cli frida to corroborate static findings with actual execution on macOS ARM64.
|
|
4
4
|
---
|
|
5
5
|
|
|
6
|
-
# Insight Frida 0.8.
|
|
6
|
+
# Insight Frida 0.8.3
|
|
7
7
|
|
|
8
|
-
|
|
9
|
-
|
|
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.
|
|
8
|
+
AppData/IPC access denied: follow [host execution permissions](references/agent-execution.md).
|
|
9
|
+
A lost mutation reply needs request/status recovery, never a blind retry.
|
|
14
10
|
|
|
15
11
|
Follow existing project RE and evidence conventions. Frida instruments a running process;
|
|
16
12
|
choose an explicitly authorized PID. This facade owns the collector, while the target stays
|
|
@@ -3,14 +3,10 @@ name: insight-ghidra
|
|
|
3
3
|
description: Inspect or edit native binaries with Ghidra through insight-cli; use isolated contexts, multi-agent merge/refresh, server, GUI or debugger workflows. Choose this for static native behavior and references, not C# recovery from managed IL.
|
|
4
4
|
---
|
|
5
5
|
|
|
6
|
-
# Insight Ghidra 0.8.
|
|
6
|
+
# Insight Ghidra 0.8.3
|
|
7
7
|
|
|
8
|
-
|
|
9
|
-
|
|
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.
|
|
8
|
+
AppData/IPC access denied: follow [host execution permissions](references/agent-execution.md).
|
|
9
|
+
A lost mutation reply needs request/status recovery, never a blind retry.
|
|
14
10
|
|
|
15
11
|
Ghidra operations can exceed the host execution tool's first wait. If it returns a running
|
|
16
12
|
session/cell ID, await that same execution with the host's wait/poll facility until terminal
|
|
@@ -19,39 +15,20 @@ start another open or repeat a CPU mutation while the original command is still
|
|
|
19
15
|
|
|
20
16
|
Each session/target owns one saved native checkout. Reopen the same selectors to keep its
|
|
21
17
|
project, checkout ID/base and native changes. `refresh` runs Ghidra Update; `merge` runs native
|
|
22
|
-
Update/check-in
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
Close unchanged work to release its checkout; `ghidra gc --dry-run` reports redundant copies.
|
|
18
|
+
Update/check-in. After a successful merge, continue with the same session and target;
|
|
19
|
+
`merge --close` releases the checkout instead. Conflicts and unknown results retain the copy.
|
|
20
|
+
Private workers have no repository password. Legacy detached contexts need explicit migration.
|
|
21
|
+
Close unchanged work to release its checkout; `ghidra gc --dry-run` reports redundant copies.
|
|
22
|
+
See [research](references/research.md) and [recovery](references/recovery.md).
|
|
26
23
|
|
|
27
24
|
For research loops, use the packaged [persistent client](references/persistent.md) and keep
|
|
28
25
|
one connection across queries. It uses the existing CLI transport and preserves typed errors;
|
|
29
26
|
lost mutation replies still require request/status recovery.
|
|
30
27
|
|
|
31
|
-
New targets import **without automatic analysis
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
After a fast import, use scoped `ghidra analysis run` to process pending analysis, or
|
|
36
|
-
`ghidra analysis reanalyze` to deliberately queue full reanalysis. These are saved private
|
|
37
|
-
mutations; merge deliberately. For a narrow question prefer bounded function disassembly,
|
|
38
|
-
function creation and decompilation first; inspect help for the exact operation.
|
|
39
|
-
|
|
40
|
-
For long first opens, `ghidra progress --session <session> --target <target> --json`
|
|
41
|
-
reads retained progress without starting Java or repeating the operation. It reports the
|
|
42
|
-
current stage, elapsed time, heartbeat age and native task message/counters when available;
|
|
43
|
-
those counters belong to the current task, not the whole import. Human output also reports
|
|
44
|
-
progress through Factory; `--json` keeps one final JSON result on stdout and stays quiet.
|
|
45
|
-
If the execution host yields, keep its same running execution and inspect progress every
|
|
46
|
-
5-10 seconds when useful; relay stage changes or meaningful stalls, and do other independent
|
|
47
|
-
work. Do not silently extend waits to minutes or start a second import. Until selectors are
|
|
48
|
-
returned, use the existing `sessions list/status` and `tools processes` inventory to locate the
|
|
49
|
-
reserved scope. A stale heartbeat, dead worker or unknown result is not completion: inspect
|
|
50
|
-
`sessions status` and recovery before continuing. Pre-upgrade workers have no progress record;
|
|
51
|
-
null progress means unavailable, never success. Progress is observational, not a completion receipt. This command tracks first open only;
|
|
52
|
-
its old complete record does not describe later `analysis run`/`reanalyze` operations.
|
|
53
|
-
`operation: initial-model` completes after verified shared-model publication; the private
|
|
54
|
-
session context can still be opening. Inspect `sessions status` for context readiness.
|
|
28
|
+
New targets import **without automatic analysis**; `--analysis` opts in on the first open of
|
|
29
|
+
a new target. Reopening existing selectors keeps their load settings. For a long first open,
|
|
30
|
+
`ghidra progress --session <session> --target <target> --json` reads progress without repeating
|
|
31
|
+
the operation; never start a second import. See [setup](references/setup.md), "Initial import and progress".
|
|
55
32
|
|
|
56
33
|
Use `ghidra status` to inspect runtime readiness; `ghidra install` delivers the pinned runtime.
|
|
57
34
|
For static managed C#/IL research, locate `insight-cli skill insight-ilspy`.
|
|
@@ -140,4 +117,4 @@ Repeat mapping and live breakpoint setup for every new launch. A saved breakpoin
|
|
|
140
117
|
does not prove placement in that new process; check its `trace_location_count` before resuming.
|
|
141
118
|
Use `new` only when creating a session; subsequent calls take its actual returned ID.
|
|
142
119
|
|
|
143
|
-
Long import/save budgets
|
|
120
|
+
Long import/save budgets: see [setup](references/setup.md). Never replay an uncertain script.
|
|
@@ -42,7 +42,7 @@ On macOS 15+ ARM64, GUI uses the private LLDB/Python dependency described in
|
|
|
42
42
|
compatible local LLDB and Python; select an executable supported by that host. GUI startup
|
|
43
43
|
prepares the Python wheels already supplied with Ghidra in owned storage; it does not install
|
|
44
44
|
packages into system Python. System-backend Python overrides and the Windows debugger
|
|
45
|
-
directory are Factory profile settings.
|
|
45
|
+
directory are Factory profile settings.
|
|
46
46
|
|
|
47
47
|
Use generated help for exact flags. A retained static breakpoint bookmark may remain after its live trace placement is
|
|
48
48
|
removed; `trace_location_count` distinguishes current placements from that static metadata.
|
|
@@ -135,8 +135,7 @@ bottles with native components (macOS 14+, ARM64 or x64); no installed Homebrew
|
|
|
135
135
|
and Windows x64 use the official Ghidra zip and Temurin archive. The installed `runtime/tool-catalog.json` pins mirror assets; repository
|
|
136
136
|
`scripts/tool-distributions/` recipes retain upstream provenance. Published tool releases include
|
|
137
137
|
original licenses/notices and required source/build companions, independent of CLI releases.
|
|
138
|
-
Unsupported platforms fail explicitly and may use compatible external profile paths.
|
|
139
|
-
acceptance for this delivery is macOS ARM64; catalog availability is not Windows/Linux native proof.
|
|
138
|
+
Unsupported platforms fail explicitly and may use compatible external profile paths.
|
|
140
139
|
|
|
141
140
|
The host provides Node/npm, OS frameworks, display/keychain access and debugger authorization.
|
|
142
141
|
On macOS 15+ ARM64 the managed debugger below supplies private LLDB/Python; Apple developer
|
|
@@ -27,7 +27,7 @@ preserve the project and any `.keep` file.
|
|
|
27
27
|
|
|
28
28
|
A Ghidra session that ends abruptly can leave unsaved changes as Ghidra recovery data in the
|
|
29
29
|
working copy. Opening the program would delete them, so `ghidra open` and every native
|
|
30
|
-
operation refuse with `blocked` and name the two ways out
|
|
30
|
+
operation refuse with `blocked` and name the two ways out; run either with the context closed:
|
|
31
31
|
`ghidra changes recover-unsaved --session <id> --target <id>` has Ghidra restore those changes
|
|
32
32
|
and save them into the working copy; `ghidra changes discard-unsaved --session <id> --target <id>`
|
|
33
33
|
(Destructive) has Ghidra delete them. Saved work stays in both cases, nothing is published, and
|
|
@@ -201,51 +201,19 @@ without replay. Unproved native work stays blocked and retained. An unproved pro
|
|
|
201
201
|
storage and credential store. Do not delete another session's project, stop a process by guessed
|
|
202
202
|
PID/port, or blindly repeat a script/external action to turn uncertainty into success.
|
|
203
203
|
|
|
204
|
-
The older prototype's `workers`, `findings`, `integrate` and batch `recover` commands are not the
|
|
205
|
-
public facade API. Its coordinator journals remain separate and are never silently migrated.
|
|
206
|
-
|
|
207
204
|
A lost UI navigation response can be verified from the live authenticated cursor without another
|
|
208
205
|
goto. If its original owned GUI process has exited, continuation reports the uncertain UI action
|
|
209
206
|
as disconnected and retains saved program work. It does not recreate the old cursor or re-enable
|
|
210
207
|
a previous prompt policy. Other unproved live UI effects remain retained until their outcome is
|
|
211
208
|
established or the original process is known to have ended.
|
|
212
209
|
|
|
213
|
-
## Native unknown attempts
|
|
210
|
+
## Native unknown attempts
|
|
214
211
|
|
|
215
212
|
For native contexts the snapshot-based `ghidra abandon` rollback is unsupported: replacing the
|
|
216
213
|
DB from a detached snapshot would lose native ancestry and could discard acknowledged private
|
|
217
214
|
work. Preserve the original project/journal and reconcile provable effects. Do not use discard,
|
|
218
215
|
GC, another request ID or a new server checkout as evidence that an unknown script did nothing.
|
|
219
216
|
|
|
220
|
-
The historical snapshot-based abandonment contract below applies only to its retained legacy
|
|
221
|
-
fixtures, not to native contexts admitted by the primary CLI.
|
|
222
|
-
|
|
223
|
-
### Historical detached abandonment
|
|
224
|
-
|
|
225
|
-
A post-mutation save timeout does not repeat the script or issue another save in the
|
|
226
|
-
error handler. Status exposes the original request identity and retained phase/budget.
|
|
227
|
-
Arbitrary script effects are never inferred from metadata or from an unverified DB.
|
|
228
|
-
After inspecting the retained attempt, explicitly stop only its verified owned worker
|
|
229
|
-
(`tools processes`, then `tools processes kill <process>` if required). Resume the
|
|
230
|
-
last acknowledged private snapshot with:
|
|
231
|
-
|
|
232
|
-
```sh
|
|
233
|
-
insight-cli permissions grant Destructive
|
|
234
|
-
insight-cli ghidra abandon --session <session> --target <target> \
|
|
235
|
-
--request-id <original-request> --acknowledge-unknown-effects --json
|
|
236
|
-
insight-cli ghidra open --session <session> --target <target> --json
|
|
237
|
-
```
|
|
238
|
-
|
|
239
|
-
Abandon requires exactly one unresolved private program operation, an unchanged verified
|
|
240
|
-
previous snapshot/generation, a stopped original worker and no active publication or live
|
|
241
|
-
debugger. It retains the native project, candidate artifacts, original intent/execution and
|
|
242
|
-
previous diagnostic result. Its terminal request is `failed` / `state: abandoned` with
|
|
243
|
-
`outcome: unknown`; no effect is marked applied. Repeating abandonment retrieves the same
|
|
244
|
-
result. Earlier saved private edits remain pending. The original changing request ID cannot
|
|
245
|
-
execute again. Abandoning never undoes external effects or establishes what an arbitrary
|
|
246
|
-
script did; the acknowledgement explicitly accepts that uncertainty. Publication recovery,
|
|
247
|
-
initial import, UI and debugger attempts use their own protocols and cannot use this command.
|
|
248
|
-
|
|
249
217
|
## Explicit legacy migration
|
|
250
218
|
|
|
251
219
|
Legacy models require `ghidra migrate --target <target> --dry-run`, then the same
|
|
@@ -40,23 +40,23 @@ text) represents a null/absent comment. Successful edits are checked by readback
|
|
|
40
40
|
`applied`. A later read sees the local result; another session remains independent. These edits
|
|
41
41
|
do not publish themselves. Use `ghidra merge` to publish the selected context explicitly.
|
|
42
42
|
|
|
43
|
-
Another session retains its saved native checkout until `ghidra refresh`. The service
|
|
44
|
-
worker and calls native Update on that same project: checkout identity survives, the base advances,
|
|
43
|
+
Another session retains its saved native checkout until `ghidra refresh`. The service closes the
|
|
44
|
+
worker's project (keeping its JVM when possible) and calls native Update on that same project: checkout identity survives, the base advances,
|
|
45
45
|
and local changes merge through Ghidra. Native conflicts reject the whole Update and retain the
|
|
46
46
|
original working copy/base. Status reports the native conflict description. The legacy scalar
|
|
47
47
|
`--resolve-conflict` option is unsupported for native decisions; no coordinator winner is invented.
|
|
48
48
|
|
|
49
49
|
Types, signatures, structures and other analysis edits use Ghidra's stock resolvers and native
|
|
50
50
|
checkout change sets. Divergence alone is not a category conflict. `ghidra merge` performs native
|
|
51
|
-
Update, then journaled check-in
|
|
52
|
-
|
|
51
|
+
Update, then journaled check-in; Ghidra's check-in result establishes the publication, and only a
|
|
52
|
+
lost check-in reply is settled from repository history. By default the context then stays open: check-in keeps the checkout, and
|
|
53
53
|
the context continues in it at the published version, so an agent can merge repeatedly during one
|
|
54
54
|
long session without reopening. Backups that Update left and its journals prove disposable are
|
|
55
55
|
removed. `ghidra merge --close` (or a kept checkout that cannot be proved unchanged) releases and
|
|
56
56
|
drops the project instead; continued work then receives a fresh checkout. During Update/check-in the
|
|
57
57
|
warm worker only closes its project and reopens it afterwards at the new base, so the next command
|
|
58
58
|
needs no new JVM (a worker that ran agent scripts, or whose project cannot be proved released or
|
|
59
|
-
reopened, restarts
|
|
59
|
+
reopened, restarts); worker/owner restart before publication reopens the same project without packed-snapshot
|
|
60
60
|
import.
|
|
61
61
|
|
|
62
62
|
Ordinary saves retain the native DB and lightweight saved-view receipts. Full packed exports are
|
|
@@ -81,10 +81,6 @@ reason `runtime_changed` when its context is next used, and an unused one stops
|
|
|
81
81
|
`contextIdleMinutes` (default 15, range 1–1440). `maxContexts` (default 4, range 1–16) bounds the
|
|
82
82
|
workers kept at once; at that limit the longest-idle one is stopped first.
|
|
83
83
|
|
|
84
|
-
Native acceptance separates macOS GUI/LLDB workflows from selected headless Windows/Linux
|
|
85
|
-
SDK, Version Tracking and FID/BSim workflows. Native Windows/Linux debugger/GUI acceptance
|
|
86
|
-
remains deferred. CI stays offline and refuses native proofs.
|
|
87
|
-
|
|
88
84
|
On macOS 15+ ARM64, `ghidra install` delivers an owned LLDB/Python debugger backend;
|
|
89
85
|
OS debugger authorization remains required. Other host profiles need their supported debugger. Its
|
|
90
86
|
Ghidra Python dependencies are prepared from the installed SDK wheels into owned GUI storage.
|
|
@@ -3,14 +3,10 @@ name: insight-ilspy
|
|
|
3
3
|
description: Recover C#, inspect IL/types/metadata, extract resources or export projects from managed .NET assemblies through insight-cli ILSpy. Choose native analysis for NativeAOT or ordinary PE machine code.
|
|
4
4
|
---
|
|
5
5
|
|
|
6
|
-
# Insight ILSpy 0.8.
|
|
6
|
+
# Insight ILSpy 0.8.3
|
|
7
7
|
|
|
8
|
-
|
|
9
|
-
|
|
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.
|
|
8
|
+
AppData/IPC access denied: follow [host execution permissions](references/agent-execution.md).
|
|
9
|
+
A lost mutation reply needs request/status recovery, never a blind retry.
|
|
14
10
|
|
|
15
11
|
Use the project's preferred tool and evidence conventions. Use ILSpy for static managed
|
|
16
12
|
assemblies with CLR metadata. It does not execute the assembly, recover C# from NativeAOT,
|
|
@@ -3,14 +3,10 @@ name: insight-interop
|
|
|
3
3
|
description: Trace a .NET P/Invoke declaration to an explicitly supplied native library export and Ghidra function through insight-cli ilspy query, binary query and scoped ghidra APIs. Use for managed/native linkage evidence while keeping static correspondence separate from observed loading or execution.
|
|
4
4
|
---
|
|
5
5
|
|
|
6
|
-
# Insight Interop 0.8.
|
|
6
|
+
# Insight Interop 0.8.3
|
|
7
7
|
|
|
8
|
-
|
|
9
|
-
|
|
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.
|
|
8
|
+
AppData/IPC access denied: follow [host execution permissions](references/agent-execution.md).
|
|
9
|
+
A lost mutation reply needs request/status recovery, never a blind retry.
|
|
14
10
|
|
|
15
11
|
Respect project RE/evidence rules. This workflow composes existing public APIs, without
|
|
16
12
|
another runtime, global active binary or universal library resolver. Tokens and native
|
|
@@ -3,14 +3,10 @@ name: insight-lldb
|
|
|
3
3
|
description: Observe native runtime arguments, return values, registers, stacks and bounded memory at a selected breakpoint using an owned LLDB launch. Use insight-cli lldb on macOS ARM64 when static findings need a concrete execution check.
|
|
4
4
|
---
|
|
5
5
|
|
|
6
|
-
# Insight LLDB 0.8.
|
|
6
|
+
# Insight LLDB 0.8.3
|
|
7
7
|
|
|
8
|
-
|
|
9
|
-
|
|
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.
|
|
8
|
+
AppData/IPC access denied: follow [host execution permissions](references/agent-execution.md).
|
|
9
|
+
A lost mutation reply needs request/status recovery, never a blind retry.
|
|
14
10
|
|
|
15
11
|
Follow the project's RE and evidence conventions. This debugger runs a native input; choose
|
|
16
12
|
an input whose execution and application side effects are authorized. It launches a separate
|
|
@@ -3,14 +3,10 @@ name: insight-llvm
|
|
|
3
3
|
description: Inspect PE, ELF and Mach-O headers, dependencies, exports and symbols; query PDB debug information or a small instruction window with insight-cli LLVM utilities before opening a full analysis project.
|
|
4
4
|
---
|
|
5
5
|
|
|
6
|
-
# Insight LLVM 0.8.
|
|
6
|
+
# Insight LLVM 0.8.3
|
|
7
7
|
|
|
8
|
-
|
|
9
|
-
|
|
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.
|
|
8
|
+
AppData/IPC access denied: follow [host execution permissions](references/agent-execution.md).
|
|
9
|
+
A lost mutation reply needs request/status recovery, never a blind retry.
|
|
14
10
|
|
|
15
11
|
Use existing project RE rules and evidence paths. These are static reads; no Ghidra project,
|
|
16
12
|
program execution or shared merge is needed. Use Ghidra when the question needs recovered
|
|
@@ -3,14 +3,10 @@ name: insight-managed-heap
|
|
|
3
3
|
description: Query structured .NET heap objects, primitive fields and managed stacks from a retained CoreCLR dump through insight-cli dotnet-dump query. Use for bounded offline dump investigation with an explicit matching DAC, preserving uncertainty and immutable input identity.
|
|
4
4
|
---
|
|
5
5
|
|
|
6
|
-
# Insight Managed Heap 0.8.
|
|
6
|
+
# Insight Managed Heap 0.8.3
|
|
7
7
|
|
|
8
|
-
|
|
9
|
-
|
|
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.
|
|
8
|
+
AppData/IPC access denied: follow [host execution permissions](references/agent-execution.md).
|
|
9
|
+
A lost mutation reply needs request/status recovery, never a blind retry.
|
|
14
10
|
|
|
15
11
|
Follow project RE/evidence rules. ClrMD is an internal packaged library, not an application
|
|
16
12
|
that needs another install. This API reads one immutable dump; it never attaches to a live
|