client-reverse
What it does
This skill teaches an agent how to repeat a request whose signature or token is made by the official app. It checks first whether a captured request works without changes, and only then studies the signing code.
When to use it
- ✓When a tester's replayed request gets an invalid signature error while the real app works.
- ✓When a tester needs to know whether a captured request can be repeated before studying client code.
- ✓When a tester has found a request protected by a timestamp, nonce, or signature header.
Skill link
https://github.com/awarexone/Agentic-Bug-Hunter/blob/main/skills/client-reverse/SKILL.mdCopy it and paste it into your AI (Claude, ChatGPT or Cursor), asking it to follow the instructions.
How to use
The easiest way: copy the message and paste it into your AI. It reads the skill and follows the instructions.
Ready-to-paste message
For Claude Code, Codex or Cursor: run it in your project folder and the skill gets installed.
Download the SKILL.md and drop it into your agent’s skills folder.
Example of what to ask your AI
“My replayed API request gets an invalid signature error in Burp, but the app works. Help me find out why.”
5 new skills a week. 1 minute to read.
How it works
The agent captures the real request and tests replaying it first. Only if replay fails does it look for the signing step, then rebuilds that step just enough to reproduce the request.
Technical content (original SKILL.md)
Original text by the author, straight from GitHub.
CLIENT-SIDE REQUEST-SIGNING / ANTI-BOT TOKEN REVERSAL
You hit a request you cannot replay. Burp Repeater returns 401 invalid signature or 403 bot detected even though the browser/app does it fine. There is a sign, sig, X-Signature, _token, nonce, X-Acf-Sensor-Data, or encrypted body the client computes. This skill recovers just enough of that signer to reproduce the request outside the client.
Why a bug bounty hunter cares: the signature is not the bug. The signature is the lock on the door. Behind it is an API the program assumed only their own client would ever reach — so that API is often under-tested for IDOR, BOLA, mass assignment, and business logic. Reversing the signer is the cost of admission; the payout comes from what you fuzz once you're inside. Never report "I reversed your sign algorithm" as a finding on its own — that is N/A. Report the IDOR/auth bug you reached through it.
THE CORE PRINCIPLE: PACKET-FIRST
Reverse engineering is a blocker-resolution step, not the default entrypoint. Capture the real request first. Prove whether it already replays. Only reverse the signer if replay actually fails.
Most hunters waste hours decompiling JS for a "signature" that turns out to be replayable as-is, or gated by a timestamp that's valid for 5 minutes. Run this gate before opening DevTools Sources:
1. Capture the real request (Burp/mitmproxy proxy, or DevTools → Network → Copy as cURL)
2. Replay it UNCHANGED (paste cURL into terminal, or Burp Repeater)
→ 200 / works? → IT'S NOT SIGNED. Skip all reversing. Go fuzz it.
3. Replay it again 5 min later → still 200? → no freshness check (replay window is wide/infinite)
4. Mutate ONE non-signed field (e.g. change an `id` in the body, keep sign as-is)
→ 200? → the sign does NOT cover that field → tamper freely, no reversing needed
→ 401? → the sign covers it → NOW you reverse (continue to STAGES below)
Steps 2–4 alone kill ~half of "I need to reverse this" assumptions. A signature that omits the payload or endpoint, or never expires, is itself the bug — see the CoinMate pattern in Real Paid Examples.
STAGE SPINE: locate → recover → runtime → validation → replay
Pick the stage from engineering state, not from clue words. "I see the word sign" does not mean you're in recover. You are in locate until you can point at the exact line that writes the signature.
intake → evidence → locate → recover → runtime → validation → replay
| Stage | Enter when... | Goal | Exit when... |
|---|---|---|---|
| locate | the signing function / write boundary is unproven | find where the sign field is written and what feeds it | you can point at writer ← builder ← entry ← source |
| recover | boundary is real but the code is obfuscated/opaque | de-shell only the layer blocking you (webpack/wasm/JSVMP) | you have a readable or callable signer contract |
| runtime | code is clear but browser-exec ≠ your-exec diverge | find the first divergence (missing object/state/anti-debug) | local run reproduces browser sign output |
| validation | remaining work is equivalence proof | match checkpoints, not just final output | sign(input) == observed for fresh inputs |
| replay | sign reproduces outside the client | Burp/Python baseline request you can fuzz | a stable request you can mutate for IDOR/auth |
Carry a one-line handoff between stages. Do not promote a guess to a fact:
--- Stage Handoff ---
From: locate To: recover
Proven: sign written at app.min.js:1, line ~4021; inputs = ts, nonce, JSON body, deviceId
Open: builder is inside webpack module 5f3 behind a string-table — need to de-shell that one module
Invalid: assumption that deviceId was constant (it rotates per session)
STAGE 1 — LOCATE: trace backward from the signature field
You know the output (the sign value on the wire). Walk backward to the source. Keep each layer distinct:
writer <- builder <- entry <- source
- writer — the line that finally puts
signinto the body/header/query/cookie/WS frame - builder — the transform:
HMAC,MD5,AES, sort-then-concat,JSON.stringifyordering - entry — the UI action / callback / response that kicks off the chain
- source — what feeds the inputs: upstream response, localStorage, cookie,
Date.now(),crypto.getRandomValues, user input
Browser: find the writer i
FAQ
Is breaking the signature itself a finding?
No. The skill says the signature is a lock, and the reportable bug is the flaw found behind it, such as an authorization issue.
Why test replay first?
The skill says many signatures can be replayed as they are, so reverse engineering is not always needed.
Which fields does it mention?
It mentions headers and fields such as sign, signature, nonce, timestamp, and sensor data.
Details
Original description by the author
Client-side request-signing and anti-bot token reversal for bug bounty — when a request carries a sign/sig/hmac/token/nonce/timestamp/X-Sensor header that Burp Repeater cannot replay, recover the signer just enough to reproduce the request outside the client. Packet-first staging (capture real request → prove replay works → only reverse if replay fails) across the locate→recover→runtime→validation→replay spine. Covers tracing backward from the signature field (writer→builder→entry→source), isolating user-mutable sign inputs (timestamp/nonce/deviceId/body) vs constants (secret key), hooking fet
Popularity
- GitHub stars
- 5.5k
- Ranking position
- #14786
- License
- MIT
- Updated
- 10/28/2026
Comments
- …
More skills from this repository
bug-bounty
5.5kHelps your agent plan a bug bounty review in stages, from checking the program scope and mapping assets to testing leads, validating impact, and writing a report.
agentic-app-audit
5.5kHelps your agent review a live AI assistant from the outside for risks such as hijacked tool calls, poisoned memory, and actions taken with more access than the user has.
argus
5.5kHelps your agent run six automated scanners for common web and AI app flaws, such as open cross-origin access, JWT weaknesses, and blind bugs confirmed out-of-band.
bb-methodology
5.5kHelps your agent plan a bug bounty session in stages, choosing the next step and the right checks, and dropping ideas that cannot cause real harm.
Similar skills
reverse-engineer-anything
422kHelps your agent look inside shipped apps and packages to explain features, compare versions, or guide a rebuild, using the REA tool.
1password
394kHelps your agent set up the 1Password CLI, sign in, and read or inject secrets without printing their values into chat.
healthcheck
394kHelps your agent audit the computer or server that runs OpenClaw for security risks, such as SSH, firewall, updates, and backups, then suggest safe fixes.