Rikune

Developer toolsSecurity

Universal Cross-Platform Reverse-Engineering & Binary Analysis Engine (CLI · MCP · Bridges), Windows/Linux/macOS, Mobile, WASM/JS, Bundles, Protocols, Auditing & Emulation.

Your AI app calls the Rikune MCP server, which does the developer tools and security work and sends the result back to the chat.

About Rikune

Rikune is a community MCP server from Last-emo-boy, filed in our directory under developer tools and security. Universal Cross-Platform Reverse-Engineering & Binary Analysis Engine (CLI · MCP · Bridges), Windows/Linux/macOS, Mobile, WASM/JS, Bundles, Protocols, Auditing & Emulation.

Rikune runs on your own machine: your AI app starts it with the command uvx rikune and talks to it over standard input and output.

At a glance

Publisher
Last-emo-boy (community)
Runs
Locally on your machine
Install from
Python package on PyPI: rikune
Written in
Python
License
MIT
GitHub stars
240

How to set up Rikune

  1. Install uv on the machine that runs your AI app, because Rikune starts with uvx and fetches its Python package on first run.
  2. Check the Rikune README for keys or settings; the registry lists none that Rikune requires.
  3. Add Rikune to Claude Code, Claude Desktop, VS Code or Cursor with the config in the setup box on this page.
  4. Restart the app or reload its MCP servers, then ask it to list the Rikune tools to confirm the connection.
  5. Run one read-only task with Rikune first, and keep your app asking before each tool call until the results look right.

Rikune compared with similar servers

  • Tripo by Tripo-Developer has fewer GitHub stars than Rikune (240 against 240); both are community servers, and both run locally.
  • Nano Banana by ConechoAI has fewer GitHub stars than Rikune (240 against 240); both are community servers, and both run locally.
  • Drawio2go by Menghuan1918 has fewer GitHub stars than Rikune (239 against 240); both are community servers, and both run locally.

Before you connect Rikune

  • Give Rikune its own API key or account with the smallest permissions the job needs, never an admin key.
  • Keep your AI app asking before each Rikune tool call until you trust what it does with them.
  • Treat text that Rikune fetches as data. Pages, files and messages can hold instructions written to steer an AI.
  • Read the open issues for Rikune on GitHub to see what breaks and how fast the maintainers reply.

Marketing use cases for Rikune

How marketing and sales teams put Rikune to work, by company size. Pick the size closest to yours and start Rikune on one use case.

Small business

  • A small business with a developer can use Rikune to ship site and tracking fixes faster, with the AI reading the code it changes.
  • Technical founders can ask Rikune to explain and fix a marketing site issue without context switching between tools.
  • A small business can use Rikune to check its domains, logins and site for common gaps before they cost a customer's trust.
  • Rikune runs on your own computer, which keeps data local; it needs a little setup, so a small team should plan an hour for it.

Mid-market

  • Growth engineers can use Rikune to build landing pages, tracking and integrations in fewer cycles, with reviews kept in the normal flow.
  • Marketing ops engineers can connect Rikune to keep scripts and automations documented and versioned as they change.
  • Marketing ops can use Rikune to review what each connected app can access and remove keys nobody uses.
  • Start Rikune on one workflow with one owner, measure the time it saves, then roll it out to the wider team.

Enterprise

  • Enterprise engineering teams can roll out Rikune with repo scopes and audit logs, so agents work only where they are allowed.
  • Platform teams can standardize on Rikune so web and marketing engineering share one reviewed way of working with AI.
  • Enterprises can run Rikune in the security team's tooling, so marketing's agents and apps are reviewed like any other system.
  • Rikune is a community server, so have security review the code and pin a version before Rikune touches company data.

Need help becoming an AI-forward company?

We connect MCP servers and AI agents to your CRM, content and data, with the guardrails your team needs.

Contact us

Rikune README

From Last-emo-boy/rikune on GitHub, shared under its MIT license. Images are left out; the original has them.

