Skip to main content

Documentation Index

Fetch the complete documentation index at: https://docs.malbox.app/llms.txt

Use this file to discover all available pages before exploring further.

The malbox CLI lets you submit samples, manage analysis tasks, and retrieve results from your Malbox instance.

Global flags

These flags are available on every subcommand.
FlagTypeDefaultDescription
--formattext | jsontextOutput format
--api-urlstringFrom cli.tomlOverride the API base URL
-v, --verbose-falseEnable verbose output (sets log level to DEBUG)
-y, --yes-falseSkip confirmation prompts
The API URL defaults to the value in ~/.config/malbox/cli.toml. If no config file exists, it falls back to http://127.0.0.1:8080.

task

Manage analysis tasks.

task submit

Submit a file for analysis.
malbox task submit <file> [options]
Argument / FlagTypeRequiredDefaultDescription
filestringYes-Path to the file to analyze
--packagestringNo-Analysis package to use
--modulestringNo-Analysis module to use
--timeoutintegerNo-Analysis timeout in seconds
--priorityintegerNo-Task priority (higher = more urgent)
--tagsstring[]No-Tags for the task (accepts multiple values)
--ownerstringNo-Task owner
--memory-NofalseEnable memory dump
--unique-NofalseOnly analyze if the sample is unique
--enforce-timeout-NofalseEnforce the timeout strictly

task list

List all tasks.
malbox task list

task get

Get details and results of a specific task.
malbox task get [id] [options]
Argument / FlagTypeRequiredDefaultDescription
idintegerNo-Task ID. If omitted, an interactive fuzzy-select menu is shown.
--resultintegerNo-Fetch a specific result by its ID. JSON results are pretty-printed to a terminal; binary results are written raw when piped.

machine

View analysis machines.

machine list

List all machines.
malbox machine list

machine get

Get details of a specific machine.
malbox machine get [machine]
ArgumentTypeRequiredDefaultDescription
machinestringNo-Machine name or ID. If omitted, an interactive fuzzy-select menu is shown.

plugin

View analysis plugins.

plugin list

List registered plugins.
malbox plugin list [options]
FlagTypeRequiredDefaultDescription
--typestringNo-Filter by plugin type (e.g. guest, host)

completion

Generate shell completions.
malbox completion <shell>
ArgumentTypeRequiredDescription
shellbash | zsh | fish | elvish | powershellYesTarget shell
To install completions, redirect the output to the appropriate location for your shell:
# Bash
malbox completion bash > ~/.local/share/bash-completion/completions/malbox

# Zsh
malbox completion zsh > ~/.zfunc/_malbox

# Fish
malbox completion fish > ~/.config/fish/completions/malbox.fish

Configuration

The malbox CLI reads its configuration from ~/.config/malbox/cli.toml:
[api]
url = "http://127.0.0.1:8080"
This file is created automatically by malboxctl config init.

Environment variables

VariableDescription
RUST_LOGOverride the log level filter. Takes precedence over --verbose. Uses standard tracing_subscriber::EnvFilter syntax.