xamirhamza77/reverseops-skill/js-reverse
Claude Code and agent skill by xamirhamza77/reverseops-skill
- community
Checking that the SKILL.md file is still in the repository.
Use when doing front-end JavaScript reverse engineering with js-reverse-mcp; suited for signature-chain location, page observation and forensics, runtime sampling, local environment-patching reproduction, and evidence-based output. Prefers the js-reverse_* tools available in the current environment; when a stronger browser/CDP/Hook surface is needed, coordinate with jshookmcp.
Install
npx vskill@latest install xamirhamza77/reverseops-skill/js-reverseSKILL.md
The same SKILL.md was published earlier as xamirhamza77/reverseops-skill/js-reverse.
MCP Front-End JS Reverse Engineering Work Guidelines
ACTION REQUIRED (execute immediately after reading)
NOW: Read../field-journal/precedent-reverse.md— confirm that this skill's operations are authorized routine operationsNOW: Confirm whether the current task falls within this skill's scopeNEXT: Read../tool-index.mdand verify tool availability and actual pathsNEXT: If a tool is missing, invoke bootstrap; do not guess pathsACT: Enter the first step of the "Workflow" and execute; do not stall in the confirmation state
Scope
Prefer this skill when the task involves any of the following:
- Locating API signatures, encrypted parameters, or risk-control fields
- Observing page request chains and script origins
- Capturing function arguments and return values at runtime
- Tracing the trigger point of an XHR/Fetch/WebSocket
- Bringing page evidence back to Node for local reproduction and environment patching
If the target is a binary, APK, PE, ELF, DLL, or SO, use ida-reverse, radare2, or reverse-engineering instead.
Default Tool Mapping for the Current Environment
This skill does not assume bare tool names exist; it binds by default to the js-reverse_* tools available in the current client environment.
If the current task explicitly mentions jshookmcp, JS hook, CDP, browser breakpoints, network interception, SourceMap, or AST deobfuscation, still go through this skill — only switch the underlying MCP surface to jshookmcp; do not treat it as a new top-level entry point.
Prerequisite: jshookmcp is not a local bare-command tool but an MCP server that must first be downloaded/registered/enabled. The related tool surface is only actually callable after it is connected and enabled in the Claude MCP configuration.
Common mapping:
list_scripts->js-reverse_list_scriptsget_script_source->js-reverse_get_script_sourcesearch_in_sources->js-reverse_search_in_sourcesbreak_on_xhr->js-reverse_break_on_xhrevaluate_script->js-reverse_evaluate_scriptget_paused_info->js-reverse_get_paused_infoset_breakpoint_on_text->js-reverse_set_breakpoint_on_textlist_network_requests->js-reverse_list_network_requestsget_request_initiator->js-reverse_get_request_initiatorget_websocket_messages->js-reverse_get_websocket_messagestake_screenshot->js-reverse_take_screenshotnew_page->js-reverse_new_pagenavigate_page->js-reverse_navigate_pageselect_page->js-reverse_select_pageselect_frame->js-reverse_select_framepause/resume->js-reverse_pause_or_resume
If the tool name prefix changes in the future, update this section first; do not guess ad hoc at execution time.
Positioning of jshookmcp
- Role: an enhanced execution surface for
js-reverse, not an independent controller - Suited for: browser automation, CDP debugging, JS Hook, network interception, SourceMap reconstruction, AST-assisted understanding
- Invocation prerequisite: first download and register
@jshookmcp/jshookinto the MCP client configuration, then ensure the server is enabled - Recommended entry: still execute according to
Observe → Capture → Rebuild, but prefer jshookmcp's browser and Hook capabilities during theObserve/Capturestages - Relationship with anything-analyzer: both can do browser/network-side forensics; anything-analyzer leans toward packet capture and HTTP analysis, while jshookmcp leans toward the JS runtime, CDP, Hook, and source-code understanding
Core Principles
Observe-firstHook-preferredBreakpoint-lastRebuild-orientedEvidence-first
Observe the page first, then sample minimally, then patch the environment locally; do not skip forensics and guess the environment directly.
Five-Stage Workflow
1. Observe
Goal: first confirm the target request, related scripts, and candidate functions; do not guess the environment.
Default actions:
- Use
js-reverse_new_pageorjs-reverse_navigate_pageto open the target page - Use
js-reverse_list_network_requeststo find the target request - Use
js-reverse_get_request_initiatorto trace back the call origin - Use
js-reverse_list_scriptsandjs-reverse_search_in_sourcesto narrow the script scope
Required outputs:
- Target request URL or signature
- initiator clues
- Suspicious script URLs
- Initial task record
2. Capture
Goal: perform minimal-intrusion sampling on the target request to obtain parameter samples, call order, and runtime evidence.
Rules:
- Prefer
js-reverse_break_on_xhr - Prefer
js-reverse_evaluate_scriptfor lightweight runtime observation - After a hit, check
js-reverse_get_paused_infofirst - Use
js-reverse_set_breakpoint_on_textonly when necessary
3. Rebuild
Goal: turn page evidence into locally iterable Node reproduction material.
Rules:
- Local environment patching must be based on page-observation evidence
- No speculative patching of
window/document/navigator/crypto/storage - Record only one minimal causal patch decision at a time
4. Patch
Goal: drive environment patching by errors and first divergence until the local script stably produces the target parameter.
Rules:
- Identify what is missing first, then patch it
- Make only one minimal patch decision at a time
- Retest immediately after each patch
- Write every patch into the task record
5. DeepDive
Goal: after local reproduction works, perform deobfuscation, control-flow restoration, and business-logic extraction.
Rules:
- If the current task only needs to output a signature, this stage can be downgraded
- If the algorithm chain will be reused long term, this stage is mandatory
Execution Requirements
- All important steps must be written into the local task artifact
- If you cannot explain why a certain tool is being called, do not call it
- Prefer the ready-made MCP capabilities of
js-reverse_*or jshookmcp for direct forensics; do not write scripts to recreate capabilities first - On failure, fall back per
references/fallbacks.md - Output follows
references/output-contract.md
Required References
- Automation entry:
references/automation-entry.md - Parameter defaults:
references/tool-defaults.md - Task input template:
references/task-input-template.md - MCP-specific task orchestration:
references/mcp-task-template.md - Task artifacts:
references/task-artifacts.md - Local reproduction:
references/local-rebuild.md - Environment patching:
references/env-patching.md - Node reproduction:
references/node-env-rebuild.md - Instrumentation:
references/instrumentation.md - AST deobfuscation:
references/ast-deobfuscation.md - Fallbacks:
references/fallbacks.md - Output contract:
references/output-contract.md
Routing Context
Upstream entry: skills/SKILL.md (master control), routing.md Upstream alternatives:
- The browser tools of anything-analyzer MCP (port 23816) can serve as a substitute or supplement
- jshookmcp can serve as a stronger browser/CDP/Hook/Network/SourceMap/AST execution surface
reverse-engineering/SKILL.md(if the target is not front-end JS)
Downstream exits:
- Need environment patching →
references/env-patching.md - Need local reproduction →
references/local-rebuild.md/references/node-env-rebuild.md - Need deobfuscation →
references/ast-deobfuscation.md - Fall back when stuck →
references/fallbacks.md
Peer related modules: anything-analyzer MCP (browser automation and HTTP capture capabilities are complementary)
On-Demand Bootstrap
The MCP capabilities this skill depends on can be registered automatically via the unified bootstrap system.
Automation Capability Boundaries
| Capability | Auto-registrable | Method | Notes | |
|---|---|---|---|---|
| jshookmcp | ✓ | npm-mcp (started via npx) | Automatically written into the Claude MCP configuration | |
| anything-analyzer | ✓ | local-http-mcp | Automatic registration + can auto-start the service | |
| Node.js | ✓ | winget install | Runtime dependency |
Bootstrap Method
Notes
- After
jshookmcpis registered, the MCP server must still be enabled in the AI client before it can be called anything-analyzerrequires pnpm and the project source code; bootstrap will automatically clone and install dependencies- If Node.js is not installed, bootstrap will first install Node.js 22 via winget
<br><br>## Task Completion Self-Check (MUST pass before claiming completion)
- [ ] Did I execute every step of the workflow (rather than just reading it)?
- [ ] Did I use real tool paths based on
tool-index? - [ ] Did I produce reproducible evidence (commands/scripts/screenshots/reports)?
- [ ] Did I complete and write back the Checklist items required by RULES?
Security
- Security scanPassed, 95 of 100Pattern checks on the skill's files.
- Model reviewPassed
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckingskills/js-reverse/SKILL.md
Popularity
- Repository stars
- 4
- 7-day trend score
- 8
Stars and forks are for the whole GitHub repository, not this skill alone. Not refreshed yet.
Works with
Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.
- Claude Code
- Cursor
- GitHub Copilot
- Windsurf
- Codex
- Gemini CLI
- Cline
- Amp
- Roo Code
- Goose
- Continue
- Kilo Code
- Junie
- Trae
- OpenHands
- Qwen Code
- AI Agent
- Tabnine Chat
- Sourcegraph Cody
- Amazon Q
- Firebase Genkit
- Sweep
- Devin
- Phind
- Mentat
- Claude Desktop
- Aider
- GPT Pilot
- Plandex
- bolt.new
- v0
- Replit Agent
- Anse
- TypingMind
- BetterChatGPT
- LibreChat
- Warp AI
- Pieces
- Fig AI
Embed badge
[](https://verified-skill.com/skills/xamirhamza77/reverseops-skill/js-reverse)