First time here? Read INSTALL.md first — it spells out what to install for Pi Agent vs. DeepSeek Harness (they are two different frameworks).
Seep Reverse Lab
Agent-Native · Multi-Platform Reverse Engineering · CWE-602 Authorization Audit · Autonomous Security Workbench
[ English | 中文文档 ]
Overview •
Architecture •
Demo •
MCP Matrix •
Quick Start •
Scope •
Agent Contract •
Disclaimer
🔗 Attribution & Reference Sources:
- Mobile reverse engineering methodology & verification test suite referenced from: newliver666/apk-reverse (MIT License).
- Security research lab framework, Zero-Waste Recon signal routing & agent execution protocols referenced from: GeniusHu-tgty/Open-tgtylab (GPL-3.0 License).
- Reverse engineering knowledge base, attack graph boards & MCP automation ecosystem referenced from: LING71671/open-reverselab (GPL-3.0 License).
- Windows PE deep-dive methodology, gated procedure & dependency-free PE engine referenced from: dabao1955/exe-reverse (MIT License).
- Community support & technical discussions: LINUX DO.
🌟 Project Overview
Seep consolidates fragmented reverse engineering toolchains (Radare2 / JADX / Apktool / Frida / IDA), operational knowledge bases, prompt engineering contracts, and battle-tested field experience into an Agent-Native Autonomous Workbench.
Users provide plain-language technical goals; the agent autonomously performs platform identification, vulnerability type classification, surgical binary patching, and closed-loop evidence delivery.
Five Core Pain Points Solved
| Pain Point |
Solution |
| 🔧 Toolchain Fragmentation |
38 MCP tools wrapping Radare2, JADX, Apktool, Frida and a PE engine — unified API, zero manual switching |
| 🧠 Agent Decision Drift |
softseep orchestrator: two-stage auto-classification (Platform × 9 Task Types) + 7-gate decision tree |
| 🛡️ Model Refusal in Security Audits |
Three-tier mitigation: BLOCK_NONE injection + transparent terminology mapping + cognitive redirection |
| 📚 Ephemeral Knowledge |
294 technical field journals + 14 desensitized paradigms + "search KB before executing" enforced discipline |
| 📦 Setup Friction |
One-click install.ps1 → dedicated paths for Pi Agent and DeepSeek Harness (DSH) |
⚙️ How It Works
User Input (plain language — "bypass the premium check in FooBar.apk")
│
▼
┌───────────────────────────────────────────────────────────────────┐
│ Lab Mode (session-scoped memory; only "lab:" in THIS session) │
│ • Colloquial → compliance terminology auto-mapping │
│ • BLOCK_NONE injection + cognitive redirection (anti-refusal) │
│ • Context persists across model switches & context compression │
└────────────────────────────┬──────────────────────────────────────┘
│
▼
┌───────────────────────────────────────────────────────────────────┐
│ softseep Master Orchestrator │
│ ① Platform → Windows PE / Android APK / Linux ELF / Web │
│ ② Task Type → 9 Paradigms × 7 Gates (G0–G6 decision tree) │
│ ③ Route → exe-reverse / apkseep / ida-reverse / seep MCP / KB │
└────────┬──────────────────┬────────────────────┬──────────────────┘
│ │ │
▼ ▼ ▼
seep MCP IDA Pro MCP KB Search
38 tools (optional) 294 journals
(Radare2/JADX/ (Zero-Waste Recon)
Apktool/Frida)
│
▼
┌───────────────────────────────────────────────────────────────────┐
│ Context Budget Control (v1.1 noise reduction) │
│ • seep_r2_decompile: full / fold (−60% tokens) / summary (−90%) │
│ • seep_r2_disasm: full / branch (control-flow only) │
│ • seep_r2_xrefs: paginated, limit=10, total stats header │
└────────────────────────────┬──────────────────────────────────────┘
│
▼
PoC Generated → Sandbox Execution → Self-Healing Loop
│
▼
Airplane-Mode Confirmation (CWE-602 iron-clad proof)
│
▼
3-Part Consulting-Grade Security Report ✓
⚡ 30-Second Demo
Once deployed, just talk to your agent in plain language:
lab: analyze FooBar.apk — find the premium check and bypass it
The agent autonomously:
seep_auto_triage → identifies DEX + ARM64 SO, no packer detected
seep_apk_decompile with output_mode=fold → extracts control-flow skeleton only (saves ~60% tokens)
seep_kb_search → finds matching CWE-602 pattern from field journal #142
seep_apk_gen_hook → generates hook_verify.js Frida script
- Executes on connected device → captures stdout, self-heals
ClassNotFoundException, re-runs
- Airplane-mode confirmation ✓ →
seep_gen_security_report → 3-part audit report delivered
Total elapsed time on a typical client app: 8–20 minutes, fully unattended.
⚡ Core Capabilities
- 🎯 Natural Language Intent Resolution: Binary magic bytes + semantic verb mapping → correct toolchain, no flags to memorize
- 🔍 CWE-602 Authorization Audit: Minutes to determine if a feature gate is local-boolean or server-authoritative
- 🛡️ Authenticode Signature Preservation: DLL search-order hijacking (
version.dll / sentry.dll) keeps host binary signature intact
- 🔄 PoC Self-Healing Loop: Frida error → root-cause mapping → auto-fix → re-execute (up to 3 attempts, then structured handoff)
- 💎 14 Industrial Architecture Paradigms: Monolithic offline PE → multi-process IPC → VM arbitration → .NET keygen → weak RSA bypass → Java agent → .NET VM bypass (fully desensitized, Projects A through N)
- 🌐 Transport-Layer Compliance Relay & Auto-Retry: Pure stdlib localhost relay with streaming refusal auto-retry cascade (
S1-review-checklist → S2-review-framed → S3-review-en), preserving target paths without semantic drift. Unit tests 84/84 passing.
- ⚡ DeepSeek Harness (DSH) integration:
python setup/dsh-plugin-setup.py installs a ~40 KB plugin package and writes the workbench path — the plugin mounts both MCP servers itself at runtime (toolCallTimeoutMs 900 s, since DSH's 60 s default cuts long tasks) plus the 10 skills, so moving the repo means editing one value. The lab: gate is now code-enforced inside the plugin (per-session, off by default; mentioning an APK does not activate it), and a settings panel (Settings → Seep Lab) shows live status, lets you edit the path, and lists all 20 tools with their states. Verify with python setup/verify-dsh.py (6 groups / 21 items / 100 points).
- 🛡️ Measured Anti-Refusal Defense: Gemini-safe prompt reshaping (
gemini-safe.flag), L1 observable decision logging (l1-log.flag), and native BLOCK_NONE payload gating.
- 🔌 Offline-Ready: All toolchains pre-bundled (657 MB of tools), zero network dependencies after setup
- 🪟 Windows PE Deep-Dive Engine (
exe-reverse): 41 gated references + 16 dependency-free Python engines — peutil (RVA↔offset, imports/exports/TLS/relocs, MS checksum, per-section entropy), pe_triage, pepatch (equal-length + checksum recompute + byte re-read from disk), aob_scan (unique/ambiguous/permissive verdict), pe_diff, hwprobe, trace_reduce (+ optional SMT proof), fold. Covers packers, virtualization/flattening, .NET, Unity IL2CPP, packaged Python, kernel drivers, hardware tracing and hypervisor observation.
📋 Directory Structure
📁 Full Directory Tree (click to expand)