Reverse-engineering workbench: bridges a local IDA Pro into DeepSeek Harness through @deepseek-ai/dsh-mcp-client, exposing the ida-pro-mcp toolset (decompile, xref, rename, comment) as mcp__ida__* tools. Auto-selects idalib headless mode (analyses a binary in-process, no IDA GUI) or GUI mode (connects to the IDA plugin RPC on port 13337). Adds re_check, re_open and re_status; the bundled MCP server is a zero-dependency stdio proxy usable from any MCP client.
Install
# from npm (prebuilt)
dsh plugin --profile web add dsh-re-workbench
# from GitHub (first run asks for allowBuilds approval — follow the hint, retry)
dsh plugin --profile web add github:wxlei2004/dsh-plugins#path:/packages/dsh-re-workbench
Any plugin you install runs third-party code with your own permissions — it can read your files, use your credentials, and reach the network, and tool approvals don’t sandbox it. GitHub-sourced plugins also run build scripts at install time — pnpm blocks those until you allow them, so an install can stop with ERR_PNPM_GIT_DEP_PREPARE_NOT_ALLOWED or ERR_PNPM_IGNORED_BUILDS; dsh prints the exact key to add under allowBuilds in your profile’s pnpm-workspace.yaml, and the install works on the next run. Allowing a build is a trust decision: only install sources you trust, and pin a commit (github:owner/repo#sha).
README
This plugin publishes its README in Chinese only.
Reverse-engineering workbench for DeepSeek Harness: bridges your local IDA Pro into the harness as mcp__ida__* tools, with an environment self-check.
逆向分析工作台:把本机 IDA Pro 桥接进 DSH,工具以 mcp__ida__* 注册到模型侧,自带环境自检。
能力
| 工具 | 说明 |
|---|---|
re_check |
逆向环境自检:python / ida_pro_mcp / idalib 可用性,IDA RPC 端口探测 |
re_open |
指定/切换分析目标(idalib 无头模式),写目标文件并触发 MCP 重连 |
re_status |
查看当前目标与 MCP 桥状态 |
MCP server 透传 ida-pro-mcp 全部工具(反编译、xref、重命名、注释等),工具名以 mcp__ida__* 注册。
两种模式
mcp/server.js 自动选择:
- idalib 无头模式(推荐):设了分析目标就走这里。进程内加载分析,无需打开 IDA GUI。
- GUI 模式(回退):没设目标时连 IDA 插件 RPC(默认
127.0.0.1:13337),需要 IDA 已打开并加载数据库、mcp-plugin.py在运行。
安装
dsh plugin --profile desktop add dsh-re-workbench
或在 DSH 插件市场里搜索 dsh-re-workbench。
安装后重启 DSH 生效。
前置依赖
- Python 3.10+(自动从 PATH 探测;也可设
RE_PYTHON环境变量指定) pip install ida-pro-mcp(idalib 模式还需要本机装有 IDA Pro 9.x,idapro模块由 IDA 提供)- GUI 模式:IDA Pro 开着,
mcp-plugin.py运行中(监听 13337)
配置
在 profile 自己的 cordis.patch.yml 里按 id 覆写(可选):
- id: re-workbench
config:
pythonPath: "" # 留空则自动探测
idaRpc: "http://127.0.0.1:13337"
target: "" # 设了就默认走 idalib 无头模式
也可用环境变量:RE_PYTHON / RE_IDA_RPC / RE_TARGET / RE_TARGET_FILE / RE_UNSAFE / RE_MODE。
使用
- 新会话里让模型调
re_check确认环境; - idalib 模式:调
re_open指定目标文件(大文件首次分析要等几十秒); GUI 模式:确认目标已在 IDA Pro 中打开; - 之后用
mcp__ida__*工具分析:看 PE/ELF 头与导入表 → 定位入口/关键函数 → 反编译 → 追 xref → 重命名/注释。
MCP 独立使用
mcp/server.js 是零依赖 stdio MCP server,任何 MCP 客户端可直接挂载:
{
"mcpServers": {
"ida": {
"command": "node",
"args": ["<包目录>/mcp/server.js"],
"env": {
"RE_TARGET": "C:\\path\\to\\target.exe"
}
}
}
}
许可
MIT
Links
More in this category
kenryu42/cc-safety-net★ 2108
Pre-execution guard that blocks destructive Git and filesystem commands and access to secrets such as SSH keys and .env files before a tool call runs.
ADWMC/helm-d#helmd★ 1537
Security-analysis plugin for DeepSeek Harness: 33 tools spanning six security domains, evidence/reporting and toolbox, plus the case lifecycle, routing and tool ledger; a session-bound case workflow with an evidence chain, E-id validation and reproducible findings; 362 on-demand references; three hot-swappable persona profiles; and a four-tab workbench (armor / case / intercept / about) with case-state recovery after context compaction.
toby-bridges/api-relay-audit★ 934
Runs local security audits of AI API relays and LLM proxies from DeepSeek Harness, producing Markdown reports for prompt injection, model substitution signals, tool-call rewriting, error leakage, stream integrity, and profile-gated Web3 risks.
SeaOf0/dsh-redteam-model★ 925
Authorized-security DSH collection: nine work modes (redteam coordinator, pentest, code audit, binary analysis, attack-defense, AV evasion, incident response, cloud security, CTF solving) and fifteen runtime plugins, managed from a settings page with one-click deploy, install, update and uninstall.
howmp/dsh-pentest★ 624
Authorized pentest mode for DeepSeek Harness — exploration chain, assets and findings with a Web view.
Jueze-2019/dsh-redteam-mode#packages/redteam-bundle★ 293
Red-team engagement mode: send one target organization name; a planner session runs five execution roles (recon, asset triage, vulnerability discovery, exploitation, internal pivot) with configurable concurrency; preflight checks skills/resources; scoring uses four stages (recon, internet, boundary, internal) with server-side caps and privilege-wins dedup; findings stay in a local SQLite fact base. The persistent right-side console has nine pages and includes asset mapping, agents, sessions/tunnels, findings, score targets, reports, POC knowledge base and skill library. v0.15.2 adds automatic HTTP evidence/action records, batch ingest, scope check, tunnel pivot probe, data proof, cleanup ledger and T0-T3 asset admission to prevent scope drift. 59 redteam_* tools; 38 bundled skills.
Community comments
Comments are public GitHub Discussions. Loading them connects to GitHub and Giscus; a GitHub account is required to post.