Disrobe 标志

Disrobe

社区
1-3-7

Static decompiler, deobfuscator, and unpacker for reverse engineering and malware analysis: Python decompiler (3.8-3.15), PyInstaller extractor, PyArmor unpacker, JavaScript deobfuscator (obfuscator.io, JS-Confuser, webpack), Android APK and Java decompiler, .NET deobfuscator, UPX unpacker, Lua, PHP, WASM, PowerShell. MCP server.

发布者1-3-7
代码仓库disrobe
语言Rust
复刻数
9
星标数
140
可用工具
0
传输类型stdio
链接
  • 将工具接入 AI 工作流

    Disrobe 提供 MCP 功能,可供兼容的 AI 客户端和智能体使用。

  • 0 个可用工具

    浏览下方可调用的操作;如果服务器提供了名称和描述,也会一并显示。

  • 可直接复制的配置

    使用安装配置片段,在您首选的 MCP 客户端中配置此服务器。

  • 开源社区热度

    关联的代码仓库有 140 个 Star 和 9 个 Fork。

Disrobe

Latest release Documentation License: Disrobe Source-Available 1.1

Disrobe is a static decompiler, deobfuscator, and unpacker. It strips packing and obfuscation from compiled software one layer at a time and recovers the source code or the original bytes underneath.

Give disrobe auto an executable, an app package, a script, or a firmware image. It names each layer (installer, archive, packer, freezer, protector, obfuscator, bytecode), removes it with the matching recovery pass, and runs again on what that pass produced until no pass recognizes what is left. One Rust binary covers Python, JavaScript and WebAssembly, Java and Android, .NET, native PE, ELF, and Mach-O code, Go, Lua, PHP, Ruby, Erlang and Elixir, ActionScript, shell scripts and Office macros, React Native and Flutter apps, installers, and firmware. disrobe catalog lists the 169 packers, protectors, obfuscators, and bytecode families it recognizes across 15 ecosystems.

The engines are built in. Python bytecode decompiles without a Python installation, JavaScript recovery needs no Node.js, and the Java, Android, and .NET decompilers need no JVM or .NET SDK; jvm decompile and dotnet decompile run an installed external decompiler only when --backend names it. Disrobe does not launch the program it analyzes unless you pass --allow-dynamic, which applies only to PyArmor v6 and v7. The safety model lists the bounded interpreters that evaluate code taken from an input and the host tools Disrobe starts.

It is built for malware analysts, reverse engineers, incident responders, CTF players, and security researchers.

License: Disrobe Source-Available License 1.1. Personal hobby projects and learning, unpaid independent security research, nonprofit education and research, and journalism are free, as the license defines them. Any use by or for a company requires a paid license.

Quick start · What it recovers · Measured results · How it works · Safety model · Documentation

Quick start

Download the archive for your platform from GitHub Releases, check it against SHA256SUMS, and put disrobe (disrobe.exe on Windows) on your PATH. Then run:

sh
disrobe identify suspect.exe                # compiler, packer, and protector, with evidence
disrobe auto suspect.exe --out recovered/   # remove the layers Disrobe can recover
disrobe context --out recovered/            # what each pass recovered, and at what confidence

Recorded output of identify and the unpacking step, run on a UPX-packed Rust program committed to this repository (corpus/native/packers/upx/hello.packed.nrv2b.exe):

text
$ disrobe identify hello.packed.exe
format: pe64 (64-bit) subsystem=windows-cui
packer     UPX  (96%)  -> disrobe native unpack
             - [section UPX0] UPX characteristic section
             - [section UPX1] UPX characteristic section
             - [section UPX2] UPX characteristic section
             - [byte scan] UPX packer magic
...

$ disrobe native unpack hello.packed.exe --out recovered/hello.bin
native unpack: OK
  input:        hello.packed.exe
  packer:       upx
  status:       Implemented
  packed_size:  53248
  recovered:    116810 bytes
  wrote:        recovered/hello.bin

The unpacking benchmark recovers the same file and compares it with the original build: the .text section is byte-identical, 73,160 bytes with no differences (unpacking measurements).

Release archives cover Windows (x86-64, ARM64), macOS (x86-64, ARM64), and Linux (x86-64 and ARM64 with glibc, static x86-64 with musl). Each archive has a separate cosign signature bundle, and SECURITY.md explains the check. Building from source needs the Rust toolchain pinned in rust-toolchain.toml (1.96.1; the minimum supported version is 1.95) and a C toolchain for native dependencies:

sh
git clone https://github.com/1-3-7/disrobe
cd disrobe
cargo build --locked --release -p disrobe-cli --bin disrobe

