client-reverse
Skill này làm gì
Skill này dạy agent cách lặp lại một yêu cầu có chữ ký hoặc token do ứng dụng chính thức tạo ra. Skill kiểm tra trước xem yêu cầu đã ghi lại có chạy được mà không cần thay đổi không, rồi mới nghiên cứu mã ký.
Khi nào nên dùng
- ✓Khi yêu cầu được phát lại của người kiểm thử bị lỗi chữ ký không hợp lệ trong khi ứng dụng thật vẫn chạy.
- ✓Khi người kiểm thử cần biết liệu một yêu cầu đã ghi lại có thể lặp lại được trước khi nghiên cứu mã phía client không.
- ✓Khi người kiểm thử tìm thấy một yêu cầu được bảo vệ bằng timestamp, nonce hoặc header chữ ký.
Liên kết skill
https://github.com/awarexone/Agentic-Bug-Hunter/blob/main/skills/client-reverse/SKILL.mdSao chép rồi dán vào AI của bạn (Claude, ChatGPT hoặc Cursor) và nhờ nó làm theo hướng dẫn.
Cách dùng
Cách dễ nhất: sao chép tin nhắn và dán vào AI của bạn. AI sẽ đọc skill và làm theo hướng dẫn.
Tin nhắn có sẵn để dán
Dành cho Claude Code, Codex hoặc Cursor: chạy lệnh trong thư mục dự án của bạn và skill sẽ được cài đặt.
Tải tệp SKILL.md về và thả vào thư mục skill của agent.
Ví dụ cách nhờ AI
“Yêu cầu API tôi phát lại trong Burp bị lỗi chữ ký không hợp lệ, nhưng ứng dụng vẫn chạy. Hãy giúp tôi tìm nguyên nhân.”
5 skill mới mỗi tuần. Đọc chỉ 1 phút.
Cách hoạt động
Agent ghi lại yêu cầu thật và thử phát lại trước. Chỉ khi phát lại thất bại, agent mới tìm bước ký và dựng lại đúng mức cần thiết để tái tạo yêu cầu.
Nội dung kỹ thuật (SKILL.md gốc)
Lấy nguyên văn từ GitHub, do tác giả viết bằng tiếng Anh.
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
Câu hỏi thường gặp
Phá chữ ký có phải là một phát hiện không?
Không. Skill nói chữ ký là một ổ khóa, còn lỗi có thể báo cáo là lỗi được tìm thấy phía sau nó, như vấn đề phân quyền.
Vì sao kiểm tra phát lại trước?
Skill nói nhiều chữ ký có thể phát lại nguyên vẹn, nên không phải lúc nào cũng cần dịch ngược.
Nó nêu những trường nào?
Nó nêu các header và trường như sign, signature, nonce, timestamp và dữ liệu cảm biến.
Chi tiết
Mô tả gốc của tác giả
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
Độ phổ biến
- Sao GitHub
- 5.5k
- Vị trí xếp hạng
- #14786
- Giấy phép
- MIT
- Cập nhật
- 28/10/2026
Bình luận
- …
Thêm skill từ kho mã này
bug-bounty
5.5kGiúp agent của bạn lên kế hoạch cho một đợt rà soát bug bounty theo từng giai đoạn, từ kiểm tra phạm vi chương trình và lập bản đồ tài sản đến thử nghiệm các manh mối, xác nhận tác động và viết báo cáo.
agentic-app-audit
5.5kGiúp agent của bạn rà soát từ bên ngoài một trợ lý AI đang chạy thật, tìm các rủi ro như lệnh gọi công cụ bị chiếm quyền, bộ nhớ bị nhiễm độc và hành động dùng quyền cao hơn người dùng.
argus
5.5kGiúp agent của bạn chạy sáu bộ quét tự động cho các lỗi phổ biến của ứng dụng web và AI, như chia sẻ tài nguyên chéo nguồn quá mở, điểm yếu JWT và lỗi mù được xác nhận ngoài băng.
bb-methodology
5.5kGiúp agent của bạn lên kế hoạch một phiên bug bounty theo từng giai đoạn, chọn bước tiếp theo và các kiểm tra phù hợp, rồi loại bỏ những ý tưởng không thể gây hại thật.
Skill tương tự
reverse-engineer-anything
422kGiúp agent của bạn xem bên trong các app và package đã phát hành để giải thích tính năng, so sánh phiên bản hoặc hướng dẫn dựng lại bằng công cụ REA.
1password
394kGiúp agent của bạn cài đặt CLI của 1Password, đăng nhập, và đọc hoặc đưa thông tin bí mật vào mà không in giá trị ra cuộc trò chuyện.
healthcheck
394kGiúp agent của bạn rà soát bảo mật máy tính hoặc máy chủ đang chạy OpenClaw, như SSH, tường lửa, cập nhật và sao lưu, rồi đề xuất cách sửa an toàn.