js-reverse
Skill by zhaoxuya520
Guides front-end JavaScript reverse engineering through the js-reverse_* MCP tools. It covers signature chain tracing, page evidence capture, runtime sampling and local environment rebuilds, for security researchers working on web pages.
Install js-reverse
Built from the published package, never by AI.
git clone --depth 1 https://github.com/zhaoxuya520/reverse-skill /tmp/reverse-skill && mkdir -p ~/.claude/skills && cp -r /tmp/reverse-skill/skills/js-reverse ~/.claude/skills/js-reverseRun in your terminal. Claude Code loads skills from ~/.claude/skills automatically.
git clone --depth 1 https://github.com/zhaoxuya520/reverse-skill /tmp/reverse-skill && mkdir -p ~/.gemini/antigravity-cli/skills && cp -r /tmp/reverse-skill/skills/js-reverse ~/.gemini/antigravity-cli/skills/js-reverseAntigravity CLI loads skills from ~/.gemini/antigravity-cli/skills, or .agents/skills for one project.
Skills can run scripts on your machine. Some need an API key: check the README.
About
This skill sets a working method for front-end JavaScript reverse engineering with js-reverse-mcp. It follows five stages: Observe, Capture, Rebuild, Patch and DeepDive. The assistant finds target requests and initiators, samples function inputs and outputs at runtime, then rebuilds the logic in Node.js from page evidence. It is meant for work on signature parameters, encryption fields and risk-control fields. The skill maps its steps to js-reverse_* tools and can use jshookmcp for stronger browser, CDP and hook features. Binary targets such as APK, PE, ELF and SO should go to other reverse engineering skills.
Written from the project's SKILL.md and checked against it.
What it can do
- js-reverse_list_network_requestsLists network requests to find the target request.
- js-reverse_get_request_initiatorTraces the call source that triggered a request.
- js-reverse_list_scriptsLists loaded scripts to narrow down suspicious files.
- js-reverse_search_in_sourcesSearches across loaded script sources.
- js-reverse_get_script_sourceRetrieves the source of a given script.
- js-reverse_break_on_xhrSets a breakpoint on XHR or Fetch calls for minimal sampling.
- js-reverse_evaluate_scriptRuns lightweight runtime observation in the page.
- js-reverse_get_paused_infoReads state after a breakpoint is hit.
- js-reverse_take_screenshotCaptures a screenshot as page evidence.
- js-reverse_navigate_pageOpens or navigates to the target page for observation.
What you need
- Node.js (bootstrap installs Node.js 22 through winget if missing)
- An MCP client such as Claude or Codex
- jshookmcp (@jshookmcp/jshook) downloaded, registered and enabled in the MCP client
- PowerShell to run the bootstrap script
Try asking
- Find the request that carries the signature parameter on this page and trace its initiator.
- List the scripts loaded on this page and search them for the encryption function.
- Set a breakpoint on this XHR call and show the paused parameters.
Good to know
- Not for binary targets such as APK, PE, ELF, DLL or SO. Use the other listed reverse engineering skills.
- jshookmcp must be enabled in the MCP client before its tools can be called.
- Without an explicit -McpHostTarget, the bootstrap does not change Claude or Codex configuration.
- anything-analyzer needs pnpm and the project source, which bootstrap clones and installs.
Security check
ANo download-and-run commands, hidden instructions or signs of sending keys out were found.
Checked automatically: skills/js-reverse/SKILL.md. This looks for known risky patterns and is not a full audit. How grades work
Inside the skill
-
SKILL.md9 KB -
references/ast-deobfuscation.md146 B -
references/automation-entry.md498 B -
references/env-patching.md232 B -
references/fallbacks.md235 B
Show all 13 files
-
references/instrumentation.md198 B -
references/local-rebuild.md295 B -
references/mcp-task-template.md408 B -
references/node-env-rebuild.md191 B -
references/output-contract.md258 B -
references/task-artifacts.md221 B -
references/task-input-template.md165 B -
references/tool-defaults.md406 B
Alternatives to js-reverse
All alternatives →Retrieves lab biomarker results and clinician notes from Function Health through its FHIR API. It is for people who want an AI assistant to review their own lab history and notes.
Gives an AI assistant a methodology for finding and exploiting privilege escalation weaknesses on Windows systems during authorized penetration tests. It is for security testers and defenders validating escalation paths.
Guides the assistant through designing, debugging and hardening GitHub Actions CI/CD workflows. It is aimed at teams that run production pipelines on GitHub.
Develops evidence-backed structural security hardening proposals from disclosures, findings, source code, or Codex Security scans. It is for teams that need systemic fixes and architectural tradeoffs.
Claude Security scans code for security issues with Claude Code. It covers whole repositories, branch or pull request diffs, single commits, and existing findings from SARIF files or earlier reports.
Turns vulnerability notes, disclosure reports, PoCs, source code, or Codex Security findings into self-contained vulnerability reports. Built for security researchers who need claims the evidence supports.
Compare with function_health, windows-privilege-escalation or github-actions-advanced
js-reverse: common questions
Does this skill work with jshookmcp?
Yes. The source says jshookmcp can be used as a stronger execution layer for browser, CDP, hook, network and SourceMap tasks. It must be registered and enabled in the MCP client first.
Can it reverse binary files like APK or DLL?
No. The source says binary targets such as APK, PE, ELF, DLL and SO should use ida-reverse, radare2 or reverse-engineering instead.
Does the skill change my MCP client settings?
Only when a target is chosen. The source says that without the McpHostTarget parameter, bootstrap installs or prepares the capability and does not modify Claude or Codex configuration.
How do I install js-reverse?
Run the command above to copy the skill into ~/.claude/skills/. Claude Code picks it up automatically.
Is js-reverse free?
The code is published under the MIT licence. The service it connects to may have its own pricing.
Is js-reverse safe to use?
It scores 94 of 100. Grades: maintenance A, licence A, quality A. Security check: grade A, no risky patterns found in the files checked. Review the code before you install. How grades work.
What are alternatives to js-reverse?
Similar skills: function_health, windows-privilege-escalation, github-actions-advanced, propose-security-hardening.