The installation guide covers feature flags and the optional external backends. Run disrobe doctor to probe 46 to 51 external tools depending on the platform and see which optional backends are installed.

What it recovers

Each row names the formats Disrobe reads and the protection it removes. Where disrobe catalog lists a family, the level shown is the catalog's. Families named first are recovered. Partial families are peeled as far as the input allows, and the result names what is left. Detect only families are identified, and the result states why the rest cannot be recovered, usually because a key exists only at run time. A name in bold is graded on output of the real tool, committed to this repository; the other names are graded on samples written for the tests, or are only detected. Each ecosystem links to its guide. The Evidence column labels each row: real links a result or test that grades output of the real compiler or tool, synthetic names what is graded only on inputs built for the tests, and claimed names what no test exercises.

EcosystemFormats and bytecodePackers, protectors, and obfuscatorsEvidence
PythonCPython 3.8 to 3.15 .pyc and marshal data; PyPy 3.9 and 3.10; MicroPython .mpy; Jython; IronPython; Brython; Cython modules. Freezers: PyInstaller onefile (onedir and encrypted PYZ are read too), Nuitka (onefile, standalone, module), shiv, Briefcase, cx_Freeze, py2exe, pex, and PyOxidizer (experimental)PyArmor v8 and v9, SourceDefender v15 and earlier, and source obfuscators (19 schemes, counting the partial ones and both pyobfuscate.com schemes): Berserker, BlankOBF, Kramer/Specter, Manglify, ObfuXtreme, Patchwork, PlusOBF, pyminifier, pyobfuscate.com, PyObfuscator, Jawbreaker, Oxyry, Xindex, pyc-zipper, the online obfuscator family. Partial: PyArmor v6 and v7, python-obfuscator, pyobfus, Pypacker. Detect only: PyArmor v3 to v5; SourceDefender v16, whose key exists only at run timereal: CPython stdlib. synthetic: names not in bold
JavaScript and TypeScriptMinified and obfuscated source; bundles from webpack, Vite, Rollup (including its SystemJS format), esbuild, Parcel, Bun, Turbopack, Browserify, and Rolldown; source maps; V8 cached data (.jsc, bytenode) from Node 18, 20, 22, and 24; Node SEA, nexe, nw.js; Electron ASAR; Tauri and Wails apps (webview guide); Deno eszipobfuscator.io (javascript-obfuscator), JS-Confuser, aaencode, jjencode, JSFuck, Dean Edwards Packer, JSFiretruck. Partial: Jscrambler, jsobfu; JSDefender and Arxan (Digital.ai) static transforms, only with --i-have-authorization. Detect only: PACEreal: JS-Confuser. synthetic: names not in bold
WebAssembly.wasm to WAT, Rust, TypeScript, C, or a JSON summary; Component Model; GC typesPartial: Jscrambler WASM, Wobfuscator, wasm-mixer; Tigress (through Emscripten) and wasm-name-obfuscator, detected and classifiedreal: clang-built modules. synthetic: the hand-written WAT corpus and every obfuscator named
Java and Android.class files from Java 1.1 to 25, JAR, DEX 035 to 039, APK, AAB, APKM, XAPK, ODEX, single-DEX OAT (not VDEX), JDK .jmod and the lib/modules jimage (stored resources); AndroidManifest.xml, resources.arsc, APK signatures v2 to v4; Kotlin metadataAllatori, BlackObfuscator, Zelix KlassMaster (ZKM), DashO, DexGuard. Partial: ProGuard and R8 (names from mapping.txt), yGuard, SkidSuite2 and Skidfuscator (number obfuscation), JBCO, Stringer (the committed Stringer output is detected, not decrypted). Detect only: runtime markers of Promon SHIELD, Appdome, Zimperium, Guardsquare, and DexProtector; 360 Jiagu, SecNeo (Bangcle), and other packers that decrypt the DEX at start-upreal: javac recompile, DEX verifier, Allatori. synthetic: names not in bold
.NETAssemblies to C#, F#, or VB pseudo-source; ReadyToRun; Native AOT; single-file bundles23 protectors: ConfuserEx2, KoiVM (ConfuserEx VM), Eazfuscator.NET. Partial: ConfuserEx, Obfuscar, BitMono, .NET Reactor, SmartAssembly, CryptoObfuscator, Skater, Spices.Net, Agile.NET, ArmDot, Babel, DeepSea, Dotfuscator (and CE), Goliath, DotNetPatcher, NetCryptor. Detect only: ILProtector, MaxToCode, Themida (.NET wrapper)real: csc recompile, ConfuserEx2, Obfuscar. synthetic: names not in bold
Native codePE32 and PE64, EFI, ELF, Mach-O (thin and fat), COFF, MZ, NE, LE, LX. C pseudo-source from x86-64, AArch64, ARM32, and MIPS32, and Rust for pure integer leaf functions on x86-64 (decompiler); 32-bit x86 disassembly. Symbols and language structures of Rust, C++, Delphi, Nim, Zig, Crystal, and D binaries; DWARF, PDB, and STABS debug data27 packers and protectors (unpacking): UPX, MPRESS, FSG, NSPack, Petite, kkrunchy, ASPack, PECompact, MEW, sRDI, Yoda's Crypter (with the original image). Partial: Donut, ASProtect, Morphine, NeoLite, nPack, PolyCryptor, Warzone Crypter. Detect only: VMProtect, Themida and WinLicense, Enigma Protector, Obsidium, Armadillo, PELock, PE-Protector, Yoda's Protector. Obfuscation: OLLVM flattening, bogus control flow, and instruction substitution; mixed boolean-arithmetic (MBA) expressions; guardian-rs virtualization; obfuscxx strings; Tigress flattening. Detect only: obfus.h, Cryptify (rust-obfuscator), obfusheader.h, AutoIt scriptsreal: packer byte recovery. synthetic: names not in bold
GoGo binaries for Windows, Linux, and macOS, go1.15 to go1.26: function names, types, module data, BuildInfo, embed.FS filesgarble: literals recovered on x86-64; standard-library names that garble leaves unhashed are kept, and hashed names stay hashed, because reversing them needs the build seedreal: type names
LuaLua 5.1 to 5.4, LuaJIT 2.1, Luau, and Garry's Mod Lua (GLua) bytecodeIronBrew2. Partial: Prometheus, WeAreDevs, luaobfuscator.com, Hercules, MoonSec V1 to V3, PSU, AztupBrew, Boronide, DarkSec, SLua. Detect only: Luraphreal: IronBrew2. synthetic: names not in bold
PHPSource, eval chains (base64, gzinflate, rot13, XOR) whose keys are literals in the file, Phar archivesYAK Pro (yakpro-po), FOPO. Detect only: ionCube, SourceGuardian, Zend Guardreal: YAK Pro. synthetic: FOPO, whose only producer is an online service behind a CAPTCHA
RubyYARV instruction sequences (opcode tables for Ruby 2.6 to 3.4), mruby RITE bytecodePartial: OCRA, RubyScript2Exe. Detect only: JRuby, TruffleRubyreal: YARV, Ruby 3.4.9 only, mruby. claimed: opcode tables for Ruby 2.6 to 3.3, which no compiled fixture exercises. synthetic: the packers named
Erlang and Elixir.beam modules and EZ archives, to Erlang, Elixir, or Core ErlangNonereal: OTP 27.3.4 recompile
ActionScript 3SWF (FWS, CWS, ZWS) and ABC bytecodeDetect only: secureSWF, DoSWF, Kindi, Irrfuscator, swfLockreal: Haxe-built SWF. synthetic: the protectors named
Shell and OfficePowerShell, Bash, Batch; VBA p-code (VBA5, VBA6, and VBA7); Excel 4.0 (XLM) macros in BIFF8 and BIFF12; PDF JavaScript, launch actions, and embedded files; Perl, R, Tcl, Haxe, and Windows Script Host (identified)Invoke-Obfuscation (token, AST, string, encoding, compress), Invoke-Stealth, Chameleon, PowerHell, psobf, Bashfuscator, node-bash-obfuscate, Bash IFS and eval indirection, Batch %random% and set indirection, VBA stomping. Partial: Invoke-Obfuscation launcher, ISESteroidsreal: Bashfuscator. synthetic: Invoke-Obfuscation, whose fixtures come from a generator written to its specification because the host's antivirus blocks the upstream module, and the other names not in bold
Mobile appsReact Native Hermes bytecode (lifted for eight HBC versions from v62 to v96); Flutter Dart kernel; Flutter libapp.so AOT snapshots (declarations and ARM64 disassembly for Dart 3.12.2, structure for other versions); React Native, Cordova, Capacitor, NativeScript, and Xamarin or .NET MAUI packagesNonereal: Hermes v96
Swift and Objective-CMach-O Swift and Objective-C metadata (class dump, demangling), fat binaries, dyld shared caches, split or single-file (tested on synthetic caches)SwiftShield, given its rename mapreal: Swift demangling. synthetic: dyld shared caches
Pickle and model filesPickle protocols 0 to 5; PyTorch, TorchScript, and NumPy files that embed pickles; pickle polyglotsMalicious pickles: pickle safety traces reducer calls without running them and matches dangerous callables. A benign verdict means that no known pattern matchedreal: CPython re-execution
Installers, archives, firmware103 container formats, among them ZIP, 7z, RAR, CAB, MSI, NSIS, Inno Setup, InstallShield, Squirrel, DMG, PKG, DEB, RPM, AppImage, Snap, Flatpak, MSIX, ISO, VHD, VHDX, WIM, SquashFS, ext4, JFFS2, UBI, YAFFS2, Android sparse images, Docker and OCI images, UEFI firmware volumes, and vendor firmware such as Netgear CHK and TRXInno Setup extraction is byte-exact on official 4.0.9, 4.1.6, 6.3.3, and 7.1.0 installers; encrypted installers are refused. LUKS1 volumes open with an aes-cbc-plain raw volume keyreal: reference-matched extraction, Inno Setup. synthetic: vendor firmware headers

