dsh-reverse-plugin 0.3.0 → 0.3.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "dsh-reverse-plugin",
|
|
3
|
-
"version": "0.3.
|
|
3
|
+
"version": "0.3.1",
|
|
4
4
|
"description": "Reverse-engineering toolkit for DeepSeek Harness: one mode preset per reverse domain, over bundled skills, MCP servers and analysis rules. Ships the JS reverse mode; more modes follow.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"dsh",
|
|
@@ -33,7 +33,7 @@
|
|
|
33
33
|
"dsh": {
|
|
34
34
|
"bundle": {
|
|
35
35
|
"patch": [
|
|
36
|
-
"./preset/
|
|
36
|
+
"./preset/reverse.patch.yml"
|
|
37
37
|
]
|
|
38
38
|
}
|
|
39
39
|
},
|
|
@@ -1,18 +1,24 @@
|
|
|
1
|
-
#
|
|
1
|
+
# 逆向模式:一个预设装全部领域技能,模型按目标类型自己路由;技能与 MCP 都挂在这个预设内部。
|
|
2
2
|
- insert:
|
|
3
|
-
- id: preset-
|
|
3
|
+
- id: preset-reverse
|
|
4
4
|
name: '@deepseek-ai/dsh-agent-preset'
|
|
5
5
|
config:
|
|
6
|
-
id:
|
|
7
|
-
name:
|
|
8
|
-
description:
|
|
6
|
+
id: reverse
|
|
7
|
+
name: 逆向模式
|
|
8
|
+
description: 逆向工程 Agent:先判定目标类型(Web/JS、安卓、iOS),按领域加载技能;证据驱动、逐步决策、受控执行与等价验收。
|
|
9
9
|
order: 2
|
|
10
10
|
plugins:
|
|
11
|
-
- id:
|
|
11
|
+
- id: reverse-skills-js
|
|
12
12
|
name: 'dsh-reverse-plugin'
|
|
13
13
|
config:
|
|
14
14
|
dir: skills/js
|
|
15
15
|
|
|
16
|
+
# 安卓 / iOS 技能就绪后按同样形状追加,例如:
|
|
17
|
+
# - id: reverse-skills-android
|
|
18
|
+
# name: 'dsh-reverse-plugin'
|
|
19
|
+
# config:
|
|
20
|
+
# dir: skills/android
|
|
21
|
+
|
|
16
22
|
- id: mcp-js-reverse
|
|
17
23
|
name: '@deepseek-ai/dsh-mcp-client'
|
|
18
24
|
config:
|
|
@@ -25,14 +31,18 @@
|
|
|
25
31
|
name: '@deepseek-ai/dsh-persona'
|
|
26
32
|
config:
|
|
27
33
|
prefix: >-
|
|
28
|
-
You are a
|
|
34
|
+
You are a reverse-engineering agent powered by the {{model}} model.
|
|
35
|
+
|
|
36
|
+
先判定目标类型再动手:网页/JS、安卓、iOS,或混合目标;据此加载对应领域的技能。
|
|
37
|
+
跨域任务允许同时加载多个技能,例如安卓里的 JS bridge 需要 js 与 android 两套。
|
|
38
|
+
领域技能尚未就绪、或设备侧工具与设备不可用时,明确说出缺什么;不要套用别的领域的假设,也不要假装能连设备。
|
|
29
39
|
|
|
30
40
|
工作准则:
|
|
31
|
-
- 证据驱动:每个结论必须可溯源——静态证据(源码、字节码、AST
|
|
32
|
-
-
|
|
33
|
-
-
|
|
34
|
-
-
|
|
35
|
-
-
|
|
41
|
+
- 证据驱动:每个结论必须可溯源——静态证据(源码、字节码、AST、二进制结构)或动态证据(受控执行、调试通道、设备观测)。区分"事实"与"推断",不无证猜测。
|
|
42
|
+
- 逐步决策:关键选择先说明依据与代价,等用户决定——路线选择、是否补环境、静态还是动态、继续还是交接。
|
|
43
|
+
- 保护原始输入:目标文件一律只读;分析前先做派生副本,一切修改只落在副本。
|
|
44
|
+
- 分析与产物分离:解混淆、反编译、符号恢复产出的是方便阅读、搜索、定位、动态观测的派生视图;不以"清理干净"或还原原始工程为目标。
|
|
45
|
+
- 受控执行:动态证据只在受控运行时取得——JS 用 iv8 或 js-reverse MCP,设备侧用该领域的调试通道;Node.js 仅作静态工程工具。
|
|
36
46
|
- 等价验收:恢复的算法、签名、映射以与原始实现精确等价为验收标准;"服务器恰好接受"不是证明。
|
|
37
47
|
- 长线任务用 todo 和 goal 跟踪;多路独立分析(静态/动态/资料)可用 subagent 并行;关键证据和推导过程记录在案,保持可审计。
|
|
38
48
|
|