feat(v2.4.0): JSVMP 双路径攻克体系 + jsdom 环境补丁知识库

基于实战经验重构 JSVMP 分析框架:

- SKILL.md: 新增路径选择决策树(路径 A 算法追踪 vs 路径 B 环境伪装)
- SKILL.md: 路径 B「环境伪装六步法」完整方法论(采集→对比→分级→补丁→验证→端到端)
- SKILL.md: 新增场景 10「JSVMP + jsdom 环境伪装」、解法模式 E
- SKILL.md: 标注三板斧适用边界与局限,经验法则扩充至 22 条
- references/jsdom-env-patches.md: 新增 jsdom 环境补丁知识库(Function.toString 三层防御 / plugins 完整模拟 / DOM 布局属性 / 30+ API 存根)
- cases/: 新增经验库系统(模板 + 首个 JSVMP 实战案例含 58 项环境检测差异全表)
- references/jsvmp-analysis.md: JSVMP 专项分析详细指南
- references/troubleshooting.md: 常见问题排查指南
- templates/python-request/: Python 项目模板
- 各 references 文档增强、Python 技术栈支持、MCP v1.1 适配(44→52 工具)

Made-with: Cursor
This commit is contained in:
白夜
2026-04-02 18:10:05 +08:00
parent fd6e51c825
commit b5cf8b121a
30 changed files with 4045 additions and 433 deletions
+9 -6
View File
@@ -387,12 +387,15 @@ function createFullBrowserEnv(options = {}) {
## MCP 辅助确定环境需求
```
1. [js-reverse] search_in_sources(query="window.|document.|navigator.")
→ 识别代码访问了哪些浏览器 API
1. [camoufox-reverse] search_code(keyword="window|document|navigator|location|screen")
→ 先在已加载脚本中识别代码访问了哪些浏览器 API
2. [js-reverse] evaluate_script(function="列出所有被访问的全局变量")
→ 确定需要补全的范围
2. [camoufox-reverse] add_init_script(script="记录被访问的全局变量和属性")
+ reload()
+ get_console_logs
→ 确定运行时真正访问了哪些环境字段
3. [js-reverse] set_breakpoint_on_text(text="typeof window")
→ 在环境检测处断点,确认检测逻辑
3. [camoufox-reverse] set_breakpoint_via_hook(target_function="环境检测函数路径")
+ get_breakpoint_data
→ 在环境检测函数入口捕获入参、返回值和调用栈,确认需要补全的关键分支
```