Measured results

Most figures below come from a committed test that compares Disrobe's output with an independent reference: a compiler, a runtime, a verifier, the original file, or another tool's output. Rows graded coverage-self-reported count Disrobe's own output. The populations are small and named, so a figure describes its population and not every input of its kind. CI last measured the push and weekly rows at commit d9bb5f59, in runs whose only failures were the graphs job and the macOS and Windows shards of one test group. The latest release, v0.10.6, predates some of these figures, so build from source to reproduce one. The evidence records give the fixtures, reference, and reproduction command for each figure that has a descriptor.

The grades: strong means an independent reference could have rejected the output (execution, byte identity, a verifier, or an external tool); recompile-only means a real compiler accepted the output, with no behavioural check; coverage-self-reported means the count comes from Disrobe's own counters. In the Runs column, push is every push to main, weekly is the scheduled weekly run and release tags, and local means that no CI job provisions the input, so the committed test re-measures the figure where it runs.

Python decompilation, per interpreter. Each interpreter compiles the same pinned list of 200 standard-library modules. A code object counts when the recovered source recompiles to the same normalized opcode structure. Jump targets and most operands are not compared, and modules an interpreter does not ship leave its denominator, so the rows are not a ranking.

InterpreterModulesMatching code objectsRateGradeRuns
CPython 3.8.201544,571 of 5,08889.83%recompile-onlyweekly
CPython 3.9.251574,989 of 5,23395.33%recompile-onlyweekly
CPython 3.10.201615270 / 545896.55%recompile-onlypush
CPython 3.11.151725470 / 563897.02%recompile-onlyweekly
CPython 3.12.131775442 / 565996.16%recompile-onlypush
CPython 3.13.141905756 / 596696.48%recompile-onlypush
CPython 3.14.52006097 of 628696.99%recompile-onlyweekly
CPython 3.15.0b41996248 / 648096.41%recompile-onlyweekly

