Security analysis¶
Zume Editor has tools for binary triage, data transforms and signature
scanning — useful for reverse engineering, CTFs and authorized security work.
Each is also available headlessly to AI agents through the
MCP server (the identify, entropy, transform, yara_scan,
pe_info, elf_info and macho_info tools).
Identify file¶
Code → Identify File… tells you what a file is and, for many document and image formats, what software created it — the general triage companion to Executable Info.
It reads the file's content (magic signatures, not the extension) and lists in the results panel:
- the format and a description, the MIME type, a category
(image / document / archive / executable / audio / video / font / …), a
confidence, the common extensions, and the container when the real
payload is wrapped (a
.docx, for example, is a ZIP container). - for a document or image, a Producer / Creator line — the application or device that wrote the file.
About 50 formats are recognised — images (PNG, JPEG, GIF, TIFF, WebP, HEIC/AVIF, BMP, ICO), documents (PDF, RTF, PostScript, the OOXML and OpenDocument office formats, EPUB), archives and compression (ZIP, 7z, RAR, tar, gzip, xz, zstd, …), media (MP4/MOV, WebM/Matroska, WAV, FLAC, OGG, MP3), fonts, SQLite databases, WebAssembly and Java class files, plus the PE / ELF / Mach-O executables. ZIP-based files are refined to the real type (docx / xlsx / pptx / odt / epub / jar / apk).
"Created by" is read from the file's own metadata, never guessed:
| Format | Source |
|---|---|
the Info dictionary /Producer and /Creator (and XMP pdf:Producer / xmp:CreatorTool); the file's tail is read too, so a large PDF's producer is still found |
|
| JPEG / TIFF | EXIF — Software, Make + Model, and from the Exif sub-IFD the DateTimeOriginal and lens make / model |
| PNG | the Software text chunk |
| OOXML (docx / xlsx / pptx) | docProps/app.xml <Application> (and the author from core.xml) |
| OpenDocument (odt / ods / odp) | meta.xml <meta:generator> |
When the active tab is a file, that file is identified; otherwise a file picker asks for one. Only a bounded prefix (and, for a PDF, the tail) is read, so a huge file is identified without being loaded. Click a row (or F4) to copy it; Esc closes. An unrecognised file is reported as unknown data, not a guess.
The same identification is available to AI agents through the MCP
identify tool (and file_info reports it too), and from the
command line with zume-cli identify.
Executable Info (PE / ELF / Mach-O)¶
Code → Executable Info… reads an executable structurally and lists the result in the results panel. The format is detected from the file's magic:
- PE (Windows EXE / DLL): the headers and security flags (ASLR / DEP /
CFG), every section with its entropy, the imported DLLs and functions, the
exports, and the resources a feature inventory needs — the version strings,
the string tables, each dialog's caption and controls, the menu items and the
manifest — plus the PDB path and any data appended past the last section. For
an MSVC-linked binary it also reads the Rich header: the undocumented
@comp.idbuild-provenance block that names each compiler / linker / assembler component, its build number and object count, with a checksum validity flag (a strong "which toolchain built this" fingerprint). - ELF (Linux executables and shared objects): type, machine, entry, the interpreter, segments and sections with entropy, the dynamic section (needed libraries, soname, rpath / runpath), imported and exported symbols with their versions, the local symbols when not stripped, the GNU build id, and the hardening the binary carries (PIE, NX stack, RELRO, stack canary, FORTIFY).
- Mach-O (macOS / iOS images, including fat / universal binaries, whose slices are listed and the first one read): CPU, file type, header flags, every load command, segments and sections with entropy, linked dylibs with versions, rpaths, UUID, platform / minimum OS / SDK, the entry point, imported and exported symbols, and whether the image is code-signed or encrypted.
When the active tab is itself such a file (a binary opened in the hex view), that file is read; otherwise a file picker asks for one. The file is read on a worker, so a large binary does not block the editor (the first 256 MiB are read; a larger file says so in a warning row). Click a row (or press F4) to copy that line to the clipboard; Esc closes the panel.
Rows that name code jump to the disassembly instead: the entry-point line, an exported function, and an executable section or segment. Clicking one opens the file in the hex view at that file offset and runs Hex → Disassemble there with the architecture the file declares (x64, x86, ARM64, ARM / Thumb), so the disassembly panel takes the report's place from that offset; the hex view stays open for browsing.

