@eyeauras/insight-cli 0.9.1 → 0.9.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 +10 -6
- package/SKILL.md +1 -1
- package/dist/src/cli.js +29 -6
- package/dist/src/core/coordinator.d.ts +37 -5
- package/dist/src/core/coordinator.js +103 -42
- package/dist/src/core/legacy-import.js +2 -2
- package/dist/src/hub/admin.d.ts +15 -0
- package/dist/src/hub/admin.js +10 -1
- package/dist/src/hub/client.d.ts +3 -1
- package/dist/src/hub/client.js +4 -0
- package/dist/src/hub/commands.d.ts +2 -1
- package/dist/src/hub/commands.js +33 -4
- package/dist/src/hub/contract.d.ts +27 -0
- package/dist/src/hub/ledger-store.d.ts +40 -2
- package/dist/src/hub/ledger-store.js +38 -8
- package/dist/src/hub/ledger.js +26 -3
- package/dist/src/hub/server.js +33 -1
- package/dist/src/hub/store.d.ts +29 -0
- package/dist/src/hub/store.js +109 -14
- package/dist/src/native/contract.d.ts +4 -3
- package/dist/src/native/ghidra.d.ts +1 -1
- package/dist/src/native/ghidra.js +4 -2
- package/dist/src/native-merge-patches.js +10 -0
- package/dist/src/research.js +2 -0
- package/dist/src/work/client.d.ts +6 -3
- package/dist/src/work/client.js +12 -9
- package/dist/src/work/commands.js +42 -28
- package/dist/src/work/model.d.ts +2 -0
- package/package.json +1 -1
- package/references/native/InsightWcOps.java +48 -9
- 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 +6 -4
- 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-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 +6 -4
- 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-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
|
@@ -23,6 +23,7 @@ import ghidra.framework.store.LockException;
|
|
|
23
23
|
import ghidra.program.database.ProgramDB;
|
|
24
24
|
import ghidra.program.model.listing.Program;
|
|
25
25
|
import ghidra.util.task.*;
|
|
26
|
+
import java.io.IOException;
|
|
26
27
|
import java.io.PrintStream;
|
|
27
28
|
import java.nio.charset.StandardCharsets;
|
|
28
29
|
import java.nio.file.*;
|
|
@@ -197,8 +198,9 @@ public final class InsightWcOps {
|
|
|
197
198
|
}
|
|
198
199
|
/**
|
|
199
200
|
* A server version after the copy's own base that this user checked in from this checkout and local version: an
|
|
200
|
-
* earlier check-in whose reply was lost after the server committed it.
|
|
201
|
-
*
|
|
201
|
+
* earlier check-in whose reply was lost after the server committed it. The server advanced this checkout's record when
|
|
202
|
+
* it created the version; Ghidra updates the local checkout only after the reply, so the copy still has its old base
|
|
203
|
+
* and its changes. 0 if none.
|
|
202
204
|
*/
|
|
203
205
|
static int lostCheckin(DomainFile file,int base,String user,String marker)throws Exception {
|
|
204
206
|
for(var version:file.getVersionHistory())
|
|
@@ -334,11 +336,12 @@ public final class InsightWcOps {
|
|
|
334
336
|
* lost check-in found there answers `reopen` and the caller repeats the check-in with the program closed.
|
|
335
337
|
*/
|
|
336
338
|
static Map<String,Object> checkin(Project project,RepositoryAdapter repository,DomainFile file,String path,String comment,boolean inUse)throws Exception {
|
|
337
|
-
|
|
339
|
+
var server=file.getCheckoutStatus();long id=server.getCheckoutId();int latest=file.getLatestVersion();
|
|
338
340
|
if(!file.modifiedSinceCheckout())return Map.of("state","unchanged","version",latest);
|
|
339
341
|
var local=localItem(project,path);int localBase=local.getCheckoutVersion();
|
|
340
342
|
String marker=checkinMarker(id,local.getCurrentVersion());
|
|
341
|
-
|
|
343
|
+
// The server advances this checkout's record when it creates the version, before replying.
|
|
344
|
+
int lost=localBase<server.getCheckoutVersion()?lostCheckin(file,localBase,repository.getUser().getName(),marker):0;
|
|
342
345
|
if(lost>0){
|
|
343
346
|
if(inUse)return Map.of("state","reopen");
|
|
344
347
|
// The server holds this exact content as version `lost`: take a fresh checkout of the latest version instead of publishing it again.
|
|
@@ -372,13 +375,43 @@ public final class InsightWcOps {
|
|
|
372
375
|
}
|
|
373
376
|
return Map.of("state","updated","version",file.getCheckoutStatus().getCheckoutVersion());
|
|
374
377
|
}
|
|
378
|
+
/**
|
|
379
|
+
* What only this copy holds besides its checkout, which release would delete: context scripts, and the project's
|
|
380
|
+
* private files (server files are not in it) other than the checked-out program and the keep files Ghidra makes of
|
|
381
|
+
* it on Update (`<name>.keep`, `<name>.keep.<n>`). A program saved with Save As, or the program left as a private file
|
|
382
|
+
* after its server checkout was ended, is such a file. A read error refuses the release.
|
|
383
|
+
*/
|
|
384
|
+
static List<String> localFiles(Project project,Path root,String path,boolean checkedOut)throws IOException {
|
|
385
|
+
var found=scripts(root);
|
|
386
|
+
var keep=java.util.regex.Pattern.compile(java.util.regex.Pattern.quote(path+".keep")+"(\\.[1-9][0-9]*)?");
|
|
387
|
+
localFiles(((DefaultProjectData)project.getProjectData()).getPrivateFileSystem(),"/",found,item->checkedOut&&item.equals(path)||keep.matcher(item).matches());
|
|
388
|
+
return found;
|
|
389
|
+
}
|
|
390
|
+
static void localFiles(ghidra.framework.store.FileSystem fs,String folder,List<String> found,java.util.function.Predicate<String> checkout)throws IOException {
|
|
391
|
+
String prefix=folder.equals("/")?"/":folder+"/";
|
|
392
|
+
for(String name:fs.getItemNames(folder))if(!checkout.test(prefix+name))found.add(prefix+name);
|
|
393
|
+
for(String name:fs.getFolderNames(folder))localFiles(fs,prefix+name,found,checkout);
|
|
394
|
+
}
|
|
395
|
+
/** The copy's context scripts (`<root>/ghidra_scripts`). */
|
|
396
|
+
static List<String> scripts(Path root)throws IOException {
|
|
397
|
+
var found=new ArrayList<String>();
|
|
398
|
+
try(var scripts=Files.list(root.resolve("ghidra_scripts"))){scripts.forEach(p->found.add("ghidra_scripts/"+p.getFileName()));}
|
|
399
|
+
catch(NoSuchFileException absent){/* no context scripts */}
|
|
400
|
+
return found;
|
|
401
|
+
}
|
|
402
|
+
static Refusal holdsLocalFiles(List<String> local){
|
|
403
|
+
return new Refusal("modified","The working copy holds files that are not on the server ("+String.join(", ",local)+"); move them, or release with force");
|
|
404
|
+
}
|
|
375
405
|
static Map<String,Object> copy(JsonObject q,String operation)throws Exception {
|
|
376
406
|
String path=text(q,"programPath");ProjectLocator locator=locator(q);boolean present=locator.getMarkerFile().exists();
|
|
377
407
|
if(operation.equals("status")&&!present){
|
|
378
408
|
RepositoryAdapter repository=repository(q);try{return status(repository,null,path);}finally{repository.disconnect();}
|
|
379
409
|
}
|
|
380
410
|
if(operation.equals("release")&&!present){
|
|
381
|
-
//
|
|
411
|
+
// No project is left; end what an interrupted checkout or release may have left on the server. Context scripts
|
|
412
|
+
// in the directory stop an unforced release like in a full copy; a preview (gc --dry-run) changes nothing.
|
|
413
|
+
if(!q.get("force").getAsBoolean()){var local=scripts(Path.of(text(q,"root")));if(!local.isEmpty())throw holdsLocalFiles(local);}
|
|
414
|
+
if(q.has("preview")&&q.get("preview").getAsBoolean())return Map.of("state","releasable","modified",false);
|
|
382
415
|
RepositoryAdapter repository=repository(q);
|
|
383
416
|
try{if(repository.getItem(parent(path),leaf(path))!=null)endStrayCheckouts(repository,locator,path,-1);return Map.of("state","released","modified",false);}
|
|
384
417
|
finally{repository.disconnect();}
|
|
@@ -403,14 +436,20 @@ public final class InsightWcOps {
|
|
|
403
436
|
if(file==null)throw new Refusal("not_found","Program "+path+" does not exist in repository "+repository.getName());
|
|
404
437
|
if(operation.equals("status"))return status(repository,file,path);
|
|
405
438
|
if(operation.equals("release")){
|
|
439
|
+
// `preview` answers what this release would do (gc --dry-run) and changes nothing.
|
|
440
|
+
boolean force=q.get("force").getAsBoolean(),preview=q.has("preview")&&q.get("preview").getAsBoolean();
|
|
441
|
+
if(!force){
|
|
442
|
+
var local=localFiles(project,Path.of(text(q,"root")),path,file.isCheckedOut());
|
|
443
|
+
if(!local.isEmpty())throw holdsLocalFiles(local);
|
|
444
|
+
}
|
|
406
445
|
boolean modified=false;
|
|
407
446
|
if(file.isCheckedOut()){
|
|
408
447
|
modified=file.modifiedSinceCheckout()||file.canRecover();
|
|
409
|
-
if(modified&&!
|
|
448
|
+
if(modified&&!force)
|
|
410
449
|
throw new Refusal("modified","The working copy has unpublished changes; publish or discard them, or release with force");
|
|
411
|
-
undoCheckout(project,file,path);
|
|
412
|
-
}else endStrayCheckouts(repository,locator,path,-1);
|
|
413
|
-
return Map.of("state","released","modified",modified);
|
|
450
|
+
if(!preview)undoCheckout(project,file,path);
|
|
451
|
+
}else if(!preview)endStrayCheckouts(repository,locator,path,-1);
|
|
452
|
+
return Map.of("state",preview?"releasable":"released","modified",modified);
|
|
414
453
|
}
|
|
415
454
|
if(operation.equals("discard")&&file.isCheckedOut()){undoCheckout(project,file,path);file=file(project,path);}
|
|
416
455
|
if(!file.isCheckedOut()){
|
|
@@ -3,7 +3,7 @@ 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.9.
|
|
6
|
+
# Insight Artifacts 0.9.3
|
|
7
7
|
|
|
8
8
|
Commands: `insight-cli artifacts --help`. `insight-cli tools show artifacts --json`
|
|
9
9
|
lists tasks, inputs, platforms and readiness.
|
|
@@ -3,7 +3,7 @@ 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.9.
|
|
6
|
+
# Insight Binary 0.9.3
|
|
7
7
|
|
|
8
8
|
Commands: `insight-cli binary --help`. `insight-cli tools show binary --json`
|
|
9
9
|
lists tasks, inputs, platforms and readiness.
|
|
@@ -3,7 +3,7 @@ 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.9.
|
|
6
|
+
# Insight Capture 0.9.3
|
|
7
7
|
|
|
8
8
|
Commands: `insight-cli capture --help`. `insight-cli tools show capture --json`
|
|
9
9
|
lists tasks, inputs, platforms and readiness.
|
|
@@ -3,7 +3,7 @@ name: insight-cli
|
|
|
3
3
|
description: Choose and prepare reverse-engineering capabilities from the insight-cli toolbox for binary, managed-code and runtime investigations. Use to discover the appropriate tool or its packaged skill before installing native runtimes.
|
|
4
4
|
---
|
|
5
5
|
|
|
6
|
-
# insight-cli 0.9.
|
|
6
|
+
# insight-cli 0.9.3
|
|
7
7
|
|
|
8
8
|
Discover capabilities with `insight-cli tools list --json` and `insight-cli tools show <tool> --json`;
|
|
9
9
|
each tool names its skill (`insight-cli skill <name>`). Update permission is required for tool preparation,
|
|
@@ -3,7 +3,7 @@ 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.9.
|
|
6
|
+
# Insight Detect It Easy 0.9.3
|
|
7
7
|
|
|
8
8
|
Commands: `insight-cli die --help`. `insight-cli tools show die --json`
|
|
9
9
|
lists tasks, inputs, platforms and readiness.
|
|
@@ -3,7 +3,7 @@ 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.9.
|
|
6
|
+
# Insight dnSpyEx 0.9.3
|
|
7
7
|
|
|
8
8
|
Commands: `insight-cli dnspy --help`. `insight-cli tools show dnspy --json`
|
|
9
9
|
lists tasks, inputs, platforms and readiness.
|
|
@@ -3,7 +3,7 @@ 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.9.
|
|
6
|
+
# Insight .NET Dump 0.9.3
|
|
7
7
|
|
|
8
8
|
Commands: `insight-cli dotnet-dump --help`. `insight-cli tools show dotnet-dump --json`
|
|
9
9
|
lists tasks, inputs, platforms and readiness.
|
|
@@ -3,7 +3,7 @@ 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.9.
|
|
6
|
+
# Insight .NET Stack 0.9.3
|
|
7
7
|
|
|
8
8
|
Commands: `insight-cli dotnet-stack --help`. `insight-cli tools show dotnet-stack --json`
|
|
9
9
|
lists tasks, inputs, platforms and readiness.
|
|
@@ -3,7 +3,7 @@ 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.9.
|
|
6
|
+
# Insight .NET Trace 0.9.3
|
|
7
7
|
|
|
8
8
|
Commands: `insight-cli dotnet-trace --help`. `insight-cli tools show dotnet-trace --json`
|
|
9
9
|
lists tasks, inputs, platforms and readiness.
|
|
@@ -3,7 +3,7 @@ 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.9.
|
|
6
|
+
# Insight Frida 0.9.3
|
|
7
7
|
|
|
8
8
|
Commands: `insight-cli frida --help`. `insight-cli tools show frida --json`
|
|
9
9
|
lists tasks, inputs, platforms and readiness.
|
|
@@ -3,18 +3,20 @@ name: insight-ghidra
|
|
|
3
3
|
description: Inspect or edit native binaries with Ghidra through insight-cli; one working copy per agent, shared through the hub with explicit merge/refresh across agents and machines. Choose this for static native behavior and references, not C# recovery from managed IL.
|
|
4
4
|
---
|
|
5
5
|
|
|
6
|
-
# Insight Ghidra 0.9.
|
|
6
|
+
# Insight Ghidra 0.9.3
|
|
7
7
|
|
|
8
8
|
Ghidra work is shared through a hub (`insight-cli hub --help`). The profile's hub project holds the targets;
|
|
9
9
|
each session and target has its own working copy on this machine.
|
|
10
10
|
|
|
11
11
|
- `ghidra open FILE --session new` uploads and registers a new file once, or checks out an existing one.
|
|
12
|
-
`
|
|
12
|
+
`hub targets list` and `ghidra open --target ID --session new` continue on another machine.
|
|
13
13
|
- Research commands take `--session` and `--target`. `ghidra merge` publishes the working copy; repeating it
|
|
14
14
|
is safe (`unchanged`). `ghidra refresh` receives others' versions; conflicts are reported, never guessed.
|
|
15
15
|
- `ghidra changes discard`, `ghidra close [--release]` and `ghidra gc` manage working copies.
|
|
16
|
-
-
|
|
17
|
-
|
|
16
|
+
- Find what to work on: `hub projects list [--tags]`, `hub targets list [--tags] [--version-label]`, then
|
|
17
|
+
`work list [--target] [--tags]`. `--project` always names a hub project, `--plan` a plan in it.
|
|
18
|
+
- With the Work ledger: `work next --plan P` (its answer names the `target` to open), edit the leased functions,
|
|
19
|
+
`ghidra merge`, then `work submit`, and `ghidra refresh` before the next `work next`.
|
|
18
20
|
- Debugger, GUI, version tracking and archive commands report `not_available` in this build.
|
|
19
21
|
|
|
20
22
|
Generated `--help` is the syntax authority: `insight-cli --help`, then `--help` on any group or command.
|
|
@@ -3,7 +3,7 @@ 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.9.
|
|
6
|
+
# Insight ILSpy 0.9.3
|
|
7
7
|
|
|
8
8
|
Commands: `insight-cli ilspy --help`. `insight-cli tools show ilspy --json`
|
|
9
9
|
lists tasks, inputs, platforms and readiness.
|
|
@@ -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.9.
|
|
6
|
+
# Insight Interop 0.9.3
|
|
7
7
|
|
|
8
8
|
Commands: `insight-cli ilspy --help`. `insight-cli tools show managed-native-linkage --json`
|
|
9
9
|
lists tasks, inputs, platforms and readiness.
|
|
@@ -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.9.
|
|
6
|
+
# Insight LLDB 0.9.3
|
|
7
7
|
|
|
8
8
|
Commands: `insight-cli lldb --help`. `insight-cli tools show lldb --json`
|
|
9
9
|
lists tasks, inputs, platforms and readiness.
|
|
@@ -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.9.
|
|
6
|
+
# Insight LLVM 0.9.3
|
|
7
7
|
|
|
8
8
|
Commands: `insight-cli llvm --help`. `insight-cli tools show llvm --json`
|
|
9
9
|
lists tasks, inputs, platforms and readiness.
|
|
@@ -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.9.
|
|
6
|
+
# Insight Managed Heap 0.9.3
|
|
7
7
|
|
|
8
8
|
Commands: `insight-cli dotnet-dump --help`. `insight-cli tools show managed-heap --json`
|
|
9
9
|
lists tasks, inputs, platforms and readiness.
|
|
@@ -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.9.
|
|
6
|
+
# Insight Managed Metadata 0.9.3
|
|
7
7
|
|
|
8
8
|
Commands: `insight-cli ilspy --help`. `insight-cli tools show managed-metadata --json`
|
|
9
9
|
lists tasks, inputs, platforms and readiness.
|
|
@@ -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.9.
|
|
6
|
+
# Insight mitmproxy 0.9.3
|
|
7
7
|
|
|
8
8
|
Commands: `insight-cli mitmproxy --help`. `insight-cli tools show mitmproxy --json`
|
|
9
9
|
lists tasks, inputs, platforms and readiness.
|
|
@@ -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.9.
|
|
6
|
+
# Insight Overview 0.9.3
|
|
7
7
|
|
|
8
8
|
Commands: `insight-cli tools --help`. `insight-cli tools show overview-drilldown --json`
|
|
9
9
|
lists tasks, inputs, platforms and readiness.
|
|
@@ -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.9.
|
|
6
|
+
# Insight ProcMon 0.9.3
|
|
7
7
|
|
|
8
8
|
Commands: `insight-cli procmon --help`. `insight-cli tools show procmon --json`
|
|
9
9
|
lists tasks, inputs, platforms and readiness.
|
|
@@ -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.9.
|
|
6
|
+
# Insight RE 0.9.3
|
|
7
7
|
|
|
8
8
|
Discover capabilities with `insight-cli tools list --json` and `insight-cli tools show <tool> --json`;
|
|
9
9
|
each tool names its skill (`insight-cli skill <name>`). Update permission is required for tool preparation,
|
|
@@ -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.9.
|
|
6
|
+
# Insight 7-Zip 0.9.3
|
|
7
7
|
|
|
8
8
|
Commands: `insight-cli sevenzip --help`. `insight-cli tools show sevenzip --json`
|
|
9
9
|
lists tasks, inputs, platforms and readiness.
|
|
@@ -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.9.
|
|
6
|
+
# Insight strace 0.9.3
|
|
7
7
|
|
|
8
8
|
Commands: `insight-cli strace --help`. `insight-cli tools show strace --json`
|
|
9
9
|
lists tasks, inputs, platforms and readiness.
|
|
@@ -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.9.
|
|
6
|
+
# Insight TShark 0.9.3
|
|
7
7
|
|
|
8
8
|
Commands: `insight-cli tshark --help`. `insight-cli tools show tshark --json`
|
|
9
9
|
lists tasks, inputs, platforms and readiness.
|
|
@@ -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.9.
|
|
6
|
+
# Insight WinDbg 0.9.3
|
|
7
7
|
|
|
8
8
|
Commands: `insight-cli windbg --help`. `insight-cli tools show windbg --json`
|
|
9
9
|
lists tasks, inputs, platforms and readiness.
|
|
@@ -3,7 +3,7 @@ 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.9.
|
|
6
|
+
# Insight Artifacts 0.9.3
|
|
7
7
|
|
|
8
8
|
Commands: `insight-cli artifacts --help`. `insight-cli tools show artifacts --json`
|
|
9
9
|
lists tasks, inputs, platforms and readiness.
|
|
@@ -3,7 +3,7 @@ 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.9.
|
|
6
|
+
# Insight Binary 0.9.3
|
|
7
7
|
|
|
8
8
|
Commands: `insight-cli binary --help`. `insight-cli tools show binary --json`
|
|
9
9
|
lists tasks, inputs, platforms and readiness.
|
|
@@ -3,7 +3,7 @@ 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.9.
|
|
6
|
+
# Insight Capture 0.9.3
|
|
7
7
|
|
|
8
8
|
Commands: `insight-cli capture --help`. `insight-cli tools show capture --json`
|
|
9
9
|
lists tasks, inputs, platforms and readiness.
|
|
@@ -3,7 +3,7 @@ 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.9.
|
|
6
|
+
# Insight Detect It Easy 0.9.3
|
|
7
7
|
|
|
8
8
|
Commands: `insight-cli die --help`. `insight-cli tools show die --json`
|
|
9
9
|
lists tasks, inputs, platforms and readiness.
|
|
@@ -3,7 +3,7 @@ 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.9.
|
|
6
|
+
# Insight dnSpyEx 0.9.3
|
|
7
7
|
|
|
8
8
|
Commands: `insight-cli dnspy --help`. `insight-cli tools show dnspy --json`
|
|
9
9
|
lists tasks, inputs, platforms and readiness.
|
|
@@ -3,7 +3,7 @@ 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.9.
|
|
6
|
+
# Insight .NET Dump 0.9.3
|
|
7
7
|
|
|
8
8
|
Commands: `insight-cli dotnet-dump --help`. `insight-cli tools show dotnet-dump --json`
|
|
9
9
|
lists tasks, inputs, platforms and readiness.
|
|
@@ -3,7 +3,7 @@ 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.9.
|
|
6
|
+
# Insight .NET Stack 0.9.3
|
|
7
7
|
|
|
8
8
|
Commands: `insight-cli dotnet-stack --help`. `insight-cli tools show dotnet-stack --json`
|
|
9
9
|
lists tasks, inputs, platforms and readiness.
|
|
@@ -3,7 +3,7 @@ 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.9.
|
|
6
|
+
# Insight .NET Trace 0.9.3
|
|
7
7
|
|
|
8
8
|
Commands: `insight-cli dotnet-trace --help`. `insight-cli tools show dotnet-trace --json`
|
|
9
9
|
lists tasks, inputs, platforms and readiness.
|
|
@@ -3,7 +3,7 @@ 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.9.
|
|
6
|
+
# Insight Frida 0.9.3
|
|
7
7
|
|
|
8
8
|
Commands: `insight-cli frida --help`. `insight-cli tools show frida --json`
|
|
9
9
|
lists tasks, inputs, platforms and readiness.
|
|
@@ -3,18 +3,20 @@ name: insight-ghidra
|
|
|
3
3
|
description: Inspect or edit native binaries with Ghidra through insight-cli; one working copy per agent, shared through the hub with explicit merge/refresh across agents and machines. Choose this for static native behavior and references, not C# recovery from managed IL.
|
|
4
4
|
---
|
|
5
5
|
|
|
6
|
-
# Insight Ghidra 0.9.
|
|
6
|
+
# Insight Ghidra 0.9.3
|
|
7
7
|
|
|
8
8
|
Ghidra work is shared through a hub (`insight-cli hub --help`). The profile's hub project holds the targets;
|
|
9
9
|
each session and target has its own working copy on this machine.
|
|
10
10
|
|
|
11
11
|
- `ghidra open FILE --session new` uploads and registers a new file once, or checks out an existing one.
|
|
12
|
-
`
|
|
12
|
+
`hub targets list` and `ghidra open --target ID --session new` continue on another machine.
|
|
13
13
|
- Research commands take `--session` and `--target`. `ghidra merge` publishes the working copy; repeating it
|
|
14
14
|
is safe (`unchanged`). `ghidra refresh` receives others' versions; conflicts are reported, never guessed.
|
|
15
15
|
- `ghidra changes discard`, `ghidra close [--release]` and `ghidra gc` manage working copies.
|
|
16
|
-
-
|
|
17
|
-
|
|
16
|
+
- Find what to work on: `hub projects list [--tags]`, `hub targets list [--tags] [--version-label]`, then
|
|
17
|
+
`work list [--target] [--tags]`. `--project` always names a hub project, `--plan` a plan in it.
|
|
18
|
+
- With the Work ledger: `work next --plan P` (its answer names the `target` to open), edit the leased functions,
|
|
19
|
+
`ghidra merge`, then `work submit`, and `ghidra refresh` before the next `work next`.
|
|
18
20
|
- Debugger, GUI, version tracking and archive commands report `not_available` in this build.
|
|
19
21
|
|
|
20
22
|
Generated `--help` is the syntax authority: `insight-cli --help`, then `--help` on any group or command.
|
|
@@ -3,7 +3,7 @@ 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.9.
|
|
6
|
+
# Insight ILSpy 0.9.3
|
|
7
7
|
|
|
8
8
|
Commands: `insight-cli ilspy --help`. `insight-cli tools show ilspy --json`
|
|
9
9
|
lists tasks, inputs, platforms and readiness.
|
|
@@ -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.9.
|
|
6
|
+
# Insight Interop 0.9.3
|
|
7
7
|
|
|
8
8
|
Commands: `insight-cli ilspy --help`. `insight-cli tools show managed-native-linkage --json`
|
|
9
9
|
lists tasks, inputs, platforms and readiness.
|
|
@@ -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.9.
|
|
6
|
+
# Insight LLDB 0.9.3
|
|
7
7
|
|
|
8
8
|
Commands: `insight-cli lldb --help`. `insight-cli tools show lldb --json`
|
|
9
9
|
lists tasks, inputs, platforms and readiness.
|
|
@@ -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.9.
|
|
6
|
+
# Insight LLVM 0.9.3
|
|
7
7
|
|
|
8
8
|
Commands: `insight-cli llvm --help`. `insight-cli tools show llvm --json`
|
|
9
9
|
lists tasks, inputs, platforms and readiness.
|
|
@@ -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.9.
|
|
6
|
+
# Insight Managed Heap 0.9.3
|
|
7
7
|
|
|
8
8
|
Commands: `insight-cli dotnet-dump --help`. `insight-cli tools show managed-heap --json`
|
|
9
9
|
lists tasks, inputs, platforms and readiness.
|
|
@@ -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.9.
|
|
6
|
+
# Insight Managed Metadata 0.9.3
|
|
7
7
|
|
|
8
8
|
Commands: `insight-cli ilspy --help`. `insight-cli tools show managed-metadata --json`
|
|
9
9
|
lists tasks, inputs, platforms and readiness.
|
|
@@ -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.9.
|
|
6
|
+
# Insight mitmproxy 0.9.3
|
|
7
7
|
|
|
8
8
|
Commands: `insight-cli mitmproxy --help`. `insight-cli tools show mitmproxy --json`
|
|
9
9
|
lists tasks, inputs, platforms and readiness.
|
|
@@ -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.9.
|
|
6
|
+
# Insight Overview 0.9.3
|
|
7
7
|
|
|
8
8
|
Commands: `insight-cli tools --help`. `insight-cli tools show overview-drilldown --json`
|
|
9
9
|
lists tasks, inputs, platforms and readiness.
|
|
@@ -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.9.
|
|
6
|
+
# Insight ProcMon 0.9.3
|
|
7
7
|
|
|
8
8
|
Commands: `insight-cli procmon --help`. `insight-cli tools show procmon --json`
|
|
9
9
|
lists tasks, inputs, platforms and readiness.
|
|
@@ -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.9.
|
|
6
|
+
# Insight RE 0.9.3
|
|
7
7
|
|
|
8
8
|
Discover capabilities with `insight-cli tools list --json` and `insight-cli tools show <tool> --json`;
|
|
9
9
|
each tool names its skill (`insight-cli skill <name>`). Update permission is required for tool preparation,
|