A wider CPython 3.14.5 population of 574 core modules gives 17396 of 18276 matching code objects (95.18%, local). Pinned result · Full-population result.

Other ecosystems.

RecoveryResultReferenceGradeRuns
Java class files to Java131 of 131 top-level methods of the EdgeCases corpus recompileReal javacrecompile-onlyweekly
Java behaviour117 / 131 of the same methods behave identically; 8 diverge and 6 cannot be driven in isolationA real JVMstrongweekly
Android DEX to Java118 / 118 verifier-presented classes pass; 37 of 155 classes are link-skipped and ungradedjava -Xverify:allstrongweekly
.NET assemblies to C#18 / 35 EdgeCases types' method bodies recompile inside harness-built type shellsRoslyn cscrecompile-onlyweekly
WebAssembly57 / 57 eligible functions return the same values, traps, and first 4,096 bytes of linear memorywasmtimestrongweekly
Stripped BEAM modules19 / 19 modules recompile, keep their exports, and print the same test/0 resultErlang/OTP 27.3.4strongweekly
Go type names, stripped binary838 of 838 namesNone: the names come from the binary's own type datacoverage-self-reportedweekly
Go function names, stripped binariesFrom 88.78% (darwin/amd64) to 100% (windows/386) on seven platforms; the missing names are assembly entry points and linker symbols that a stripped image does not carrygo tool nm on the unstripped buildsstrongweekly
Hermes bytecode v968 of 8 functions lift with their original names and no fallback operationsA real hermesc build and its sourcestrongweekly
Lua, IronBrew2 2.7.0Standard and MAX output recover to programs that run identicallyThe original programs under Luastrongweekly
JavaScript, JS-Confuser 2.0.1Recovered programs print byte-identical outputThe original programs under node 24.16.0strongweekly
.NET, Obfuscar 2.2.5015 / 15 hidden string values recovered byte for byteThe unprotected build's stringsstrongweekly
Native unpackingUPX (NRV2B and LZMA), FSG, NSPack, and Petite recover a .text section byte-identical to the original on the committed Hash (FSG, NSPack) and hello (UPX, Petite) pairs; a second FSG pair recovers 31,171 of 33,870 .text bytesThe original builds committed beside the packed filesstrongweekly
Tauri and Wails frontendsEvery embedded file of real Tauri 1.8.3, Tauri 2.11.5, and Wails 2.13.0 builds matches its source fileThe frontend trees the builds were made fromstrongweekly
Pickle reconstruction470 / 470 reconstructed fixtures pass re-execution equality checks (Result)CPython re-executionstrongweekly
Pickle disassembly and classification102 / 102 committed fixturesCPython pickletoolsstrongweekly
Ruby YARV, Ruby 3.4.9Opcode-name recall after recompiling: greeter 100%, megafile 100%; order and operands are ignoredMRI recompilationrecompile-onlyweekly
PyArmor v8 and v972 / 72 default-trial wrappers (PyArmor 8.5.12 and 9.2.5) decrypt and decode a complete root code objectDisrobe's own count; source equivalence is not measuredcoverage-self-reportedweekly

