@eyeauras/insight-cli 0.8.3 → 0.8.4
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/SKILL.md +1 -1
- package/dist/src/administration.js +1 -1
- package/dist/src/archive.js +1 -1
- package/dist/src/artifacts.d.ts +2 -1
- package/dist/src/artifacts.js +6 -5
- package/dist/src/binary.js +1 -1
- package/dist/src/capture.js +3 -3
- package/dist/src/cli.js +17 -16
- package/dist/src/contexts.js +14 -17
- package/dist/src/cross.js +1 -1
- package/dist/src/debugger.js +1 -1
- package/dist/src/die.js +1 -1
- package/dist/src/dnspy.js +1 -1
- package/dist/src/dotnet-diagnostics.js +1 -1
- package/dist/src/ilspy.js +1 -1
- package/dist/src/lifecycle.js +5 -5
- package/dist/src/lldb.js +1 -1
- package/dist/src/llvm.js +1 -1
- package/dist/src/managed-heap.js +1 -1
- package/dist/src/managed-metadata.js +1 -1
- package/dist/src/mitmproxy.js +1 -1
- package/dist/src/model.d.ts +6 -1
- package/dist/src/model.js +9 -2
- package/dist/src/mutations.js +1 -1
- package/dist/src/projects.js +3 -3
- package/dist/src/prototype-cli.js +4 -4
- package/dist/src/research.js +1 -1
- package/dist/src/runtime-manager.d.ts +2 -2
- package/dist/src/runtime-manager.js +28 -4
- package/dist/src/sdk-files.js +3 -3
- package/dist/src/sdk.js +1 -1
- package/dist/src/server.d.ts +1 -0
- package/dist/src/server.js +17 -7
- package/dist/src/sevenzip.js +1 -1
- package/dist/src/strace.js +1 -1
- package/dist/src/sync-policy.js +4 -4
- package/dist/src/tool-runtime/identity.d.ts +7 -0
- package/dist/src/tool-runtime/identity.js +35 -0
- package/dist/src/tool-runtime/store.js +3 -0
- package/dist/src/tool-runtime/supervisor.d.ts +8 -0
- package/dist/src/tool-runtime/supervisor.js +58 -10
- package/dist/src/tshark.js +1 -1
- package/dist/src/ui.js +3 -3
- package/dist/src/version-tracking.js +2 -2
- package/dist/src/windbg.js +1 -1
- package/dist/src/work/backup.js +14 -2
- package/dist/src/work/commands.js +50 -13
- package/dist/src/work/model.d.ts +43 -1
- package/dist/src/work/model.js +128 -0
- package/dist/src/work/store.d.ts +34 -3
- package/dist/src/work/store.js +75 -18
- package/dist/src/work/timing.d.ts +9 -0
- package/dist/src/work/timing.js +10 -1
- package/package.json +1 -1
- package/references/native/InsightNativeCheckout.java +24 -8
- package/references/work-tracking.md +52 -0
- package/skill-bundle/insight-artifacts/SKILL.md +1 -1
- package/skill-bundle/insight-binary/SKILL.md +1 -1
- package/skill-bundle/insight-capture/SKILL.md +1 -1
- package/skill-bundle/insight-cli/SKILL.md +1 -1
- package/skill-bundle/insight-die/SKILL.md +1 -1
- package/skill-bundle/insight-dnspy/SKILL.md +1 -1
- package/skill-bundle/insight-dotnet-dump/SKILL.md +1 -1
- package/skill-bundle/insight-dotnet-stack/SKILL.md +1 -1
- package/skill-bundle/insight-dotnet-trace/SKILL.md +1 -1
- package/skill-bundle/insight-frida/SKILL.md +1 -1
- package/skill-bundle/insight-ghidra/SKILL.md +1 -1
- package/skill-bundle/insight-ilspy/SKILL.md +1 -1
- package/skill-bundle/insight-interop/SKILL.md +1 -1
- package/skill-bundle/insight-lldb/SKILL.md +1 -1
- package/skill-bundle/insight-llvm/SKILL.md +1 -1
- package/skill-bundle/insight-managed-heap/SKILL.md +1 -1
- package/skill-bundle/insight-managed-metadata/SKILL.md +1 -1
- package/skill-bundle/insight-mitmproxy/SKILL.md +1 -1
- package/skill-bundle/insight-overview/SKILL.md +1 -1
- package/skill-bundle/insight-procmon/SKILL.md +1 -1
- package/skill-bundle/insight-re/SKILL.md +1 -1
- package/skill-bundle/insight-re/references/work-tracking.md +52 -0
- package/skill-bundle/insight-sevenzip/SKILL.md +1 -1
- package/skill-bundle/insight-strace/SKILL.md +1 -1
- package/skill-bundle/insight-tshark/SKILL.md +1 -1
- package/skill-bundle/insight-windbg/SKILL.md +1 -1
- package/skill-bundle/manifest.json +1 -1
- package/skills/insight-artifacts/SKILL.md +1 -1
- package/skills/insight-binary/SKILL.md +1 -1
- package/skills/insight-capture/SKILL.md +1 -1
- package/skills/insight-die/SKILL.md +1 -1
- package/skills/insight-dnspy/SKILL.md +1 -1
- package/skills/insight-dotnet-dump/SKILL.md +1 -1
- package/skills/insight-dotnet-stack/SKILL.md +1 -1
- package/skills/insight-dotnet-trace/SKILL.md +1 -1
- package/skills/insight-frida/SKILL.md +1 -1
- package/skills/insight-ghidra/SKILL.md +1 -1
- package/skills/insight-ilspy/SKILL.md +1 -1
- package/skills/insight-interop/SKILL.md +1 -1
- package/skills/insight-lldb/SKILL.md +1 -1
- package/skills/insight-llvm/SKILL.md +1 -1
- package/skills/insight-managed-heap/SKILL.md +1 -1
- package/skills/insight-managed-metadata/SKILL.md +1 -1
- package/skills/insight-mitmproxy/SKILL.md +1 -1
- package/skills/insight-overview/SKILL.md +1 -1
- package/skills/insight-procmon/SKILL.md +1 -1
- package/skills/insight-re/SKILL.md +1 -1
- package/skills/insight-re/references/work-tracking.md +52 -0
- package/skills/insight-sevenzip/SKILL.md +1 -1
- package/skills/insight-strace/SKILL.md +1 -1
- package/skills/insight-tshark/SKILL.md +1 -1
- package/skills/insight-windbg/SKILL.md +1 -1
|
@@ -3,7 +3,7 @@ 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.4
|
|
7
7
|
|
|
8
8
|
AppData/IPC access denied: follow [host execution permissions](references/agent-execution.md).
|
|
9
9
|
A lost mutation reply needs request/status recovery, never a blind retry.
|
|
@@ -3,7 +3,7 @@ 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.4
|
|
7
7
|
|
|
8
8
|
AppData/IPC access denied: follow [host execution permissions](references/agent-execution.md).
|
|
9
9
|
A lost mutation reply needs request/status recovery, never a blind retry.
|
|
@@ -3,7 +3,7 @@ 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.4
|
|
7
7
|
|
|
8
8
|
AppData/IPC access denied: follow [host execution permissions](references/agent-execution.md).
|
|
9
9
|
A lost mutation reply needs request/status recovery, never a blind retry.
|
|
@@ -3,7 +3,7 @@ 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.4
|
|
7
7
|
|
|
8
8
|
AppData/IPC access denied: follow [host execution permissions](references/agent-execution.md).
|
|
9
9
|
A lost mutation reply needs request/status recovery, never a blind retry.
|
|
@@ -3,7 +3,7 @@ name: insight-managed-metadata
|
|
|
3
3
|
description: Query managed assembly metadata, MethodDef tokens, P/Invoke declarations and bounded IL, or compare two C#/.NET assemblies through insight-cli ilspy query/compare. Use for structured static evidence and changed-method research without executing the target.
|
|
4
4
|
---
|
|
5
5
|
|
|
6
|
-
# Insight Managed Metadata 0.8.
|
|
6
|
+
# Insight Managed Metadata 0.8.4
|
|
7
7
|
|
|
8
8
|
AppData/IPC access denied: follow [host execution permissions](references/agent-execution.md).
|
|
9
9
|
A lost mutation reply needs request/status recovery, never a blind retry.
|
|
@@ -3,7 +3,7 @@ name: insight-mitmproxy
|
|
|
3
3
|
description: Record, inspect and compare HTTP request/response evidence with insight-cli mitmproxy. Use when an owned client can explicitly use a loopback proxy; read native flow archives or HAR without replaying traffic. System interception and global certificate trust are outside this facade.
|
|
4
4
|
---
|
|
5
5
|
|
|
6
|
-
# Insight mitmproxy 0.8.
|
|
6
|
+
# Insight mitmproxy 0.8.4
|
|
7
7
|
|
|
8
8
|
AppData/IPC access denied: follow [host execution permissions](references/agent-execution.md).
|
|
9
9
|
A lost mutation reply needs request/status recovery, never a blind retry.
|
|
@@ -3,7 +3,7 @@ name: insight-overview
|
|
|
3
3
|
description: Choose bounded tool overviews and focused drilldown through insight-cli without flooding agent context with whole-program code, traces or dumps. Use for tool discovery, scoped evidence paging and keeping native partial coverage separate from complete results.
|
|
4
4
|
---
|
|
5
5
|
|
|
6
|
-
# Insight Overview 0.8.
|
|
6
|
+
# Insight Overview 0.8.4
|
|
7
7
|
|
|
8
8
|
AppData/IPC access denied: follow [host execution permissions](references/agent-execution.md).
|
|
9
9
|
A lost mutation reply needs request/status recovery, never a blind retry.
|
|
@@ -3,7 +3,7 @@ name: insight-procmon
|
|
|
3
3
|
description: Observe actual file and registry access by an authorized running Windows process through insight-cli procmon. Use when static paths or configuration guesses need runtime evidence; inspect retained captures without collecting again.
|
|
4
4
|
---
|
|
5
5
|
|
|
6
|
-
# Insight ProcMon 0.8.
|
|
6
|
+
# Insight ProcMon 0.8.4
|
|
7
7
|
|
|
8
8
|
AppData/IPC access denied: follow [host execution permissions](references/agent-execution.md).
|
|
9
9
|
A lost mutation reply needs request/status recovery, never a blind retry.
|
|
@@ -3,7 +3,7 @@ name: insight-re
|
|
|
3
3
|
description: Investigate shipped programs and binary artifacts with insight-cli and other available tools; retain ordinary research files, coordinate independent agents and publish Ghidra annotations. Use for reverse engineering behavior, not ordinary source-repository browsing.
|
|
4
4
|
---
|
|
5
5
|
|
|
6
|
-
# Insight RE 0.8.
|
|
6
|
+
# Insight RE 0.8.4
|
|
7
7
|
|
|
8
8
|
AppData/IPC access denied: follow [host execution permissions](references/agent-execution.md).
|
|
9
9
|
A lost mutation reply needs request/status recovery, never a blind retry.
|
|
@@ -184,6 +184,58 @@ local receipt after a lost ACK. No native context is restored and strict accepte
|
|
|
184
184
|
If a caller label has outcomes from several incarnations, `work request` marks it ambiguous and
|
|
185
185
|
returns `histories`; every outcome is retained and none authorizes a new mutation.
|
|
186
186
|
|
|
187
|
+
## Discovery
|
|
188
|
+
|
|
189
|
+
A `discover` task asks one worker to map the call graph around explicit roots of the project's
|
|
190
|
+
module. Work stores the assignment and the report; the worker walks the graph itself, through Ghidra
|
|
191
|
+
xrefs or a pinned graph inventory. Work starts no agent and no native traversal.
|
|
192
|
+
|
|
193
|
+
```text
|
|
194
|
+
insight-cli -p RE work next --project client --worker agent-c --kind discover --functions fn:SHA:00401000,fn:SHA:00402000 --strategy breadth --direction callees --max-depth 2 --max-functions 50 --request-id agent-c-next-1 --json
|
|
195
|
+
insight-cli -p RE work handoff --lease LEASE --materialize discover-c --json
|
|
196
|
+
# fill discover-c/discovery-report.json: model, visited, edges, frontier, summary
|
|
197
|
+
insight-cli -p RE work submit --lease LEASE --file discover-c/discovery-report.json --request-id agent-c-submit-1 --json
|
|
198
|
+
```
|
|
199
|
+
|
|
200
|
+
`--strategy` is `breadth` (BFS, default) or `depth` (DFS); `--direction` is `callees` (default),
|
|
201
|
+
`callers` or `both`; `--max-depth` counts the roots as 0 (default 2, at most 16); `--max-functions`
|
|
202
|
+
counts every visited function including the roots (default 50, at most 500), so it is at least the
|
|
203
|
+
number of roots. Up to 50 roots fit `--count`. A discovery reserves nothing: reconstruction and review of the same functions continue,
|
|
204
|
+
and their new versions do not make it stale; new writer evidence does not cancel it, a revised root
|
|
205
|
+
definition does. A cancelled discovery's `result.retry` repeats its traversal options. Leases, fences, heartbeat, release and cancel work as
|
|
206
|
+
for other tasks. Another scope, strategy or depth is a new task.
|
|
207
|
+
|
|
208
|
+
The report (`discovery-report.json`, at most 2 MiB) names its task, module and the model it reads:
|
|
209
|
+
|
|
210
|
+
```json
|
|
211
|
+
{"schema":1,"kind":"discovery-report","task":"w_…","binarySha256":"<module sha256>",
|
|
212
|
+
"model":{"source":"ghidra","revision":"R387"},
|
|
213
|
+
"visited":[{"function":"fn:<sha>:00401000","name":"root","depth":0,"xrefs":{"source":"ghidra references-from","complete":true}},
|
|
214
|
+
{"function":"fn:<sha>:00403000","depth":1,"xrefs":{"source":"ghidra references-from","complete":false}}],
|
|
215
|
+
"edges":[{"source":"fn:<sha>:00401000","target":"fn:<sha>:00403000","kind":"direct","evidence":"CALL at 0x401020"}],
|
|
216
|
+
"frontier":[{"reason":"unresolved-indirect","from":"fn:<sha>:00403000","evidence":"CALL [RAX+0x18] at 0x403044"}],
|
|
217
|
+
"summary":"Two levels of callees from the network dispatcher.",
|
|
218
|
+
"recommended":["fn:<sha>:00403000"]}
|
|
219
|
+
```
|
|
220
|
+
|
|
221
|
+
- `visited`: each function once, by full module hash and RVA. The assigned roots, and only they, sit at
|
|
222
|
+
depth 0; depths stay within `--max-depth` and the list within `--max-functions`.
|
|
223
|
+
- `xrefs` on every visited function states where its references came from and whether that
|
|
224
|
+
observation was complete. An empty or incomplete xref list does not prove that a function calls
|
|
225
|
+
nothing.
|
|
226
|
+
- `edges`: `direct` or `indirect`, with evidence; each touches a visited function, none repeats. Every
|
|
227
|
+
non-root visit at depth N is reached by an edge from depth N-1 in the assigned direction: caller →
|
|
228
|
+
callee for `callees`, callee → caller for `callers`, either for `both`.
|
|
229
|
+
- `frontier`: why the walk stopped there: `depth-limit` or `function-limit` (with the next
|
|
230
|
+
`function`), `unresolved-indirect`, or `external` (a call into another module, named in
|
|
231
|
+
`function` as text). `from` is a visited function.
|
|
232
|
+
- `recommended`: up to 50 functions worth taking next.
|
|
233
|
+
|
|
234
|
+
Submit retains the report as an artifact of the task and completes it; `handoff --task ID`,
|
|
235
|
+
`work events` and `work export` show it, and `work evidence` verifies its payload. Function stages
|
|
236
|
+
and packages do not change: register newly found functions with `work import`. `work timing`
|
|
237
|
+
lists the latest ten discoveries separately.
|
|
238
|
+
|
|
187
239
|
## Context, migration and timing
|
|
188
240
|
|
|
189
241
|
Start with `work context` to read the CLI version, profile and Work schema. Add
|
|
@@ -3,7 +3,7 @@ name: insight-sevenzip
|
|
|
3
3
|
description: Inventory, integrity-check and recover files from archives and supported containers with insight-cli 7-Zip, then hand recovered binaries or configuration to the appropriate research tool.
|
|
4
4
|
---
|
|
5
5
|
|
|
6
|
-
# Insight 7-Zip 0.8.
|
|
6
|
+
# Insight 7-Zip 0.8.4
|
|
7
7
|
|
|
8
8
|
AppData/IPC access denied: follow [host execution permissions](references/agent-execution.md).
|
|
9
9
|
A lost mutation reply needs request/status recovery, never a blind retry.
|
|
@@ -3,7 +3,7 @@ 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.4
|
|
7
7
|
|
|
8
8
|
AppData/IPC access denied: follow [host execution permissions](references/agent-execution.md).
|
|
9
9
|
A lost mutation reply needs request/status recovery, never a blind retry.
|
|
@@ -3,7 +3,7 @@ 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.4
|
|
7
7
|
|
|
8
8
|
AppData/IPC access denied: follow [host execution permissions](references/agent-execution.md).
|
|
9
9
|
A lost mutation reply needs request/status recovery, never a blind retry.
|
|
@@ -3,7 +3,7 @@ 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.4
|
|
7
7
|
|
|
8
8
|
AppData/IPC access denied: follow [host execution permissions](references/agent-execution.md).
|
|
9
9
|
A lost mutation reply needs request/status recovery, never a blind retry.
|