dsh-frida-toolkit
Manifest validFrida toolkit for DeepSeek Harness (DSH): a sidebar workbench plus a `frida` agent tool to list devices/processes, attach or spawn, load JS (3 bundled scripts), call rpc.exports and read messages.
DSH Frida Toolkit
A DeepSeek Harness (DSH) plugin that puts a working Frida workbench inside the app: a sidebar row, a full page, and a python bridge that keeps your attachments alive while you edit scripts.
What you get
| Section | What it does |
|---|---|
| 环境 / Environment | Python version, frida version, whether the bridge is running |
| 进程 / Processes | device picker + searchable process list, 附加 / Attach and 启动并附加 / Spawn & attach |
| 会话 / Sessions | every live attachment with 选中 / 断开 / 恢复运行 / 结束进程 |
| 脚本 / Script | JS editor, three bundled scripts, 载入 / Load, 卸载 / Unload, rpc.exports caller |
| 消息 / Messages | every send() payload, detach reason, bridge exit — polled every 1.2 s |
The selected session is what the editor loads into, so you can keep three apps attached and hop between them.
Bundled scripts
| Script | Use |
|---|---|
trace-exports.js | rpc.exports.configure({module:"libfoo.so"}), list(), hook("ssl", 20) — attaches onEnter/onLeave to exported functions and prints their arguments |
ssl-unpin.js | Hooks TrustManagerImpl.verifyChain, X509TrustManagerExtensions.checkServerTrusted, OkHostnameVerifier and X509_verify_cert so a proxy can read the traffic |
finder.js | rpc.exports.search("needle") / searchHex("48 65 6c") — scans readable memory ranges and returns address + context |
Load one, then call its rpc:
- select a session,
- pick the bundled script,
- 载入,
- type the method in 方法名, e.g.
configure, with args[{"module":"libc.so"}], - 调用.
Agent API
Besides the page, the plugin registers one model-facing tool named frida, so you can simply ask
the agent to do the work:
附加到 com.example.app,载入证书校验绕过脚本,把消息给我
The tool takes one action plus its fields and returns the same JSON the page uses:
| action | use |
|---|---|
status / devices / applications | discover what is attached and running |
processes (query) | find the target pid |
attach (target) / spawn (target) | open a session |
load (session, source or target = bundled id) | install a script |
rpc (session, rpc, args) | call rpc.exports.<name> |
messages (session, sinceSeq) | read what the script sent |
sessions / detach / unload / resume / kill | session lifecycle |
script (target) | fetch a bundled script's source to edit |
Full contract, examples and failure modes: TOOL.md.
Requirements
fridain the python that DSH runs (python3 -c "import frida"must succeed). Install withpython3 -m pip install --user frida— on a phone that goes into$DSH_DEPENDENCY_ROOT/python.- For an Android device over USB, run
frida-serveron the device and select it as the device; this page drives whateverfrida.enumerate_devices()reports, local or remote. - No npm dependencies, no build step.
How it works
page ──POST /plugins/frida-toolkit/call──▶ host.js ──stdin/stdout JSON──▶ bridge.py ──▶ frida
◀──GET /plugins/frida-toolkit/events── (buffered) (one process)
bridge.pykeepsDevice/Session/Scriptobjects; the page never sends python.- Every call is id-correlated with a 120 s timeout, so a hung frida call cannot wedge the page.
- The bridge is spawned on first use and killed when the plugin unloads.
GET /plugins/frida-toolkit/script?id=ssl-unpin.jsserves the bundled scripts.
Limitations
rpc.exportsare called synchronously (exports_sync); a script with only async exports must be called through its ownsend()messages instead.- Spawning needs the app to be startable by the user frida runs as; a permission error is reported verbatim in the message log.
- The python bridge is one shared process: a script that crashes the agent only kills that script, but killing the bridge drops every attachment (they reattach fine).
License
Comments
Loading…
Similar plugins
by baldovinmarques391-design
Turn desktop operation into discrete tool calls that each return the frames captured around the call.
★ 0
MIT
JavaScript
Oct 3, 2026
dsh plugin --profile web add dsh-computer-controlby wuyh
DSH (DeepSeek Harness) Web 工作区工具箱插件:文件浏览、Docker 与 Vite 项目管控、SSH/容器终端。
★ 0
MIT
TypeScript
Aug 19, 2026
dsh plugin --profile web add dsh-workspace-toolboxby g1998815
DSH(DeepSeek Harness) 右侧原生工具侧边栏插件:文件系统浏览器 / Git 变更与 diff / 会话变更 采用·撤回 / PTY 控制台。Windows 直连 node-pty,跟随 DSH 主题,RPC fail-closed。
★ 3
JavaScript
Aug 16, 2026
dsh plugin --profile web add dsh-workspace-toolsby CHAAAAA
DeepSeek Harness(DSH)的项目与工程管理插件,把需求、项目文档、Git 提交、AI 提交信息、代码评审、工作树、后台任务与周报聚合到一个侧边栏工作台里。
★ 0
MIT
TypeScript
Nov 2, 2026
dsh plugin --profile web add dsh-devbench-pluginA developer toolkit for the DeepSeek Harness (DSH) web console: a real multi-tab PTY terminal docked under the composer plus an AI-output file browser sidebar with syntax highlighting, Markdown render
★ 0
↓ 138/wk
dsh plugin --profile web add dsh-devpanelby Areium
DeepSeek Harness(DSH)插件:自动记录所有执行模式(原生工具 / PTC run_code / 代码内嵌工具调用)的工具失败错因,去重、计数、确定性排序后沉淀进 skill 的机器维护实录区段——让 Agent 越用越少错。
★ 11
↓ 320/wk
MIT
JavaScript
Sep 20, 2026
dsh plugin --profile web add dsh-fail-logger