Give this skill to your agent

Copy the prompt and paste it into Claude Code, Codex or any agent that can read a web page. It installs the skill and tells you what it does.

Install this skill for me.

Read https://cwyz.com/skills/js-reverse-automation-en
The raw SKILL.md is at https://cwyz.com/api/skills/js-reverse-automation-en/raw

Save it as js-reverse-automation/SKILL.md in my skills folder (Claude Code: ~/.claude/skills/ for every project, or .claude/skills/ for this project only).

Then tell me in two sentences what it does and when it applies. Do not run anything it describes until I say so.

Or unzip the download into ~/.claude/skills/ (every project) or .claude/skills/ in your project. A skill tells an agent what to do. Read it before you install it, especially one you did not write.

JS Reverse Automation Gathers Evidence in a Real Browser and Hands Over Working Calls

Use when a user needs to locate front-end encryption functions (login passwords, request signing, response decryption) and wants the results turned into reusable JSRPC, a Flask service and Burp autoDecoder configuration. Based on the open-source js-reverse-automation--skill (Apache-2.0), connecting to a real browser via chrome-devtools-mcp. Only for your own targets or targets you are authorized to test; shut down the services when done.

Use caseLet the agent find front-end encryption entry points in a real browser and deliver callable services and Burp configuration.

Machine translation. Read the original

JS Reverse Automation Gathers Evidence in a Real Browser and Hands Over Working Calls

Use this Skill when a user needs to locate front-end encryption functions (login passwords, request signatures, form fields, response decryption) and wants the results packaged as reusable services that connect to Burp. The underlying tool is the open-source js-reverse-automation--skill (Apache-2.0): it connects to a real browser via chrome-devtools-mcp, automatically locates encryption entry points, and generates JSRPC injection code, a Flask proxy, and Burp autoDecoder integration documentation.

Triggers

The user asks things like "How is this login password encrypted?", "Where do the sign / token / enc values in the request come from?", "Wrap this encryption logic into an API", or "Connect it to Burp for automatic encryption and decryption."

Hard Rules

  1. Only analyze your own targets, or targets with explicit authorization. If the scope of authorization is unclear, stop and ask the user before doing anything.
  2. Do not scan, attack, bypass payment or access controls, or perform denial of service against live systems. Prioritize read-only and local analysis.
  3. Tell the user before installing anything or changing configuration, and proceed only after they agree.
  4. Classify conclusions into three categories: what was directly observed (with file and location), what was inferred, and what was not found (write "unknown", not "does not exist").
  5. Do not output or log the full contents of any keys or tokens found; only report where they are.
  6. Only work on your own sites or authorized test targets. Target addresses and parameters are provided by the user; do not find targets yourself.
  7. Always shut down the JSRPC and Flask services when finished, following the instructions in the output, and do not leave them running in the background.
  8. When you encounter anti-debugging, anti-hooking, JSVMP or other countermeasure signals, observe before intervening: run the countermeasure runtime probe first, and enter intervention mode or source instrumentation only when there is a clear signal.

Installation

  1. Install the Python dependencies in the Skill directory:
python3 -m pip install -r requirements.txt
  1. Install the browser MCP (choose the line for your Agent, and ask the user before installing):
claude mcp add chrome-devtools -- npx -y chrome-devtools-mcp@latest    # Claude Code
codex mcp add chrome-devtools -- npx -y chrome-devtools-mcp@latest     # Codex
gemini mcp add chrome-devtools npx -y chrome-devtools-mcp@latest       # Gemini
  1. Place the js-reverse-automation directory from the repository into the Agent's Skill directory.

Input Format

Target URL: https://目标地址/login
Parameters To Analyze: password
Optional Fetch Example: fetch("https://目标地址/api/login", {"body":"...","method":"POST"})

For the first use, it is recommended to include the jsrpc path, which makes the later workflow more stable.

Workflow (Phases 0 to 9)

  1. Pre-analyze the Fetch example (if provided): extract the algorithm, parameter format, and target address.
  2. Open the page, inject hooks, and trigger the target action.
  3. Capture network requests and locate the encryption function (score candidates across 8 dimensions, then verify with real samples and differential testing).
  4. Register JSRPC, generate the Flask proxy and Burp artifacts.
  5. Verify and output in the standard format.

The first run generates an artifacts folder containing evidence diagrams, encryption candidate scores, a four-layer verification report, JSRPC and Flask status, and browser forensics acceptance files. It uses analysis_result.json as the contract between stages.

Output Format

  1. Plaintext, ciphertext or signature, final request, and server response.
  2. JSRPC injection code, Flask proxy, and Burp autoDecoder configuration.
  3. Verification report, including which checks did not pass.
  4. Reminder to the user: verify validity first, then configure Burp, and finally shut down JSRPC and Flask.
Done with this one? Mark it to track your path.Sign in
Save it for laterSign in
Questions about this piece?Ask AI about this

Comments (0)

No comments yet. Start the conversation.

Sign in to join the discussion.Sign in