Against other tools on the same input. Each pair runs Disrobe and another tool on the same input and grades both outputs the same way. In the Java rows each tool emits its own set of regions, so the counts are not a ranking; the APKLeaks row counts exact matches of eight secrets planted in one APK.

Tool and inputDisrobeOther tool
JADX 1.5.5 · Android DEX197 / 228 emitted regions compile clean281 / 303 emitted regions compile clean
CFR 0.152 · JVM classfile181 / 181 emitted regions compile clean152 / 166 emitted regions compile clean
APKLeaks 2.6.3 · planted-secrets APK8 / 8 planted secrets5 / 8 planted secrets

These comparisons are re-measured weekly and on pushes that touch their evidence paths. Inputs, raw tool output, and reproduction commands.

InputDisrobe emitted regionsOther tool emitted regionsPopulation boundaryReproduce
Android DEX197 / 228 emitted regions compile cleanJADX 1.5.5: 281 / 303 emitted regions compile cleanno cross-tool ranking: each tool has its own emitted-region populationcargo run --locked -p disrobe-bench-head-to-head -- --check --only apk-jadx-cfr
JVM classfile181 / 181 emitted regions compile cleanCFR 0.152: 152 / 166 emitted regions compile cleanno cross-tool ranking: each tool has its own emitted-region populationcargo run --locked -p disrobe-bench-head-to-head -- --check --only apk-jadx-cfr
SurfaceResultGradeRuns
Native unpacking, MPRESS 2.19The recovered .text section is byte-identical to the original buildstronglocal (benches/native-unpack)
Mixed boolean-arithmetic316 expressions with held-out originals. CI requires at least 180 answers within a 2-second budget per expression, no answer refuted by an external solver, and at least one proved equal; the answer count varies with machine loadcoverage-self-reportedweekly
OLLVM flattening9 of 9 dispatcher states reached in two committed functions from one compiler and optimization levelcoverage-self-reportedweekly
Luau opcode table86 of 88 declared opcodes lifted; BREAK and NEWCLASSMEMBER decode but are not liftedcoverage-self-reportedweekly
Android, three real open-source APKs83662 / 83943 method bodies lowered; 2988 of 2998 bodies placed in isolated carriers also pass the JVM verifiercoverage-self-reportedlocal
Containers28 generic extraction routes write member bytes from a committed input that match what bsdtar, 7-Zip or the format's own decompressor extracts from itcoverage-self-reportedweekly

Evidence records.

How it works

disrobe auto fingerprints the input, runs the pass with the highest confidence, then fingerprints that pass's output and every child it extracted, and repeats. It stops when no pass clears the confidence threshold, when a content hash repeats, or at the depth limit (8 by default, --max-depth). Given a directory, it processes the files under it recursively, skipping hidden directories and symbolic links. The end-to-end tests follow chains such as a PyInstaller archive whose .pyc children go on to the decompiler, a PyArmor v8 wrapper inside a PyInstaller archive, and a UPX-packed Rust executable that unpacks and then yields demangled Rust symbols.

sh
disrobe auto app.exe --out recovered/ --capture-stages   # keep each stage's exact output
disrobe auto samples/ --out batch/ --jobs 4              # a whole directory, four workers
disrobe chain module.pyc --chain py.decompile --out src/ # a pass list you choose
disrobe passes                                           # every registered pass