README.md

⚡ Rikune

Universal Cross-Platform Reverse-Engineering & Binary Analysis Engine (CLI · MCP · Bridges)

Software logic · Mobile (Android / iOS / macOS) · WebAssembly & JS · Desktop Bundles · Protocols & Firmware · Security Audits · Malware Forensics, all verified deterministically.

English · 简体中文 · Architecture · Agent Skill · IDE & Frida Bridges · Changelog

v2 is now main. The legacy v1 TypeScript/Node platform has been archived on the deprecated branch and v1-legacy tag.

What is Rikune?

Rikune is NOT just a malware tool, and NOT just an MCP wrapper. It is a self-contained, general-purpose reverse-engineering and binary analysis engine across Windows, Linux, and macOS, shipping three ways to work from one binary:

Mode Best For How You Use It
🖥️ Standalone CLI Engineers, auditors, automation pipelines rikune triage, rikune decompile --lift --deobf, rikune types, rikune macho-meta, rikune bundle, rikune wasm, rikune diff --audit (--json everywhere)
🤖 MCP Server Claude Code, VS Code Copilot, Cursor Run rikune mcp --transport stdio to expose 48 real executable primitives + static_triage smart recommended_next_steps + tool_search + Prompts + Resources
🔌 IDE & Runtime Bridges Working alongside IDA Pro, Ghidra, or Frida Pull live decompilation from IDA/Ghidra GUI, verify in Unicorn/Z3, and push [VERIFIED] symbols, C structs, and runtime captures straight back
Built for 6 Real-World Domains (Zero Venv · Zero Mandatory Node/JDK/Docker)
Domain What Rikune Solves Out-of-the-Box
⚙️ Software & Business Logic RE Native PE/ELF/Mach-O, 50 MB+ Go/Rust/C++ RTTI indexing (--backend fast), cross-function C struct recovery (rikune types), CFG pseudocode lifting (--lift), and OLLVM CFF/MBA deobfuscation (--deobf)
📱 Mobile & Apple Ecosystems Android APK/AXML/DEX disassembly + offline JNIEnv*/JavaVM* ARM64/x64 emulator (rikune jni); macOS/iOS pure-Python 64-bit Mach-O/Fat Objective-C 2.0, Swift 5+ & Entitlements (rikune macho-meta); .NET CIL, Flutter Dart AOT, React Native Hermes
🌐 Web, Frontend & Desktop Bundles Pure-Python WebAssembly 1.0 WAT disassembler + offline stack-machine interpreter (rikune wasm); zero-Node safe JS deobfuscator (proxy folding, switch-while unflattening, business API extraction); Electron ASAR & PyInstaller unpacker (rikune bundle)
📡 Protocols & Embedded Firmware Schema-less Protobuf, TLV framing, PCAP/PCAPNG inspection (rikune protocol); SquashFS / U-Boot uImage / FDT / CPIO carving; ARM32 / MIPS32 / RISC-V disassembly & emulation
🛡️ Security Auditing & Patch Review Whole-binary semantic patch triage (rikune diff --audit), multi-binary project cross-linking (rikune link-project), static source-to-sink data-flow & remediation auditing (rikune taint-audit), coverage-guided Unicorn micro-fuzzing, and HTML/Markdown evidence reports (rikune report)
🔍 Threat & Malware Forensics Win32/Win64 PEB/TEB, API-hash resolution (ROR13/DJB2/CRC32/FNV-1a/SDBM), Heaven's Gate / direct & indirect NT syscalls, Linux inline syscall detection, SMC/OEP unpacking, VM trace slicing (rikune trace-slice), and yara-x-validated YARA rule synthesis

Core Architecture