Learning mode: field explanations
Turn on Explanations in Tools → Settings… (the explain_annotations
setting, off by default) and the Executable Info report gains a short
"what this means" note under the fields that matter for triage — the entry
point, subsystem, section entropy, imports/exports, the overlay, the Rich
header (build provenance), and each hardening bit present (ASLR / DEP / CFG,
ELF PIE / NX / RELRO / stack canary / FORTIFY, a Mach-O signature /
encryption / chained fixups). It is meant
for learning; experts leave it off for an uncluttered report.
Disassemble Executable¶
Code → Disassemble Executable… goes straight to the listing. It takes
the active tab's file when it is a PE / ELF / Mach-O (otherwise a file picker
asks), reads the headers, and opens a small dialog asking where to start,
prefilled with the entry point's file offset. Type a file offset (0x2D5F0
or decimal) or the name of an exported function (GetProcAddress; a Mach-O
name works with or without its leading _) and press Enter: the file
opens in the hex view at that offset and the disassembly panel lists the
instructions from there, decoded as the architecture the file declares. A
name that is not an export, or an offset past the file, is refused with a
message. The same decoder is the MCP tool disassemble. Click into the
results panel and the keyboard walks it: ↑ / ↓, PageUp / PageDown,
Home / End move the highlighted row, Enter activates it (the hex
caret moves to that instruction), Esc closes the panel.


Cross-References¶
Code → Cross-References… answers "which code uses this": it takes the
active tab's executable (or asks for one), opens a small dialog for the
target - an import or symbol name (CreateFileW, KERNEL32.dll!CreateFileW),
a fragment of a string, a 0x address, or nothing for every reference - and
scans every executable section. The results panel lists the targets by
reference count (import / symbol / PLT or stub / string / code / data) and
then every referencing instruction with its address; clicking a reference
row (or pressing F4) opens the file in the hex view at that instruction
and disassembles from there. The same scan is the MCP tool xrefs.