Each auto or chain output directory holds chain.json (disrobe.chain/v2), which records the topology, the chosen passes, their confidence, and a BLAKE3 hash of every stage, and recovery.json (disrobe.recovery/v2), which records each pass's verdict and confidence tier. auto also writes report.sarif, whose run properties embed a STIX 2.1 bundle when SOURCE_DATE_EPOCH is set. None of these documents records a duration, the worker count, or the time of the run; --timings writes those to a separate run.json. The global flags --json, --ndjson, and --sarif switch output to JSON, streaming JSON, or SARIF 2.1.0, and disrobe report renders a finished run as text, JSON, Markdown, HTML, or SARIF.

Given the same input and build, default output files are byte-identical across worker counts unless one of the time limits below ends a step early. --timings adds a run-specific run.json with clocks, durations, and worker count. The weekly run compares the default output directories of --jobs 1 and --jobs 4 byte for byte on a batch of three fixtures. These steps stop on elapsed time rather than a step count, so a heavily loaded machine or a higher --jobs can change their output: the JSFuck, aaencode, jjencode, and JSFiretruck decoders stop after 30 seconds; PHP decoding loops after 2 seconds; the two Go garble scans after 8 seconds each; and mixed boolean-arithmetic simplification and VM devirtualization after 250 milliseconds per solver query, 5 seconds in total, 750 milliseconds per SMT check, and one minute per binary for the devirtualization that native decompile runs unless --no-devirt is given. The Dalvik string-decryptor interpreter stops on a per-call-site step count instead, so its output does not depend on load; a 10-second backstop remains for pathological steps and names itself in the call site's skip reason. JavaScript string-array probes also stop on a step count: each probe environment may spend 512 million Boa instruction-cost units (4,096 million for a rotation search), and probes run one at a time across all workers, each waiting for its turn without a time limit. A 60-second backstop (10 minutes for a rotation search) remains for work the count does not see, such as callbacks run inside built-in functions, and names itself in the probe's refusal reason.

Pass list · Chain runner · Reading a result · Batch processing · Run reports

Safety model

Disrobe is built to open hostile files, but it is not a sandbox. Run it on inputs you are allowed to analyze, in an environment you would trust with them.

What runsWhenBound
The program under analysisOnly pyarmor unpack --allow-dynamic, for PyArmor v6 and v7A watchdog kills the Python process and every descendant on timeout or exit (a Job Object on Windows, the process group on Unix, which misses a descendant that leaves its group)
JavaScript taken from the input: string-array decoders, jsobfu character folding, JSFuck, aaencode, jjencode, JSFiretruckBy default in js deob and in autoThe embedded Boa engine, with fetch removed. String-array probes stop at 4 seconds and 100,000 loop iterations (a rotation search at 180 seconds and 10 million), recursion depth 256, a 256 KiB prelude, and 4 MiB of generated script. The esoteric decoders stop waiting after 30 seconds, but their worker thread is not killed
Packer stubs and string decoders taken from the inputBy default, when a packer needs stub emulation, and in strings unless --no-decode is givenThe in-house x86 emulator, with a step cap per packer and 256 MiB per mapping
.NET, Java, and Dalvik string-decryption methods taken from the inputBy default, for the protectors that need themIn-process interpreters: 4 million steps for CIL, up to 6 million for JVM bytecode, and 2 million steps per call site for Dalvik
PHP taken from the input, in loader and decode loopsBy default in PHP recoveryThe in-house PHP subset interpreter: 4 million steps, 64 MiB of heap, 16 MiB of output, 2 seconds
JS-Confuser control-flow VM bytecodeBy default when JS-Confuser's VM is detectedThe in-house VM interpreter: 200,000 steps
garble literal thunksBy default on x86-64 garble binariesThe in-house x86-64 emulator: 200,000 steps per thunk, 8 seconds per scan
A local CPython of the matching version, if one is on PATHBy default in py decompile and nuitka decompileCompiles the recovered source; 60 seconds (120 for Nuitka); py decompile --no-roundtrip skips it. The interpreter starts in the current directory without -I, so a py_compile.py there would run: do not run Disrobe from inside an extracted sample tree
Installed archive tools: unrar, 7z, bsdtar, pkgutil, and hdiutil, which mounts the DMG or ISO imageWhen the built-in reader cannot extract a RAR, PKG, DMG, or ISO file180 seconds per extraction
Ghidra headlessnative decompile --backend ghidra10 minutes
Package managersinstall and doctor --auto-install10 minutes per package
Installed external decompilers: ILSpy, dnSpy, dnSpyEx, de4dot, CFR, Vineflower, Procyon, JD, Krakatau, JADX, dex2jardotnet decompile and jvm decompile when --backend names the tool--timeout-secs, 300 seconds by default
Installed optional tools, with --versiondoctor and bug-report3 seconds per tool

