@eyeauras/insight-cli 0.5.5 → 0.5.6
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/contexts.js +34 -2
- package/dist/src/initial-model.d.ts +3 -2
- package/dist/src/initial-model.js +23 -15
- package/dist/src/server.d.ts +1 -0
- package/dist/src/server.js +5 -2
- package/package.json +1 -1
- package/references/native/InsightInitialImport.java +2 -2
- package/references/native/InsightInitialJournal.java +9 -0
- package/references/native/InsightInitialPublication.java +1 -1
- package/references/native/InsightInitialRecovery.java +131 -0
- package/references/recovery.md +8 -0
- package/skill-bundle/insight-artifacts/SKILL.md +1 -1
- package/skill-bundle/insight-artifacts/references/recovery.md +8 -0
- 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-cli/references/recovery.md +8 -0
- 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-ghidra/references/recovery.md +8 -0
- 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/recovery.md +8 -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-artifacts/references/recovery.md +8 -0
- 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-ghidra/references/recovery.md +8 -0
- 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/recovery.md +8 -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
package/.cli-package-build.json
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":1,"artifact":"
|
|
1
|
+
{"version":1,"artifact":"019e53d8315780cfa97539254385fde8d16f9944ede8d2a6636b319d4fda6c17"}
|
package/SKILL.md
CHANGED
|
@@ -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.5.
|
|
6
|
+
# insight-cli 0.5.6
|
|
7
7
|
|
|
8
8
|
If local help/status reports AppData or IPC access denied, retry that **read-only probe**
|
|
9
9
|
with the agent host's normal permission escalation, then use that route for later authorized
|
package/dist/src/contexts.js
CHANGED
|
@@ -28,7 +28,8 @@ import { nativeQuery } from './native-queries.js';
|
|
|
28
28
|
import { runInline } from './inline-script.js';
|
|
29
29
|
import { researchView } from './research-view.js';
|
|
30
30
|
import { sdkWrites } from './sdk-contracts.js';
|
|
31
|
-
import { initialIntent, initializeModel } from './initial-model.js';
|
|
31
|
+
import { initialRoot, initialIntent, initializeModel, validateInitialIntent } from './initial-model.js';
|
|
32
|
+
import { initialProgress } from './initial-progress.js';
|
|
32
33
|
import { managedGhidraDebugger, prepareGhidraDebugger } from './ghidra-debugger-runtime.js';
|
|
33
34
|
const alive = (pid) => {
|
|
34
35
|
try {
|
|
@@ -364,7 +365,38 @@ export class GhidraContexts {
|
|
|
364
365
|
if (model.state === 'ready')
|
|
365
366
|
return;
|
|
366
367
|
const server = this.server(), binding = await server.ensure();
|
|
367
|
-
if (
|
|
368
|
+
if (this.workspace.activePublication(target.id))
|
|
369
|
+
fail('blocked', 'Shared publication requires reconciliation before initial-model recovery.');
|
|
370
|
+
const intent = await initialIntent(this.workspace, target.id);
|
|
371
|
+
if (intent) {
|
|
372
|
+
await validateInitialIntent(this.workspace, target, binding, this.inputs.fingerprint, undefined, true);
|
|
373
|
+
if (intent.runtimeFingerprint !== this.inputs.fingerprint) {
|
|
374
|
+
const root = initialRoot(this.workspace, target.id);
|
|
375
|
+
const result = await server.initialRecovery(binding, root, this.inputs.fingerprint);
|
|
376
|
+
if (result.state === 'busy')
|
|
377
|
+
fail('busy', 'The retained initial-model worker is still active.');
|
|
378
|
+
if (result.state === 'candidate') {
|
|
379
|
+
const receipt = text(result.receipt);
|
|
380
|
+
if (!/^canonical-[a-f0-9-]{36}\.json$/.test(receipt))
|
|
381
|
+
fail('binding', 'Invalid canonical recovery receipt.');
|
|
382
|
+
const proof = await server.initialRecovery(binding, root, this.inputs.fingerprint, receipt);
|
|
383
|
+
if (proof.state !== 'verified' || proof.version !== result.version || proof.snapshotBuffersVerified !== true || proof.snapshot !== result.snapshot ||
|
|
384
|
+
typeof proof.snapshot !== 'string' || !/^canonical-[a-f0-9-]{36}\.gzf$/.test(proof.snapshot))
|
|
385
|
+
fail('unknown', 'Canonical model changed or independent recovery readback remains unproved.');
|
|
386
|
+
const snapshot = await this.workspace.captureSnapshot(join(root, proof.snapshot));
|
|
387
|
+
if (snapshot.sha256 !== proof.snapshotSha256)
|
|
388
|
+
fail('binding', 'Recovered canonical snapshot changed.');
|
|
389
|
+
this.workspace.establishModel(target.id, version(proof.version), snapshot);
|
|
390
|
+
await initialProgress(root, target.id, 'complete', 'complete');
|
|
391
|
+
return;
|
|
392
|
+
}
|
|
393
|
+
if (result.state !== 'absent' || result.root !== 'runtime-' + this.inputs.fingerprint)
|
|
394
|
+
fail('unknown', 'Retained initial-model outcome requires reconciliation.');
|
|
395
|
+
await initializeModel(this.workspace, target, binding, server, this.inputs.fingerprint, join(root, String(result.root)));
|
|
396
|
+
return;
|
|
397
|
+
}
|
|
398
|
+
}
|
|
399
|
+
if (!intent) {
|
|
368
400
|
// Old builds imported into an unversioned local shared-project stage. First stop
|
|
369
401
|
// its authenticated worker; a failed probe is never treated as authoritative absence.
|
|
370
402
|
if (model.state === 'unknown')
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import type { Workspace, ResearchTarget } from './workspace.js';
|
|
2
2
|
import type { GhidraServer, ServerBinding } from './server.js';
|
|
3
3
|
export declare const initialRoot: (workspace: Workspace, target: string) => string;
|
|
4
|
-
export declare function initialIntent(workspace: Workspace, target: string): Promise<Record<string, unknown> | undefined>;
|
|
4
|
+
export declare function initialIntent(workspace: Workspace, target: string, root?: string): Promise<Record<string, unknown> | undefined>;
|
|
5
|
+
export declare function validateInitialIntent(workspace: Workspace, target: ResearchTarget, binding: ServerBinding, fingerprint: string, root?: string, allowRuntimeChange?: boolean): Promise<Record<string, unknown>>;
|
|
5
6
|
/** Immutable input/authority binding; private attempts and conditional first creation share it. */
|
|
6
|
-
export declare function initializeModel(workspace: Workspace, target: ResearchTarget, binding: ServerBinding, server: Pick<GhidraServer, 'initialImport' | 'initialPublication'>, fingerprint: string): Promise<void>;
|
|
7
|
+
export declare function initializeModel(workspace: Workspace, target: ResearchTarget, binding: ServerBinding, server: Pick<GhidraServer, 'initialImport' | 'initialPublication'>, fingerprint: string, root?: string): Promise<void>;
|
|
@@ -4,9 +4,9 @@ import { randomUUID } from 'node:crypto';
|
|
|
4
4
|
import { stable, object, fail } from './model.js';
|
|
5
5
|
import { initialProgress, progressPhase, readInitialProgress } from './initial-progress.js';
|
|
6
6
|
export const initialRoot = (workspace, target) => join(workspace.directory, 'ghidra-native', 'initial', target);
|
|
7
|
-
export async function initialIntent(workspace, target) {
|
|
7
|
+
export async function initialIntent(workspace, target, root = initialRoot(workspace, target)) {
|
|
8
8
|
try {
|
|
9
|
-
return object(JSON.parse(await readFile(join(
|
|
9
|
+
return object(JSON.parse(await readFile(join(root, 'intent.json'), 'utf8')));
|
|
10
10
|
}
|
|
11
11
|
catch (error) {
|
|
12
12
|
if (error.code === 'ENOENT')
|
|
@@ -14,10 +14,21 @@ export async function initialIntent(workspace, target) {
|
|
|
14
14
|
throw error;
|
|
15
15
|
}
|
|
16
16
|
}
|
|
17
|
+
export async function validateInitialIntent(workspace, target, binding, fingerprint, root = initialRoot(workspace, target.id), allowRuntimeChange = false) {
|
|
18
|
+
const expected = { schema: 1, target: target.id, sha256: target.binarySha256, input: await workspace.artifacts.verify(target.input),
|
|
19
|
+
origin: binding.origin, repository: binding.repository, readerUser: binding.readerUser, publisherUser: binding.publisherUser,
|
|
20
|
+
settings: workspace.model(target.id).settings, runtimeFingerprint: fingerprint };
|
|
21
|
+
const intent = await initialIntent(workspace, target.id, root);
|
|
22
|
+
if (!intent || typeof intent.id !== 'string' || !/^[a-f0-9-]{36}$/.test(intent.id) ||
|
|
23
|
+
Object.entries(expected).filter(([key]) => key !== 'input' && !(allowRuntimeChange && key === 'runtimeFingerprint')).some(([key, value]) => stable(intent[key]) !== stable(value)) ||
|
|
24
|
+
typeof intent.runtimeFingerprint !== 'string' || typeof intent.input !== 'string' || await realpath(intent.input) !== expected.input)
|
|
25
|
+
fail('binding', 'Retained initial model differs from its input, load settings, runtime or repository authority.');
|
|
26
|
+
return intent;
|
|
27
|
+
}
|
|
17
28
|
/** Immutable input/authority binding; private attempts and conditional first creation share it. */
|
|
18
|
-
export async function initializeModel(workspace, target, binding, server, fingerprint) {
|
|
29
|
+
export async function initializeModel(workspace, target, binding, server, fingerprint, root = initialRoot(workspace, target.id)) {
|
|
19
30
|
try {
|
|
20
|
-
return await initialize(workspace, target, binding, server, fingerprint);
|
|
31
|
+
return await initialize(workspace, target, binding, server, fingerprint, root);
|
|
21
32
|
}
|
|
22
33
|
catch (error) {
|
|
23
34
|
try {
|
|
@@ -33,15 +44,14 @@ export async function initializeModel(workspace, target, binding, server, finger
|
|
|
33
44
|
throw error;
|
|
34
45
|
}
|
|
35
46
|
}
|
|
36
|
-
async function initialize(workspace, target, binding, server, fingerprint) {
|
|
37
|
-
const root = initialRoot(workspace, target.id);
|
|
47
|
+
async function initialize(workspace, target, binding, server, fingerprint, root) {
|
|
38
48
|
await mkdir(root, { recursive: true, mode: 0o700 });
|
|
39
49
|
if (await realpath(root) !== resolve(root))
|
|
40
50
|
fail('binding', 'Initial model storage moved outside its owned root.');
|
|
41
51
|
const expected = { schema: 1, target: target.id, sha256: target.binarySha256, input: await workspace.artifacts.verify(target.input),
|
|
42
52
|
origin: binding.origin, repository: binding.repository, readerUser: binding.readerUser, publisherUser: binding.publisherUser,
|
|
43
53
|
settings: workspace.model(target.id).settings, runtimeFingerprint: fingerprint };
|
|
44
|
-
let intent = await initialIntent(workspace, target.id);
|
|
54
|
+
let intent = await initialIntent(workspace, target.id, root);
|
|
45
55
|
if (!intent) {
|
|
46
56
|
const temporary = join(root, 'intent.new-' + randomUUID()), handle = await open(temporary, 'wx', 0o600);
|
|
47
57
|
try {
|
|
@@ -70,12 +80,9 @@ async function initialize(workspace, target, binding, server, fingerprint) {
|
|
|
70
80
|
await directory.close();
|
|
71
81
|
}
|
|
72
82
|
}
|
|
73
|
-
intent = await initialIntent(workspace, target.id);
|
|
83
|
+
intent = await initialIntent(workspace, target.id, root);
|
|
74
84
|
}
|
|
75
|
-
|
|
76
|
-
Object.entries(expected).filter(([key]) => key !== 'input').some(([key, value]) => stable(intent[key]) !== stable(value)) ||
|
|
77
|
-
typeof intent.input !== 'string' || await realpath(intent.input) !== expected.input)
|
|
78
|
-
fail('binding', 'Retained initial model differs from its input, load settings, runtime or repository authority.');
|
|
85
|
+
await validateInitialIntent(workspace, target, binding, fingerprint, root);
|
|
79
86
|
if (workspace.model(target.id).state === 'opening')
|
|
80
87
|
workspace.beginModelInitialization(target.id);
|
|
81
88
|
const prepared = await server.initialImport(root);
|
|
@@ -86,10 +93,11 @@ async function initialize(workspace, target, binding, server, fingerprint) {
|
|
|
86
93
|
const receipt = object(JSON.parse(await readFile(join(root, 'import.json'), 'utf8'))), name = receipt.snapshot;
|
|
87
94
|
if (typeof name !== 'string' || !/^attempt-[a-f0-9-]{36}\.gzf$/.test(name))
|
|
88
95
|
fail('binding', 'Initial model snapshot receipt is malformed.');
|
|
89
|
-
const
|
|
96
|
+
const observation = initialRoot(workspace, target.id);
|
|
97
|
+
const snapshot = await progressPhase(observation, target.id, 'snapshot-verification', () => workspace.captureSnapshot(join(root, name)));
|
|
90
98
|
if (snapshot.sha256 !== receipt.snapshotSha256)
|
|
91
99
|
fail('binding', 'Initial saved snapshot changed before publication.');
|
|
92
|
-
const publication = (operation) => progressPhase(
|
|
100
|
+
const publication = (operation) => progressPhase(observation, target.id, 'publication-' + operation, () => server.initialPublication(binding, root, operation));
|
|
93
101
|
let result = await publication('stage');
|
|
94
102
|
if (result.state === 'staged') {
|
|
95
103
|
const proof = await publication('verify-stage');
|
|
@@ -103,5 +111,5 @@ async function initialize(workspace, target, binding, server, fingerprint) {
|
|
|
103
111
|
if (verified.state !== 'verified' || verified.version !== 1 || verified.snapshotBuffersVerified !== true)
|
|
104
112
|
fail('unknown', 'Independent initial-model readback did not establish the complete saved buffers.');
|
|
105
113
|
workspace.establishModel(target.id, 1, snapshot);
|
|
106
|
-
await initialProgress(
|
|
114
|
+
await initialProgress(observation, target.id, 'complete', 'complete');
|
|
107
115
|
}
|
package/dist/src/server.d.ts
CHANGED
|
@@ -43,6 +43,7 @@ export declare class GhidraServer {
|
|
|
43
43
|
projectOutcome(requestId: string, expected: Record<string, unknown>): Promise<Record<string, unknown> | undefined>;
|
|
44
44
|
administration(operation: string, parameters: Record<string, unknown>): Promise<Record<string, unknown>>;
|
|
45
45
|
programStatus(binding: ServerBinding, path: string): Promise<Record<string, unknown>>;
|
|
46
|
+
initialRecovery(binding: ServerBinding, root: string, fingerprint: string, receipt?: string): Promise<Record<string, unknown>>;
|
|
46
47
|
initialImport(root: string): Promise<Record<string, unknown>>;
|
|
47
48
|
initialPublication(binding: ServerBinding, root: string, operation?: 'stage' | 'verify-stage' | 'promote' | 'verify'): Promise<Record<string, unknown>>;
|
|
48
49
|
publish(binding: ServerBinding, path: string, snapshot: string, expected: number, request: string, journal: string, sourceSha: string): Promise<Record<string, unknown>>;
|
package/dist/src/server.js
CHANGED
|
@@ -4,7 +4,7 @@ import { launchProcess, terminateProcess } from './tool-runtime/supervisor.js';
|
|
|
4
4
|
import { runTool } from './tool-runtime/run.js';
|
|
5
5
|
import { randomUUID, randomBytes, createHash } from 'node:crypto';
|
|
6
6
|
import { readFile, mkdir, open, rename, readdir, stat, chmod, realpath } from 'node:fs/promises';
|
|
7
|
-
import { delimiter, dirname, join, resolve } from 'node:path';
|
|
7
|
+
import { basename, delimiter, dirname, join, resolve } from 'node:path';
|
|
8
8
|
import { createServer } from 'node:net';
|
|
9
9
|
import { setTimeout as delay } from 'node:timers/promises';
|
|
10
10
|
import { fail, object, stable, text, digest } from './model.js';
|
|
@@ -201,11 +201,14 @@ export class GhidraServer {
|
|
|
201
201
|
async programStatus(binding, path) {
|
|
202
202
|
return this.run('program-status', 'InsightRepositoryProbe', [binding.repository, path, 'reader'], await this.credentials(binding, 'reader'));
|
|
203
203
|
}
|
|
204
|
+
async initialRecovery(binding, root, fingerprint, receipt = '') {
|
|
205
|
+
return this.run('initial-recovery', 'db.InsightInitialRecovery', [root, fingerprint, receipt], await this.credentials(binding, 'reader'));
|
|
206
|
+
}
|
|
204
207
|
async initialImport(root) {
|
|
205
208
|
const timeoutMilliseconds = ghidraBudget(this.c.profile.values, 'import');
|
|
206
209
|
const report = async () => {
|
|
207
210
|
try {
|
|
208
|
-
const p = object(JSON.parse(await readFile(join(root, 'progress.json'), 'utf8')));
|
|
211
|
+
const p = object(JSON.parse(await readFile(join(/^runtime-[a-f0-9]{64}$/.test(basename(root)) ? dirname(root) : root, 'progress.json'), 'utf8')));
|
|
209
212
|
const elapsed = Math.round((Date.now() - Date.parse(String(p.startedAt))) / 1000);
|
|
210
213
|
this.c.progress(`Ghidra ${String(p.phase)}: ${elapsed}s${typeof p.total === 'number' ? `; task ${String(p.completed)}/${p.total}` : ''}${p.message ? `; ${String(p.message).replace(/[\r\n\x00-\x1f]/g, ' ')}` : ''}`);
|
|
211
214
|
}
|
package/package.json
CHANGED
|
@@ -11,7 +11,7 @@ class InsightInitialImport {
|
|
|
11
11
|
public static void main(String[] args){var out=System.out;System.setOut(System.err);
|
|
12
12
|
try{
|
|
13
13
|
Path root=Path.of(args[0]);JsonObject p=InsightInitialJournal.intent(root);
|
|
14
|
-
try(var channel=FileChannel.open(root.resolve("lock"),StandardOpenOption.CREATE,StandardOpenOption.WRITE);var lock=channel.tryLock()){
|
|
14
|
+
try(var channel=FileChannel.open(InsightInitialJournal.lockRoot(root).resolve("lock"),StandardOpenOption.CREATE,StandardOpenOption.WRITE);var lock=channel.tryLock()){
|
|
15
15
|
if(lock==null){out.println("{\"state\":\"busy\"}");System.exit(0);}
|
|
16
16
|
Path journal=root.resolve("import.json");
|
|
17
17
|
if(Files.exists(journal)&&InsightInitialJournal.text(InsightInitialJournal.read(journal),"phase").equals("prepared")){
|
|
@@ -23,7 +23,7 @@ class InsightInitialImport {
|
|
|
23
23
|
JsonObject s=new JsonObject();s.addProperty("intentHash",InsightInitialJournal.hash(root.resolve("intent.json")));
|
|
24
24
|
s.addProperty("phase","importing");s.addProperty("pid",ProcessHandle.current().pid());s.addProperty("snapshot","attempt-"+UUID.randomUUID()+".gzf");
|
|
25
25
|
Path attempt=root.resolve(InsightInitialJournal.text(s,"snapshot")+".json");InsightInitialJournal.write(attempt,s);InsightInitialJournal.write(journal,s);
|
|
26
|
-
try(var progress=new InsightImportProgress(root,InsightInitialJournal.text(p,"target"))){
|
|
26
|
+
try(var progress=new InsightImportProgress(InsightInitialJournal.lockRoot(root),InsightInitialJournal.text(p,"target"))){
|
|
27
27
|
progress.phase("runtime-initialization");
|
|
28
28
|
Application.initializeApplication(new GhidraApplicationLayout(),new HeadlessGhidraApplicationConfiguration());
|
|
29
29
|
JsonObject settings=p.getAsJsonObject("settings"),request=new JsonObject();
|
|
@@ -31,6 +31,15 @@ public class InsightInitialJournal {
|
|
|
31
31
|
if(p.get("schema").getAsInt()!=1||!text(p,"target").matches("t_[a-f0-9]{32}")||!text(p,"id").matches("[a-f0-9-]{36}")||!text(p,"sha256").matches("[a-f0-9]{64}"))throw new SecurityException("Invalid initial-model identity");
|
|
32
32
|
return p;
|
|
33
33
|
}
|
|
34
|
+
/** Upgraded preparations share the original attempt's native lock. */
|
|
35
|
+
public static Path lockRoot(Path root)throws Exception{
|
|
36
|
+
JsonObject p=intent(root);if(!p.has("recoveryOf"))return root;
|
|
37
|
+
Path parent=root.getParent();JsonObject original=intent(parent);
|
|
38
|
+
if(!root.getFileName().toString().equals("runtime-"+text(p,"runtimeFingerprint"))||!text(p,"recoveryOf").equals(hash(parent.resolve("intent.json"))))throw new SecurityException("Recovery ancestry changed");
|
|
39
|
+
JsonObject expected=original.deepCopy();expected.add("id",p.get("id"));expected.add("runtimeFingerprint",p.get("runtimeFingerprint"));expected.add("recoveryOf",p.get("recoveryOf"));
|
|
40
|
+
if(!expected.equals(p))throw new SecurityException("Recovery immutable identity changed");
|
|
41
|
+
return parent;
|
|
42
|
+
}
|
|
34
43
|
public static JsonObject prepared(Path root)throws Exception{
|
|
35
44
|
JsonObject p=intent(root),s=read(root.resolve("import.json"));
|
|
36
45
|
if(!text(s,"intentHash").equals(hash(root.resolve("intent.json")))||!text(s,"phase").equals("prepared"))throw new SecurityException("Import is not prepared");
|
|
@@ -54,7 +54,7 @@ class InsightInitialPublication {
|
|
|
54
54
|
public static void main(String[] args){var out=System.out;System.setOut(System.err);
|
|
55
55
|
try{
|
|
56
56
|
Path root=Path.of(args[0]);String operation=args[1];boolean readOnly=operation.startsWith("verify");JsonObject p=InsightInitialJournal.intent(root);
|
|
57
|
-
try(var channel=FileChannel.open(root.resolve("lock"),StandardOpenOption.CREATE,StandardOpenOption.WRITE);var lock=channel.tryLock()){
|
|
57
|
+
try(var channel=FileChannel.open(InsightInitialJournal.lockRoot(root).resolve("lock"),StandardOpenOption.CREATE,StandardOpenOption.WRITE);var lock=channel.tryLock()){
|
|
58
58
|
if(lock==null){out.println("{\"state\":\"busy\"}");System.exit(0);}
|
|
59
59
|
JsonObject saved=InsightInitialJournal.prepared(root);Path snapshot=root.resolve(text(saved,"snapshot")),journalPath=root.resolve("publication.json");
|
|
60
60
|
JsonObject j=Files.exists(journalPath)?InsightInitialJournal.read(journalPath):null;
|
|
@@ -0,0 +1,131 @@
|
|
|
1
|
+
package db;
|
|
2
|
+
|
|
3
|
+
import com.google.gson.*;
|
|
4
|
+
import com.xebyte.headless.GhidraServerManager;
|
|
5
|
+
import db.buffers.InsightBlockTransfer;
|
|
6
|
+
import db.buffers.LocalBufferFile;
|
|
7
|
+
import ghidra.framework.store.local.ItemSerializer;
|
|
8
|
+
import ghidra.GhidraApplicationLayout;
|
|
9
|
+
import ghidra.framework.*;
|
|
10
|
+
import ghidra.framework.client.RepositoryAdapter;
|
|
11
|
+
import ghidra.framework.data.OpenMode;
|
|
12
|
+
import ghidra.framework.store.db.PackedDatabase;
|
|
13
|
+
import ghidra.program.database.ProgramDB;
|
|
14
|
+
import ghidra.util.task.TaskMonitor;
|
|
15
|
+
import insight.InsightInitialJournal;
|
|
16
|
+
import java.nio.file.*;
|
|
17
|
+
import java.nio.channels.*;
|
|
18
|
+
import java.util.*;
|
|
19
|
+
|
|
20
|
+
/** Read-only canonical recovery; only local preparation journals may be created here. */
|
|
21
|
+
class InsightInitialRecovery {
|
|
22
|
+
static String text(JsonObject p,String key){return InsightInitialJournal.text(p,key);}
|
|
23
|
+
static void stopped(Path root)throws Exception{
|
|
24
|
+
for(String name:List.of("import.json","publication.json"))if(Files.exists(root.resolve(name))){
|
|
25
|
+
var j=InsightInitialJournal.read(root.resolve(name));
|
|
26
|
+
if(j.has("pid")&&ProcessHandle.of(j.get("pid").getAsLong()).map(ProcessHandle::isAlive).orElse(false))
|
|
27
|
+
throw new IllegalStateException("Retained initial worker is live; no takeover");
|
|
28
|
+
}
|
|
29
|
+
}
|
|
30
|
+
static void quiescent(RepositoryAdapter repo,String name,String id,int revision)throws Exception{
|
|
31
|
+
var item=repo.getItem("/",name);
|
|
32
|
+
if(item==null||!id.equals(item.getFileID())||item.getVersion()!=revision||repo.isCheckinActive("/",name)||repo.getCheckouts("/",name).length!=0)
|
|
33
|
+
throw new IllegalStateException("Canonical revision or ownership changed");
|
|
34
|
+
var history=repo.getVersions("/",name);
|
|
35
|
+
if(Arrays.stream(history).noneMatch(v->v.getVersion()==revision)||
|
|
36
|
+
Arrays.stream(history).noneMatch(v->v.getVersion()==1&&("insight target "+name.substring(0,name.length()-4)).equals(v.getComment())))
|
|
37
|
+
throw new SecurityException("Canonical initial provenance is unproved");
|
|
38
|
+
}
|
|
39
|
+
static void buffers(RepositoryAdapter repo,String name,int version,Path path,String sha)throws Exception{
|
|
40
|
+
DBHandle saved=PackedDatabase.getPackedDatabase(path.toFile(),true,TaskMonitor.DUMMY).open(TaskMonitor.DUMMY);
|
|
41
|
+
DBHandle observed=new DBHandle(repo.openDatabase("/",name,version,-1));
|
|
42
|
+
try{
|
|
43
|
+
if(saved.getDatabaseId()!=observed.getDatabaseId()||!InsightBlockTransfer.fingerprint(saved.getBufferMgr().getSourceFile()).equals(InsightBlockTransfer.fingerprint(observed.getBufferMgr().getSourceFile())))
|
|
44
|
+
throw new SecurityException("Exact canonical buffers differ");
|
|
45
|
+
Object consumer=new Object();ProgramDB program=new ProgramDB(observed,OpenMode.IMMUTABLE,TaskMonitor.DUMMY,consumer);
|
|
46
|
+
try{if(!sha.equals(program.getExecutableSHA256()))throw new SecurityException("Canonical target changed");}finally{program.release(consumer);}
|
|
47
|
+
}finally{saved.close();observed.close();}
|
|
48
|
+
}
|
|
49
|
+
static void packExact(DBHandle db,Path path,String name)throws Exception{
|
|
50
|
+
// Program.saveToPackedFile / PackedDatabase.packDatabase allocate a fresh DB identity.
|
|
51
|
+
// Preserve the exact committed identity before serializing the same GZF container format.
|
|
52
|
+
Path raw=path.resolveSibling(path.getFileName()+".db");
|
|
53
|
+
LocalBufferFile file=new LocalBufferFile(raw.toFile(),db.getBufferSize());
|
|
54
|
+
try{db.saveAs(file,Long.valueOf(db.getDatabaseId()),false,TaskMonitor.DUMMY);}finally{file.dispose();}
|
|
55
|
+
try(var input=Files.newInputStream(raw)){
|
|
56
|
+
ItemSerializer.outputItem(name,"Program",0,Files.size(raw),input,path.toFile(),TaskMonitor.DUMMY);
|
|
57
|
+
}
|
|
58
|
+
Files.delete(raw);
|
|
59
|
+
}
|
|
60
|
+
static void settings(ProgramDB program,JsonObject p)throws Exception{
|
|
61
|
+
if(!program.getExecutableSHA256().equals(text(p,"sha256")))throw new SecurityException("Canonical source changed");
|
|
62
|
+
JsonObject settings=p.getAsJsonObject("settings");
|
|
63
|
+
if(settings.has("language")&&!program.getLanguageID().toString().equals(text(settings,"language"))||
|
|
64
|
+
settings.has("compilerSpec")&&!program.getCompilerSpec().getCompilerSpecID().toString().equals(text(settings,"compilerSpec"))||
|
|
65
|
+
settings.has("imageBase")&&!program.getImageBase().toString().replaceFirst("^0+(?!$)","").equals(text(settings,"imageBase")))
|
|
66
|
+
throw new SecurityException("Canonical load settings changed");
|
|
67
|
+
}
|
|
68
|
+
public static void main(String[] args){var out=System.out;System.setOut(System.err);
|
|
69
|
+
try{
|
|
70
|
+
Path root=Path.of(args[0]);String fingerprint=args[1],receipt=args[2];
|
|
71
|
+
if(!fingerprint.matches("[a-f0-9]{64}"))throw new SecurityException("Invalid runtime fingerprint");
|
|
72
|
+
JsonObject p=InsightInitialJournal.intent(root);String intentHash=InsightInitialJournal.hash(root.resolve("intent.json"));
|
|
73
|
+
try(var channel=FileChannel.open(root.resolve("lock"),StandardOpenOption.CREATE,StandardOpenOption.WRITE);var lock=channel.tryLock()){
|
|
74
|
+
if(lock==null){out.println("{\"state\":\"busy\"}");System.exit(0);}
|
|
75
|
+
stopped(root);
|
|
76
|
+
try(var children=Files.newDirectoryStream(root,"runtime-*")){for(Path child:children){
|
|
77
|
+
if(!Files.isDirectory(child,LinkOption.NOFOLLOW_LINKS)||!child.toRealPath().equals(child.toAbsolutePath().normalize()))throw new SecurityException();
|
|
78
|
+
stopped(child);
|
|
79
|
+
}}
|
|
80
|
+
Application.initializeApplication(new GhidraApplicationLayout(),new HeadlessGhidraApplicationConfiguration());
|
|
81
|
+
var manager=new GhidraServerManager();manager.connect();var repo=manager.server().getRepository(text(p,"repository"));repo.connect();
|
|
82
|
+
var user=repo.getUser();
|
|
83
|
+
if(user==null||!user.isReadOnly()||!user.getName().equals(text(p,"readerUser"))||!user.getName().equals(System.getenv("GHIDRA_SERVER_USER")))throw new SecurityException();
|
|
84
|
+
String name=text(p,"target")+".bin";var item=repo.getItem("/",name);
|
|
85
|
+
if(item==null){
|
|
86
|
+
if(!receipt.isEmpty()||repo.fileExists("/",name)||Files.exists(root.resolve("publication.json")))throw new SecurityException("Canonical absence or prior publication remains unproved");
|
|
87
|
+
// All earlier preparations remain retained; none may have a pending publication.
|
|
88
|
+
try(var children=Files.newDirectoryStream(root,"runtime-*")){for(Path child:children)if(!child.getFileName().toString().equals("runtime-"+fingerprint)&&Files.exists(child.resolve("publication.json")))throw new SecurityException("Earlier runtime publication requires reconciliation");}
|
|
89
|
+
Path next=root.resolve("runtime-"+fingerprint);Files.createDirectories(next);
|
|
90
|
+
if(!next.toRealPath().equals(next.toAbsolutePath().normalize()))throw new SecurityException();
|
|
91
|
+
Path intent=next.resolve("intent.json");
|
|
92
|
+
JsonObject expected=p.deepCopy();expected.addProperty("runtimeFingerprint",fingerprint);expected.addProperty("recoveryOf",intentHash);
|
|
93
|
+
if(Files.exists(intent)){
|
|
94
|
+
JsonObject actual=InsightInitialJournal.intent(next);expected.add("id",actual.get("id"));
|
|
95
|
+
if(!expected.equals(actual))throw new SecurityException("Runtime recovery intent changed");
|
|
96
|
+
}else{expected.addProperty("id",UUID.randomUUID().toString());InsightInitialJournal.write(intent,expected);}
|
|
97
|
+
out.println(new Gson().toJson(Map.of("state","absent","root",next.getFileName().toString())));System.exit(0);
|
|
98
|
+
}
|
|
99
|
+
String id=item.getFileID();int revision=item.getVersion();quiescent(repo,name,id,revision);
|
|
100
|
+
// A lost initial publication is reconciled against its exact R1, never inferred from latest alone.
|
|
101
|
+
List<Path> attempts=new ArrayList<>();attempts.add(root);
|
|
102
|
+
try(var children=Files.newDirectoryStream(root,"runtime-*")){for(Path child:children)attempts.add(child);}
|
|
103
|
+
for(Path attempt:attempts)if(Files.exists(attempt.resolve("publication.json"))){
|
|
104
|
+
var j=InsightInitialJournal.read(attempt.resolve("publication.json"));var saved=InsightInitialJournal.prepared(attempt);
|
|
105
|
+
if(!text(j,"intentHash").equals(InsightInitialJournal.hash(attempt.resolve("intent.json")))||!id.equals(j.has("fileId")?text(j,"fileId"):text(InsightInitialJournal.intent(attempt),"id"))||
|
|
106
|
+
!text(j,"snapshotSha256").equals(text(saved,"snapshotSha256")))throw new SecurityException("Prior publication identity remains unknown");
|
|
107
|
+
buffers(repo,name,1,attempt.resolve(text(saved,"snapshot")),text(p,"sha256"));
|
|
108
|
+
}
|
|
109
|
+
if(receipt.isEmpty()){
|
|
110
|
+
String token=UUID.randomUUID().toString(),snapshot="canonical-"+token+".gzf";Path path=root.resolve(snapshot);
|
|
111
|
+
DBHandle db=new DBHandle(repo.openDatabase("/",name,revision,-1));Object consumer=new Object();
|
|
112
|
+
try{ProgramDB program=new ProgramDB(db,OpenMode.IMMUTABLE,TaskMonitor.DUMMY,consumer);
|
|
113
|
+
try{settings(program,p);packExact(db,path,name);}finally{program.release(consumer);}
|
|
114
|
+
}finally{db.close();}
|
|
115
|
+
InsightInitialJournal.sync(path);quiescent(repo,name,id,revision);
|
|
116
|
+
JsonObject journal=new JsonObject();journal.addProperty("intentHash",intentHash);journal.addProperty("runtimeFingerprint",fingerprint);
|
|
117
|
+
journal.addProperty("fileId",id);journal.addProperty("version",revision);journal.addProperty("snapshot",snapshot);journal.addProperty("snapshotSha256",InsightInitialJournal.hash(path));
|
|
118
|
+
receipt="canonical-"+token+".json";InsightInitialJournal.write(root.resolve(receipt),journal);
|
|
119
|
+
journal.addProperty("receipt",receipt);journal.addProperty("state","candidate");out.println(journal);System.exit(0);
|
|
120
|
+
}
|
|
121
|
+
if(!receipt.matches("canonical-[a-f0-9-]{36}\\.json"))throw new SecurityException();
|
|
122
|
+
JsonObject proof=InsightInitialJournal.read(root.resolve(receipt));String snapshot=text(proof,"snapshot");
|
|
123
|
+
if(!snapshot.matches("canonical-[a-f0-9-]{36}\\.gzf")||!intentHash.equals(text(proof,"intentHash"))||!fingerprint.equals(text(proof,"runtimeFingerprint"))||
|
|
124
|
+
!id.equals(text(proof,"fileId"))||revision!=proof.get("version").getAsInt()||!text(proof,"snapshotSha256").equals(InsightInitialJournal.hash(root.resolve(snapshot))))throw new SecurityException("Canonical recovery receipt changed");
|
|
125
|
+
buffers(repo,name,revision,root.resolve(snapshot),text(p,"sha256"));quiescent(repo,name,id,revision);
|
|
126
|
+
proof.addProperty("state","verified");proof.addProperty("snapshotBuffersVerified",true);out.println(proof);
|
|
127
|
+
}
|
|
128
|
+
System.exit(0);
|
|
129
|
+
}catch(Throwable failure){failure.printStackTrace(System.err);out.println("{\"state\":\"unknown\"}");System.exit(0);}
|
|
130
|
+
}
|
|
131
|
+
}
|
package/references/recovery.md
CHANGED
|
@@ -41,6 +41,14 @@ A missing/unreadable/mismatched proof stays blocked; never kill by port, basenam
|
|
|
41
41
|
Other platforms retain their existing ownership authentication; this does not claim equivalent
|
|
42
42
|
hang recovery where no independent proof is available. No compiler is required on installation.
|
|
43
43
|
|
|
44
|
+
A bridge/runtime upgrade can also be continued in the original scope. The old immutable
|
|
45
|
+
intent remains retained. Recovery checks input/settings/authority, stopped native ownership
|
|
46
|
+
and publication journals first. Existing canonical research is recovered from its latest
|
|
47
|
+
committed revision through independent exact-version/full-buffer readback; private pending
|
|
48
|
+
edits stay private. A revision change or live checkout blocks adoption. Only an authoritative
|
|
49
|
+
absent path permits a separately journaled preparation under the current verified runtime,
|
|
50
|
+
using the original lock and conditional creation. An unknown publication still freezes recovery.
|
|
51
|
+
|
|
44
52
|
## Interrupted save or close
|
|
45
53
|
|
|
46
54
|
After restoring profile storage, inspect the selected session and target with
|
|
@@ -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.5.
|
|
6
|
+
# Insight Artifacts 0.5.6
|
|
7
7
|
|
|
8
8
|
If local help/status reports AppData or IPC access denied, retry that **read-only probe**
|
|
9
9
|
with the agent host's normal permission escalation, then use that route for later authorized
|
|
@@ -41,6 +41,14 @@ A missing/unreadable/mismatched proof stays blocked; never kill by port, basenam
|
|
|
41
41
|
Other platforms retain their existing ownership authentication; this does not claim equivalent
|
|
42
42
|
hang recovery where no independent proof is available. No compiler is required on installation.
|
|
43
43
|
|
|
44
|
+
A bridge/runtime upgrade can also be continued in the original scope. The old immutable
|
|
45
|
+
intent remains retained. Recovery checks input/settings/authority, stopped native ownership
|
|
46
|
+
and publication journals first. Existing canonical research is recovered from its latest
|
|
47
|
+
committed revision through independent exact-version/full-buffer readback; private pending
|
|
48
|
+
edits stay private. A revision change or live checkout blocks adoption. Only an authoritative
|
|
49
|
+
absent path permits a separately journaled preparation under the current verified runtime,
|
|
50
|
+
using the original lock and conditional creation. An unknown publication still freezes recovery.
|
|
51
|
+
|
|
44
52
|
## Interrupted save or close
|
|
45
53
|
|
|
46
54
|
After restoring profile storage, inspect the selected session and target with
|
|
@@ -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.5.
|
|
6
|
+
# Insight Binary 0.5.6
|
|
7
7
|
|
|
8
8
|
If local help/status reports AppData or IPC access denied, retry that **read-only probe**
|
|
9
9
|
with the agent host's normal permission escalation, then use that route for later authorized
|
|
@@ -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.5.
|
|
6
|
+
# Insight Capture 0.5.6
|
|
7
7
|
|
|
8
8
|
If local help/status reports AppData or IPC access denied, retry that **read-only probe**
|
|
9
9
|
with the agent host's normal permission escalation, then use that route for later authorized
|
|
@@ -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.5.
|
|
6
|
+
# insight-cli 0.5.6
|
|
7
7
|
|
|
8
8
|
If local help/status reports AppData or IPC access denied, retry that **read-only probe**
|
|
9
9
|
with the agent host's normal permission escalation, then use that route for later authorized
|
|
@@ -41,6 +41,14 @@ A missing/unreadable/mismatched proof stays blocked; never kill by port, basenam
|
|
|
41
41
|
Other platforms retain their existing ownership authentication; this does not claim equivalent
|
|
42
42
|
hang recovery where no independent proof is available. No compiler is required on installation.
|
|
43
43
|
|
|
44
|
+
A bridge/runtime upgrade can also be continued in the original scope. The old immutable
|
|
45
|
+
intent remains retained. Recovery checks input/settings/authority, stopped native ownership
|
|
46
|
+
and publication journals first. Existing canonical research is recovered from its latest
|
|
47
|
+
committed revision through independent exact-version/full-buffer readback; private pending
|
|
48
|
+
edits stay private. A revision change or live checkout blocks adoption. Only an authoritative
|
|
49
|
+
absent path permits a separately journaled preparation under the current verified runtime,
|
|
50
|
+
using the original lock and conditional creation. An unknown publication still freezes recovery.
|
|
51
|
+
|
|
44
52
|
## Interrupted save or close
|
|
45
53
|
|
|
46
54
|
After restoring profile storage, inspect the selected session and target with
|
|
@@ -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.5.
|
|
6
|
+
# Insight Detect It Easy 0.5.6
|
|
7
7
|
|
|
8
8
|
If local help/status reports AppData or IPC access denied, retry that **read-only probe**
|
|
9
9
|
with the agent host's normal permission escalation, then use that route for later authorized
|
|
@@ -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.5.
|
|
6
|
+
# Insight dnSpyEx 0.5.6
|
|
7
7
|
|
|
8
8
|
If local help/status reports AppData or IPC access denied, retry that **read-only probe**
|
|
9
9
|
with the agent host's normal permission escalation, then use that route for later authorized
|
|
@@ -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.5.
|
|
6
|
+
# Insight .NET Dump 0.5.6
|
|
7
7
|
|
|
8
8
|
If local help/status reports AppData or IPC access denied, retry that **read-only probe**
|
|
9
9
|
with the agent host's normal permission escalation, then use that route for later authorized
|
|
@@ -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.5.
|
|
6
|
+
# Insight .NET Stack 0.5.6
|
|
7
7
|
|
|
8
8
|
If local help/status reports AppData or IPC access denied, retry that **read-only probe**
|
|
9
9
|
with the agent host's normal permission escalation, then use that route for later authorized
|
|
@@ -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.5.
|
|
6
|
+
# Insight .NET Trace 0.5.6
|
|
7
7
|
|
|
8
8
|
If local help/status reports AppData or IPC access denied, retry that **read-only probe**
|
|
9
9
|
with the agent host's normal permission escalation, then use that route for later authorized
|
|
@@ -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.5.
|
|
6
|
+
# Insight Frida 0.5.6
|
|
7
7
|
|
|
8
8
|
If local help/status reports AppData or IPC access denied, retry that **read-only probe**
|
|
9
9
|
with the agent host's normal permission escalation, then use that route for later authorized
|
|
@@ -3,7 +3,7 @@ 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.5.
|
|
6
|
+
# Insight Ghidra 0.5.6
|
|
7
7
|
|
|
8
8
|
If local help/status reports AppData or IPC access denied, retry that **read-only probe**
|
|
9
9
|
with the agent host's normal permission escalation, then use that route for later authorized
|
|
@@ -41,6 +41,14 @@ A missing/unreadable/mismatched proof stays blocked; never kill by port, basenam
|
|
|
41
41
|
Other platforms retain their existing ownership authentication; this does not claim equivalent
|
|
42
42
|
hang recovery where no independent proof is available. No compiler is required on installation.
|
|
43
43
|
|
|
44
|
+
A bridge/runtime upgrade can also be continued in the original scope. The old immutable
|
|
45
|
+
intent remains retained. Recovery checks input/settings/authority, stopped native ownership
|
|
46
|
+
and publication journals first. Existing canonical research is recovered from its latest
|
|
47
|
+
committed revision through independent exact-version/full-buffer readback; private pending
|
|
48
|
+
edits stay private. A revision change or live checkout blocks adoption. Only an authoritative
|
|
49
|
+
absent path permits a separately journaled preparation under the current verified runtime,
|
|
50
|
+
using the original lock and conditional creation. An unknown publication still freezes recovery.
|
|
51
|
+
|
|
44
52
|
## Interrupted save or close
|
|
45
53
|
|
|
46
54
|
After restoring profile storage, inspect the selected session and target with
|
|
@@ -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.5.
|
|
6
|
+
# Insight ILSpy 0.5.6
|
|
7
7
|
|
|
8
8
|
If local help/status reports AppData or IPC access denied, retry that **read-only probe**
|
|
9
9
|
with the agent host's normal permission escalation, then use that route for later authorized
|
|
@@ -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.5.
|
|
6
|
+
# Insight Interop 0.5.6
|
|
7
7
|
|
|
8
8
|
If local help/status reports AppData or IPC access denied, retry that **read-only probe**
|
|
9
9
|
with the agent host's normal permission escalation, then use that route for later authorized
|
|
@@ -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.5.
|
|
6
|
+
# Insight LLDB 0.5.6
|
|
7
7
|
|
|
8
8
|
If local help/status reports AppData or IPC access denied, retry that **read-only probe**
|
|
9
9
|
with the agent host's normal permission escalation, then use that route for later authorized
|
|
@@ -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.5.
|
|
6
|
+
# Insight LLVM 0.5.6
|
|
7
7
|
|
|
8
8
|
If local help/status reports AppData or IPC access denied, retry that **read-only probe**
|
|
9
9
|
with the agent host's normal permission escalation, then use that route for later authorized
|
|
@@ -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.5.
|
|
6
|
+
# Insight Managed Heap 0.5.6
|
|
7
7
|
|
|
8
8
|
If local help/status reports AppData or IPC access denied, retry that **read-only probe**
|
|
9
9
|
with the agent host's normal permission escalation, then use that route for later authorized
|
|
@@ -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.5.
|
|
6
|
+
# Insight Managed Metadata 0.5.6
|
|
7
7
|
|
|
8
8
|
If local help/status reports AppData or IPC access denied, retry that **read-only probe**
|
|
9
9
|
with the agent host's normal permission escalation, then use that route for later authorized
|
|
@@ -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.5.
|
|
6
|
+
# Insight mitmproxy 0.5.6
|
|
7
7
|
|
|
8
8
|
If local help/status reports AppData or IPC access denied, retry that **read-only probe**
|
|
9
9
|
with the agent host's normal permission escalation, then use that route for later authorized
|
|
@@ -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.5.
|
|
6
|
+
# Insight Overview 0.5.6
|
|
7
7
|
|
|
8
8
|
If local help/status reports AppData or IPC access denied, retry that **read-only probe**
|
|
9
9
|
with the agent host's normal permission escalation, then use that route for later authorized
|
|
@@ -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.5.
|
|
6
|
+
# Insight ProcMon 0.5.6
|
|
7
7
|
|
|
8
8
|
If local help/status reports AppData or IPC access denied, retry that **read-only probe**
|
|
9
9
|
with the agent host's normal permission escalation, then use that route for later authorized
|
|
@@ -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.5.
|
|
6
|
+
# Insight RE 0.5.6
|
|
7
7
|
|
|
8
8
|
If local help/status reports AppData or IPC access denied, retry that **read-only probe**
|
|
9
9
|
with the agent host's normal permission escalation, then use that route for later authorized
|
|
@@ -41,6 +41,14 @@ A missing/unreadable/mismatched proof stays blocked; never kill by port, basenam
|
|
|
41
41
|
Other platforms retain their existing ownership authentication; this does not claim equivalent
|
|
42
42
|
hang recovery where no independent proof is available. No compiler is required on installation.
|
|
43
43
|
|
|
44
|
+
A bridge/runtime upgrade can also be continued in the original scope. The old immutable
|
|
45
|
+
intent remains retained. Recovery checks input/settings/authority, stopped native ownership
|
|
46
|
+
and publication journals first. Existing canonical research is recovered from its latest
|
|
47
|
+
committed revision through independent exact-version/full-buffer readback; private pending
|
|
48
|
+
edits stay private. A revision change or live checkout blocks adoption. Only an authoritative
|
|
49
|
+
absent path permits a separately journaled preparation under the current verified runtime,
|
|
50
|
+
using the original lock and conditional creation. An unknown publication still freezes recovery.
|
|
51
|
+
|
|
44
52
|
## Interrupted save or close
|
|
45
53
|
|
|
46
54
|
After restoring profile storage, inspect the selected session and target with
|
|
@@ -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.5.
|
|
6
|
+
# Insight 7-Zip 0.5.6
|
|
7
7
|
|
|
8
8
|
If local help/status reports AppData or IPC access denied, retry that **read-only probe**
|
|
9
9
|
with the agent host's normal permission escalation, then use that route for later authorized
|
|
@@ -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.5.
|
|
6
|
+
# Insight strace 0.5.6
|
|
7
7
|
|
|
8
8
|
If local help/status reports AppData or IPC access denied, retry that **read-only probe**
|
|
9
9
|
with the agent host's normal permission escalation, then use that route for later authorized
|
|
@@ -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.5.
|
|
6
|
+
# Insight TShark 0.5.6
|
|
7
7
|
|
|
8
8
|
If local help/status reports AppData or IPC access denied, retry that **read-only probe**
|
|
9
9
|
with the agent host's normal permission escalation, then use that route for later authorized
|
|
@@ -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.5.
|
|
6
|
+
# Insight WinDbg 0.5.6
|
|
7
7
|
|
|
8
8
|
If local help/status reports AppData or IPC access denied, retry that **read-only probe**
|
|
9
9
|
with the agent host's normal permission escalation, then use that route for later authorized
|
|
@@ -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.5.
|
|
6
|
+
# Insight Artifacts 0.5.6
|
|
7
7
|
|
|
8
8
|
If local help/status reports AppData or IPC access denied, retry that **read-only probe**
|
|
9
9
|
with the agent host's normal permission escalation, then use that route for later authorized
|
|
@@ -41,6 +41,14 @@ A missing/unreadable/mismatched proof stays blocked; never kill by port, basenam
|
|
|
41
41
|
Other platforms retain their existing ownership authentication; this does not claim equivalent
|
|
42
42
|
hang recovery where no independent proof is available. No compiler is required on installation.
|
|
43
43
|
|
|
44
|
+
A bridge/runtime upgrade can also be continued in the original scope. The old immutable
|
|
45
|
+
intent remains retained. Recovery checks input/settings/authority, stopped native ownership
|
|
46
|
+
and publication journals first. Existing canonical research is recovered from its latest
|
|
47
|
+
committed revision through independent exact-version/full-buffer readback; private pending
|
|
48
|
+
edits stay private. A revision change or live checkout blocks adoption. Only an authoritative
|
|
49
|
+
absent path permits a separately journaled preparation under the current verified runtime,
|
|
50
|
+
using the original lock and conditional creation. An unknown publication still freezes recovery.
|
|
51
|
+
|
|
44
52
|
## Interrupted save or close
|
|
45
53
|
|
|
46
54
|
After restoring profile storage, inspect the selected session and target with
|
|
@@ -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.5.
|
|
6
|
+
# Insight Binary 0.5.6
|
|
7
7
|
|
|
8
8
|
If local help/status reports AppData or IPC access denied, retry that **read-only probe**
|
|
9
9
|
with the agent host's normal permission escalation, then use that route for later authorized
|
|
@@ -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.5.
|
|
6
|
+
# Insight Capture 0.5.6
|
|
7
7
|
|
|
8
8
|
If local help/status reports AppData or IPC access denied, retry that **read-only probe**
|
|
9
9
|
with the agent host's normal permission escalation, then use that route for later authorized
|
|
@@ -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.5.
|
|
6
|
+
# Insight Detect It Easy 0.5.6
|
|
7
7
|
|
|
8
8
|
If local help/status reports AppData or IPC access denied, retry that **read-only probe**
|
|
9
9
|
with the agent host's normal permission escalation, then use that route for later authorized
|
|
@@ -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.5.
|
|
6
|
+
# Insight dnSpyEx 0.5.6
|
|
7
7
|
|
|
8
8
|
If local help/status reports AppData or IPC access denied, retry that **read-only probe**
|
|
9
9
|
with the agent host's normal permission escalation, then use that route for later authorized
|
|
@@ -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.5.
|
|
6
|
+
# Insight .NET Dump 0.5.6
|
|
7
7
|
|
|
8
8
|
If local help/status reports AppData or IPC access denied, retry that **read-only probe**
|
|
9
9
|
with the agent host's normal permission escalation, then use that route for later authorized
|
|
@@ -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.5.
|
|
6
|
+
# Insight .NET Stack 0.5.6
|
|
7
7
|
|
|
8
8
|
If local help/status reports AppData or IPC access denied, retry that **read-only probe**
|
|
9
9
|
with the agent host's normal permission escalation, then use that route for later authorized
|
|
@@ -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.5.
|
|
6
|
+
# Insight .NET Trace 0.5.6
|
|
7
7
|
|
|
8
8
|
If local help/status reports AppData or IPC access denied, retry that **read-only probe**
|
|
9
9
|
with the agent host's normal permission escalation, then use that route for later authorized
|
|
@@ -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.5.
|
|
6
|
+
# Insight Frida 0.5.6
|
|
7
7
|
|
|
8
8
|
If local help/status reports AppData or IPC access denied, retry that **read-only probe**
|
|
9
9
|
with the agent host's normal permission escalation, then use that route for later authorized
|
|
@@ -3,7 +3,7 @@ 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.5.
|
|
6
|
+
# Insight Ghidra 0.5.6
|
|
7
7
|
|
|
8
8
|
If local help/status reports AppData or IPC access denied, retry that **read-only probe**
|
|
9
9
|
with the agent host's normal permission escalation, then use that route for later authorized
|
|
@@ -41,6 +41,14 @@ A missing/unreadable/mismatched proof stays blocked; never kill by port, basenam
|
|
|
41
41
|
Other platforms retain their existing ownership authentication; this does not claim equivalent
|
|
42
42
|
hang recovery where no independent proof is available. No compiler is required on installation.
|
|
43
43
|
|
|
44
|
+
A bridge/runtime upgrade can also be continued in the original scope. The old immutable
|
|
45
|
+
intent remains retained. Recovery checks input/settings/authority, stopped native ownership
|
|
46
|
+
and publication journals first. Existing canonical research is recovered from its latest
|
|
47
|
+
committed revision through independent exact-version/full-buffer readback; private pending
|
|
48
|
+
edits stay private. A revision change or live checkout blocks adoption. Only an authoritative
|
|
49
|
+
absent path permits a separately journaled preparation under the current verified runtime,
|
|
50
|
+
using the original lock and conditional creation. An unknown publication still freezes recovery.
|
|
51
|
+
|
|
44
52
|
## Interrupted save or close
|
|
45
53
|
|
|
46
54
|
After restoring profile storage, inspect the selected session and target with
|
|
@@ -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.5.
|
|
6
|
+
# Insight ILSpy 0.5.6
|
|
7
7
|
|
|
8
8
|
If local help/status reports AppData or IPC access denied, retry that **read-only probe**
|
|
9
9
|
with the agent host's normal permission escalation, then use that route for later authorized
|
|
@@ -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.5.
|
|
6
|
+
# Insight Interop 0.5.6
|
|
7
7
|
|
|
8
8
|
If local help/status reports AppData or IPC access denied, retry that **read-only probe**
|
|
9
9
|
with the agent host's normal permission escalation, then use that route for later authorized
|
|
@@ -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.5.
|
|
6
|
+
# Insight LLDB 0.5.6
|
|
7
7
|
|
|
8
8
|
If local help/status reports AppData or IPC access denied, retry that **read-only probe**
|
|
9
9
|
with the agent host's normal permission escalation, then use that route for later authorized
|
|
@@ -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.5.
|
|
6
|
+
# Insight LLVM 0.5.6
|
|
7
7
|
|
|
8
8
|
If local help/status reports AppData or IPC access denied, retry that **read-only probe**
|
|
9
9
|
with the agent host's normal permission escalation, then use that route for later authorized
|
|
@@ -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.5.
|
|
6
|
+
# Insight Managed Heap 0.5.6
|
|
7
7
|
|
|
8
8
|
If local help/status reports AppData or IPC access denied, retry that **read-only probe**
|
|
9
9
|
with the agent host's normal permission escalation, then use that route for later authorized
|
|
@@ -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.5.
|
|
6
|
+
# Insight Managed Metadata 0.5.6
|
|
7
7
|
|
|
8
8
|
If local help/status reports AppData or IPC access denied, retry that **read-only probe**
|
|
9
9
|
with the agent host's normal permission escalation, then use that route for later authorized
|
|
@@ -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.5.
|
|
6
|
+
# Insight mitmproxy 0.5.6
|
|
7
7
|
|
|
8
8
|
If local help/status reports AppData or IPC access denied, retry that **read-only probe**
|
|
9
9
|
with the agent host's normal permission escalation, then use that route for later authorized
|
|
@@ -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.5.
|
|
6
|
+
# Insight Overview 0.5.6
|
|
7
7
|
|
|
8
8
|
If local help/status reports AppData or IPC access denied, retry that **read-only probe**
|
|
9
9
|
with the agent host's normal permission escalation, then use that route for later authorized
|
|
@@ -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.5.
|
|
6
|
+
# Insight ProcMon 0.5.6
|
|
7
7
|
|
|
8
8
|
If local help/status reports AppData or IPC access denied, retry that **read-only probe**
|
|
9
9
|
with the agent host's normal permission escalation, then use that route for later authorized
|
|
@@ -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.5.
|
|
6
|
+
# Insight RE 0.5.6
|
|
7
7
|
|
|
8
8
|
If local help/status reports AppData or IPC access denied, retry that **read-only probe**
|
|
9
9
|
with the agent host's normal permission escalation, then use that route for later authorized
|
|
@@ -41,6 +41,14 @@ A missing/unreadable/mismatched proof stays blocked; never kill by port, basenam
|
|
|
41
41
|
Other platforms retain their existing ownership authentication; this does not claim equivalent
|
|
42
42
|
hang recovery where no independent proof is available. No compiler is required on installation.
|
|
43
43
|
|
|
44
|
+
A bridge/runtime upgrade can also be continued in the original scope. The old immutable
|
|
45
|
+
intent remains retained. Recovery checks input/settings/authority, stopped native ownership
|
|
46
|
+
and publication journals first. Existing canonical research is recovered from its latest
|
|
47
|
+
committed revision through independent exact-version/full-buffer readback; private pending
|
|
48
|
+
edits stay private. A revision change or live checkout blocks adoption. Only an authoritative
|
|
49
|
+
absent path permits a separately journaled preparation under the current verified runtime,
|
|
50
|
+
using the original lock and conditional creation. An unknown publication still freezes recovery.
|
|
51
|
+
|
|
44
52
|
## Interrupted save or close
|
|
45
53
|
|
|
46
54
|
After restoring profile storage, inspect the selected session and target with
|
|
@@ -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.5.
|
|
6
|
+
# Insight 7-Zip 0.5.6
|
|
7
7
|
|
|
8
8
|
If local help/status reports AppData or IPC access denied, retry that **read-only probe**
|
|
9
9
|
with the agent host's normal permission escalation, then use that route for later authorized
|
|
@@ -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.5.
|
|
6
|
+
# Insight strace 0.5.6
|
|
7
7
|
|
|
8
8
|
If local help/status reports AppData or IPC access denied, retry that **read-only probe**
|
|
9
9
|
with the agent host's normal permission escalation, then use that route for later authorized
|
|
@@ -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.5.
|
|
6
|
+
# Insight TShark 0.5.6
|
|
7
7
|
|
|
8
8
|
If local help/status reports AppData or IPC access denied, retry that **read-only probe**
|
|
9
9
|
with the agent host's normal permission escalation, then use that route for later authorized
|
|
@@ -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.5.
|
|
6
|
+
# Insight WinDbg 0.5.6
|
|
7
7
|
|
|
8
8
|
If local help/status reports AppData or IPC access denied, retry that **read-only probe**
|
|
9
9
|
with the agent host's normal permission escalation, then use that route for later authorized
|