The same readers are the MCP tools pe_info, elf_info and macho_info
(see MCP). They never load or run the file; disassemble
decodes bytes and nothing more. Analyze only binaries whose licence permits
it.
Control-Flow Graph¶
Code → Control-Flow Graph… takes the active tab's executable (or asks for
one) and graphs its entry function into basic blocks — a straight run of
instructions entered only at its first and left only at its last. The results
panel lists each block with its address, instruction count, flags (entry /
returns / computed jump) and the blocks control can reach next (-> B1, B2,
the taken branch first), followed by the block's instructions, so the function's
branches and loops are laid out in order. The MCP tool cfg builds the same
graph for any function (by symbol or address), which is the way to graph
a function other than the entry. Static and heuristic; nothing is run.
Decompiler tools — installation¶
Decompilation is optional and uses tools you install yourself. Zume bundles none of them, downloads nothing, and launches a tool only when you point it at it. Install just the ones you need:
| Tool | Decompiles | Install | Enable |
|---|---|---|---|
| JDK (Temurin / OpenJDK) | prerequisite for Java and Ghidra | adoptium.net — Java 17+ | set JAVA_HOME, or put java / javap on PATH |
| Ghidra | native PE / ELF / Mach-O → C | ghidra-sre.org — unzip anywhere (needs a JDK) | editor: Tools → Settings → Decompiler (Ghidra); MCP: ZUME_GHIDRA_HOME = the install dir |
| ilspycmd (ILSpy) | .NET assembly → C# / IL | dotnet tool install -g ilspycmd (needs the .NET runtime) |
editor: Tools → Settings → Decompiler (.NET / ILSpy); MCP: ZUME_ILSPY = the ilspycmd path, or 1 to find it on PATH |
| CFR | Java .class / .jar → Java source |
download https://repo1.maven.org/maven2/org/benf/cfr/0.152/cfr-0.152.jar from Maven Central (a single jar; needs a JDK) | MCP: ZUME_CFR = the jar path |
Notes:
- javap (JVM bytecode) and jar (class listing) ship with the JDK, so Java class listing and bytecode work with the JDK alone — CFR adds Java source.
- The
ZUME_*variables are read from the MCP server's environment. For the Claude Code CLI that is theenvblock of thezumeentry in~/.claude.json; restart the client after editing it. Optional result caches:ZUME_GHIDRA_CACHE,ZUME_ILSPY_CACHE,ZUME_CFR_CACHE. - Ghidra and ilspycmd are also configurable from the editor's Settings dialog
(they drive the editor's own Code → Decompile… commands); the
ZUME_*variables drive the MCP tools used from Claude Code. The two are independent. - Every tool reads the target statically — it never runs it. Licences differ: Ghidra is Apache-2.0, ilspycmd and CFR are MIT; none is redistributed by Zume. Decompiler output is derivative — see the per-tool sections below and their licence / clean-room warnings before you reuse anything.
Decompile (Ghidra)¶
Zume does not include a decompiler, but it can drive one you already have: Code → Decompile (Ghidra)… turns a function's machine code back into C-like pseudocode using a local Ghidra install. It is optional and off by default - the menu item is greyed out until you point Zume at Ghidra.
Enabling it. Open Tools → Settings…, find the Decompiler (Ghidra)
section, click the Ghidra install: row and choose your Ghidra directory (the
folder that contains support/analyzeHeadless). Ghidra needs a Java 17+
runtime; Zume finds one on your PATH or JAVA_HOME, so no extra setup is
usually needed. Clearing the path disables the feature again.
Using it. With the active tab an executable (or via the file picker),
choose Code → Decompile (Ghidra)…, then enter a function - an address
(0x180001020, e.g. one functions or xrefs reported), a name, or nothing
for the whole file (capped). Zume runs Ghidra headlessly on a background
thread (this can take a few minutes the first time) and opens the decompiled C
in a read-only tab. Results are cached by the file's size, modification
time and your request, so decompiling the same unchanged function again is
instant.
The same decompiler is the MCP tool decompile, which is off unless the
ZUME_GHIDRA_HOME environment variable points at a Ghidra install (set
ZUME_GHIDRA_CACHE to choose its cache directory).
Licence and clean-room
Ghidra statically analyses the binary - it does not run it - but decompiler output is derivative of the original and can resemble its source. Decompile only binaries whose licence permits it, and if you re-implement a feature, work from a behavioural specification, not from the emitted C.
Decompile .NET (ILSpy)¶
A .NET assembly's real code is CIL in its metadata, so Ghidra cannot usefully
decompile it. For managed binaries Zume drives
ILSpy's command-line tool ilspycmd
instead: Code → Decompile (.NET / ILSpy)… turns a type back into C#. Like
the Ghidra integration it is optional and off by default - the menu item is
greyed out until you point Zume at ilspycmd.
Installing ilspycmd. It is a .NET global tool (the ILSpy desktop app is not needed):
dotnet tool install -g ilspycmd
This needs the .NET runtime and installs ilspycmd (typically
%USERPROFILE%\.dotnet\tools\ilspycmd.exe), also putting it on your PATH.
Enabling it. Open Tools → Settings…, find the Decompiler (.NET / ILSpy)
section, click the ilspycmd: row and choose the ilspycmd.exe file. The
optional IL cache: row chooses where results are cached (leave it unset to use
a default location; the folder is created for you on first use). Clearing the
path disables the feature again.
Using it. With the active tab a .NET assembly (or via the file picker),
choose Code → Decompile (.NET / ILSpy)… and enter a fully qualified type
name (e.g. Acme.Core.Engine); leave it empty to list the assembly's types into
a tab first, then re-run with one of them. Zume runs ilspycmd on a background
thread and opens the decompiled C# in a read-only tab. Results are cached
like the Ghidra ones.
The same decompiler is available to MCP clients as il_types (the type
inventory, the managed counterpart of functions) and il_decompile (one type
to C#, or the whole assembly as a project), off unless the ZUME_ILSPY
environment variable is set - the path of ilspycmd, or 1 to find it on
PATH (ZUME_ILSPY_CACHE chooses the cache directory). The decompile tool
routes a managed target here automatically.
Licence and clean-room
Decompiled C# is very close to the original source (the IL keeps names and structure), so the licence / clean-room caution matters even more than for native code: decompile only assemblies whose licence permits it, and re-implement from a behavioural specification, not from the emitted C#.
Decompile Java (javap + CFR)¶
Java .class / .jar files are JVM bytecode - neither Ghidra nor ILSpy is the
right tool. Zume uses the JDK's javap (bytecode) and a user-provided CFR
decompiler (Java source) instead, through the MCP tools java_types (list a
jar's classes) and java_decompile (one class to Java source, or javap -c
bytecode, or a whole jar to a source tree). It is opt-in:
- javap / jar come from the JDK, found via
JAVA_HOMEorPATH- the same JDK the Ghidra integration needs. Bytecode and class listing work with the JDK alone. - CFR (Java-source decompilation) is a single jar you provide; set the
ZUME_CFRenvironment variable (on the MCP server) to its path.ZUME_CFR_CACHEchooses the cache directory. CFR is MIT-licensed and, like Ghidra and ilspycmd, is not bundled, fetched or linked - Zume only launches the tool you installed.
Installing CFR. It is a single jar - there is nothing to install, just download it once from Maven Central (or the CFR releases):
https://repo1.maven.org/maven2/org/benf/cfr/0.152/cfr-0.152.jar
Save it anywhere, e.g. C:\Users\<you>\zume-app\cfr\cfr-0.152.jar. A JDK must
also be present for java (to run CFR) and javap (bytecode) - the same JDK the
Ghidra integration uses.
Enabling it. Set these on the environment of the MCP server (for the CLI,
the env block of the zume entry in ~/.claude.json), then restart the client:
"env": {
"JAVA_HOME": "C:\\Program Files\\Eclipse Adoptium\\jdk-25...-hotspot",
"ZUME_CFR": "C:\\Users\\<you>\\zume-app\\cfr\\cfr-0.152.jar",
"ZUME_CFR_CACHE": "C:\\Users\\<you>\\zume-app\\cfr-cache"
}
JAVA_HOME can be omitted if java / javap are already on PATH; class
listing and bytecode (javap) then work with the JDK alone, and ZUME_CFR adds
Java-source output (CFR). Non-ASCII string literals come back as \uXXXX
escapes, which is CFR's normal, lossless output.
The tools read the class files - they never run them.
Licence and clean-room
Decompiled Java is derivative of the original. Decompile only software whose licence / EULA permits reverse engineering and that you have the right to analyse, and re-implement from a behavioural specification, not by copying the emitted Java. Anything you build this way is your own responsibility.
Interface recovery (Objective-C / Swift)¶
Code → Objective-C / Swift Interface… recovers the class interfaces a
macOS / iOS Mach-O carries in its Objective-C and Swift runtime metadata —
without a decompiler. It reads the __objc_* and __swift5_* sections and
writes a header to <app data>/interfaces/<name>.h, opened read-only, listing:
- Objective-C classes with their superclass and adopted protocols, every
instance and class method (
-/+with the selector, and the argument and return types where the metadata carries them), the instance variables, the declared properties with their attributes, and the categories that extend a class. - Swift types recovered from
__swift5_types/__swift5_protos, and the Swift symbols of the symbol table demangled to readable signatures (Module.Type.method(label:) async throws -> T). The demangler is fail-closed: a symbol is demangled correctly or left in its raw_$s…form — never guessed wrong.
When the active tab is such a file it is read; otherwise a file picker asks.
A fat / universal binary resolves to the slice read, and pointing the command
at a .app or .framework bundle resolves to the Mach-O inside it. Each
method row carries the address of its implementation, so activating it (click,
or F4) jumps to that method's body in the disassembly, like the Executable
Info code rows. The same engine names call sites in Cross-References and in
the MCP functions tool — an objc_msgSend site shows the @selector(...) it
sends, and a class reference shows the class.
This reads only the metadata Objective-C and Swift leave in the binary for their own runtimes, not the method bodies; it never runs the target. It is most useful on macOS / iOS binaries, where this metadata is richest.
YARA Scan¶
Code → YARA Scan… scans the active document with a set of YARA rules.
The dialog asks for the path to a YARA rules file (.yar / .yara) — not
the rules themselves. You write the rules in a file first, then point the dialog
at it.
- Create a rules file (see the example below) and save it, e.g.
C:\rules\malware.yaror~/rules/strings.yara. - Open the document you want to scan, then run Code → YARA Scan… (it is also in the command palette).
- Enter the full path to the rules file and press Enter.
- Matches are listed in the results panel as
rule $string line N @ offset. Click a row (or press F4) to jump to that line.
The command works on a normal text / code tab (not on large-file, hex or Git tabs).
Example rules file¶
rule suspicious_strings
{
strings:
$a = "cmd.exe /c" nocase
$b = "powershell" nocase wide
$mz = { 4D 5A ?? 00 } // PE header (?? is a wildcard byte)
$url = /https?:\/\/[a-z0-9.\-]+/ nocase
condition:
$mz and (2 of ($a, $b, $url))
}
What is supported¶
A practical subset of the YARA language:
- Strings — text (
"..."), hex ({ 4D 5A ?? 00 }, with??byte and?nibble wildcards) and regular expressions (/regex/). - String modifiers —
nocase,wide,ascii,fullword. - Conditions — a string name (
$a),all of them/any of them/N of them,N of ($a*),#a <op> N(match count),$a at N(match at an offset),filesize <op> N,and/or/not, parentheses, and//…/* … */comments.
It is not the full libyara engine: modules (pe, hash, math, …), hex
jumps ([4-6]) and alternation (( A | B )) are not supported, and a rule that
uses them reports a typed error instead of matching.
Inline rules / batch scanning
To paste rules directly, or to scan a whole file or directory at once, use
the yara_scan tool over MCP — it accepts the rules as text
and a file, a directory or inline bytes as the target.
Transform recipes¶
Code → Apply Convert Recipe… runs a pipeline of transforms over the
selection (or the whole document), left to right. Steps are separated by |
(or spaces / commas); a step argument follows a colon. For example:
from_base64 | xor:cafe | gunzip
The dialog that opens takes the recipe in its single text field; the hint below the field lists every step the engine accepts, grouped as in the table below, so you do not have to remember them. Type the steps, then press Enter (or OK) to apply; Esc cancels.

Every step¶
| Group | Steps |
|---|---|
| With an argument | xor:<key> (XOR every byte with the repeating key), rc4:<key> (RC4 encrypt / decrypt), rot:<n> (Caesar shift by n) |
| No argument | from_hex, to_hex, rot13, not (invert every bit), reverse (reverse the bytes), base58.encode / base58.decode, base85.encode / base85.decode |
| Short names | from_base64 = base64.decode, to_base64 = base64.encode, from_base32 / to_base32, gunzip = gzip.decompress, gzip = gzip.compress, url_decode / url_encode |
| Encode | base64.encode, base64url.encode, url.encode, qp.encode, html.encode, unicode.escape, rot13, base32.encode |
| Decode | base64.decode, base64url.decode, url.decode, qp.decode, html.decode, unicode.unescape, jwt.decode, base32.decode |
| Data | timestamp.unixToIso, timestamp.unixMsToIso, timestamp.filetimeToIso, timestamp.isoToUnix, csv.toJson, json.toCsv, csv.toTsv, tsv.toCsv, csv.toMarkdown, csv.toHtml, csv.toSql, json.toYaml, yaml.toJson, json.toToml, toml.toJson, json.toIni, ini.toJson, json.minify, json.pretty, html.toMarkdown |
| Compress | gzip.compress, gzip.decompress, zlib.compress, zlib.decompress, bzip2.compress, bzip2.decompress |
The Encode / Decode / Data / Compress rows are the converters of
File conversion; any converter id works as a step. A key argument
(xor: / rc4:) is read as hex bytes when it looks like hex (cafe,
deadbeef) and as text otherwise; write hex:cafe or str:cafe to say which
explicitly.
A text key that happens to look like hex
Because a bare key is read as hex whenever it is all hex digits, a text
password such as cafe, decade or 7a756d65 is taken as bytes, not
letters — so rc4:zume uses the text key zume (there are non-hex letters),
but rc4:cafe does not use the text cafe. Remove the ambiguity: write
rc4:str:<key> for a text/ASCII key (e.g. rc4:str:zume) and
rc4:hex:<bytes> — or just the bare hex — for a byte key (e.g.
rc4:7a756d65, the hex of zume). The two forms give different keystreams,
so matching a key check in a binary (which uses the raw key bytes) means
using the hex form of those exact bytes.
Make it an error instead of a guess (strict mode)
To forbid the bare form outright, turn on strict mode in Tools ▸
Settings…, under Transform recipe keys (the strict_transform_keys
setting). Every xor:/rc4: key must
then carry hex: or str:; a bare key is refused and the recipe is not
applied. With strict mode off (the default), a bare key that looks like hex
still applies, but the status line warns and names the str:/hex: forms.
The transform MCP tool mirrors this: its response always carries a
warnings list that flags such a bare key, and a strict: true argument
refuses one.
Examples¶
Select the encoded text (or run it on the whole document) and apply:
| Recipe | What it does |
|---|---|
from_base64 |
Decode a Base64 blob |
from_base64 \| gunzip |
Decode Base64, then gzip-decompress the result |
from_hex \| xor:5a |
Hex-decode, then XOR every byte with 0x5A |
from_hex \| xor:hex:deadbeef |
Hex-decode, then XOR with the repeating key DE AD BE EF |
from_base64 \| rc4:str:s3cret |
Base64-decode, then RC4-decrypt with the text key s3cret |
from_hex \| rc4:7a756d65 |
Hex-decode, then RC4 with the byte key 7A 75 6D 65 (the hex of zume) |
rot13 |
ROT13; rot:3 is a Caesar shift of 3 |
base58.decode |
Decode a Base58 string (e.g. a wallet address / key) |
jwt.decode |
Expand a JWT into its decoded header / payload JSON |
from_base64 \| xor:cafe \| from_base64 |
Peel a doubly-encoded, XOR-wrapped payload |
The result replaces the selection (or the document) as one undo step, so
Ctrl+Z reverts the whole recipe. If a step fails (e.g. input that is not valid
Base64), the editor shows which step failed and leaves the text unchanged.
Entropy¶
In the Hex / Binary editor, the entropy map and the entropy overview strip show the Shannon entropy of the file per region (0–8 bits/byte), so packed or encrypted areas stand out.
Code → Entropy Map… lists the same for any file in the results panel: the
overall entropy, a block sparkline across the whole file, and a per-window row
(offset, value, glyph). A value near 8 bits/byte suggests compressed or
encrypted data — often a packer. The MCP tool entropy returns the same series.
Scan for Secrets¶
Code → Scan for Secrets lists likely secrets (API keys, tokens, private keys, credentials) in the document, each with its line; a row jumps to it. Edit → Redact Selection masks the selected text.
External security analyzer¶
Zume Editor can run an external penetration-testing / analysis tool and show its findings, so you can triage results next to the files they refer to. The editor ships no attack code: it only launches a tool you install and configure, and parses its structured output.
Authorized use only
Use this only against systems you are explicitly authorized to test (your own, a client engagement with permission, or a CTF / lab). The external tool — not Zume Editor — is responsible for scope, authorization and logging. Running security tools against systems you do not own or have permission to test may be illegal.
Configure an analyzer. In settings.json, set analyzer_tools to one or
more name = command lines. The command may use two placeholders:
{target}— the scope string you enter when you run it (a host, URL, CIDR…).{out}— a path the editor supplies; your tool writes its JSON result there.
{
"analyzer_tools": "recon = my-recon --scope \"{target}\" --json \"{out}\""
}
Or configure them without editing JSON by hand: Tools → Settings… has a
Security analyzers section where each analyzer is an editable
name = command row (and the Ghidra / ILSpy paths are editable boxes there
too). A long value scrolls on one line instead of wrapping, and Clear asks
for confirmation before erasing. Your edits are saved back to settings.json.
Run it. Tools → Run Security Analyzer… (it is disabled until an analyzer
is configured) lists them; pick one and enter the authorized scope — or,
when the active tab is a local file, run the analyzer on that file (its path
becomes {target}, and the editor records the file's SHA-256 so the findings
are tied to the exact bytes). The tool runs on a background thread, and its
findings appear in the results panel grouped by severity with colour
badges — one row per finding (severity, kind, target, title, detail). A finding
that points at an evidence file opens it when you click the row (at a line if
the finding gives one); any other row copies its text.
Result format. Your tool must write a small JSON document to {out}:
{
"tool": "my-recon", "scope": "192.0.2.0/24",
"findings": [
{ "kind": "service", "severity": "low", "target": "192.0.2.10:22",
"title": "OpenSSH 9.6", "detail": "banner", "evidence_path": "", "address": "" }
],
"warnings": []
}
Unknown fields are ignored and missing ones default, so the format is easy to
emit. The {out} file is the source of truth, so a tool that exits non-zero but
still wrote results is read normally.
From an AI agent. The MCP server exposes the same as the
analyze_run tool. It is off until the ZUME_ANALYZER_TOOLS environment
variable configures an analyzer, in the same name = command form — one entry
per line, with each newline written \n in JSON. Set it in the MCP server's
env block, for example:
"ZUME_ANALYZER_TOOLS": "web = sanctum --web \"{target}\" --crawl --active --i-am-authorized --json \"{out}\"\nrecon = sanctum --scope \"{target}\" --json \"{out}\" --i-am-authorized\nfile = sanctum --file \"{target}\" --json \"{out}\""
See Environment variables for the full env block and the other
optional-tool variables.
Companion tool: sanctum¶
sanctum is a separate,
optional, open-source companion that emits exactly this result format, so it
drops into analyzer_tools with no glue. It is authorized-scope and
non-destructive — it never exploits, extracts data, bypasses authentication or
causes a denial of service — and every active run is refused unless you pass
--i-am-authorized. It offers three modes:
- Recon (
--scope): TCP connect host discovery and port enumeration with a banner grab — no raw sockets, no SYN scan, no exploitation. - Offline file analysis (
--file, no network): file type, CRC32 / MD5 / SHA-1 / SHA-256, entropy and strings, plus a.pcap/.pcapngsummary (endpoints, services, plaintext credentials, TLS / QUIC SNI). - Web diagnostics (
--web, non-destructive): missing / weak security headers, cookie flags, software disclosure and transport posture; an optional same-origin crawl; existence-only active checks (reflected XSS, SQL and OS-command injection, path traversal, CRLF / response-header injection, open redirect, method and sensitive-path enumeration); bounded, non-destructive fuzzing; and authenticated scanning with a session you supply. It confirms a weakness without weaponising it — a time-based check proves a flaw exists via a measured delay; it never reads data.
Point one or more analyzers at it. In Tools → Settings… (the Security
analyzers section) add one name = command per row:
web = sanctum --web "{target}" --crawl --active --i-am-authorized --json "{out}"
recon = sanctum --scope "{target}" --json "{out}" --i-am-authorized
file = sanctum --file "{target}" --json "{out}"
The same thing written directly in settings.json (each newline becomes \n):
{
"analyzer_tools": "web = sanctum --web \"{target}\" --crawl --active --i-am-authorized --json \"{out}\"\nrecon = sanctum --scope \"{target}\" --json \"{out}\" --i-am-authorized\nfile = sanctum --file \"{target}\" --json \"{out}\""
}
Use the bare name sanctum when it is on your PATH, or the full path to the
executable (e.g. C:\Tools\sanctum\sanctum.exe). The file analyzer is passive
(it reads a local file and sends nothing), so it needs no authorization flag;
recon and web make active requests and are refused without
--i-am-authorized. See the
sanctum README for the full option
set and its safety design.