Only the PyArmor v6/v7 dynamic hook runs sample code natively, behind --allow-dynamic with a watchdog. --allow-bcc permits only in-tree static analysis and does not execute the sample or invoke external tools.

Apart from prowl, which queries public web archives and threat-intel services, serve, which listens for requests, and install, install-deps, and doctor --auto-install, which download tools, commands make no network requests. Parsers bound their input size, allocation, recursion, and output, with two known exceptions: JavaScript unbundling limits neither its input size nor its module count or output size, and the committed 7.35 MiB JSFuck file corpus/js/jsfuck/obfuscated.megafile.js overflows the stack of the embedded JavaScript engine and ends the process, as the behaviour gate records. --i-have-authorization gates the commercial JavaScript protector transforms, lua deob for MoonSec v3 and IronBrew2, php decode for ionCube, SourceGuardian, and Zend Guard input, and the decryption-key metadata category; auto applies the Lua transforms without it. The threat model describes the trust boundaries, and SECURITY.md explains how to report a vulnerability.

Use it from other tools

IntegrationHow
MCPAn MCP server over stdio gives MCP clients the recovery and navigation tools (guide)
PythonTyped bindings (import disrobe), built from source with maturin (guide)
GitHub Actionsuses: 1-3-7/disrobe@<tag> downloads the release binary, runs a command on a path, and uploads SARIF (guide)
pre-commitThe disrobe hook fails a commit that stages a packed or obfuscated artifact (guide)
Disassemblers and editorsIntegrations for VS Code, IDA Pro, Ghidra, and Binary Ninja (guide); native export rebuilds a supported packed PE with its entry point restored and writes a symbol map for Ghidra, for IDA, or as JSON
BrowserThe playground runs a WebAssembly build of Disrobe, and the input stays on your device (files up to 64 MiB)
RustDepend on the workspace crates by git revision (library guide)

Commands

disrobe <command> --help is the reference for your build, and the CLI reference covers every subcommand. disrobe explain <code> describes a DR-* diagnostic.

TaskCommands
Recoverauto, chain, extract, webview, pyarmor, pyinstaller, pyfreeze, nuitka
One language or runtimepy, js, wasm, native, jvm, apk, dotnet, hermes, flutter, mobile, macho, swift, go, lua, php, ruby, beam, as3, shell, pickle
Identify and scanidentify, detect, catalog, strings, scan, ioc, indicators, frisk, behavior, capabilities, yara
Navigate and comparequery, semdiff, diff
Reports and evidencecontext, report, status, envelope, verify, guard, annot, rename
Setup and helpdoctor, init, config, completions, man, explain, passes, bug-report
Scheduled for removalserve, plugin, prowl, install, install-deps, self-update, taint, vulnmatch

Limits

  • Compilation discards comments, formatting, and many names and types, so recovered source is a reconstruction. The tables above say how each kind of output is checked.
  • Recognition is broader than recovery. A catalog match can come with partial output, so read the level and the result's own report.
  • A key derived at run time, a payload fetched from the network, or a name-hashing seed cannot be recovered from a file that does not contain it.
  • Commercial virtualizers such as VMProtect, Themida, and WinLicense are detected, not unpacked or devirtualized.
  • Native decompilation covers x86-64, AArch64, ARM32, and MIPS32. ARM32 and MIPS32 output is checked for the operations it contains, not for equivalent behaviour, and 32-bit x86 is only disassembled.
  • Scale is unmeasured for large inputs: the largest committed WebAssembly module is 17,173 bytes, and no figure covers bundles in the tens of megabytes.

Documentation

License

Disrobe is proprietary, source-available software under the Disrobe Source-Available License, Version 1.1. The relicensing notice explains how it relates to earlier terms.

Personal hobby projects, personal learning, unpaid independent security research by individuals, nonprofit education and research, and bona fide journalism are free, as defined in the license. Any use by or for a company requires a paid license. See commercial licensing.

Required credit: This work used Disrobe, created by 1-3-7: https://github.com/1-3-7/disrobe

Forks other than contribution forks, reposting, rebranding, resale, hosting, and competing development are prohibited. The software is provided as is, at the user's own risk. See attribution, contributor terms, the license summary, and the notice.

Copyright (c) 2025-2026 1-3-7. All rights reserved.

将 Disrobe MCP 与多个 AI 模型配合使用

TypingMind 在工作区级别连接 MCP 工具,因此连接 Disrobe 后,您就可以在 TypingMind 中搭配不同的 AI 模型使用,无需为每个模型单独设置。 此 MCP 通过您设备上的 TypingMind MCP 连接器在本地运行。