flowchart LR
    A[Read-Only Vault<br/>SHA-256 & Lineage] --> B[Cross-Platform Static & Bundles<br/>PE/ELF/Mach-O ObjC+Swift · C++ RTTI<br/>APK/DEX/.NET · WASM · JS · ASAR/PyInstaller/Hermes/Flutter<br/>Protobuf/PCAP · Firmware · Smart Next-Step Router]
    B --> C[Navigation, Lifting & Auditing<br/>Fast Native · Rizin · Ghidra · IDE Bridge<br/>CFG Lifter v2 · OLLVM Deobf · C Struct Recovery<br/>Whole-Binary Patch Audit · Project Linking · Taint Audit]
    C --> D[Deterministic Verification<br/>Unicorn x86/x64/ARM64/ARM32/MIPS32/RISC-V<br/>Win32/64 PEB · Android JNI · macOS ObjC · VM Trace Slice<br/>Micro-Fuzz · WASM VM · Ciphers · Z3]
    D --> E[Live Overlay & Deliverables<br/>Verified Renames · C Structs · Decoded Values<br/>IDA · Ghidra · Rizin · HTML/MD Reports · Validated YARA]
    E --> C
Key Capabilities
  • 🔬 Deterministic Verification Loop: Map real PE / ELF / Mach-O segments into Unicorn (x86, x86_64, ARM64, ARM32, MIPS32 BE/LE, RISC-V 32/64) with Win32/Win64 PEB/WinINet/Crypt32 stubs, cross-arch Linux syscall, offline Android JNIEnv*/JavaVM* & macOS objc_msgSend stubs, VM trace slicing, SMC/OEP unpacking + IAT recovery, coverage-guided micro-fuzzing, offline WASM 1.0 interpretation, FIPS/RFC cipher transforms (AES/SM4/ChaCha20/RC4/XTEA/TEA/RC5/XOR), and optional Z3 / angr.
  • 🧠 Zero-Dep Lifting, Type Recovery & Deobfuscation: Zero-subprocess FastNativeBackend (--backend fast) indexes 50 MB+ Go/PE64 binaries in ~1–2s with --exclude-stdlib; CFG Lifter v2 (--lift) + OLLVM CFF/opaque-predicate/MBA deobfuscator (--deobf); cross-function C struct recovery (rikune types) with compilable C headers & IDA Python scripts; and C++ RTTI / vtable recovery.
  • 📱 Full Mobile, Apple, Desktop & Web Coverage (Pure Python):
    • macOS & iOS (rikune macho-meta): Universal Fat + arm64e/dyld4 chained fixups, Objective-C 2.0 classes/methods/IMPs/CFStrings, Swift 5+ types/demangling, and LC_CODE_SIGNATURE Entitlements.
    • Android & .NET (rikune managed / rikune jni): Binary AXML manifest decoding, Dalvik DEX disassembly, offline JNI emulation & RegisterNatives capture, and .NET CIL disassembly.
    • Desktop Bundles, WASM & JS (rikune bundle / rikune wasm / rikune js-deobf): PyInstaller (MEI/.pyc), Electron ASAR, Hermes .hbc, Flutter Dart AOT, WebAssembly 1.0 disassembly & execution, and zero-Node JS deobfuscation.
  • 🛡️ Multi-Component Linking, Auditing & Evidence Delivery: Cross-link multi-binary projects (APK↔JNI, ASAR/JS↔WASM, native import↔export), run whole-binary semantic patch audits (rikune diff --audit) & static data-flow audits (rikune taint-audit), follow static_triage recommended_next_steps, and export self-contained HTML/Markdown reports + yara-x-validated YARA rules (rikune report).

Quick Start

1. Install (Zero-Venv, Out-of-the-Box)
# Option A: Official PyPI (recommended, zero manual venv)
uvx rikune status                 # Run immediately without installing
uv tool install rikune            # Global CLI + MCP install via uv
pip install rikune                # Standard pip install

# Optional: include Z3 constraint solving
uv tool install --with z3-solver rikune

