National Cyber Warfare Foundation (NCWF)login

Inside Craft Anything: a 314-tool Rust engine that studies software and rebuilds it


0 user ratings
2026-11-03 03:29:08
milo
Red Team (CNA)
"Inside

Craft Anything is a pure-Rust reverse-engineering engine with 314 inspection tools that studies websites, apps and games for clean-room reimplementation and authorized analysis.








Toolstorytold/craft-anything — open-source pure-Rust reverse-engineering and clean-room rebuild engine with 314 CLI/MCP inspection tools
CategoryReverse engineering / multi-platform binary and web analysis framework with AI agent orchestration
Primary UseStudying how a website, desktop/mobile app, game or firmware image is built via disassembly, pseudo-C, strings and call graphs, then having a coding agent like Claude Code build an authorized reimplementation, checked against the original
Safe UseUse only on software you own, are licensed to analyze, or in authorized assessment and clean-room engineering contexts; the default Clean room mode deliberately refuses to read a target's internals, working only from what a normal visitor sees
Telemetry NotePurely local engine — projects, capture/ recordings and investigation.cany/ evidence live under Documents/Craft Anything; Deep mode against websites fetches pages and JavaScript like a headless browser, visible in target-side access logs

storytold/craft-anything is one of the more ambitious entries in the recent wave of agent-driven reverse engineering tooling: a pure-Rust engine exposing 314 inspection tools (298 in the core engine, the remainder in the AI and setup layers) through three interchangeable front-ends — an egui desktop app, a CLI (craft-anything-cli), and an MCP server. The tagline is disarmingly broad — see how any website, app or game works, then have AI build your own version — but the architecture underneath is genuinely a multi-format reverse engineering platform covering native binaries, .NET, Java, Android, Apple, Electron/JavaScript, websites, firmware, packet captures, databases and game files. With 4,736 stars, an early-alpha status badge and an MIT OR Apache-2.0 dual license, it reads as a serious hobby-scale project with production ambitions.


The headline workflow is a four-step loop: Study, Build, Check, Ready. In the Study phase the engine inspects the original — pages at multiple screen widths, code, files, runtime behavior. Build hands the findings to a coding agent that scaffolds a new project in whatever stack you name. Check then compares the build against the original — websites are compared at three screen widths, games run their own self-tests, apps their runs — and lists what doesn't match yet, feeding a refinement cycle until the similarity score converges. This closed verification loop is what distinguishes it from a bare 'point an LLM at a decompiler' approach: every claim about the original, and every divergence in the rebuild, is tracked as an evidence record.


The most interesting design decision for a security-conscious audience is the split between Clean room and Deep modes, and which one is the default. In Clean room mode — the default — nothing inside the original is read: no code, no files, no page source. The engine works only from externally observable material: screenshots, visible text, measured layout, colors, fonts, spacing, and menus you explicitly open. Tools that would look inside are refused outright and report that Deep mode must be enabled. This is a deliberate legal and ethical boundary: a clean-room reimplementation built purely from observable behavior is a well-established, defensible engineering practice, and the tool enforces it mechanically rather than leaving it to operator discipline.


Deep mode unlocks the full arsenal — the built-in decoders, disassembler and decompiler, plus Ghidra when it's installed — reading a program's code and files, and for websites, their JavaScript and startup page behavior. The README is candid that Deep mode is 'for your private use,' which is the right framing: this is where the tool touches territory that requires ownership or explicit authorization. Mode switching is exposed at three levels — a title-bar toggle and Settings pane in the app, settings_set deep_mode true programmatically, and per-invocation --deep / --clean-room flags on the CLI.


The 'built for agents' story is where craft-anything gets its leverage. Every one of the 314 tools exists simultaneously as a CLI subcommand and an MCP tool, so any MCP-capable agent can drive the identical engine the GUI uses — craft-anything-cli commands lists the full toolset by toolset, and craft-anything-cli mcp serves them to any MCP client. Results come back not as raw dumps but as evidence records carrying confidence, coverage and limitations metadata, with large results summarized first and paged via core_evidence_browse. For professionals, that evidentiary framing matters: it makes the engine auditable, which is exactly what you want when findings need to survive review.


