跳到正文
Skillpedia
网站与界面(前端)42k · #6421

competition-bundle-sourcemap-recovery

它能做什么

这个工具可以帮助你了解一个网站或应用是如何构建出来的,尤其是在原始代码无法获取的情况下。它会从浏览器用来组装页面的文件中,恢复出重要的信息。

适用场景

  • ✓当你想知道网站如何加载各个组成部分时。
  • ✓当你需要找到网站上隐藏的路由或功能时。
  • ✓想了解已编译网站的文件结构时。

技能链接

https://github.com/zhaoxuya520/reverse-skill/blob/main/CTF-Sandbox-Orchestrator/competition-bundle-sourcemap-recovery/SKILL.md

复制后粘贴给你的 AI(Claude、ChatGPT 或 Cursor),让它按照说明操作。

使用方法

最简单的方法:复制下面的消息,粘贴给你的 AI。它会读取这个技能并按说明操作。

可直接粘贴的消息

请用这个技能帮我:https://github.com/zhaoxuya520/reverse-skill/blob/main/CTF-Sandbox-Orchestrator/competition-bundle-sourcemap-recovery/SKILL.md 阅读该链接中的 SKILL.md 文件,并在我的任务中按照它的说明来做。
想让你的 AI 自己找到这样的技能吗?安装免费的 Skillpedia MCP:只需一行,每次任务前它都会在 15,000+ 个技能中搜索。1 分钟完成安装 →

可以这样问 AI

“请还原该网站所提供的 JavaScript 结构。”

每周 5 个新技能,1 分钟读完。

工作原理

工具会分析网站发送到浏览器的文件,比如代码映射文件(source map)和配置文件。它会还原各部分代码的加载与执行顺序,从而展示网站的工作方式。

技术内容(原始 SKILL.md)

作者在 GitHub 上的英文原文。

Competition Bundle Sourcemap Recovery

Use this skill only as a downstream specialization after $ctf-sandbox-orchestrator is already active and has established sandbox assumptions, node ownership, and evidence priorities. If that has not happened yet, return to $ctf-sandbox-orchestrator first.

Use this skill when runtime truth lives in built assets, source maps, chunk tables, or obfuscated loader flow rather than in checked-in source alone.

Reply in Simplified Chinese unless the user explicitly requests English.

Quick Start

  1. Start from the served artifact set: entry HTML, build manifest, bootstrap bundle, chunk map, and source maps.
  2. Record chunk ids, route chunks, loader functions, endpoint strings, and config keys before broad manual deobfuscation.
  3. Reconstruct the smallest runtime graph that explains which asset executes now.
  4. Keep served artifact truth separate from repository source unless parity is proven.
  5. Reproduce the smallest asset-to-runtime boundary that proves the decisive behavior.

Workflow

1. Map The Served Artifact Set

  • Record entry HTML, script tags, preload hints, manifest files, asset map, chunk registry, and source map URLs.
  • Note framework-specific artifacts such as route manifests, client reference manifests, or lazy-loader tables when present.
  • Keep emitted filenames, hash suffixes, and route ownership tied together.

2. Reconstruct Runtime Structure

  • Follow bootstrap code, chunk loaders, module registry, string decoders, and lazy import boundaries.
  • Use source maps, manifest files, and stable symbol clusters to recover route names, API calls, feature flags, and hidden panels.
  • Distinguish build-time intent from the bundle that is actively served now.

3. Reduce To The Decisive Bundle Path

  • Compress the result to the smallest sequence: served asset -> loader path -> module or symbol -> runtime effect.
  • State clearly whether the decisive weakness lives in manifest drift, chunk loading, hidden route code, string decoding, or stale source assumptions.
  • If the task shifts from built assets to SSR or template enforcement, hand back to the tighter template-render skill.

Read This Reference

  • Load references/bundle-sourcemap-recovery.md for the artifact checklist, deobfuscation checklist, and evidence packaging.

What To Preserve

  • Served filenames, chunk ids, manifest entries, source map paths, recovered symbols, and endpoint strings
  • The exact executing bundle or module that proves the runtime branch
  • One minimal asset-to-runtime sequence that reaches the decisive effect
常见问题

什么是“source map”(源码映射)?

这是一类文件,可以把浏览器实际运行的代码“翻译”回更易读的格式,方便调试。

“还原所提供的 JavaScript 结构”是什么意思?

指了解网站 JavaScript 代码的不同部分如何组织,以及它们之间如何相互连接,从而让网站正常运行。

为什么不直接看源代码,而要用这个工具?

有时网站真正使用的代码与原始代码并不相同(例如经过了优化或混淆),这个工具可以帮你弄清楚实际执行的是什么。

详情

作者的原始描述

Internal downstream skill for ctf-sandbox-orchestrator. CTF-sandbox workflow for source maps, build manifests, chunk registries, emitted bundles, obfuscated loader flow, and frontend runtime recovery. Use when the user asks to reconstruct served JavaScript structure, inspect source maps or chunk maps, trace bundle loading, recover hidden routes or APIs from emitted assets, or explain runtime behav

repo: zhaoxuya520/reverse-skill

热度

GitHub 星标
42k
排名
#6421
许可证
MIT
更新时间
2026/9/22

这个技能有用吗?

0

登录 后即可投票。

评论

  • …

同一仓库的更多技能

相似技能