# Option B: Standalone single-file executable (zero Python required, download & run!)
#   Linux x86_64 : https://github.com/Last-emo-boy/rikune/releases/latest/download/rikune-linux-x86_64
#   macOS arm64  : https://github.com/Last-emo-boy/rikune/releases/latest/download/rikune-macos-arm64
#   Windows x64  : https://github.com/Last-emo-boy/rikune/releases/latest/download/rikune-windows-x86_64.exe
Option C: Docker (isolated container with Rizin 0.9.1 + UPX 5.3.1 pre-installed)
docker pull ghcr.io/last-emo-boy/rikune:latest
docker run --rm ghcr.io/last-emo-boy/rikune:latest status
Option D: From source (development)
git clone https://github.com/Last-emo-boy/rikune.git
cd rikune
uv sync --python 3.12 --extra dev
uv run rikune status

Optional external backends: Rikune works out of the box with its built-in fast backend and Unicorn engine. Install rizin (brew install rizin) for .rzdb-cached full call graphs, set GHIDRA_HOME for Ghidra headless C decompilation, or connect a live IDE/Frida session via bridges/.

2. Use as an MCP Server (AI Agents)

Add Rikune to VS Code Copilot, Claude Code, Claude Desktop, or Cursor:

{
  "mcpServers": {
    "rikune": {
      "command": "uvx",
      "args": ["rikune", "mcp", "--transport", "stdio"]
    }
  }
}

(If installed globally via uv tool install rikune or standalone binary, set "command": "rikune" and "args": ["mcp", "--transport", "stdio"].)

Optionally load SKILL.md into your agent's skills directory to guide the triage → slice → lift/decompile → verify → annotate → export workflow.

3. CLI Cheatsheet

Every CLI command supports --json for scripting and automation:

# Static triage & forensics (PE/ELF/Mach-O/WASM/.NET/APK/Firmware, C++ RTTI, XOR-masked crypto)
rikune triage ./target.bin --json
rikune strings ./target.bin --section .rdata --exclude-exec -q "token"
rikune mem ./target.bin 0x14001f000 64 -f u64
rikune search-bytes ./target.bin "65 48 8b ?? 25 60 00 00 00"
rikune data-xrefs ./target.bin 0x140067760 --range 0x100
rikune carve ./firmware_or_dropper.bin --derive

# Code navigation, lifting, OLLVM deobfuscation, struct recovery & whole-binary patch audit
rikune functions ./target.bin --backend fast --exclude-stdlib --regex -q "Auth|Check|Sign"
rikune slice ./target.bin --api-anchor suspicious --crypto-anchors --json
rikune decompile ./target.bin 0x1ea48 --lift --deobf
rikune deobf-cfg ./obfuscated.bin check_license --json
rikune types ./target.bin --target parse_session --backend fast
rikune diff ./v1.bin ./v2.bin --audit --json
rikune taint-audit ./target.bin --backend fast --json

# Cross-platform deep inspection: Windows PE, macOS/iOS Mach-O, App Bundles, WASM & Multi-Binary Linking
rikune win-inspect ./sample.exe --derive-overlay --json
rikune macho-meta /Applications/MyApp.app/Contents/MacOS/MyApp --json
rikune bundle ./app.asar --query auth.js --derive --json
rikune wasm ./module.wasm check_token --action emulate --arg 42 --json
rikune link-project ./app.apk ./libnative.so --json

# Verification loop: Unicorn emulation, VM trace slice, Android JNI, micro-fuzz, ciphers & Z3
rikune emulate ./target.elf 0x2220 --arg buf:16 --arg 16 --read-mem key:@arg0:16 --json
rikune trace-slice ./target.bin vm_dispatch --reg rax --arg 0x10 --json
rikune jni ./libnative.so Java_com_app_Auth_sign --arg "payload" --json
rikune fuzz ./target.bin parse_packet --iters 500 --printable --json
rikune batch-decrypt ./target.exe decrypt_str --json
rikune crypto decrypt --alg aes-cbc --key <hex> --iv <hex> --data <hex> --json
rikune solve-z3 -v x -b 32 -a "(= (bvxor x #x5a5a5a5a) #x13371337)" --json