本地连接器设置指南

如果 MCP 服务器需要访问您电脑上的本地文件、应用或私有资源,请选择此方式。

1

打开 MCP 设置

在 TypingMind 中,依次前往“设置”、“高级设置”和“模型上下文协议”,然后选择“设置连接器”。

  1. 在您的浏览器中打开 TypingMind。
  2. 点击“设置”图标。
  3. 进入“高级设置”。
  4. 打开“模型上下文协议”部分。
  5. 点击“设置连接器”,然后选择“此设备”。
TypingMind MCP 连接器设置界面,已选择“此设备”
2

运行连接器命令

选择“此设备”,从 TypingMind 复制命令并在终端中运行。使用 MCP 时,请保持该进程运行。

  1. 复制 TypingMind 显示的设置命令。
  2. 在 macOS 上打开“终端”,或在 Windows 上打开 Windows Terminal。
  3. 粘贴并运行命令。
  4. 如果终端询问您是否继续,请确认安装软件包。
  5. 使用 MCP 工具时,请保持终端窗口及其中的进程运行。
3

将 Disrobe 添加为服务器

当连接器状态为“就绪”时,点击“编辑服务器”,然后粘贴 MCP 服务器配置。

  1. 等待连接器状态显示为“就绪”。
  2. 点击“编辑服务器”。
  3. 粘贴 Disrobe MCP 服务器配置。
  4. 保存服务器列表。
  5. 如需确认连接器是否仍处于就绪状态,请刷新。
TypingMind MCP 设置界面,显示正在运行的服务器和“编辑服务器”按钮
{
  "mcpServers": {
    "disrobe": {
      "command": "npx",
      "args": [
        "-y",
        "<mcp-server-package>"
      ]
    }
  }
}
4

在不同模型中使用同一连接

保存服务器列表,打开“插件”,启用 Disrobe MCP 工具,然后在 TypingMind 中选择任意受支持的 AI 模型,即可在聊天中使用这些工具,或将其分配给智能体。

  1. 在 TypingMind 中打开“插件”页面。
  2. 启用 Disrobe MCP 工具。
  3. 开始聊天并选择您想使用的 AI 模型。
  4. 在聊天中使用 MCP 工具,或将其分配给 AI 智能体。
  5. 根据需要随时切换到其他 AI 模型,无需重新连接 MCP。
在 TypingMind 聊天中使用已启用的 MCP 工具和选定的 AI 模型
您能使用 Disrobe 帮我完成这项任务吗?
Disrobe
当然。我已阅读。
以下是我使用 Disrobe 得到的结果。

常见问题

Disrobe MCP 服务器有什么用途?

Disrobe 是一个 MCP 服务器,可让兼容的 AI 客户端连接外部工具并获取上下文。在 TypingMind 中,只需添加一次此 MCP 服务器,即可在您的 AI 工作区中使用其工具。

可以在 TypingMind 中让多个 AI 模型使用 Disrobe MCP 吗?

可以。TypingMind 在工作区层面连接 MCP 工具,因此您可以让 Claude、ChatGPT、Gemini 等不同 AI 模型,或您在 TypingMind 中配置的其他模型使用 Disrobe,而无需为每个模型单独配置 MCP 服务器。

为什么在 TypingMind 中使用 Disrobe MCP?

TypingMind 将多个 AI 模型、提示词、插件、AI 智能体、API 密钥和 MCP 工具整合到同一个工作区中,是优秀的大语言模型聊天前端之一。连接 Disrobe 后,您可以在偏好的不同模型中使用其 MCP 工具,同时在 TypingMind 中井然有序地管理聊天工作流程。

如何将 Disrobe MCP 连接到 TypingMind?

Disrobe 通过 TypingMind 本地 MCP 连接器运行。当 MCP 服务器需要访问您计算机上的本地文件、桌面应用、命令行工具或私有资源时,这种方式最合适。

Disrobe MCP 在 TypingMind 中提供哪些工具?

Disrobe 提供 MCP 功能,您可以在 TypingMind 的插件页面启用这些功能,然后在聊天中使用,或将其分配给 AI 智能体。

使用 Disrobe MCP 需要向 TypingMind 提供我的 API 密钥吗?

不需要。TypingMind 采用本地优先的设计,让您自行掌控模型提供商、API 密钥、提示词和 MCP 配置。如果 Disrobe 需要身份验证,请在创建连接时,为该 MCP 服务器添加所需的请求头、OAuth 设置或本地配置。

相关 MCP 服务器

查看全部

立即创建您自己的 AI 工作区

订阅我们的电子简报,获取新功能和后续赠奖活动的通知 👇