The AI layer is notably conservative about trust boundaries. Building requires a coding agent running locally on your machine — Claude Code is the supported path, executed as your own unmodified claude binary using your own sign-in; the project never sees or handles your credentials, and your usage falls under your own agreement with Anthropic. A Codex adapter exists but is unverified on a real install, and other ACP-speaking agents (Gemini CLI, Qwen Code, opencode, goose, Hermes, Maki) are switchable per backend, though only Maki has reportedly been run live. For question-answering and analysis without a full agent, Anthropic, OpenAI, OpenRouter and local OpenAI-compatible endpoints can be configured in Settings. Optional generated imagery and 3D models are opt-in with your own fal.ai key.


Under the hood, the engine's own decoders, disassembler and decompiler operate with no external dependencies, which is a serious engineering claim in a field where most multi-format platforms shell out to binutils, radare2 or Ghidra. The same core powers the desktop app, the CLI and the MCP server, and parts of it compile to WebAssembly for the browser viewer — a portability story that explains the FreeBSD and Web targets in the platform badges. The Advanced workbench exposes what analysts expect from a disassembler UI: function lists, pseudo-C of the selected function, hex view, strings, call graphs, an evidence ledger, an unknowns tracker, and an agent console — reachable with Ctrl/Cmd+K.


Getting it running is a standard Rust build: the project needs Rust 1.97 or newer, plus the usual libxkbcommon-dev, libwayland-dev, libgtk-3-dev and friends on Debian-family systems for the desktop app. The canonical flow is git clone https://github.com/storytold/craft-anything, then cargo run --release -p craft-anything for the GUI or cargo install --path apps/craft-anything-cli for the CLI, followed by craft-anything-cli doctor to verify the install, coding agents and engines. Each project materializes as a well-structured folder — craft.json for request/state history, capture/ for recorded target material, app/ for generated code, checks/ for comparisons, investigation.cany/ for evidence and inbox/ for open questions — which is a layout other agent tooling would do well to copy.


For an authorized workflow, the value proposition is twofold. First, as a pure local analysis platform: 'Just look inside' opens a target for interrogation without building anything, in Deep mode, with every answer backed by evidence records — useful during legitimate assessments of software you're contracted to review, or when auditing your own binaries and firmware images. Second, as a clean-room reimplementation engine: rebuilding a legacy internal tool whose source is lost, or prototyping a clone of your own product in a different stack (Unity, Unreal, Godot game rebuilds are listed as working today). What it should not be mistaken for is a covert reconnaissance tool — Clean room mode is the default, and Deep mode behaves like any analyst workstation, fetching and reading targets from your own machine and IP.


Caveats worth flagging before you invest time: the project self-identifies as early alpha. Working today are the desktop app in both modes, the CLI, the MCP server, the full Study-Build-Check-Refine loop with Claude Code, website checks at three widths, Ghidra integration in Deep mode, and plugins via MCP servers and wasm-plugins WASM components. Partly there: other coding agents and API-key builders (built but not run live), behavior checks for apps and games, and a few engine tools tested only against stand-ins. Installers and the browser viewer are still pending in CI. The trajectory is promising, the architecture is thoughtful, and the clean-room-by-default posture is exactly the kind of design discipline this category of tool needs — but treat it as a fast-moving alpha, pin your commits, and keep it pointed at things you're authorized to take apart.



Official project repository for storytold/craft-anything.

Download Tool

Educational analysis for authorized security professionals. Use only in controlled, authorized environments.






Source: OffensiveSec
Source Link: https://www.offsecblog.com/2026/11/inside-craft-anything-314-tool-rust.html


Comments
new comment
Nobody has commented yet. Will you be the first?
 
Forum
Red Team (CNA)



Copyright 2012 through 2026 - National Cyber Warfare Foundation - All rights reserved worldwide.