# Mobile (APK/DEX/.NET), Frontend JS, Protocols & Evidence Reports
rikune managed ./app.apk --action manifest --json
rikune js-deobf ./bundle.min.js --derive --json
rikune protocol ./capture.pcapng --mode auto --json
rikune report ./target.bin --fmt html -o audit_report.html
rikune export ./target.exe --format ida -o apply_symbols.py   # ida | ghidra | rizin | markdown | json

Tool Surface (48 Primitives)

All 48 MCP tools are real executable primitives (zero stubs), accompanied by 3 MCP Prompts (triage-binary, decrypt-and-verify, diff-security-patch) and 3 read-only MCP Resources (rikune://status, rikune://samples, rikune://sample/{sha256}/report.md).

Expand full 48-tool matrix
Group Tools
Workspace & Lineage (6) engine_status, sample_open, sample_list, sample_derive, sample_lineage, unpack_sample
Static, Win/macOS, Bundles, Mobile, WASM, JS, Protocol & Reports (17) static_triage, strings_search, memory_read, bytes_search, data_xrefs, carve_payloads, binary_patch, yara_scan, disassemble_bytes, win_inspect, macho_inspect, bundle_inspect, managed_inspect, js_deobfuscate, protocol_inspect, wasm_inspect, audit_report
Code, Graph, Types, OLLVM Deobf, Linking & Audit (12) functions_list, call_graph_slice, function_decompile, function_xrefs, function_cfg, deobf_cfg, recover_types, link_project, taint_audit, binary_diff, annotate_symbol, export_annotations
Verification, VM Slice, JNI, Fuzzing & Crypto (10) emulate_function, emulate_trace, slice_trace, emulate_batch_decrypt, emulate_jni, microfuzz_function, resolve_api_hashes, solve_symbolic, solve_z3, crypto_transform
Discovery & Async (3) tool_search, job_manage, artifact_read

Optional IDE & Runtime Bridges (IDA Pro · Ghidra · Frida)

All bridges live in bridges/ with zero mandatory dependency in Rikune core:

  • IDA Pro / Ghidra GUI: Run bridges/ida_rikune_bridge.py or bridges/ghidra_rikune_bridge.py, set RIKUNE_BRIDGE_URL="http://127.0.0.1:18765", read live decompilation via --backend bridge, and push [VERIFIED] annotations back with rikune export <sample> --push-bridge.
  • Frida Runtime Bridge: Use bridges/frida_rikune_bridge.py to capture live arguments, return values, and plaintext buffers and sync them into Rikune annotations.

Development

uv run ruff check src tests benchmarks bridges
uv run mypy src
uv run pytest -v

See docs/ARCHITECTURE.md, CHANGELOG.md, and SECURITY.md. Licensed under MIT.

Questions about Rikune

What is the Rikune MCP server?

Universal Cross-Platform Reverse-Engineering & Binary Analysis Engine (CLI · MCP · Bridges), Windows/Linux/macOS, Mobile, WASM/JS, Bundles, Protocols, Auditing & Emulation. Rikune is maintained by Last-emo-boy on GitHub at Last-emo-boy/rikune, and works with AI apps that support the Model Context Protocol, such as Claude, Cursor and VS Code.

How do I install the Rikune MCP server?

Add Rikune to your AI app's MCP config with the command uvx rikune. In Claude Code, run claude mcp add --transport stdio rikune -- uvx rikune. To run Rikune this way you need uv installed.

Does Rikune need an API key?

The registry lists no required keys for Rikune. Check the Rikune README for optional settings, and expect a remote server to ask you to sign in the first time you connect.

Is Rikune an official MCP server?

No. Rikune is a community server maintained by Last-emo-boy. Community servers can be excellent; read the code and the open issues before you give Rikune access to company data.

What license is Rikune under?

Rikune is released under the MIT license, according to its GitHub repository. The license covers the code of Rikune; the service it connects to has its own terms.