hexvero
v0.12.0Electron release diff for security review: what changed in IPC, contextBridge, windows and hosts.
These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.
hexvero_open Open target
Register a local file or directory for analysis. Returns its id, size, hash and detected format. Ids are stable per content.
| Parameter | Type | Description |
|---|---|---|
path * | string | Absolute or relative path |
hexvero_list List targets
List targets opened in this session.
hexvero_close Close target
Release a target and its retained analysis.
| Parameter | Type | Description |
|---|---|---|
targetId * | string | Target id returned by hexvero_open |
hexvero_analyze Analyze target
Run the built-in analyzer for the target's format (ELF/PE/Mach-O, Go, .NET, WASM, EVM, SQLite, plist, APK, ZIP, Electron ASAR, JavaScript apps, source maps, HAR). Returns a summary, findings with confidence, limitations, a compact overview and the collections available for paging. Large JavaScript apps are read in batches: when `complete` is false, `coverage` says how many files are unread and every list covers the scanned part only; call again with scan to read more.
| Parameter | Type | Description |
|---|---|---|
targetId * | string | Target id returned by hexvero_open |
batch | integer | JavaScript apps only: files per batch (default 5000) |
detail | string | overview size: brief (default) lists only counts, full adds samples of every list |
fresh | boolean | JavaScript apps only: discard the stored scan first; combines with scan |
include | array | JavaScript apps only: read the unread files under these paths (prefix or * pattern) |
scan | string | JavaScript apps only: continue = read the next batch of unread files, all = read every unread file, fresh = discard the stored scan and start again |
hexvero_collection Page a collection
Page through one named list from the analysis, e.g. symbols, imports, exports, sections, libraries, types, methods, pinvokes, selectors, instructions, tables, columns, requests, endpoints, permissions, components, modules, edges, ipcChannels, findings. Use hexvero_analyze to see which exist.
| Parameter | Type | Description |
|---|---|---|
collection * | string | |
targetId * | string | Target id returned by hexvero_open |
limit | integer | Items per page (default 100) |
maxBytes | integer | Hard upper bound for the serialized page in bytes (default 262144). A page reports next, bytes and, for an item cut to fit, itemTruncated + itemBytes |
offset | integer | First item index (default 0) |
text | string | Case-insensitive substring filter on each item |
hexvero_strings Strings
Printable ASCII (and optional UTF-16LE) strings with offsets and tags (url, path, email, ip, format, secret-ish, base64-ish).
| Parameter | Type | Description |
|---|---|---|
targetId * | string | Target id returned by hexvero_open |
limit | integer | Items per page (default 100) |
maxBytes | integer | Hard upper bound for the serialized page in bytes (default 262144). A page reports next, bytes and, for an item cut to fit, itemTruncated + itemBytes |
minLength | integer | |
offset | integer | First item index (default 0) |
tag | string | Only strings carrying this tag |
text | string | Case-insensitive substring filter on each item |
utf16 | boolean |
hexvero_bytes Read bytes
Read a bounded window (max 64 KiB) of the target as hex plus an ASCII gutter.
| Parameter | Type | Description |
|---|---|---|
length * | integer | |
offset * | integer | |
targetId * | string | Target id returned by hexvero_open |
hexvero_export Export analysis
Write the complete analysis as JSON to a file and return its path and size. Use this instead of paging when you need everything.
| Parameter | Type | Description |
|---|---|---|
path * | string | Absolute destination file path; refused when the file exists |
targetId * | string | Target id returned by hexvero_open |
overwrite | boolean | Replace an existing file (default false) |
hexvero_recover Recover sources
Write recoverable sources into a new directory: the modules of a webpack/Rspack/browserify/esbuild bundle (one file each plus hexvero-bundle.json with requires/exports), or the original files embedded in a source map (sourcesContent). No engine needed; nothing is executed.
| Parameter | Type | Description |
|---|---|---|
outputDir * | string | Absent or empty directory to write into |
targetId * | string | Target id returned by hexvero_open |
hexvero_unknowns Unknowns ledger
Record a material question the investigation could not answer (with what was already checked), list open or resolved unknowns, or resolve one. Unknowns are exported with the analysis so reports never silently drop them.
| Parameter | Type | Description |
|---|---|---|
action * | string | |
checked | array | record: collections, offsets or tools already examined |
id | string | resolve: the unknown's id |
limit | integer | |
offset | integer | |
question | string | record: the open question |
resolution | string | resolve: what settled it, with evidence |
status | string | list: filter by status |
targetId | string | Target the question belongs to |
hexvero_compare Compare collections
Diff one collection between two targets: added, removed, changed (with the fields that differ) and unchanged items, matched by key (auto-detected: name, channel, id, path, url, type+name … or pass key, a+b for composites). States completeness; unknown items are neither added nor removed. Each list pages on its own (list + offset). Without collection: counts per shared collection, to pick one.
| Parameter | Type | Description |
|---|---|---|
targetA * | string | Target id returned by hexvero_open |
targetB * | string | Target id returned by hexvero_open |
collection | string | |
ignore | array | Fields to exclude from change detection, in addition to the position rule |
key | string | Item field used as identity (default: name, then JSON) |
limit | integer | Items per list in this answer (default 50 added/removed, 25 changed) |
list | string | Page only this list; offset applies to it (each list has its own next) |
offset | integer | With list: that list's next |
strict | boolean | Count every difference. Default false: address fields of native symbols/sections that only moved are reported as relocated, with samples |
hexvero_check Check release policy
Apply a release policy (inline JSON or file) to two builds, as `hexvero check`: status pass, fail or incomplete, and findings paged by offset. Reads a baseline, never writes one.
| Parameter | Type | Description |
|---|---|---|
targetA * | string | Target id returned by hexvero_open |
targetB * | string | Target id returned by hexvero_open |
baselinePath | string | Absolute path of a baseline file |
format | string | Default json |
limit | integer | Findings (default 100) |
offset | integer | First finding (default 0) |
policy | object | Policy JSON object |
policyPath | string | Or: absolute path of a policy file |
hexvero_sourcemap Resolve source map position
Map a generated line/column of a source map target back to its original source, line, column and name.
| Parameter | Type | Description |
|---|---|---|
column * | integer | |
line * | integer | |
targetId * | string | Target id returned by hexvero_open |
hexvero_providers Providers
Detect optional external engines (radare2/rizin, Ghidra) and the operations each supports.
hexvero_provider_run Run provider operation
Run one engine operation on a target: functions, disassemble, decompile, strings, imports, xrefs (references to an address), callers, callees, callgraph or search (names + strings). Output is bounded and cached.
| Parameter | Type | Description |
|---|---|---|
operation * | string | |
provider * | string | |
targetId * | string | Target id returned by hexvero_open |
address | string | Function address or symbol for disassemble/decompile/xrefs/callers/callees |
text | string | Needle for search |
timeoutMs | integer |
hexvero_call_graph Call graph
Bounded call-graph neighborhood around a function (callers, callees or both, by depth and node count), or the shortest call path from root to goal. One engine run per target, cached; levels state what was cut.
| Parameter | Type | Description |
|---|---|---|
provider * | string | |
root * | string | Function name or address to start from |
targetId * | string | Target id returned by hexvero_open |
direction | string | Default callees |
goal | string | With goal: shortest path root → goal in the given direction instead |
maxDepth | integer | Hops from root (default 2) |
maxNodes | integer | Default 150 |
timeoutMs | integer |