Changelog
All notable changes to this project will be documented in this file.
The format is based on Keep a Changelog, and this project adheres to Semantic Versioning.
Unreleased
Changed
- Upgraded to
cyclopts>=5.3.3. Help now shows value types (PATH,INT,CHOICE); parse errors exit with code 2 in both text and JSON modes; command failures still exit with code 1. Command names must match exactly: usescan-newandre-scan, notscanneworrescan. - Migrated documentation to Zensical with the modern theme; terminal examples use standard code blocks instead of Termynal.
Added
scanandscan-newtake--keyseveral times and spread the files over these sandboxes: a sandbox takes the next file as soon as it has a free slot (max-workers), so faster sandboxes take more files; an unreachable sandbox hands its files to the otherskeyfield in the--jsonoutput of scans
0.4.0
Breaking changes
Every flag now has one meaning across all commands:
| Command | Before | Now |
|---|---|---|
scan, scan-new |
--crashdumps -c |
--crashdumps -C |
re-scan |
--timeout -t (response waiting time) |
--wait-timeout -W |
download |
--logs -l |
--logs -L |
download |
--sample -s |
--sample -sa |
report |
--suspicious -s |
--suspicious -su |
images |
--all -a |
--all-keys -ak |
completion |
--install -i |
--install -I |
rules compile |
OUT positional or --out |
--out -o only |
rules test |
RULES positional or --rules -r |
positional RULES_DIR only |
re-scanaccepts all download options ofscan-new(-a,-A,-f,-C,-p,-am,-dx,-D), not only--debugrules compileaccepts thewindows/linuxaliases like the scan commandsdownload,email,imagesandreportshow--keyunder "Sandbox Options";report --keyis validated--timeout(analysis duration) and--bootkitmon-durationrequire at least 10 seconds, as the sandbox doesscanuses the same progress display asscan-new
Added
- Native terminal progress indicator (
OSC 9;4) for scans, re-scans, downloads and other long operations in Ghostty, WezTerm, Windows Terminal, iTerm2 ≥ 3.6.6, VTE-based terminals, mintty and ConEmu, also inside tmux 3.8+; it turns red when an error occurs - Synchronized output (DEC mode 2026) for progress displays, which removes flickering in fast terminals (e.g. Ghostty with an unfocused window)
SANDBOX_CLI_TERM_PROGRESSandSANDBOX_CLI_SYNC_OUTPUTenvironment variables to force these features on/off--unpack-archives / -uaforscan-new: archives go through the full scan, which unpacks them with thepasswordsfrom the config and analyzes every extracted file; each extracted file gets its own result folder (<image>/<file>/)--procdump-excludes / -peoption forscan-new: a file with regular expressions of process paths excluded from process dumps (like--fileextractor-excludes)key,ssh.passwordanddocker.tokenin the config accept{ env = "..." }and{ command = "..." }besides plain strings--json / -Jforscan-new,scan,re-scan,download,email,imagesandreport: results as JSON lines on stdout, messages and progress on stderr[DONE]/[ERROR]line per task fordownloadandemail- With
--jsona command-level error is printed as{"status": "error", "reason": "…"}on stdout as well
Changed
- Faster startup:
--help,--versionand shell completion no longer import the sandbox API client - Errors exit with a non-zero status code; a failed task, sandbox or email no longer aborts the others, and the command exits with 1 after the rest finished
- Mistakes are reported before anything is uploaded: missing hook, exclude and extra files, invalid DLL hooks (with
file:line),--outbound-connectionsvalues that aren't IP addresses, a missing--rulesfolder,-lwithout the[docker]section, re-scan traces withoutdrakvuf-trace/tcpdump.pcap, invalid task ids and links indownload, a missingreportfolder reportskips unreadablereport.jsonfiles with an error instead of aborting- Logs are unpacked in parallel processes when several images are scanned with
--unpack - Unpacking uses constant memory instead of loading whole logs, and moves the original files to
raw/instead of copying them downloadopens one connection per sandbox and--concurrencylimits all downloads togetherdownloadaccepts task links withouthttps://, with a port or query string, and matches the link host to the confighostignoring case and portre-scanextractssandbox_logs.zipto a temporary directory instead of reading the trace into memory- Output is not wrapped when stdout is not a terminal, so task links stay on one line
- Bumped
cycloptsto 4.25.3 (the version in nixos-unstable) - Dropped the
coloramadependency (rich handles the Windows console itself) - Migrated git hooks from pre-commit to prek (
prek.toml); mypy runs from the locked environment - ruff is the only formatter and import sorter (black and isort removed)
Fixed
scan-newran archives as a single file and ignored thepasswordsfrom the config; it now warns and suggests--unpack-archives- Results of tasks with several files on one image (archives) overwrote each other in
downloadand scans - An invalid config file crashed with a traceback instead of an error message
- Files with the same stem (
a.exe,a.dll) or the same name in different folders overwrote each other's results; re-scans of zips with the same name did too re-scandidn't find the trace in a result folder unpacked with--unpackreportandbrowserresolved the key secret (env or command) only to build task links- A failed unpack reported the task as both done and failed
- Running
unpackon an already unpacked directory deleted the unpacked logs --amsiand--dexdownloaded nothing unless combined with-A,-f,-por-a- A progress row stayed on screen forever after an unexpected error in a scan
download --query --count Ndownloaded more thanNtasks and could loop over the first pageemailwrote headers next to the source file instead of the output directory when given a path- Scanning a folder sent its subdirectories to the sandbox as files
- HTTP errors other than 401 were silently swallowed
- A DLL hook with
no-retvaland no strategy crashed withIndexError - Shortened file names lost the dot before the extension
reportstarted a process pool even for a single report- The
sshconfig option was documented aslogininstead ofusername
0.3.0
Added
completioncommand for generating and installing shell completions (bash, zsh, fish)--allflag forimagescommand to fetch images from all configured sandboxes--suspiciousflag forreportcommand to include suspicious detects--open-browserflag forscan,scan-newandre-scancommands--preserve-filenameflag forscan-newto keep the original filename during analysis--wait-timeoutoption forscan-new(useful for heavy samples)--timeoutoption forre-scan(response waiting time for large traces)--amsiand--dexdownload options forscan,scan-newanddownloadcommands--concurrencyand--read-timeoutoptions fordownloadcommand--queryand--countoptions fordownloadcommand to search and download tasks--unimon-hooks,--fileextractor-excludes,--no-procdumps-on-finish,--disable-lightweight-dumpsand--file-type-as-extoptions forscan-new--debugdownload option forre-scan--sampleoption fordownloadcommand to download the original sample submitted for analysis (saved as<sample_name>.bin)descriptionfield in sandbox configrules-pathconfig option for specifying a base path to the rules directory- Support for task links in
downloadcommand - Support for wildcard scan files on Windows
Changed
- Breaking:
--procdump-new-processes-on-finishrenamed to--no-procdumps-on-finish(inverted semantics) - Breaking:
--latestflag removed fromreportcommand emailcommand description changed from "Send an email" to "Upload an email"--rulesnow accepts platform aliases (windows,linux) in addition to paths--crashdumpsshort flag changed from-cto-Cindownloadcommandreportcommand now supports download output withoutscan_config.jsonreport --keyis now used only for link generation whenscan_config.jsonis missing- CLI startup optimized via lazy command registration
- Internal architecture refactored:
utils/→services/,internal/→core/, split_common.pyinto focused modules
Fixed
- Download race condition where concurrent downloads could overwrite files with the same name
- Various typos in help texts and comments
0.2.50
Fixed
- Don't clean last line in scanner output (was overriding results)
- Resolve mypy type issues
0.2.49
Added
- New parameter to fine-tune the scan (
--disable-lightweight-dumps)
0.2.48
Added
- New artifact types for download from sandbox (AMSI dumps, DEX dumps)
- Wildcard support for scan files on Windows
0.2.47
Added
- Internal improvements
0.2.46
Added
- Save debug files on rescan
- Remove "safe" suffix from the analysis filename
0.2.45
Added
- Option to pass fileextractor excludes (
--fileextractor-excludes)
0.2.44
Added
- New scanner options (
--unimon-hooks,--no-procdumps-on-finish,--file-type-as-ext)
0.2.43
Added
- Shell completion command (
sandbox-cli completion)
Changed
- Refactor file names in unpack output
0.2.42
Added
- Download any unknown artifact types
Fixed
- Missing sandbox link in
mdreport output
0.2.41
Added
- Wait timeout option for scans (
--wait-timeout) - Support for task links in download command
0.2.40
Fixed
- Incorrect task parsing in download command
0.2.39
Added
- Option to show suspicious detects in report (
--suspicious) - Show elapsed time when scan is done
- Show malware detects always on top
Fixed
- Handle socket timeout error while downloading files
0.2.38
Added
- Correct handling of the timeout that occurred during scan and re-scan
0.2.34
Added
- Options for downloading all tasks from the sandbox (requires a key with a special permission and support for the new API)
0.2.33
Added
- Option for managing the timeout when creating a task on re-scan
0.2.32
Added
- Add option to specifying outbound connections when scanning
0.2.31
Added
- Add option to specify custom browser in config #9
0.2.30
Added
- Add new command
browserto open old reports in browser #8 - Add option to automatically open analysis link in browser #7
Fixed
- Default python module
webbrowserdoesn't work correctly by default in some systems (e.g. MacOS) #9 - Fix rewriting files with the same name when downloading artifacts #6
- Fix encoding issues when unpacking logs #5
0.2.29
Fixed
- Fixed bug in path resolving
0.2.28
Added
- Installing the package using
Nixand documentation #4
0.2.27
Added
- Specifying the base path to the rules using the config #2
Fixed
- Problem with spaces in paths when saving files #3
0.2.26
Added
- Project documentation in
mkdocsformat - Project logos
Changed
- Rename
compileroption torules - Refactoring of the internal code base before the public release
0.2.25
Added
Internal development